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

sun/security/ssl/StatusStapling/RunStatReqSelect.java failed with "1 tests failed out of 10 total."

XMLWordPrintable

      This Test failed only in : Mac OS X 10.13.1 (x86_64)

      Log:
      Generated Root CA KeyPair
      Generated Intermediate CA KeyPair
      Generated SSL Cert KeyPair
      Root CA Created:
      Issuer: CN=Root CA Cert, O=SomeCompany
      Subject: CN=Root CA Cert, O=SomeCompany
      Serial: 1

      Root OCSP Responder URI is http://localhost:55120
      Intermediate CA Created:
      Issuer: CN=Root CA Cert, O=SomeCompany
      Subject: CN=Intermediate CA Cert, O=SomeCompany
      Serial: 100

      Intermediate CA OCSP Responder URI is http://localhost:55121
      SSL Certificate Created:
      Issuer: CN=Intermediate CA Cert, O=SomeCompany
      Subject: CN=SSLCertificate, O=SomeCompany
      Serial: 4096

      *** Test: ClientHello: No stapling extensions
      PASS: status_request: false, status_request_v2: false

      *** Test: ClientHello: Default status_request only
      The status_request extension is inconsistent with the expected result: expected = true, actual = false

      *** Test: ClientHello: Default status_request_v2 only
      PASS: status_request: false, status_request_v2: true

      *** Test: ClientHello: Both status_request exts, default
      PASS: status_request: false, status_request_v2: true

      *** Test: ClientHello: Hello with status_request and responder IDs
      PASS: status_request: false, status_request_v2: false

      *** Test: ClientHello: Hello with status_request using no responder IDs but provides the OCSP nonce extension
      PASS: status_request: true, status_request_v2: false

      *** Test: ClientHello with default status_request and status_request_v2 with ResponderIds
      PASS: status_request: true, status_request_v2: false

      *** Test: ClientHello with default status_request and status_request_v2 (OCSP_MULTI with ResponderId, OCSP as a default request)
      PASS: status_request: false, status_request_v2: true

      *** Test: ClientHello with status_request and status_request_v2 and all OCSPStatusRequests use Responder IDs
      PASS: status_request: false, status_request_v2: false

      *** Test: ClientHello with default status_request and status_request_v2 that has a default OCSP item and multiple OCSP_MULTI items, only one is default
      PASS: status_request: false, status_request_v2: true

      ----------System.err:(13/873)----------
      java.lang.RuntimeException: 1 tests failed out of 10 total.
      at java.base/sun.security.ssl.StatusReqSelection.main(StatusReqSelection.java:187)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 tests failed out of 10 total.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 tests failed out of 10 total.

            ssahoo Sibabrata Sahoo (Inactive)
            ssahoo Sibabrata Sahoo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: