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

sun/security/pkcs11/Mac/MacKAT.java test failed on Solaris sparc

    XMLWordPrintable

Details

    Description

      Stacktrace
      Execution failed: `main' threw exception: java.security.InvalidKeyException: init() failed
      Standard Output

      Beginning test run MacKAT...
      Running test with provider SunPKCS11-Solaris...
      passed: SslMacMD5
      passed: SslMacMD5
      passed: SslMacSHA1
      passed: SslMacSHA1
      passed: HmacMD5
      passed: HmacMD5
          
      Standard Error

      java.security.InvalidKeyException: init() failed
      at sun.security.pkcs11.P11Mac.engineInit(P11Mac.java:210)
      at javax.crypto.Mac.init(Mac.java:420)
      at MacKAT$MacTest.run(MacKAT.java:246)
      at MacKAT.main(MacKAT.java:193)
      at PKCS11Test.premain(PKCS11Test.java:119)
      at PKCS11Test.testDefault(PKCS11Test.java:181)
      at PKCS11Test.main(PKCS11Test.java:129)
      at MacKAT.main(MacKAT.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
      at java.lang.Thread.run(Thread.java:747)
      Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_ACTIVE
      at sun.security.pkcs11.wrapper.PKCS11.C_SignInit(Native Method)
      at sun.security.pkcs11.P11Mac.initialize(P11Mac.java:170)
      at sun.security.pkcs11.P11Mac.engineInit(P11Mac.java:208)
      ... 13 more

      JavaTest Message: Test threw exception: java.security.InvalidKeyException
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tidu Tim Du (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: