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

com/sun/jdi/InvokeHangTest.java timed out

XMLWordPrintable

    • x86_64
    • windows

      The following test timed out in the JDK23 CI:

      com/sun/jdi/InvokeHangTest.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(10/321)----------
      command: driver InvokeHangTest
      reason: User specified action: run driver InvokeHangTest
      started: Thu Jan 11 09:58:09 UTC 2024
      Mode: agentvm
      Agent id: 20
      Timeout signalled after 480 seconds
      Timeout information:
      --- Timeout information end.
      finished: Thu Jan 11 10:13:12 UTC 2024
      elapsed time (seconds): 903.619
      ----------configuration:(14/1337)*----------

      <snip>

      ----------System.out:(622/31584)*----------
      vmOpts: '-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1704966906\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_jdi\\tmp -XX:+CreateCoredumpOnCrash -ea -esa'
      javaOpts: '-XX:+UseZGC'
      JVM version:23-ea
      JDI version: 23.0
      JVM description: Java Debug Interface (Reference Implementation) version 23.0
      Java Debug Wire Protocol (Reference Implementation) version 23.0
      JVM Debug Interface version 23.0
      JVM version 23-ea (Java HotSpot(TM) 64-Bit Server VM, mixed mode, sharing)
      Howdy!
        Debugger: Breakpoint hit at InvokeHangTarg:105
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=105)
      Debuggee: invokeee in thread Thread[#34,Thread 1,5,main]
      Debuggee: invokeee finished
        Debugger: Invoke done
      Debuggee: Thread[#35,Thread 2,5,main] is running:1
      Debuggee: Thread[#34,Thread 1,5,main] is running:1
        Debugger: Breakpoint hit at InvokeHangTarg:121
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=110)
      Debuggee: invokeee in thread Thread[#35,Thread 2,5,main]
      Debuggee: invokeee finished
      Debuggee: Thread[#34,Thread 1,5,main] is running:2
        Debugger: Invoke done
      Debuggee: Thread[#35,Thread 2,5,main] is running:2
        Debugger: Breakpoint hit at InvokeHangTarg:105
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=105)
      Debuggee: Thread[#35,Thread 2,5,main] is running:3
      Debuggee: invokeee in thread Thread[#34,Thread 1,5,main]
      Debuggee: invokeee finished
        Debugger: Invoke done

      <snip>

      Debuggee: Thread[#35,Thread 2,5,main] is running:84
        Debugger: Breakpoint hit at InvokeHangTarg:105
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=105)
      Debuggee: Thread[#35,Thread 2,5,main] is running:85
      Debuggee: invokeee in thread Thread[#34,Thread 1,5,main]
      Debuggee: Thread[#35,Thread 2,5,main] is running:86
      Debuggee: invokeee finished
        Debugger: Invoke done
      Debuggee: Thread[#34,Thread 1,5,main] is running:86
        Debugger: Breakpoint hit at InvokeHangTarg:121
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 2', id=110)
      Debuggee: Thread[#34,Thread 1,5,main] is running:87
      Debuggee: invokeee in thread Thread[#35,Thread 2,5,main]
      Debuggee: invokeee finished
        Debugger: Invoke done
      Debuggee: Thread[#35,Thread 2,5,main] is running:87
        Debugger: Breakpoint hit at InvokeHangTarg:105
        Debugger: Invoking in thread instance of java.lang.Thread(name='Thread 1', id=105)
      bkpts = 88
      bkpts = 88
      result: Error. Agent error: java.lang.Exception: Agent 20 timed out with a timeout of 480 seconds; check console log for any additional details


      There's another interesting unresolved bug for this test:

      JDK-8218463 com/sun/jdi/InvokeHangTest.java fail "java.lang.Exception: InvokeHangTest: failed; bkpts = 64"

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

              Created:
              Updated:
              Resolved: