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

ThreadMXBean/ThreadInfo/LockingThreads/LockingThreads005 failed with Thread XXX with current state TERMINATED did not reach state WAITING with number of retries: 12, time: 11001

XMLWordPrintable

      The following test failed in the JDK24 CI:

      vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/LockingThreads/LockingThreads005/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(6/517)----------
      command: main nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001 -scenarioType=lockingThreads -testMode=proxy -MBeanServer=custom
      reason: User specified action: run main/othervm/native nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001 -scenarioType=lockingThreads -testMode=proxy -MBeanServer=custom
      started: Thu Aug 08 21:16:42 UTC 2024
      Mode: othervm [/othervm specified]
      finished: Thu Aug 08 21:16:54 UTC 2024
      elapsed time (seconds): 12.656
      ----------configuration:(0/0)----------
      ----------System.out:(30/1875)----------
      Stress time: 30 seconds
      Stress iterations factor: 1
      Stress threads factor: 1
      Stress runs factor: 1
      Max memory: 1964441600
      Sleep time: 500
      Iterations: 0
      Number of threads: 16
      Run GC thread: false
      Run mem diag thread: false
      Run forever: false
      Starting: nsk.monitoring.share.thread.LockingThreads@4091418f
      waitThreadState: OK. retries: 0 time: 0
      Finishing: nsk.monitoring.share.thread.LockingThreads@4091418f
      Ending: nsk.monitoring.share.thread.LockingThreads@4091418f
      nsk.share.TestFailure: Thread Thread[#18,nsk.monitoring.share.thread.LockingThreads$Thread2@1108838909[id=18],5,] with current state TERMINATED did not reach state WAITING with number of retries: 12, time: 11001
      at nsk.monitoring.share.thread.ThreadUtils.waitThreadState(ThreadUtils.java:247)
      at nsk.monitoring.share.thread.MonitoringThread.waitThreadState(MonitoringThread.java:122)
      at nsk.monitoring.share.thread.LockingThreads$Thread2.waitState(LockingThreads.java:219)
      at nsk.monitoring.share.thread.LockingThreads.waitState(LockingThreads.java:243)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.runOne(RunningThread001.java:65)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.run(RunningThread001.java:84)
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:84)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:100)
      at nsk.monitoring.share.Monitoring.runTest(Monitoring.java:112)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.main(RunningThread001.java:97)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      ----------System.err:(15/966)----------
      waitThreadState: problem thread: Thread[#18,nsk.monitoring.share.thread.LockingThreads$Thread2@1108838909[id=18],5,]
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:94)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:100)
      at nsk.monitoring.share.Monitoring.runTest(Monitoring.java:112)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.main(RunningThread001.java:97)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: nsk.share.TestFailure: Test exit code: 97
      ----------rerun:(36/8540)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: