-
Bug
-
Resolution: Fixed
-
P4
-
21
-
b22
-
x86_64
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8325925 | 17.0.12-oracle | Nibedita Jena | P4 | Resolved | Fixed | b01 |
JDK-8328691 | 17.0.12 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
----------System.out:(3/185)----------
[MainThread]: nextUpdate set to Tue Mar 28 15:58:37 UTC 2023
[MainThread]: Added entry for serial 17499003148595942464(CERT_STATUS_GOOD)
[MainThread]: Received shutdown notification
----------System.err:(11/620)----------
java.lang.RuntimeException: Server not ready
at GetAndPostTests.main(GetAndPostTests.java:122)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Server not ready
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Server not ready
----------rerun:(45/7007)*----------
If looks like the server's main loop thread from the thread pool.submit in SimpleOCSPServer::start didn't get to run in time.
the timeout is 5 seconds in the awaitServerReady, and it's a reasonable assumption that the server thread will have started by then, but on heavily loaded systems these types of intermittent failures seem to occur.
Server logging is enabled in the test, and log output from server is not seen in test jtr file.
[MainThread]: nextUpdate set to Tue Mar 28 15:58:37 UTC 2023
[MainThread]: Added entry for serial 17499003148595942464(CERT_STATUS_GOOD)
[MainThread]: Received shutdown notification
----------System.err:(11/620)----------
java.lang.RuntimeException: Server not ready
at GetAndPostTests.main(GetAndPostTests.java:122)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Server not ready
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Server not ready
----------rerun:(45/7007)*----------
If looks like the server's main loop thread from the thread pool.submit in SimpleOCSPServer::start didn't get to run in time.
the timeout is 5 seconds in the awaitServerReady, and it's a reasonable assumption that the server thread will have started by then, but on heavily loaded systems these types of intermittent failures seem to occur.
Server logging is enabled in the test, and log output from server is not seen in test jtr file.
- backported by
-
JDK-8325925 java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
- Resolved
-
JDK-8328691 java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/a8a81286
-
Commit openjdk/jdk/3f6a3545
-
Review openjdk/jdk17u-dev/2317
-
Review openjdk/jdk/13829
(1 links to)