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

Test ForkJoinPool20Test::testScheduleWithFixedDelay_overflow is timing out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 25
    • core-libs

      STARTED ForkJoinPool20Test::testScheduleWithFixedDelay_overflow 'testScheduleWithFixedDelay_overflow'
      Looks like we're stuck running test: testScheduleWithFixedDelay_overflow(ForkJoinPool20Test)
      ------ stacktrace dump start ------
      "main" prio=5 Id=3 WAITING on java.lang.Thread@3c9e1524
      at java.base@25-ea/java.lang.Object.wait0(Native Method)
      - waiting on java.lang.Thread@3c9e1524
      at java.base@25-ea/java.lang.Object.wait(Object.java:389)
      at java.base@25-ea/java.lang.Thread.join(Thread.java:1860)
      at java.base@25-ea/java.lang.Thread.join(Thread.java:1936)
      at app//com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85)

      "Notification Thread" daemon prio=9 Id=23 RUNNABLE

      "MainThread" prio=5 Id=25 TIMED_WAITING on java.util.concurrent.CountDownLatch$Sync@77fa8d84
      at java.base@25-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.CountDownLatch$Sync@77fa8d84
      at java.base@25-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:271)
      at java.base@25-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:791)
      at java.base@25-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1165)
      at java.base@25-ea/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:276)
      at java.base@25-ea/java.util.concurrent.ForkJoinPool.awaitTermination(ForkJoinPool.java:4143)
      at app//JSR166TestCase.joinPool(JSR166TestCase.java:1087)
      at app//JSR166TestCase$PoolCleaner.close(JSR166TestCase.java:1033)
      ...

      "ForkJoinPool.commonPool-delayScheduler" daemon prio=5 Id=2336 TIMED_WAITING
      at java.base@25-ea/jdk.internal.misc.Unsafe.park(Native Method)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.loop(DelayScheduler.java:253)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.run(DelayScheduler.java:221)

      "ForkJoinPool-346-delayScheduler" daemon prio=5 Id=3469 TIMED_WAITING
      at java.base@25-ea/jdk.internal.misc.Unsafe.park(Native Method)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.loop(DelayScheduler.java:253)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.run(DelayScheduler.java:221)

      ------ stacktrace dump end ------
      junit.framework.AssertionFailedError: ExecutorService java.util.concurrent.ForkJoinPool@3dd2d08[Shutting down, parallelism = 2, size = 0, active = 0, running = 0, steals = 1, tasks = 0, submissions = 0, delayed = 1] did not terminate in a timely manner
      ------ stacktrace dump start ------
      "main" prio=5 Id=3 WAITING on java.lang.Thread@3c9e1524
      at java.base@25-ea/java.lang.Object.wait0(Native Method)
      - waiting on java.lang.Thread@3c9e1524
      at java.base@25-ea/java.lang.Object.wait(Object.java:389)
      at java.base@25-ea/java.lang.Thread.join(Thread.java:1860)
      at java.base@25-ea/java.lang.Thread.join(Thread.java:1936)
      at app//com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85)

      "Notification Thread" daemon prio=9 Id=23 RUNNABLE

      "MainThread" prio=5 Id=25 RUNNABLE
      at java.management@25-ea/sun.management.ThreadImpl.dumpThreads0(Native Method)
      at java.management@25-ea/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
      at java.management@25-ea/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
      at app//JSR166TestCase.dumpTestThreads(JSR166TestCase.java:1174)
      at app//JSR166TestCase.threadRecordFailure(JSR166TestCase.java:813)
      at app//JSR166TestCase.threadFail(JSR166TestCase.java:887)
      at app//JSR166TestCase.joinPool(JSR166TestCase.java:1089)
      at app//JSR166TestCase$PoolCleaner.close(JSR166TestCase.java:1033)
      ...

      "ForkJoinPool.commonPool-delayScheduler" daemon prio=5 Id=2336 TIMED_WAITING
      at java.base@25-ea/jdk.internal.misc.Unsafe.park(Native Method)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.loop(DelayScheduler.java:253)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.run(DelayScheduler.java:221)

      "ForkJoinPool-346-delayScheduler" daemon prio=5 Id=3469 TIMED_WAITING
      at java.base@25-ea/jdk.internal.misc.Unsafe.park(Native Method)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.loop(DelayScheduler.java:253)
      at java.base@25-ea/java.util.concurrent.DelayScheduler.run(DelayScheduler.java:221)

      ------ stacktrace dump end ------
      junit.framework.AssertionFailedError: ExecutorService java.util.concurrent.ForkJoinPool@3dd2d08[Shutting down, parallelism = 2, size = 0, active = 0, running = 0, steals = 1, tasks = 0, submissions = 0, delayed = 1] did not terminate in a timely manner
      at junit.framework.Assert.fail(Assert.java:57)
      at junit.framework.TestCase.fail(TestCase.java:223)
      at JSR166TestCase.threadFail(JSR166TestCase.java:885)
      at JSR166TestCase.joinPool(JSR166TestCase.java:1089)
      at JSR166TestCase$PoolCleaner.close(JSR166TestCase.java:1033)
      at ForkJoinPool20Test.testScheduleWithFixedDelay_overflow(ForkJoinPool20Test.java:539)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at junit.framework.TestCase.runTest(TestCase.java:177)
      at JSR166TestCase.runTest(JSR166TestCase.java:382)
      at junit.framework.TestCase.runBare(TestCase.java:142)
      at JSR166TestCase.runBare(JSR166TestCase.java:373)
      at junit.framework.TestResult$1.protect(TestResult.java:122)
      at junit.framework.TestResult.runProtected(TestResult.java:142)
      at junit.framework.TestResult.run(TestResult.java:125)
      at junit.framework.TestCase.run(TestCase.java:130)
      at junit.framework.TestSuite.runTest(TestSuite.java:241)
      at junit.framework.TestSuite.run(TestSuite.java:236)
      at junit.framework.TestSuite.runTest(TestSuite.java:241)
      at junit.framework.TestSuite.run(TestSuite.java:236)
      at junit.framework.TestSuite.runTest(TestSuite.java:241)
      at junit.framework.TestSuite.run(TestSuite.java:236)
      FAILED ForkJoinPool20Test::testScheduleWithFixedDelay_overflow 'testScheduleWithFixedDelay_overflow' [800022ms]

      Platform linux-x64

            vklang Viktor Klang
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: