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

vmTestbase/nsk/jdb/options/connect/connect002/connect002 fails transiently on libgraal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • svc

      The vmTestbase/nsk/jdb/options/connect/connect002/connect002.java test fails transiently on libgraal when run with -Xcomp with:

      launcher > Starting local debuggee.
      launcher > Start jdb attaching to local debuggee
      debuggee.stdout> Listening for transport dt_socket at address: 53879
      Creating file for jdb stdout stream: ./jdb.stdout
      Creating file for jdb session: ./jdb.session
      Creating file for jdb stderr stream: ./jdb.stderr
      debuggee.stderr> Debugger failed to attach: timeout during handshake
      JdbStderrReader: jdb's stderr is not empty. Check jdb.stderr file
      JdbStderrReader: jdb's stderr is not empty. Check jdb.stderr file
      Creating file for jdb stdout stream: ./jdb.stdout
      Creating file for jdb session: ./jdb.session
      Creating file for jdb stderr stream: ./jdb.stderr
      debuggee.stderr> Debugger failed to attach: timeout during handshake
      JdbStderrReader: jdb's stderr is not empty. Check jdb.stderr file
      JdbStderrReader: jdb's stderr is not empty. Check jdb.stderr file
      Creating file for jdb stdout stream: ./jdb.stdout
      Creating file for jdb session: ./jdb.session
      Creating file for jdb stderr stream: ./jdb.stderr
      # ERROR: Caught unexpected exception: nsk.share.Failure: Launched jdb could not attach to debuggee during 300000 milliseconds.
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Caught unexpected exception: nsk.share.Failure: Launched jdb could not attach to debuggee during 300000 milliseconds.
              at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
              at nsk.share.Log.complain(Log.java:402)
              at nsk.share.jdb.JdbTest.failure(JdbTest.java:74)
              at nsk.share.jdb.JdbTest.runTest(JdbTest.java:202)
              at nsk.jdb.options.connect.connect002.connect002.run(connect002.java:81)
              at nsk.jdb.options.connect.connect002.connect002.main(connect002.java:74)
              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)
      nsk.share.Failure: Launched jdb could not attach to debuggee during 300000 milliseconds.
              at nsk.share.jdb.Jdb.startAttachingJdb(Jdb.java:982)
              at nsk.share.jdb.Launcher.localLaunchAndAttach(Launcher.java:333)
              at nsk.share.jdb.Launcher.launchJdbAndDebuggee(Launcher.java:122)
              at nsk.share.jdb.JdbTest.launchJdbAndDebuggee(JdbTest.java:83)
              at nsk.share.jdb.JdbTest.runTest(JdbTest.java:141)
              at nsk.jdb.options.connect.connect002.connect002.run(connect002.java:81)
              at nsk.jdb.options.connect.connect002.connect002.main(connect002.java:74)
              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)

      The test always passes without -Xcomp and even mostly passes with -Xcomp on some platforms. This implies there's a timeout used in the test somewhere that needs to be increased when running with -Xcomp and libgraal.

            never Tom Rodriguez
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: