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

sun/security/pkcs11/KeyStore/Solaris.sh fails on Solaris 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • security-libs
    • None
    • beta
    • sparc
    • solaris_10
    • Verified

      Test case fail on solaris 10 (jsn-sb2500-2) machine.

      #Test Results (version 2)
      #Wed Nov 17 19:24:29 PST 2004
      #checksum:18edb92c0c92b85
      #-----testdescription-----
      $file=/net/phys-sqesvr-1.sfbay/j2se-sqe/scratch/sec/test_exec/pit_build/J2SE_TESTS/sun/security/pkcs11/KeyStore/Solaris.sh
      $root=/net/phys-sqesvr-1.sfbay/j2se-sqe/scratch/sec/test_exec/pit_build/J2SE_TESTS
      keywords=bug5038659 shell
      run=USER_SPECIFIED shell Solaris.sh\n
      source=Solaris.sh
      title=Enable PKCS#11 KeyStore for SunPKCS11-Solaris

      #-----environment-----

      #-----testresult-----
      description=file:///net/phys-sqesvr-1.sfbay/j2se-sqe/scratch/sec/test_exec/pit_build/J2SE_TESTS/sun/security/pkcs11/KeyStore/Solaris.sh
      end=Wed Nov 17 19:24:29 PST 2004
      environment=regtest
      execStatus=Failed. Execution failed: exit code 1
      javatestOS=SunOS 5.10 (sparc)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Wed Nov 17 19:24:24 PST 2004
      status=Failed. Execution failed: exit code 1
      test=sun/security/pkcs11/KeyStore/Solaris.sh
      work=/net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/sun/security/pkcs11/KeyStore

      #section:script_messages
      ----------messages:(4/292)----------
      JDK under test: (/net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_build/solaris-sparc/j2sdk-image)
      java version "1.6.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-wetmore_15_Nov_2004_18_30)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b12, mixed mode)

      #section:shell
      ----------messages:(3/110)----------
      command: shell Solaris.sh
      reason: User specified action: run shell Solaris.sh
      elapsed time (seconds): 4.633
      ----------System.out:(16/1556)----------
      TESTSRC=/net/phys-sqesvr-1.sfbay/j2se-sqe/scratch/sec/test_exec/pit_build/J2SE_TESTS/sun/security/pkcs11/KeyStore
      TESTCLASSES=/net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore
      TESTJAVA=/net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_build/solaris-sparc/j2sdk-image

      RECOMPILE=yes
      TEST=basic
      DEBUG=sunpkcs11,pkcs11keystore

      Removing old pkcs11_keystore, creating new pkcs11_keystore
      /bin/rm -rf /net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore/pkcs11_softtoken
      /bin/mkdir -p /net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore/pkcs11_softtoken/private
      /bin/mkdir -p /net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore/pkcs11_softtoken/public
      /bin/cp -f /net/phys-sqesvr-1.sfbay/j2se-sqe/scratch/sec/test_exec/pit_build/J2SE_TESTS/sun/security/pkcs11/KeyStore/BasicData/pkcs11_softtoken/objstore_info /net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore/pkcs11_softtoken
      /bin/chmod +w /net/phys-sqesvr-1/j2se-sqe/scratch/sec/test_exec/pit_regression_results/solaris-sparc/j2se/JTwork/classes/sun/security/pkcs11/KeyStore/pkcs11_softtoken/objstore_info
      Beginning test run Basic...
      Running test with provider SunPKCS11-Solaris...
      ----------System.err:(11/505)----------
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      Exception in thread "main" java.security.KeyStoreException: PKCS11 not found
      at java.security.KeyStore.getInstance(KeyStore.java:645)
      at Basic.setAttribute(Basic.java:483)
      at Basic.doTest(Basic.java:190)
      at Basic.main(Basic.java:144)
      at PKCS11Test.premain(PKCS11Test.java:24)
      at PKCS11Test.testNSS(PKCS11Test.java:127)
      at PKCS11Test.main(PKCS11Test.java:32)
      at Basic.main(Basic.java:84)
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

            claisunw Charlie Lai (Inactive)
            nwangsunw Nathan Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: