Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8309754

java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java failed with "Expected to pass, found 1 soft fail exceptions"

XMLWordPrintable

      The following test failed in the JDK22 CI:

      java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/575)----------
      command: main -Dcom.sun.security.ocsp.readtimeout=2750ms OCSPTimeout 2000 true
      reason: User specified action: run main/othervm -Dcom.sun.security.ocsp.readtimeout=2750ms OCSPTimeout 2000 true
      started: Fri Jun 09 21:20:32 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: Fri Jun 09 21:20:38 UTC 2023
      elapsed time (seconds): 5.427
      ----------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:(19/658)----------
      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 Fri Jun 09 22:20:34 UTC 2023
      [MainThread]: Response Content-Length field disabled
      [pool-1-thread-1]: Listening on 0.0.0.0/0.0.0.0:63089
      Root OCSP Responder URI is http://localhost:63089
      SSL Certificate Created:
      Issuer: CN=Root CA Cert, O=SomeCompany
      Subject: CN=SSLCertificate, O=SomeCompany
      Serial: 4096

      [MainThread]: Added entry for serial 4096(CERT_STATUS_GOOD)
      [MainThread]: OCSP latency set to 2000 milliseconds.
      Test case expects to pass
      ----------System.err:(11/700)----------
      java.lang.RuntimeException: Expected to pass, found 1 soft fail exceptions
      at OCSPTimeout.main(OCSPTimeout.java:116)
      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: Expected to pass, found 1 soft fail exceptions
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to pass, found 1 soft fail exceptions
      ----------rerun:(46/6462)*----------

            jnimeh Jamil Nimeh
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: