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

TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently

    Details

      Backports

        Description

        TESTFAIL:java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java

        The test java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently. see logs:

        ----------System.out:(12/229)----------
        LinkedBlockingQueue
        LinkedBlockingQueue
        LinkedBlockingDeque
        LinkedBlockingDeque
        ArrayBlockingQueue
        PriorityBlockingQueue
        ConcurrentLinkedDeque
        ConcurrentLinkedQueue
        LinkedTransferQueue

        Passed = 10713698, failed = 6

        ----------System.err:(61/3359)----------
        Hung thread: remover
        java.lang.Thread.yield(Native Method)
        OfferRemoveLoops$2.realRun(OfferRemoveLoops.java:123)
        OfferRemoveLoops$1CheckedThread.run(OfferRemoveLoops.java:94)
        java.lang.ThreadDeath
        at java.lang.Thread.stop(Thread.java:849)
        at OfferRemoveLoops.testQueue(OfferRemoveLoops.java:152)
        at OfferRemoveLoops.test(OfferRemoveLoops.java:52)
        at OfferRemoveLoops.instanceMain(OfferRemoveLoops.java:171)
        at OfferRemoveLoops.main(OfferRemoveLoops.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
        at java.lang.Thread.run(Thread.java:744)
        Hung thread: remover
        java.lang.Thread.yield(Native Method)
        OfferRemoveLoops$2.realRun(OfferRemoveLoops.java:123)
        OfferRemoveLoops$1CheckedThread.run(OfferRemoveLoops.java:94)
        java.lang.ThreadDeath
        at java.lang.Thread.stop(Thread.java:849)
        at OfferRemoveLoops.testQueue(OfferRemoveLoops.java:152)
        at OfferRemoveLoops.test(OfferRemoveLoops.java:54)
        at OfferRemoveLoops.instanceMain(OfferRemoveLoops.java:171)
        at OfferRemoveLoops.main(OfferRemoveLoops.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
        at java.lang.Thread.run(Thread.java:744)
        Hung thread: remover
        java.lang.Thread.yield(Native Method)
        OfferRemoveLoops$2.realRun(OfferRemoveLoops.java:123)
        OfferRemoveLoops$1CheckedThread.run(OfferRemoveLoops.java:94)
        java.lang.ThreadDeath
        at java.lang.Thread.stop(Thread.java:849)
        at OfferRemoveLoops.testQueue(OfferRemoveLoops.java:152)
        at OfferRemoveLoops.test(OfferRemoveLoops.java:56)
        at OfferRemoveLoops.instanceMain(OfferRemoveLoops.java:171)
        at OfferRemoveLoops.main(OfferRemoveLoops.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
        at java.lang.Thread.run(Thread.java:744)
        java.lang.AssertionError: Some tests failed
        at OfferRemoveLoops.instanceMain(OfferRemoveLoops.java:173)
        at OfferRemoveLoops.main(OfferRemoveLoops.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
        at java.lang.Thread.run(Thread.java:744)

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

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


        test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tyan Tristan Yan (Inactive)
                  Reporter:
                  ewang Eric Wang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: