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

com/sun/jdi/JdbOptions.java failed with "RuntimeException: waitForPrompt timed out after 240 seconds"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 21
    • core-svc
    • x86_64
    • os_x

      The following test failed in the JDK21 CI:

      com/sun/jdi/JdbOptions.java

      Here's a snippet from the log file:

      ...testcase...
      [jdb] Initializing jdb ...
      [jdb] >
      > run
      [jdb] run JbdOptionsTarg 3cb5185f-4b5c-42a5-b5b4-83acf5598201.out prop1 prop2
      [jdb] Set uncaught java.lang.Throwable
      [jdb] Set deferred uncaught java.lang.Throwable
      [jdb] >
      [jdb] VM Started:
      > quit
      Timeout refired 480 times
      [jdb] run JbdOptionsTarg 3cb5185f-4b5c-42a5-b5b4-83acf5598201.out prop1 prop2
      [jdb] Set uncaught java.lang.Throwable
      [jdb] Set deferred uncaught java.lang.Throwable
      [jdb] >
      [jdb] VM Started:
      ----------System.err:(22/1411)*----------
      java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
      at lib.jdb.Jdb.waitForPrompt(Jdb.java:220)
      at lib.jdb.Jdb.command(Jdb.java:240)
      at JdbOptions.test(JdbOptions.java:200)
      at JdbOptions.main(JdbOptions.java:156)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)
      Suppressed: java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
      at lib.jdb.Jdb.waitForPrompt(Jdb.java:220)
      at lib.jdb.Jdb.command(Jdb.java:240)
      at lib.jdb.Jdb.quit(Jdb.java:265)
      at lib.jdb.Jdb.shutdown(Jdb.java:108)
      at lib.jdb.Jdb.close(Jdb.java:92)
      at JdbOptions.test(JdbOptions.java:198)
      ... 5 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
      ----------rerun:(37/7000)*----------

            cjplummer Chris Plummer
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: