-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b03
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8291256 | 19.0.2 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8288929 | 19.0.1 | Robert Mckenna | P4 | Resolved | Fixed | b04 |
JDK-8289663 | 19 | Christoph Langer | P4 | Resolved | Fixed | b30 |
JDK-8288986 | 17.0.5-oracle | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8289135 | 17.0.5 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8291632 | 15.0.9 | Yuri Nesterenko | P4 | Resolved | Fixed | b02 |
JDK-8291631 | 13.0.13 | Yuri Nesterenko | P4 | Resolved | Fixed | b02 |
JDK-8288987 | 11.0.17-oracle | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8289640 | 11.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8288998 | 8u351 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
From the log, I can see the test is failing at the following assertTrue statement.
Here RuntimeException thrown has a different message – “javax.naming.CommunicationException: example.com:1234 [Root exception is java.net.NoRouteToHostException: No route to host (Host unreachable)]”
This particular exception msg seems to be not handled in the current test code.
----------
catch (RuntimeException e) {
String msg = e.getCause() == null ? e.getMessage() : e.getCause().getMessage();
System.err.println("MSG RTE: " + msg);
// assertCompletion may wrap a CommunicationException in an RTE
assertTrue(msg != null && msg.contains("Network is unreachable"));
}
------
I have attached the complete log for the same.
Also pasting the relevant snippet here:
[TestNG] Running:
com/sun/jndi/ldap/LdapPoolTimeoutTest.java
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at LdapPoolTimeoutTest.attemptConnect(LdapPoolTimeoutTest.java:124)
at LdapPoolTimeoutTest.lambda$test$5(LdapPoolTimeoutTest.java:96)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at LdapPoolTimeoutTest.attemptConnect(LdapPoolTimeoutTest.java:124)
at LdapPoolTimeoutTest.lambda$test$6(LdapPoolTimeoutTest.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
test LdapPoolTimeoutTest.test(): failure
java.lang.RuntimeException: 2 (sub)tests failed
at LdapPoolTimeoutTest.test(LdapPoolTimeoutTest.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
===============================================
com/sun/jndi/ldap/LdapPoolTimeoutTest.java
Total tests run: 1, Failures: 1, Skips: 0
===============================================
----------System.err:(22/1268)----------
MSG RTE: javax.naming.CommunicationException: example.com:1234 [Root exception is java.net.NoRouteToHostException: No route to host (Host unreachable)]
MSG RTE: javax.naming.CommunicationException: example.com:1234 [Root exception is java.net.NoRouteToHostException: No route to host (Host unreachable)]
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: connect timed out
java.lang.Exception: failures: 1
- backported by
-
JDK-8288929 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8288986 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8288987 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8288998 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8289135 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8289640 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8289663 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8291256 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8291631 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
-
JDK-8291632 jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/6ecce297
-
Commit openjdk/jdk13u-dev/76d36926
-
Commit openjdk/jdk15u-dev/e3c3e3d0
-
Commit openjdk/jdk17u-dev/42e3184f
-
Commit openjdk/jdk19/5b5bc6c2
-
Commit openjdk/jdk19u/3f31ed10
-
Commit openjdk/jdk/7e211d7d
-
Review openjdk/jdk11u-dev/1192
-
Review openjdk/jdk13u-dev/385
-
Review openjdk/jdk15u-dev/249
-
Review openjdk/jdk17u-dev/504
-
Review openjdk/jdk19/97
-
Review openjdk/jdk19u/2
-
Review openjdk/jdk/8974