Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6964512

closed/sun/security/provider/SeedGenerator/Fips.java failing intermittently

XMLWordPrintable

    • 7
    • b08
    • generic
    • generic

        Here's an example failure on sparcv9 with a build that is essentially jdk7-b100.

        --------------------------------------------------
        TEST: closed/sun/security/provider/SeedGenerator/Fips.java
        JDK under test: (/tmp/jprt/P1/T/094321.ab23780/testproduct/solaris_sparcv9_5.10-product)
        java version "1.7.0-internal"
        Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2010_06_26_02_56-b00)
        Java HotSpot(TM) Server VM (build 19.0-b03, mixed mode)

        ACTION: build -- Passed. Build successful
        REASON: Named class compiled on demand
        TIME: 1.223 seconds
        messages:
        command: build Fips
        reason: Named class compiled on demand
        elapsed time (seconds): 1.223

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 1.222 seconds
        messages:
        command: compile /tmp/jprt/P1/T/094321.ab23780/source/jdk/test/closed/sun/security/provider/SeedGenerator/Fips.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 1.222
        STDOUT:
        STDERR:

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.SecurityException: Runs Test Failed
        REASON: User specified action: run main/timeout=2700 Fips (Timeout of 2700 is 45 minutes. On 150Mhz Pentium in -Xint mode the test can take up to 40 minutes to complete). if the test returns, then it passed. if the test throws an exception, then it failed.
        TIME: 0.824 seconds
        messages:
        command: main Fips (Timeout of 2700 is 45 minutes. On 150Mhz Pentium in -Xint mode the test can take up to 40 minutes to complete). if the test returns, then it passed. if the test throws an exception, then it failed.
        reason: User specified action: run main/timeout=2700 Fips (Timeout of 2700 is 45 minutes. On 150Mhz Pentium in -Xint mode the test can take up to 40 minutes to complete). if the test returns, then it passed. if the test throws an exception, then it failed.
        elapsed time (seconds): 0.824
        STDOUT:
        This utility will generate 20,000 random bits
        and perform the statistical random number
        generator tests specified in
        NIST's FIPS PUB 140-2 section 4.9.1.
        Generating 20,000 random bits. This will take SOME time...
        Done.
        Performing the Monobit Test...
        Acceptable range: 9725 < x < 10275
        x = 9984
        Test passed.
        Performing the Poker Test...
        Acceptable range: 2.16 < x < 46.17
        x = 12.479999999999563
        Test passed.
        Performing the Runs Test...
        Length Zero One Range
        1 2523 2553 2343 - 2657
        2 1277 1259 1135 - 1365
        3 667 644 542 - 708
        4 307 284 251 - 373
        5 107 159 111 - 201
        Test failed.
        STDERR:
        java.lang.SecurityException: Runs Test Failed
        at Fips.runs(Fips.java:158)
        at Fips.main(Fips.java:218)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:717)

        JavaTest Message: Test threw exception: java.lang.SecurityException: Runs Test Failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.SecurityException: Runs Test Failed

        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.SecurityException: Runs Test Failed
        --------------------------------------------------

              xuelei Xuelei Fan
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: