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

rare failures in testForkHelpQuiesce tck tests

    Details

      Description

      ----------System.out:(0/0)----------
      ----------System.err:(254/17673)----------
      junit.framework.AssertionFailedError: expected:<21> but was:<8>
      ------ stacktrace dump start ------
      "main" prio=5 Id=1 WAITING on java.lang.Thread@255c541f
      at java.base@13-ea/java.lang.Object.wait(Native Method)
      - waiting on java.lang.Thread@255c541f
      at java.base@13-ea/java.lang.Thread.join(Thread.java:1303)
      at java.base@13-ea/java.lang.Thread.join(Thread.java:1371)
      at app//com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      "Reference Handler" daemon prio=10 Id=2 RUNNABLE
      at java.base@13-ea/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
      at java.base@13-ea/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
      at java.base@13-ea/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)

      "Common-Cleaner" daemon prio=8 Id=10 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@4442cad6
      at java.base@13-ea/java.lang.Object.wait(Native Method)
      - waiting on java.lang.ref.ReferenceQueue$Lock@4442cad6
      at java.base@13-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      at java.base@13-ea/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
      at java.base@13-ea/java.lang.Thread.run(Thread.java:830)
      at java.base@13-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

      "MainThread" prio=5 Id=13 WAITING on ForkJoinTask8Test$8@b2b8c10
      at java.base@13-ea/java.lang.Object.wait(Native Method)
      - waiting on ForkJoinTask8Test$8@b2b8c10
      at java.base@13-ea/java.util.concurrent.ForkJoinTask.externalAwaitDone(ForkJoinTask.java:330)
      at java.base@13-ea/java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:398)
      at java.base@13-ea/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:721)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2432)
      at app//ForkJoinTask8Test.testInvokeOnPool(ForkJoinTask8Test.java:110)
      at app//ForkJoinTask8Test.testForkHelpQuiesce(ForkJoinTask8Test.java:565)
      at app//ForkJoinTask8Test.testForkHelpQuiesce(ForkJoinTask8Test.java:551)
      ...

      "ForkJoinPool.commonPool-worker-3" daemon prio=5 Id=781 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool.commonPool-worker-5" daemon prio=5 Id=782 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool.commonPool-worker-7" daemon prio=5 Id=783 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool.commonPool-worker-11" daemon prio=5 Id=1527 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool.commonPool-worker-9" daemon prio=5 Id=1528 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "CompletableFutureDelayScheduler" daemon prio=5 Id=2042 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@427a2849
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@427a2849
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:235)
      at java.base@13-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
      at java.base@13-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
      at java.base@13-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
      at java.base@13-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
      at java.base@13-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
      at java.base@13-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      ...

      "ForkJoinPool.commonPool-worker-13" daemon prio=5 Id=2164 TIMED_WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:276)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1624)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool.commonPool-worker-15" daemon prio=5 Id=2561 WAITING on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@4c10cdc6
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-3" daemon prio=5 Id=2920 RUNNABLE
      at java.management@13-ea/sun.management.ThreadImpl.dumpThreads0(Native Method)
      at java.management@13-ea/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:502)
      at java.management@13-ea/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:490)
      at app//JSR166TestCase.dumpTestThreads(JSR166TestCase.java:1107)
      at app//JSR166TestCase.threadRecordFailure(JSR166TestCase.java:769)
      at app//JSR166TestCase.threadUnexpectedException(JSR166TestCase.java:955)
      at app//JSR166TestCase$CheckedRecursiveAction.compute(JSR166TestCase.java:1687)
      at java.base@13-ea/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      ...

      "ForkJoinPool-313-worker-5" daemon prio=5 Id=2921 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1635)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-7" daemon prio=5 Id=2922 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-9" daemon prio=5 Id=2923 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-11" daemon prio=5 Id=2924 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1635)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-13" daemon prio=5 Id=2925 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1635)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-15" daemon prio=5 Id=2926 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      "ForkJoinPool-313-worker-1" daemon prio=5 Id=2927 WAITING on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.ForkJoinPool@103c5eaa
      at java.base@13-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      at java.base@13-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
      at java.base@13-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      ------ stacktrace dump end ------
      junit.framework.AssertionFailedError: expected:<21> but was:<8>
      at junit.framework.Assert.fail(Assert.java:50)
      at junit.framework.Assert.failNotEquals(Assert.java:287)
      at junit.framework.Assert.assertEquals(Assert.java:67)
      at junit.framework.Assert.assertEquals(Assert.java:199)
      at junit.framework.Assert.assertEquals(Assert.java:205)
      at ForkJoinTask8Test$AsyncFib.checkCompletedNormally(ForkJoinTask8Test.java:365)
      at ForkJoinTask8Test$8.realCompute(ForkJoinTask8Test.java:563)
      at JSR166TestCase$CheckedRecursiveAction.compute(JSR166TestCase.java:1685)
      at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
      at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
      at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
      at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
      at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
      JavaTest Message: JUnit Failure: testForkHelpQuiesce(ForkJoinTask8Test): null
      junit.framework.AssertionFailedError
      at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
      at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
      at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:603)
      at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:678)
      at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:722)
      at java.base/java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2432)
      at ForkJoinTask8Test.testInvokeOnPool(ForkJoinTask8Test.java:110)
      at ForkJoinTask8Test.testForkHelpQuiesce(ForkJoinTask8Test.java:565)
      at ForkJoinTask8Test.testForkHelpQuiesce(ForkJoinTask8Test.java:551)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at junit.framework.TestCase.runTest(TestCase.java:168)
      at JSR166TestCase.runTest(JSR166TestCase.java:369)
      at junit.framework.TestCase.runBare(TestCase.java:134)
      at JSR166TestCase.runBare(JSR166TestCase.java:360)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      at org.junit.runners.Suite.runChild(Suite.java:128)
      at org.junit.runners.Suite.runChild(Suite.java:24)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
      at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:76)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:76)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      Caused by: junit.framework.AssertionFailedError: expected:<21> but was:<8>
      at junit.framework.Assert.fail(Assert.java:50)
      at junit.framework.Assert.failNotEquals(Assert.java:287)
      at junit.framework.Assert.assertEquals(Assert.java:67)
      at junit.framework.Assert.assertEquals(Assert.java:199)
      at junit.framework.Assert.assertEquals(Assert.java:205)
      at ForkJoinTask8Test$AsyncFib.checkCompletedNormally(ForkJoinTask8Test.java:365)
      at ForkJoinTask8Test$8.realCompute(ForkJoinTask8Test.java:563)
      at JSR166TestCase$CheckedRecursiveAction.compute(JSR166TestCase.java:1685)
      at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
      at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
      at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
      at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
      at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

      java.lang.Exception: JUnit test failure
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:92)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.Exception: JUnit test failure
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: JUnit test failure

        Attachments

          Activity

            People

            • Assignee:
              martin Martin Buchholz
              Reporter:
              mikael Mikael Vidstedt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: