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

sun/tools/jhsdb/JStackStressTest.java failed with "could not find symbol "gHotSpotVMTypes" in remote process"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      sun/tools/jhsdb/JStackStressTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/255)----------
      command: main JStackStressTest
      reason: User specified action: run main/timeout=240 JStackStressTest
      Mode: othervm [test needs --add-modules]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      elapsed time (seconds): 15.879
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(36/2063)----------
      Target JDK is not signed.
      Starting Jshell
      [JShell]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1625/macosx-x64-debug.jdk/jdk-17/fastdebug/bin/jshell
      [2021-04-23T01:10:29.000694Z] Gathering output for process 80725
      ###### Starting jstack iteration 1 against 80725
      Adding 'sudo -E -n' to the command.
      [2021-04-23T01:10:29.732512Z] Gathering output for process 80726
      [2021-04-23T01:10:37.262224Z] Waiting for completion for process 80726
      [2021-04-23T01:10:37.262431Z] Waiting for completion finished for process 80726
      Output and diagnostic info for process 80726 was saved into 'pid-80726-output.log'
      jhsdb jstack stdout:
      Attaching to process ID 80725, please wait...

      jhsdb jstack stderr:
      Error attaching to process: Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVMTypes" in remote process)
      sun.jvm.hotspot.debugger.DebuggerException: Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVMTypes" in remote process)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:432)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:331)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:140)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:203)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JStack.runWithArgs(JStack.java:90)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJSTACK(SALauncher.java:303)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:493)


      ###### End of all output for iteration 1 which took 7562ms
      [2021-04-23T01:10:37.286541Z] Waiting for completion for process 80726
      [2021-04-23T01:10:37.286704Z] Waiting for completion finished for process 80726
      [2021-04-23T01:10:37.286872Z] Waiting for completion for process 80726
      [2021-04-23T01:10:37.286996Z] Waiting for completion finished for process 80726
      [JShell] | Welcome to JShell -- Version 17-ea
      jshell Output:
      | For an introduction type: /help intro
      | Goodbye

      ----------System.err:(37/2218)----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: