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

vmTestbase/nsk/jdb tests failed with "JDWP exit error AGENT_ERROR_INTERNAL(181)"

    XMLWordPrintable

Details

    • b20
    • x86_64
    • linux

    Description

      The following test failed in the JDK17 CI:

      vmTestbase/nsk/jdb/wherei/wherei001/wherei001.java

      Here's a snippet from the log file:

      reply[6]: Thread-4[1]
      Sending command: cont
      reply[0]: > ASSERT FAILED: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79062/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c798a38f-aedc-4415-9a12-33ea4b6cb476/runs/0b68621e-ed2f-46a0-adcf-2b2be2e2f11f/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c : 257 - !nonTlsSearch(getEnv(), &runningThreads, thread)
      reply[1]: JDWP exit error AGENT_ERROR_INTERNAL(181): Assertion Failed [/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-F9fef4ATA497ccb6L ERROR in native met-S790hod: JDWP Asser62/tion Failed, jvmtiErrofrar=AGENT_ERROR_INTERNAL(mew181)
      reply[2]: orks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c798a38f-aedc-4415-9a12-33ea4b6cb476/runs/0b68621e-ed2f-46a0-adcf-2b2be2e2f11f/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/error_messages.c:132]
      reply[3]:
      reply[4]: The application has been disconnected
      Sending command: quit
      # ERROR: Caught unexpected exception while executing the test: nsk.share.Failure: Debuggee did not exit after 1 <cont> commands
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Caught unexpected exception while executing the test: nsk.share.Failure: Debuggee did not exit after 1 <cont> commands
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at nsk.share.jdb.JdbTest.failure(JdbTest.java:74)
      at nsk.share.jdb.JdbTest.runTest(JdbTest.java:158)
      at nsk.jdb.wherei.wherei001.wherei001.run(wherei001.java:70)
      at nsk.jdb.wherei.wherei001.wherei001.main(wherei001.java:63)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      nsk.share.Failure: Debuggee did not exit after 1 <cont> commands
      at nsk.share.jdb.Jdb.contToExit(Jdb.java:869)
      at nsk.jdb.wherei.wherei001.wherei001.runCases(wherei001.java:105)
      at nsk.share.jdb.JdbTest.runTest(JdbTest.java:149)
      at nsk.jdb.wherei.wherei001.wherei001.run(wherei001.java:70)
      at nsk.jdb.wherei.wherei001.wherei001.main(wherei001.java:63)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      Waiting for jdb exits
      jdb normally exited
      # ERROR: TEST FAILED

      This line tells us which assert failed:

      reply[0]: > ASSERT FAILED: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79062/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c798a38f-aedc-4415-9a12-33ea4b6cb476/runs/0b68621e-ed2f-46a0-adcf-2b2be2e2f11f/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c : 257 - !nonTlsSearch(getEnv(), &runningThreads, thread)

      The next line has at least two different output streams mixed together:

      reply[1]: JDWP exit error AGENT_ERROR_INTERNAL(181): Assertion Failed [/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-F9fef4ATA497ccb6L ERROR in native met-S790hod: JDWP Asser62/tion Failed, jvmtiErrofrar=AGENT_ERROR_INTERNAL(mew181)

      And this third line appears to be the end of another error mesg:

      reply[2]: orks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c798a38f-aedc-4415-9a12-33ea4b6cb476/runs/0b68621e-ed2f-46a0-adcf-2b2be2e2f11f/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/error_messages.c:132]

      None of the changesets in jdk-17+19-1601 appear to be related
      so I'm labeling this failure as 'intermittent'.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: