-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
17
-
x86_64
-
os_x
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)----------
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)----------
- duplicates
-
JDK-8247940 SA tests failed with "Error attaching to process: Doesn't appear to be a HotSpot VM"
- Open