Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 922761

Summary: Intermittent failures in ReplCommandForwardingTest
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Richard Janík <rjanik>
Component: ClusteringAssignee: Paul Ferraro <paul.ferraro>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.0, 6.1.1, 6.3.0CC: jkudrnac, mvinkler
Target Milestone: ---   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Infinispan testsuite
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 13:46:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Janík 2013-03-18 12:56:07 UTC
Description of problem:

EAP 6.1.0.ER2
Infinispan 5.2.1.Final

Two tests intermittently fail with: expected [true] but found [false]:
org.infinispan.statetransfer.ReplCommandForwardingTest.testForwardToJoinerNonTransactional
org.infinispan.statetransfer.ReplCommandForwardingTest.testForwardToJoinerTransactional

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infinispan/job/eap-6x-infinispan-win-matrix/jdk=java16_default,label=Win2k8_x86_64/23/testReport/org.infinispan.statetransfer/ReplCommandForwardingTest/testForwardToJoinerNonTransactional/

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infinispan/job/eap-6x-infinispan-win-matrix/jdk=java16_default,label=Win2k8_x86_64/23/testReport/org.infinispan.statetransfer/ReplCommandForwardingTest/testForwardToJoinerTransactional/

Sample stacktrace:

java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.infinispan.statetransfer.ReplCommandForwardingTest$DelayInterceptor.unblock(ReplCommandForwardingTest.java:247)
	at org.infinispan.statetransfer.ReplCommandForwardingTest.testForwardToJoinerNonTransactional(ReplCommandForwardingTest.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)

Comment 1 Richard Janík 2013-04-02 12:25:46 UTC
Another random failure with ER3, Infinispan 5.2.5.Final.

org.infinispan.statetransfer.ReplCommandForwardingTest.testForwardToJoinerNonTransactional

java.lang.AssertionError: There is no DelayInterceptor waiting to be unblocked on cache Cache '___defaultcache'@ReplCommandForwardingTest-NodeB-57481 expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.infinispan.statetransfer.ReplCommandForwardingTest$DelayInterceptor.unblock(ReplCommandForwardingTest.java:259)
	at org.infinispan.statetransfer.ReplCommandForwardingTest.testForwardToJoinerNonTransactional(ReplCommandForwardingTest.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infinispan/job/eap-6x-infinispan-win-matrix/27/jdk=java16_default,label=Win2k8_x86_64/testReport/org.infinispan.statetransfer/ReplCommandForwardingTest/testForwardToJoinerNonTransactional/

Comment 4 Michal Vinkler 2014-10-14 13:46:27 UTC
Upstream test stabilization jiras exists (https://issues.jboss.org/browse/ISPN-4835).

Comment 7 JBoss JIRA Server 2016-08-02 11:40:20 UTC
Tristan Tarrant <ttarrant> updated the status of jira ISPN-4835 to Closed