-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b07
-
x86_64
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322991 | 21.0.3-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8323565 | 21.0.3 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
----------messages:(7/489)----------
command: main OCSPTimeout 1000 true
reason: User specified action: run main/othervm OCSPTimeout 1000 true
started: Sun Jun 18 01:11:16 UTC 2023
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.provider.certpath=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED
finished: Sun Jun 18 01:11:23 UTC 2023
elapsed time (seconds): 6.967
----------configuration:(6/279)----------
Boot Layer
add modules: java.base
add exports: java.base/sun.security.provider.certpath ALL-UNNAMED
java.base/sun.security.util ALL-UNNAMED
java.base/sun.security.x509 ALL-UNNAMED
----------System.out:(9/285)----------
Generated Root CA KeyPair
Generated End Entity KeyPair
Root CA Created:
Issuer: CN=Root CA Cert, O=SomeCompany
Subject: CN=Root CA Cert, O=SomeCompany
Serial: 1
[MainThread]: nextUpdate set to Sun Jun 18 02:11:17 UTC 2023
[MainThread]: Response Content-Length field disabled
----------System.err:(12/658)----------
java.lang.RuntimeException: Server not ready
at OCSPTimeout.createPKI(OCSPTimeout.java:194)
at OCSPTimeout.main(OCSPTimeout.java:89)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
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
The following code is prone to intermittent this failures under heavy OS load
185: rootOcsp = new SimpleOCSPServer(rootKeystore, passwd, ROOT_ALIAS, null);
186: rootOcsp.enableLog(debug);
187: rootOcsp.setNextUpdateInterval(3600);
188: rootOcsp.setDisableContentLength(true);
189: rootOcsp.start();
190:
191: // Wait 5 seconds for server ready
192: boolean readyStatus = rootOcsp.awaitServerReady(5, TimeUnit.SECONDS);
193: if (!readyStatus) {
194: throw new RuntimeException("Server not ready");
195: }
- backported by
-
JDK-8322991 java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
- Resolved
-
JDK-8323565 java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/2abfc99d
-
Commit openjdk/jdk/b20dc1e9
-
Review openjdk/jdk21u-dev/140
-
Review openjdk/jdk/14905
-
Review(pr/3055) openjdk/jdk17u-dev/3056
(2 links to)