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

sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed due to unexpected expiration date

XMLWordPrintable

        sun/security/tools/jarsigner/warnings/NoTimestampTest.java fails intermittently:

        ----------System.err:(26/1406)----------
         stdout: [jar signed.

        Warning:
        No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2019-12-06).

        The signer certificate will expire on 2019-12-06.
        ];
         stderr: []
         exitValue = 0

        java.lang.RuntimeException: 'No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2019-12-05).' missing from stdout/stderr

        at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:151)
        at Test.checkSigning(Test.java:240)
        at NoTimestampTest.start(NoTimestampTest.java:86)
        at NoTimestampTest.main(NoTimestampTest.java:49)
        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:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
        at java.base/java.lang.Thread.run(Thread.java:835)

              jjiang John Jiang
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: