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

sun/security/pkcs11/ec/ReadCertificates.java failed with sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED

    Details

      Description

      Test: sun/security/pkcs11/ec/ReadCertificates.java

      This is intermittent failure.

      Log:
      Checking incorrect signatures...
      OK: java.security.SignatureException: Signature does not match.
      OK: java.security.SignatureException: Signature does not match.
      OK: java.security.SignatureException: Signature does not match.
      ----------System.err:(26/1800)----------
      java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11Signature.engineVerify(P11Signature.java:688)
      at java.base/java.security.Signature$Delegate.engineVerify(Signature.java:1245)
      at java.base/java.security.Signature.verify(Signature.java:674)
      at java.base/sun.security.x509.X509CertImpl.verify(X509CertImpl.java:444)
      at java.base/sun.security.x509.X509CertImpl.verify(X509CertImpl.java:392)
      at ReadCertificates.main(ReadCertificates.java:176)
      at PKCS11Test.premain(PKCS11Test.java:166)
      at PKCS11Test.testDefault(PKCS11Test.java:253)
      at PKCS11Test.main(PKCS11Test.java:201)
      at ReadCertificates.main(ReadCertificates.java:76)
      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:547)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED
      at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_VerifyFinal(Native Method)
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11Signature.engineVerify(P11Signature.java:642)
      ... 15 more

      JavaTest Message: Test threw exception: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED
      JavaTest Message: shutting down test

        Attachments

          Activity

            People

            • Assignee:
              ssahoo Sibabrata Sahoo
              Reporter:
              ssahoo Sibabrata Sahoo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: