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

timeout in tck test testForkJoin(ForkJoinPool8Test)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      aarch64
    • OS:
      linux
    • Verification:
      Verified

      Description

      The following test timed out in the JDK17 CI:

      java/util/concurrent/tck/JSR166TestCase.java

      Here's a snippet from the log file:

      #section:junit
      ----------messages:(7/682)----------
      command: junit --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Djsr166.testImplementationDetails=true -Djava.util.concurrent.ForkJoinPool.common.parallelism=0 JSR166TestCase
      reason: User specified action: run junit/othervm/timeout=1000 --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -Djsr166.testImplementationDetails=true -Djava.util.concurrent.ForkJoinPool.common.parallelism=0 JSR166TestCase
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.management
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 4019.897
      ----------configuration:(5/175)----------
      Boot Layer
        add modules: java.management
        add opens: java.base/java.lang ALL-UNNAMED
                     java.base/java.util.concurrent ALL-UNNAMED

      ----------System.out:(1/27)----------
      Timeout refired 4000 times
      ----------System.err:(36/2438)----------
      Looks like we're stuck running test: testForkJoin(ForkJoinPool8Test)
      ------ stacktrace dump start ------
      "main" prio=5 Id=1 WAITING on java.lang.Thread@7d9c9aee
      at java.base@17-ea/java.lang.Object.wait(Native Method)
      - waiting on java.lang.Thread@7d9c9aee
      at java.base@17-ea/java.lang.Thread.join(Thread.java:1301)
      at java.base@17-ea/java.lang.Thread.join(Thread.java:1369)
      at app//com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

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

      "MainThread" prio=5 Id=14 WAITING on ForkJoinPool8Test$FibAction@32666116
      at java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on ForkJoinPool8Test$FibAction@32666116
      at java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
      at java.base@17-ea/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:327)
      at java.base@17-ea/java.util.concurrent.ForkJoinTask.awaitJoin(ForkJoinTask.java:511)
      at java.base@17-ea/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:718)
      at app//ForkJoinPool8Test$FibAction.realCompute(ForkJoinPool8Test.java:222)
      at app//JSR166TestCase$CheckedRecursiveAction.compute(JSR166TestCase.java:1770)
      at java.base@17-ea/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
      ...

      "CompletableFutureDelayScheduler" daemon prio=5 Id=1739 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2bb4d65e
      at java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
      - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2bb4d65e
      at java.base@17-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
      at java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
      at java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
      at java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
      at java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
      at java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
      at java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      ...

      ------ stacktrace dump end ------
      ----------rerun:(42/6337)*----------

      <snip>

      result: Error. Program `/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+6-289/linux-aarch64.jdk/jdk-17/bin/java' timed out (timeout set to 4000000ms, elapsed time including timeout handling was 4019890ms).

      Starting this bug off as a P2 since this is a Tier1 failure.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dl Doug Lea
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: