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

Bug 855376

Summary: org.infinispan.client.hotrod.PingOnStartupTest.testTopologyFetched randomly fails
Product: [JBoss] JBoss Data Grid 6 Reporter: Anna Manukyan <amanukya>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: jdg-bugs
Target Milestone: DR2   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:47 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:

Comment 1 Anna Manukyan 2012-09-12 12:48:36 UTC
The bug doesn't appear when the test is run separately.

Comment 2 mark yarborough 2012-09-12 13:24:16 UTC
Per ttarrant and mgencur, these are related to tests running in non-representative loading environments and will likely not occur in actual customer deployments. These are not regressions or blockers so will be moved to 6.1. They do not need to be release noted for 6.0.

Comment 3 mark yarborough 2012-11-14 14:42:08 UTC
ttarrant will add jira links as appropriate.

Comment 5 Anna Manukyan 2013-01-21 09:49:29 UTC
For making sure, that the error message will be later available for investigation, please find the error log here:

Error Message

expected:<2> but was:<1>

Stacktrace

java.lang.AssertionError: expected:<2> but was:<1>
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
	at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
	at org.infinispan.client.hotrod.PingOnStartupTest$1.call(PingOnStartupTest.java:74)
	at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withRemoteCacheManager(HotRodClientTestingUtil.java:97)
	at org.infinispan.client.hotrod.PingOnStartupTest.testTopologyFetched(PingOnStartupTest.java:61)
	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:601)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
	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:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

Comment 6 JBoss JIRA Server 2013-03-01 12:24:19 UTC
Galder ZamarreƱo <galder.zamarreno> made a comment on jira ISPN-2509

I think this might be caused by some DNS issues: https://gist.github.com/galderz/591e548d3ed0db3a62c9

{code}Caused by: java.net.UnknownHostException
	at sun.nio.ch.Net.translateException(Net.java:139)
	at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:137)
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.<init>(TcpTransport.java:79){code}

Comment 7 JBoss JIRA Server 2013-03-01 12:46:07 UTC
Galder ZamarreƱo <galder.zamarreno> updated the status of jira ISPN-2509 to Coding In Progress

Comment 9 Red Hat Bugzilla 2025-02-10 03:20:47 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.