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

security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java test failures because of revocation date

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently we sometimes run into jtreg test errors (cross platform) in the test
      security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java.
      The failures look like this :

      java.lang.RuntimeException: TEST FAILED: unexpected revocation date
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:206)
      at AmazonCA_3.runTest(AmazonCA.java:444)
      at AmazonCA.main(AmazonCA.java:66)
      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: unexpected revocation date
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:209)
      at AmazonCA_1.runTest(AmazonCA.java:189)
      at AmazonCA.main(AmazonCA.java:64)
      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:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      looking at the logfiles we see small differences between expected and currently found revocation date :

      Certificate revocation date:Tue Jan 29 00:35:55 CET 2019
      Expected revocation date:Tue Jan 29 00:35:56 CET 2019

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rhalade Rajan Halade
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: