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

java/util/concurrent/ExecutorService/CloseTest.java fails with jtreg timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None


      ----------messages:(11/316)----------
      command: junit CloseTest
      reason: User specified action: run junit CloseTest
      started: Thu Feb 27 06:56:32 GMT 2025
      Mode: agentvm
      Agent id: 6
      Process id: 87221
      Timeout signalled after 480 seconds
      Timeout information:
      --- Timeout information end.
      finished: Thu Feb 27 07:07:11 GMT 2025
      elapsed time (seconds): 639.529
      ----------configuration:(14/2021)----------


      . . .

      ----------System.err:(7/973)----------
      STARTED CloseTest::testInterruptBeforeClose '[1] DelegatingExecutorService@49e160bb'
      SUCCESSFUL CloseTest::testInterruptBeforeClose '[1] DelegatingExecutorService@49e160bb' [29ms]
      STARTED CloseTest::testInterruptBeforeClose '[2] java.util.concurrent.ThreadPoolExecutor@216f1d29[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]'
      SUCCESSFUL CloseTest::testInterruptBeforeClose '[2] java.util.concurrent.ThreadPoolExecutor@216f1d29[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]' [2ms]
      STARTED CloseTest::testInterruptBeforeClose '[3] java.util.concurrent.ThreadPerTaskExecutor@6ed7a4be'
      SUCCESSFUL CloseTest::testInterruptBeforeClose '[3] java.util.concurrent.ThreadPerTaskExecutor@6ed7a4be' [30ms]
      STARTED CloseTest::testInterruptBeforeClose '[4] java.util.concurrent.ForkJoinPool@5422461b[Running, parallelism = 8, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]'
      result: Error. "junit" action timed out with a timeout of 480 seconds on agent 6

      stack extract

      "AgentVMThread" #497 [33583] prio=5 os_prio=31 cpu=36.46ms elapsed=490.20s allocated=1319K defined_classes=29 tid=0x0000000130d60200 nid=33583 waiting on condition [0x000000017261e000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@25-ea/Native Method)
      - parking to wait for <0x00000007d0af5750> (a java.util.concurrent.CountDownLatch$Sync)
      at java.util.concurrent.locks.LockSupport.park(java.base@25-ea/LockSupport.java:223)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@25-ea/AbstractQueuedSynchronizer.java:789)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(java.base@25-ea/AbstractQueuedSynchronizer.java:1138)
      at java.util.concurrent.CountDownLatch.await(java.base@25-ea/CountDownLatch.java:230)
      at java.util.concurrent.ForkJoinPool.close(java.base@25-ea/ForkJoinPool.java:3770)
      at CloseTest.testInterruptBeforeClose(CloseTest.java:225)



            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: