Bug 927921

Summary: JGroups: intermittent failure of UnicastLoopbackTest.testUnicastMsgsWithLoopback
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Richard Janík <rjanik>
Component: ClusteringAssignee: Richard Achmatowicz <rachmato>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0, 6.1.1, 6.3.0CC: jkudrnac, paul.ferraro, rachmato
Target Milestone: ---   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: JGroups testsuite
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-30 15:25:40 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-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.