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

test/java/util/concurrent/Phaser/Arrive.java fails intermittently

    XMLWordPrintable

Details

    • b01
    • generic
    • generic
    • Not verified

    Backports

      Description

        This test failed once for me in JPRT on linux-x64. This is jdk8 b01 (which is essentially the same as jdk7-b146).



        TEST: java/util/concurrent/Phaser/Arrive.java
        JDK under test: (/tmp/jprt/P2/T/093317.ab23780/testproduct/linux_x64_2.6-product)
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-201106240933.ab23780.jdk-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 21.0-b16, mixed mode)

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

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.035 seconds
        messages:
        command: compile /tmp/jprt/P2/T/093317.ab23780/source/test/java/util/concurrent/Phaser/Arrive.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.035

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
        REASON: Assumed action based on file name: run main Arrive
        TIME: 120.01 seconds
        messages:
        command: main Arrive
        reason: Assumed action based on file name: run main Arrive
        elapsed time (seconds): 120.01
        STDOUT:

        Passed = 20, failed = 1

        STDERR:
        java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Thread.join(Thread.java:1258)
        at java.lang.Thread.join(Thread.java:1332)
        at Arrive.test(Arrive.java:72)
        at Arrive.instanceMain(Arrive.java:91)
        at Arrive.main(Arrive.java:89)
        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:601)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:722)
        java.lang.AssertionError: Some tests failed
        at Arrive.instanceMain(Arrive.java:93)
        at Arrive.main(Arrive.java:89)
        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:601)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.AssertionError
        JavaTest Message: shutting down test


        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

        Attachments

          Issue Links

            Activity

              People

                chegar Chris Hegarty
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: