#Test Results (version 2) #Mon Aug 05 20:20:30 PDT 2013 #checksum:3e49a938765c695d #-----testdescription----- $file=C\:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\security\\pkcs11\\rsa\\TestKeyPairGenerator.java $root=C\:\\Users\\aurora\\sandbox\\testbase\\test author=Andreas Sterbenz keywords=bug4856966 library=.. run=ASSUMED_ACTION main TestKeyPairGenerator\r\n source=TestKeyPairGenerator.java title=Verify that the RSA KeyPairGenerator works #-----environment----- #-----testresult----- description=file\:/C\:/Users/aurora/sandbox/testbase/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java elapsed=446 0\:00\:00.446 end=Mon Aug 05 20\:20\:30 PDT 2013 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.security.ProviderException\: sun.security.pkcs11.wrapper.PKCS11Exception\: CKR_FUNCTION_FAILED hostname=jsqa-vm482.us.oracle.com javatestOS=Windows Vista 6.0 (x86) javatestVersion=4.4 jtregVersion=jtreg 4.1 fcs b06 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile main start=Mon Aug 05 20\:20\:30 PDT 2013 test=sun/security/pkcs11/rsa/TestKeyPairGenerator.java user.name=aurora work=C\:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_security3\\JTwork\\sun\\security\\pkcs11\\rsa #section:script_messages ----------messages:(5/224)*---------- JDK under test: (C:\\Users\\aurora\\sandbox\\jdk) java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h5316-20130805-b102-b00) Java HotSpot(TM) Client VM (build 25.0-b42, mixed mode) #section:build ----------messages:(3/108)---------- command: build TestKeyPairGenerator reason: Named class compiled on demand elapsed time (seconds): 0.065 result: Passed. Build successful #section:compile ----------messages:(3/225)*---------- command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\security\\pkcs11\\rsa\\TestKeyPairGenerator.java reason: .class file out of date or does not exist elapsed time (seconds): 0.065 result: Passed. Compilation successful #section:main ----------messages:(3/141)---------- command: main TestKeyPairGenerator reason: Assumed action based on file name: run main TestKeyPairGenerator elapsed time (seconds): 0.38 ----------System.out:(12/530)---------- Beginning test run TestKeyPairGenerator... Running test with provider SunPKCS11-NSS... Generating 512 bit keypair... SunPKCS11-NSS RSA public key, 512 bits (id 696, session object) modulus: 10039550723537764096519679627192119058837182179982735192622955614019574185633952633610378614345709584998718267131341111876490029071770202763156065274277331 public exponent: 65537 Testing MD2withRSA... Testing MD5withRSA... Testing SHA1withRSA... Testing SHA224withRSA... Testing SHA256withRSA... Generating 512 bit keypair... ----------System.err:(22/1318)---------- java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:681) at TestKeyPairGenerator.main(TestKeyPairGenerator.java:118) at PKCS11Test.premain(PKCS11Test.java:79) at PKCS11Test.testNSS(PKCS11Test.java:357) at PKCS11Test.main(PKCS11Test.java:89) at TestKeyPairGenerator.main(TestKeyPairGenerator.java:96) 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:491) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728) at java.lang.Thread.run(Thread.java:724) Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method) at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:315) ... 12 more JavaTest Message: Test threw exception: java.security.ProviderException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED test result: Failed. Execution failed: `main' threw exception: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED