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

ThreadMXBean/ThreadInfo/SynchronizerLockingThreads/SynchronizerLockingThreads tests failed with "Thread ... with current state RUNNABLE did not reach state WAITING with number of retries"

XMLWordPrintable

      The following test failed in the JDK15 CI:

      vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SynchronizerLockingThreads/SynchronizerLockingThreads005/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/461)----------
      command: main nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001 -scenarioType=synchronizerLockingThreads -testMode=proxy -MBeanServer=custom
      reason: User specified action: run main/othervm nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001 -scenarioType=synchronizerLockingThreads -testMode=proxy -MBeanServer=custom
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 14.927
      ----------configuration:(0/0)----------
      ----------System.out:(32/2179)----------
      Stress time: 30 seconds
      Stress iterations factor: 1
      Stress threads factor: 1
      Stress runs factor: 1
      Max memory: 3867148288
      Sleep time: 500
      Iterations: 0
      Number of threads: 16
      Seed: 1583634862512
      Run GC thread: false
      Run mem diag thread: false
      Run forever: false
      Starting: nsk.monitoring.share.thread.SynchronizerLockingThreads@7eea6e77
      Finishing: nsk.monitoring.share.thread.SynchronizerLockingThreads@7eea6e77
      Ending: nsk.monitoring.share.thread.SynchronizerLockingThreads@7eea6e77
      nsk.share.TestFailure: Thread Thread[nsk.monitoring.share.thread.SynchronizerLockingThreads$Thread2@1669415138[id=18],5,MainThreadGroup] with current state RUNNABLE did not reach state WAITING with number of retries: 12, time: 1203
      at nsk.monitoring.share.thread.ThreadUtils.waitThreadState(ThreadUtils.java:229)
      at nsk.monitoring.share.thread.MonitoringThread.waitThreadState(MonitoringThread.java:122)
      at nsk.monitoring.share.thread.SynchronizerLockingThreads$Thread2.waitState(SynchronizerLockingThreads.java:231)
      at nsk.monitoring.share.thread.SynchronizerLockingThreads.waitState(SynchronizerLockingThreads.java:259)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.runOne(RunningThread001.java:66)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.run(RunningThread001.java:85)
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:82)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.monitoring.share.Monitoring.runTest(Monitoring.java:112)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.main(RunningThread001.java:98)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      ----------System.err:(16/1052)----------
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.monitoring.share.Monitoring.runTest(Monitoring.java:112)
      at nsk.monitoring.ThreadMXBean.ThreadInfo.RunningThread.RunningThread001.RunningThread001.main(RunningThread001.java:98)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      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:(37/6213)*----------


      This test failed in 14 seconds and it looks like the
      test has an internal retry loop of 12 X 1 second for
      a total of 12 seconds. This test run was using debug
      bits and that's not going to scale properly.

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

              Created:
              Updated:
              Resolved: