Description of problem: ClientAsymmetricClusterTest.testAsymmetricCluster fails with the following exception: FAILED: testAsymmetricCluster org.infinispan.client.hotrod.exceptions.HotRodClientException:: We should not reach here! at org.infinispan.client.hotrod.jni.HotrodJNI.getJniRelayNamedCache(Native Method) at org.infinispan.client.hotrod.jni.Hotrod.getJniRelayNamedCache(Hotrod.java:38) at org.infinispan.client.hotrod.impl.RemoteCacheImpl.<init>(RemoteCacheImpl.java:50) at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:88) at org.infinispan.client.hotrod.ClientAsymmetricClusterTest.testAsymmetricCluster(ClientAsymmetricClusterTest.java:37) at org.infinispan.client.jni.hotrod.JniTest.main(JniTest.java:83) ... Removed 21 stack frames A possible NPE failure was mentioned in this PR: https://github.com/infinispan/infinispan/pull/3893#issuecomment-164835747 HotRodAsyncReplicationTest.testPutKeyValue fails with this exception: 8: FAILED: testPutKeyValue(public void org.infinispan.client.hotrod.HotRodAsyncReplicationTest.testPutKeyValue(java.lang.reflect.Method)) 8: org.infinispan.client.hotrod.exceptions.HotRodClientException:: We should not reach here! 8: at org.infinispan.client.hotrod.jni.HotrodJNI.RemoteCache_jb_jb_put__SWIG_2(Native Method) 8: at org.infinispan.client.hotrod.jni.RemoteCache_jb_jb.put(RemoteCache_jb_jb.java:66) 8: at org.infinispan.client.hotrod.impl.RemoteCacheImpl$1.invoke(RemoteCacheImpl.java:84) 8: at org.infinispan.client.hotrod.impl.RemoteCacheImpl.relayedInvoker(RemoteCacheImpl.java:480) 8: at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:81) 8: at org.infinispan.client.hotrod.HotRodAsyncReplicationTest.testPutKeyValue(HotRodAsyncReplicationTest.java:40) 8: at org.infinispan.client.jni.hotrod.JniTest.main(JniTest.java:83) 8: ... Removed 21 stack frames Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
There's a bug in RetryOnFaultOperation.h, see https://issues.jboss.org/browse/HRCPP-222?filter=12316027 The bug is present also in the community version but the test suites differ. Specifically: the jdg test suite, for some tests, instantiates a configuration with maxRetries=0
Vittorio, I still see the test case failures on the JDG branch with the fix in HRCPP-222
Fails also in JDG 6.6.1.ER1 testsuite, see e.g. http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/JDG6-FUNC/job/jdg-6.x-func-ispn-testsuite-rhel-os/6/USE_JDK=JDK8,jdk=java17_default,label=EAP-RHEL7/testReport/junit/org.infinispan.client.hotrod/ClientAsymmetricClusterTest/testAsymmetricCluster/