Open pshipton opened 4 years ago
This was first reported in https://github.com/eclipse/openj9/issues/8374#issuecomment-579996187
@jdekonin these tests appear to be passing at AdoptOpenJDK, can we figure out what the difference in machine configuration is? https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_sanity.openjdk_x86-64_windows/145/testReport/
This is observed in an internal build Test_openjdk8_j9_sanity.openjdk_x86-32_windows_Nightly/280
as well.
02:52:51 STDERR:
02:52:51 java.security.ProviderException: java.security.KeyException: Access is denied.
02:52:51
02:52:51 at sun.security.mscapi.CKeyPairGenerator$RSA.generateKeyPair(CKeyPairGenerator.java:126)
02:52:51 at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:697)
02:52:51 at FinalizeHalf.test(FinalizeHalf.java:76)
02:52:51 at FinalizeHalf.main(FinalizeHalf.java:54)
02:52:51 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02:52:51 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
02:52:51 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
02:52:51 at java.lang.reflect.Method.invoke(Method.java:498)
02:52:51 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
02:52:51 at java.lang.Thread.run(Thread.java:821)
02:52:51 Caused by: java.security.KeyException: Access is denied.
02:52:51
02:52:51 at sun.security.mscapi.CKeyPairGenerator$RSA.generateCKeyPair(Native Method)
02:52:51 at sun.security.mscapi.CKeyPairGenerator$RSA.generateKeyPair(CKeyPairGenerator.java:121)
02:52:51 ... 9 more
02:52:51
02:52:51 JavaTest Message: Test threw exception: java.security.ProviderException
02:52:51 JavaTest Message: shutting down test
02:52:51 ACTION: main -- Failed. Execution failed: `main' threw exception: java.security.ProviderException: java.security.KeyException: Access is denied.
02:52:51 REASON: Assumed action based on file name: run main FinalizeHalf
sanity.openjdk has been reconfigured to match OpenJDK tier1 testing. This test is no longer in the sanity suite. Removing the "Blocking openjdk.sanity".
What level of testing is needed to reproduce this now? If this is no longer a problem can the issue be closed?
https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_x86-32_windows_Personal/2 https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_x86-64_windows_Personal/3 jdk_security1_0 java/security/KeyPairGenerator/FinalizeHalf.java.FinalizeHalf
java/security/Signature/SignatureLength.java.SignatureLength