Code review request: 7183203: ShortRSAKeynnn.sh tests intermittent failure
Weijun Wang
weijun.wang at oracle.com
Mon Jul 16 10:23:01 UTC 2012
Hi Xuelei
The ShortRSAKeyNNN tests have failed several times recently, showing
strange error messages like "Signature not verified" or "Cannot create
key" for the keytool command. It might be some internal MSCAPI problem
but I'm not sure.
Therefore I'm adding a "-debug" option to keytool calls. Also, it looks
to me these tests are almost identical, so I've consolidated them into
one. Please take a review:
http://cr.openjdk.java.net/~weijun/7183203/webrev.00/
Thanks
Max
-------- Original Message --------
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7183203
7183203: ShortRSAKeynnn.sh tests intermittent failure
Product: java
Category: java
Subcategory: classes_security
Type: Defect
=== *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.
More information about the security-dev
mailing list