JDK-8025202 : Intermittent test failure: sun/security/mscapi/SignUsingNONEwithRSA.sh
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2013-09-21
  • Updated: 2019-02-11
  • Resolved: 2015-06-25
Related Reports
Duplicate :  
Relates :  
Description
TESTFAIL:sun/security/mscapi/SignUsingNONEwithRSA.sh

sun/security/mscapi/SignUsingNONEwithRSA.sh failing intermittently (on windows):

----------messages:(5/195)*----------
JDK under test: (C:\\Users\\aurora\\SANDBO~1\\jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b102)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b44, mixed mode)

----------System.out:(13/458)----------
Creating a temporary RSA keypair in the Windows-My store...
keytool error: java.security.KeyStoreException: Bad Key.


Running the test...
The following JCE providers support the 'Signature.NONEwithRSA' algorithm: 
    SunMSCAPI
-------------------------------------------------
Loaded keystore: Windows-MY

Removing the temporary RSA keypair from the Windows-My store...
keytool error: java.lang.Exception: Alias <6578658> does not exist
done.
----------System.err:(3/230)----------
Exception in thread "main" java.lang.Exception: Cannot load the keys need to run this test
	at SignUsingNONEwithRSA.getKeysFromKeyStore(SignUsingNONEwithRSA.java:134)
	at SignUsingNONEwithRSA.main(SignUsingNONEwithRSA.java:97)
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1
Comments
Null pointer access in KeyStore.storePrivateKey() like in JDK-8023546. Closed as a dup.
25-06-2015

Raising to P3 since this is a high frequency test failure.
13-02-2015