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

Test security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java fails intermittently

    XMLWordPrintable

Details

    Description

      The test "security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java" fails intermittently
      ...
      certpath: Trying to fetch CRL from DP http://crl.quovadisglobal.com/qvrca1g3.crl
      certpath: CertStore URI:http://crl.quovadisglobal.com/qvrca1g3.crl
      certpath: Exception fetching CRL:
      java.io.IOException: Server returned HTTP response code: 502 for URL: http://crl.quovadisglobal.com/qvrca1g3.crl
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
      at java.base/sun.security.provider.certpath.URICertStore.engineGetCRLs(URICertStore.java:367)
      at java.base/java.security.cert.CertStore.getCRLs(CertStore.java:182)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRL(DistributionPointFetcher.java:268)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRLs(DistributionPointFetcher.java:213)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRLs(DistributionPointFetcher.java:144)
      at java.base/sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:579)
      at java.base/sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:464)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:366)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:336)
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:224)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:144)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:83)
      at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309)
      at ValidatePathWithParams.doCertPathValidate(ValidatePathWithParams.java:288)
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:142)
      at RootCA1G3.runTest(QuoVadisCA.java:186)
      at QuoVadisCA.main(QuoVadisCA.java:52)
      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:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)
      java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:177)
      at RootCA1G3.runTest(QuoVadisCA.java:186)
      at QuoVadisCA.main(QuoVadisCA.java:52)
      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:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.security.cert.CertPathValidatorException: Unable to determine revocation status due to network error
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:224)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:144)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:83)
      at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309)
      at ValidatePathWithParams.doCertPathValidate(ValidatePathWithParams.java:288)
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:142)
      ... 8 more
      Caused by: sun.security.provider.certpath.PKIX$CertStoreTypeException: java.io.IOException: Server returned HTTP response code: 502 for URL: http://crl.quovadisglobal.com/qvrca1g3.crl
      at java.base/sun.security.provider.certpath.URICertStore.engineGetCRLs(URICertStore.java:401)
      at java.base/java.security.cert.CertStore.getCRLs(CertStore.java:182)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRL(DistributionPointFetcher.java:268)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRLs(DistributionPointFetcher.java:213)
      at java.base/sun.security.provider.certpath.DistributionPointFetcher.getCRLs(DistributionPointFetcher.java:144)
      at java.base/sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:579)
      at java.base/sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:464)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:366)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:336)
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
      ... 14 more
      Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://crl.quovadisglobal.com/qvrca1g3.crl
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
      at java.base/sun.security.provider.certpath.URICertStore.engineGetCRLs(URICertStore.java:367)
      ... 23 more

      Attachments

        Issue Links

          Activity

            People

              rhalade Rajan Halade
              tvoniadka Thejasvi Voniadka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: