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

GetThreadStateMountedTest.java "Failed to suspend thread in WAITING state"

XMLWordPrintable

    • aarch64
    • linux

      The following test failed in the JDK22 CI:

      serviceability/jvmti/vthread/GetThreadStateMountedTest/GetThreadStateMountedTest.java

      Here's a snippet from the log file:

      >>JVMTI_THREAD_STATE_SLEEPING
      suspend vthread (0)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (1)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (2)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (3)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (4)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (5)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (6)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (7)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (8)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      suspend vthread (9)
      suspended vthread is not waiting: state = 100005 ( ALIVE RUNNABLE SUSPENDED)
      resume vthread
      ERROR: failed to suspend in WAITING state in 10 tries
      ----------System.err:(13/858)----------
      java.lang.RuntimeException: Failed to suspend thread in WAITING state
      at GetThreadStateMountedTest.suspendWaiting(GetThreadStateMountedTest.java:273)
      at GetThreadStateMountedTest.sleeping(GetThreadStateMountedTest.java:178)
      at GetThreadStateMountedTest.main(GetThreadStateMountedTest.java:244)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1570)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed to suspend thread in WAITING state
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed to suspend thread in WAITING state
      ----------rerun:(44/7010)*----------

            sspitsyn Serguei Spitsyn
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: