Bug 927921 - JGroups: intermittent failure of UnicastLoopbackTest.testUnicastMsgsWithLoopback
Summary: JGroups: intermittent failure of UnicastLoopbackTest.testUnicastMsgsWithLoopback
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.1.0,6.1.1,6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.4.0
Assignee: Richard Achmatowicz
QA Contact:
URL:
Whiteboard: JGroups testsuite
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-26 14:07 UTC by Richard Janík
Modified: 2014-10-25 11:31 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-30 15:25:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JGRP-1806 0 Major Resolved UnicastLoopbackTest fails to receive all messages in the allotted time 2014-09-02 12:45:41 UTC

Description Richard Janík 2013-03-26 14:07:59 UTC
Description of problem:

EAP 6.1.0.ER2, 6.1.0.ER3

Test org.jgroups.tests.UnicastLoopbackTest.testUnicastMsgsWithLoopback fails randomly with following error message:
Test timed out before all messages were received

java.lang.AssertionError 
at org.testng.Assert.fail(Assert.java:94) 
at org.jgroups.tests.UnicastLoopbackTest.testUnicastMsgsWithLoopback(UnicastLoopbackTest.java:78) 
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) 
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345) 
at java.util.concurrent.FutureTask.run(FutureTask.java:177) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626) 
at java.lang.Thread.run(Thread.java:780) 

This is not due to slow machines though, the timeouts are quite generous and when the test passes, it is done quickly (~4 seconds, timeout is set to 20 seconds). Also note that this is specific for tcp variation.

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-JGroups/job/eap-6x-jgroups-rhel-matrix/27/jdk=ibm17,label=RHEL5_x86_64/testReport/org.jgroups.tests/UnicastLoopbackTest/testUnicastMsgsWithLoopback/

Comment 1 Richard Janík 2013-08-07 12:13:46 UTC
Seen in EAP 6.1.1.ER4 with JGroups 3.2.7.Final. Bumping to 6.2.0 ?.

Comment 3 Richard Achmatowicz 2014-03-27 14:44:32 UTC
Still being seen in EAP 6.3 DR6 (Windows only).

Comment 4 Richard Janík 2014-06-02 07:05:42 UTC
Still being seen in 6.3.0.ER5, now on RHEL too. I'll try giving it a longer timeout.

Comment 6 Paul Ferraro 2014-08-30 15:25:40 UTC
Test stabilization jira (JGRP-1806) fixed upstream.


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