Bug 1022364 - JGroups: Intermittent failures in UNICAST_ContentionTest
Summary: JGroups: Intermittent failures in UNICAST_ContentionTest
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.4.0
Assignee: Richard Achmatowicz
QA Contact: Jitka Kozana
Russell Dickenson
URL:
Whiteboard: JGroups testsuite
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-23 07:04 UTC by Richard Janík
Modified: 2015-06-22 10:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 10:16:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JGRP-1890 0 Minor Closed Random test case failures with UNICAST2/UNICAST 2015-06-25 08:38:22 UTC

Description Richard Janík 2013-10-23 07:04:43 UTC
Description of problem:

EAP 6.2.0.ER6
JGroups 3.2.12.Final

There is an occasional failure of org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String. Either not all messages are delivered or the test is interrupted - could this be environment issue/problem in how the tests are run?

Stacktraces:

Error Message

expected 10000, but got 9998

Stacktrace


java.lang.AssertionError 
at org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad(UNICAST_ContentionTest.java:121) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) 
at java.lang.reflect.Method.invoke(Method.java:611) 
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) 
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) 
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) 
at org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNoExecutor(MethodInvocationHelper.java:222) 
at org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:211) 
at org.testng.internal.Invoker.invokeMethod(Invoker.java:724) 
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:314) 
at java.util.concurrent.FutureTask.run(FutureTask.java:149) 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:908) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931) 
at java.lang.Thread.run(Thread.java:738) 




Error Message

null

Stacktrace


java.lang.InterruptedException 
at java.lang.Object.wait(Native Method) 
at java.lang.Thread.join(Thread.java:1260) 
at java.lang.Thread.join(Thread.java:1334) 
at org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad(UNICAST_ContentionTest.java:98) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:606) 
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) 
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) 
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) 
at org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNoExecutor(MethodInvocationHelper.java:222) 
at org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:211) 
at org.testng.internal.Invoker.invokeMethod(Invoker.java:724) 
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.run(FutureTask.java:262) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:724) 


https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-JGroups/job/eap-6x-manu-jgroups-rhel/23/jdk=ibm16,label=RHEL6_x86_64/testReport/org.jgroups.protocols/UNICAST_ContentionTest/testMessageReceptionUnderHighLoad_String_2/
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-JGroups/job/eap-6x-manu-jgroups-rhel/23/jdk=java17_default,label=RHEL6_x86/testReport/org.jgroups.protocols/UNICAST_ContentionTest/testMessageReceptionUnderHighLoad_String/

Comment 1 Richard Janík 2013-10-23 07:49:36 UTC
Interruption also happens in org.jgroups.protocols.UNICAST2_StressTest.stressTest-TimeScheduler2

Standard Error

java.lang.InterruptedException	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2028)	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2199)	at org.jgroups.protocols.UNICAST2_StressTest.start(UNICAST2_StressTest.java:123)	at org.jgroups.protocols.UNICAST2_StressTest.stressTest(UNICAST2_StressTest.java:47)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)	at java.lang.reflect.Method.invoke(Method.java:613)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)


https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-JGroups/job/eap-6x-manu-jgroups-rhel/23/jdk=ibm17,label=RHEL6_x86/testReport/org.jgroups.protocols/UNICAST2_StressTest/stressTest_TimeScheduler2/

Comment 2 Richard Achmatowicz 2014-03-27 15:00:20 UTC
Still seeing this in EAP 6.3 DR6. I'll need to open an upstream issue.

Comment 4 Richard Janík 2014-10-14 10:16:06 UTC
As of 6.4.0.DR4, I'm seeing several fails in UNICAST/UNICAST2 tests. These are different than the ones mentioned above but since they concern the same protocols I'll keep them tied to this bug. An upstream issue has been opened (JGRP-1890), thus I'm closing this.

Comment 7 JBoss JIRA Server 2015-06-22 10:39:46 UTC
Bela Ban <bela> updated the status of jira JGRP-1890 to Closed


Note You need to log in before you can comment on or make changes to this bug.