-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
8
-
solaris
The test is falling intermittently on solaris x64 platform (version 5.10, product, c2)
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.018 seconds
messages:
command: compile -XDignore.symbol.file=true <some_path>/jdk/test/sun/security/pkcs11/MessageDigest/TestCloning.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.018
rerun:
.
.
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.CloneNotSupportedException: SHA-256
REASON: Assumed action based on file name: run main TestCloning
TIME: 0.013 seconds
messages:
command: main TestCloning
reason: Assumed action based on file name: run main TestCloning
elapsed time (seconds): 0.013
rerun:
.
.
STDOUT:
Beginning test run TestCloning...
Running test with provider SunPKCS11-Solaris...
Testing against provider SunPKCS11-Solaris
MD2 is not supported, skipping
Testing MD5 of SunPKCS11-Solaris
Testing SHA1 of SunPKCS11-Solaris
SHA-224 is not supported, skipping
Testing SHA-256 of SunPKCS11-Solaris
STDERR:
java.lang.CloneNotSupportedException: SHA-256
at sun.security.pkcs11.P11Digest.clone(P11Digest.java:316)
at java.security.MessageDigest$Delegate.clone(MessageDigest.java:560)
at TestCloning.testCloning(TestCloning.java:92)
at TestCloning.main(TestCloning.java:65)
at PKCS11Test.premain(PKCS11Test.java:88)
at PKCS11Test.testDefault(PKCS11Test.java:149)
at PKCS11Test.main(PKCS11Test.java:97)
at TestCloning.main(TestCloning.java:43)
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:498)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_STATE_UNSAVEABLE
at sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(Native Method)
at sun.security.pkcs11.P11Digest.clone(P11Digest.java:311)
... 13 more
JavaTest Message: Test threw exception: java.lang.CloneNotSupportedException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.CloneNotSupportedException: SHA-256
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.018 seconds
messages:
command: compile -XDignore.symbol.file=true <some_path>/jdk/test/sun/security/pkcs11/MessageDigest/TestCloning.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.018
rerun:
.
.
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.CloneNotSupportedException: SHA-256
REASON: Assumed action based on file name: run main TestCloning
TIME: 0.013 seconds
messages:
command: main TestCloning
reason: Assumed action based on file name: run main TestCloning
elapsed time (seconds): 0.013
rerun:
.
.
STDOUT:
Beginning test run TestCloning...
Running test with provider SunPKCS11-Solaris...
Testing against provider SunPKCS11-Solaris
MD2 is not supported, skipping
Testing MD5 of SunPKCS11-Solaris
Testing SHA1 of SunPKCS11-Solaris
SHA-224 is not supported, skipping
Testing SHA-256 of SunPKCS11-Solaris
STDERR:
java.lang.CloneNotSupportedException: SHA-256
at sun.security.pkcs11.P11Digest.clone(P11Digest.java:316)
at java.security.MessageDigest$Delegate.clone(MessageDigest.java:560)
at TestCloning.testCloning(TestCloning.java:92)
at TestCloning.main(TestCloning.java:65)
at PKCS11Test.premain(PKCS11Test.java:88)
at PKCS11Test.testDefault(PKCS11Test.java:149)
at PKCS11Test.main(PKCS11Test.java:97)
at TestCloning.main(TestCloning.java:43)
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:498)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_STATE_UNSAVEABLE
at sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(Native Method)
at sun.security.pkcs11.P11Digest.clone(P11Digest.java:311)
... 13 more
JavaTest Message: Test threw exception: java.lang.CloneNotSupportedException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.CloneNotSupportedException: SHA-256
- relates to
-
JDK-8043951 sun/security/pkcs11/MessageDigest/TestCloning.java failed due to CloneNotSupportedException: SHA-256
-
- Closed
-