JDK-7183203 : ShortRSAKeynnn.sh tests intermittent failure
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-07-11
  • Updated: 2013-12-17
  • Resolved: 2012-07-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u21Fixed 8 b49Fixed
Description
sun/security/mscapi/ShortRSAKey1024.sh
sun/security/mscapi/ShortRSAKey768.sh
sun/security/mscapi/ShortRSAKey512.sh

We are seeing these tests intermittent failure recently. Error is on keytool -genkeypair command, sometimes "Bad key" sometimes "Invalid signature".

Not sure if it's an MSCAPI problem or multiple tests are modifying Windows-MY at the same time. This CR intends to add more debug info and combine the tests into one that run consequently.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/e2d265c9b592
14-08-2012

EVALUATION http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e2d265c9b592
17-07-2012