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

sun/security/pkcs11/Secmod/AddPrivateKey.java failing intermittently (sol)

    Details

      Description

      TESTFAIL:sun/security/pkcs11/Secmod/AddPrivateKey.java

      This test failed in JPRT with an up to date jdk8/tl. The host is jprt-host-x64-2 (Solaris 10), not clear which Solaris update and whether this is a Solaris, JDK or test issue.


      --------------------------------------------------
      TEST: sun/security/pkcs11/Secmod/AddPrivateKey.java
      JDK under test: (/tmp/jprt/P1/094802.albatem/testproduct/solaris_x64_5.10-product)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201208240948.albatem.tl-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b19, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.056 seconds
      messages:
      command: build AddPrivateKey
      reason: Named class compiled on demand
      elapsed time (seconds): 0.056

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.056 seconds
      messages:
      command: compile /tmp/jprt/P1/094802.albatem/s/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.056
      direct:
      Note: /tmp/jprt/P1/094802.albatem/s/jdk/test/sun/security/pkcs11/Secmod/../PKCS11Test.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Signature did not verify
      REASON: User specified action: run main/othervm AddPrivateKey
      TIME: 0.624 seconds
      messages:
      command: main AddPrivateKey
      reason: User specified action: run main/othervm AddPrivateKey
      elapsed time (seconds): 0.624
      STDOUT:
      SunPKCS11-NSSKeyStore version 1.7

      Deleting: mykey
      -Entry vajra (RSA)
      SunPKCS11-Solaris RSA private key, 1024 bits (id 56614848, session object, not sensit
      SunPKCS11-NSSKeyStore RSA private key, 1024 bits (id -1775786025, token object, sensi
      SunPKCS11-NSSKeyStore RSA private key, 1024 bits (id 1, session object, not sensitive
      SunPKCS11-NSSKeyStore RSA private key, 1024 bits (id -1775786025, token object, sensi
      SunPKCS11-NSSKeyStore RSA private key, 1024 bits (id -1775786025, token object, sensi
      OK
      -Entry vajradsa (DSA)
      SunPKCS11-Solaris DSA private key, 1024 bits (id 56166608, session object, not sensit
      SunPKCS11-NSSKeyStore DSA private key, 1024 bits (id 2580064441, token object, sensit
      SunPKCS11-NSSKeyStore DSA private key, 1024 bits (id 8, session object, not sensitive
      SunPKCS11-NSSKeyStore DSA private key, 1024 bits (id 2580064441, token object, sensit
      SunPKCS11-NSSKeyStore DSA private key, 1024 bits (id 2580064441, token object, sensit
      OK
      -Entry secp256r1server-secp384r1ca (EC)
      Sun EC private key, 256 bits
      STDERR:
      java.lang.Exception: Signature did not verify
      at AddPrivateKey.sign(AddPrivateKey.java:215)
      at AddPrivateKey.test(AddPrivateKey.java:103)
      at AddPrivateKey.main(AddPrivateKey.java:84)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.Exception: Signature did not verify
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Signature did not verify

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Signature did not verify
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juh Jason Uh (Inactive)
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: