Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2284

[classlib][drlvm][security] intermittent failures of security module tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • Win XP, msvc, debug

    Description

      While running security module tests in perTest mode iteratively 50 times on Win XP on svn=r476124, I observed the following intermittent failures:

      1). org.apache.harmony.security.tests.provider.crypto.SHA1withDSA_SignatureTest@testSignbyteArrayintint02 failed 2 times out of 50:

      case2 : no SignatureExcepton : i=2

      junit.framework.AssertionFailedError: case2 : no SignatureExcepton : i=2 at org.apache.harmony.security.tests.provider.crypto.SHA1withDSA_SignatureTest.testSignbyteArrayintint02(SHA1withDSA_SignatureTest.java:556) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      or

      case2 : no SignatureExcepton : i=1

      junit.framework.AssertionFailedError: case2 : no SignatureExcepton : i=1 at org.apache.harmony.security.tests.provider.crypto.SHA1withDSA_SignatureTest.testSignbyteArrayintint02(SHA1withDSA_SignatureTest.java:556) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      2). org.apache.harmony.security.tests.provider.crypto.SHA1PRNG_SecureRandomTest@ testNextBytesbyteArray03 failed 1 time out of 50:

      unexpected: myBytes1[] == myBytes2[] :: i=1

      junit.framework.AssertionFailedError: unexpected: myBytes1[] == myBytes2[] :: i=1 at org.apache.harmony.security.tests.provider.crypto.SHA1PRNG_SecureRandomTest.testNextBytesbyteArray03(SHA1PRNG_SecureRandomTest.java:217) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      3). org.apache.harmony.security.tests.provider.crypto.SHA1PRNG_SecureRandomTest@ testNextBytesbyteArray04 failed 1 time out of 50:

      unexpected: myBytes1[] == myBytes2[] :: i=1

      junit.framework.AssertionFailedError: unexpected: myBytes1[] == myBytes2[] :: i=1 at org.apache.harmony.security.tests.provider.crypto.SHA1PRNG_SecureRandomTest.testNextBytesbyteArray04(SHA1PRNG_SecureRandomTest.java:266) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      4). org.apache.harmony.security.tests.x509.PolicyQualifierInfoTest 1 time out of 50 - Timeout occured

      I'll proceed with iterative test runs and update the list, if there are new failures.

      Attachments

        Activity

          People

            mloenko Mikhail Loenko
            tatyana.v.doubtsova@intel.com tatyana doubtsova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: