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

java/util/concurrent/Phaser/Basic.java fails intermittently

    XMLWordPrintable

Details

    • b34
    • generic
    • generic
    • Verified

    Backports

      Description

        The test failed once in JPRT. The build used is essentially jdk7-b100.

        --------------------------------------------------
        TEST: java/util/concurrent/Phaser/Basic.java
        JDK under test: (C:\temp\jprt\T1\T\072215~1.AB2\TESTPR~1\WINDOW~1.0-P)
        java version "1.7.0-201006240722.ab23780.jdk"
        Java(TM) SE Runtime Environment (build 1.7.0-201006240722.ab23780.jdk-jprtadm_2010_06_24_00_52-b00)
        Java HotSpot(TM) Client VM (build 19.0-b02, mixed mode, sharing)


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

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.094 seconds
        messages:
        command: compile C:\temp\jprt\T1\T\072215.ab23780\source\test\java\util\concurrent\Phaser\Basic.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.094

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
        REASON: Assumed action based on file name: run main Basic
        TIME: 20.062 seconds
        messages:
        command: main Basic
        reason: Assumed action based on file name: run main Basic
        elapsed time (seconds): 20.062
        STDOUT:
        Mismatch in thread InterruptibleWaiter:23: java.util.concurrent.TimeoutException, java.lang.InterruptedException

        Passed = 503, failed = 1

        STDERR:
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1353)
        at Basic.fail(Basic.java:396)
        at Basic.fail(Basic.java:397)
        at Basic.checkResult(Basic.java:75)
        at Basic.realMain(Basic.java:261)
        at Basic.main(Basic.java:404)
        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.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)
        java.lang.AssertionError: Some tests failed
        at Basic.main(Basic.java:406)
        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.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)

        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: