statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus fails randomly
-------------------------------------------------------------------------------------
Key: ISPN-4845
URL:
https://issues.jboss.org/browse/ISPN-4845
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 5.2.10.Final
Reporter: Michal Vinkler
Assignee: Dan Berindei
Labels: 5.2.x
Fix For: 8.2.0.Beta1
Seen with EAP 6.3.0.ER10, Infinispan 5.2.10
Test
org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus
randomly fails (seen on Solaris and HP-UX).
Might be the same as ISPN-4743.
Stacktraces:
HP-UX version
Error Message
{code}
Timed out waiting for rebalancing to complete on node
ClusterTopologyManagerTest-NodeB-47391, expected member list is
[ClusterTopologyManagerTest-NodeB-47391], current member list is
[ClusterTopologyManagerTest-NodeB-47391, ClusterTopologyManagerTest-NodeC-55740]!
{code}
Stacktrace
{code}
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node
ClusterTopologyManagerTest-NodeB-47391, expected member list is
[ClusterTopologyManagerTest-NodeB-47391], current member list is
[ClusterTopologyManagerTest-NodeB-47391, ClusterTopologyManagerTest-NodeC-55740]!
at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:203)
at
org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus(ClusterTopologyManagerTest.java:353)
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)
{code}
Also see standard output:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infi...
Solaris version
Error Message
{code}
Thread already timed out waiting for event 3 left
{code}
Stacktrace
{code}
java.lang.IllegalStateException: Thread already timed out waiting for event 3 left
at org.infinispan.test.fwk.CheckPoint.trigger(CheckPoint.java:150)
at org.infinispan.test.fwk.CheckPoint.trigger(CheckPoint.java:135)
at
org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus(ClusterTopologyManagerTest.java:350)
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)
{code}
Also see standard output:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infi...
Might be the same as ISPN-4743.
Downstream BZ was:
https://bugzilla.redhat.com/show_bug.cgi?id=987461