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

com/sun/jdi/RedefineIntConstantToLong.java failed with "waitForPrompt timed out"

XMLWordPrintable

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

      The following test failed in the JDK21 CI:

      com/sun/jdi/RedefineIntConstantToLong.java

      Here's a snippet from the log file:

      > cont
      [debuggee] **** public long m2(long j) with value: 2000
      [jdb] >
      [jdb] Breakpoint hit: "thread=main", RedefineIntConstantToLongTarg.doit(), line=66 bci=20
      [jdb] 66 if (r1 != r2) { // @1 breakpoint
      [jdb]
      [jdb] main[1]
      > where
      [jdb] [1] RedefineIntConstantToLongTarg.doit (RedefineIntConstantToLong.java:66)
      [jdb] [2] RedefineIntConstantToLongTarg.main (RedefineIntConstantToLong.java:74)
      [jdb] main[1]
      > cont
      [debuggee] SUCCESS: Expected value: 2000 Actual value: 2000
      [jdb] >
      =======================================
      Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
      =======================================
      > quit
      Timeout refired 480 times
      [jdb] >
      ----------System.err:(17/1158)*----------
      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.JdbTest.shutdown(JdbTest.java:136)
      at lib.jdb.JdbTest.run(JdbTest.java:103)
      at RedefineIntConstantToLong.main(RedefineIntConstantToLong.java:81)
      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)

      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


      Please note that this sighting does not mention
      "SocketException: Connection reset" so I think this is
      a different failure than this one:

      JDK-8282356 2 com/sun/jdi failed due to "SocketException: Connection reset"

      which also has a com/sun/jdi/RedefineIntConstantToLong.java sighting.

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

              Created:
              Updated:
              Resolved: