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

serviceability/jvmti/SuspendWithCurrentThread/SuspendWithCurrentThread.java timed out

XMLWordPrintable

    • x86_64, aarch64
    • linux, os_x

      The following test timed out in the JDK20 CI:

      serviceability/jvmti/SuspendWithCurrentThread/SuspendWithCurrentThread.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/425)----------
      command: main -agentlib:SuspendWithCurrentThread SuspendWithCurrentThread SuspenderIndex=first
      reason: User specified action: run main/othervm/native -agentlib:SuspendWithCurrentThread SuspendWithCurrentThread SuspenderIndex=first
      started: Fri Oct 14 14:19:35 UTC 2022
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      finished: Fri Oct 14 14:28:22 UTC 2022
      elapsed time (seconds): 526.46
      ----------configuration:(0/0)----------
      ----------System.out:(41/1412)----------

      Agent_OnLoad started
      Agent_OnLoad finished
      Loaded library: SuspendWithCurrentThread
      Main: suspenderIndex: 0
      Main: started
      Main: starting tested threads
      Main: tested threads started

      registerTestedThreads: started
      registerTestedThreads: finished
      Main: trigger ThreadToSuspend#0 to suspend all tested threads including itself
      Main: checking all tested threads have been suspended
      checkTestedThreadsSuspended: started
      thread #0 has not been suspended yet: # state: (0x5)
      thread #0 has not been suspended yet: # state: (0x5)
      ThreadToSuspend#0: before suspending all tested threads including myself

      suspendTestedThreads: started by thread: ThreadToSuspend#0
      suspendTestedThreads: before JVMTI SuspendThreadList
      thread #0 has not been suspended yet: # state: (0x5)
      checkTestedThreadsSuspended: finished
      Main: resuming all tested threads

      resumeTestedThreads: started
      resumeTestedThreads: before JVMTI ResumeThreadList
      resumeTestedThreads: check and print ResumeThreadList results:
        thread #0 resume errcode: (0)
        thread #1 resume errcode: (0)
        thread #2 resume errcode: (0)
        thread #3 resume errcode: (0)
        thread #4 resume errcode: (0)
        thread #5 resume errcode: (0)
        thread #6 resume errcode: (0)
        thread #7 resume errcode: (0)
        thread #8 resume errcode: (0)
        thread #9 resume errcode: (0)
      resumeTestedThreads: finished
      Main: tested threads finished
      Main: joining tested threads
      Timeout refired 480 times
      ----------System.err:(0/0)----------
      ----------rerun:(37/7377)*----------

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

              Created:
              Updated:
              Resolved: