Test: serviceability/sa/ClhsdbAttach.java
----------System.out:(10/925)----------
Starting ClhsdbAttach test
Command line: ['java' '-XX:MaxRAMPercentage=6' '-cp' 'test/lib' 'jdk.test.lib.apps.LingeredApp' '8ed25fa4-6dca-47bc-843b-8866f79047fa.lck' ]
Started LingeredApp with pid 51533
hsdb> Command not valid until attached to a VM
hsdb> Warning! JS Engine can't start, some commands will not be available.
hsdb> MaxJavaStackTraceDepth = 1024 0
hsdb> hsdb> Command not valid until attached to a VM
hsdb> Warning! JS Engine can't start, some commands will not be available.
hsdb> Error: java.lang.NullPointerException
hsdb>
----------System.err:(57/3768)----------
Attaching to process 51533, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
Attaching to process 51533, please wait...
Unable to connect to process ID 51533:
Can't create thread_db agent!
sun.jvm.hotspot.debugger.DebuggerException: Can't create thread_db agent!
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Native Method)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach(ProcDebuggerLocal.java:146)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:672)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris(HotSpotAgent.java:488)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:334)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.access$300(CLHSDB.java:33)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.attach(CLHSDB.java:75)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.reattach(CLHSDB.java:88)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$1.doit(CommandProcessor.java:398)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1966)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1936)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1816)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:191)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:439)
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
stdout: [ Error: java.lang.NullPointerException
];
stderr: [ Error: java.lang.NullPointerException
]
exitValue = -1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'longConstant markOopDesc::locked_value' missing from stdout/stderr
at ClhsdbAttach.main(ClhsdbAttach.java:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.RuntimeException: 'longConstant markOopDesc::locked_value' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:135)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:118)
at ClhsdbLauncher.run(ClhsdbLauncher.java:160)
at ClhsdbAttach.main(ClhsdbAttach.java:69)
... 6 more
----------System.out:(10/925)----------
Starting ClhsdbAttach test
Command line: ['java' '-XX:MaxRAMPercentage=6' '-cp' 'test/lib' 'jdk.test.lib.apps.LingeredApp' '8ed25fa4-6dca-47bc-843b-8866f79047fa.lck' ]
Started LingeredApp with pid 51533
hsdb> Command not valid until attached to a VM
hsdb> Warning! JS Engine can't start, some commands will not be available.
hsdb> MaxJavaStackTraceDepth = 1024 0
hsdb> hsdb> Command not valid until attached to a VM
hsdb> Warning! JS Engine can't start, some commands will not be available.
hsdb> Error: java.lang.NullPointerException
hsdb>
----------System.err:(57/3768)----------
Attaching to process 51533, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
Attaching to process 51533, please wait...
Unable to connect to process ID 51533:
Can't create thread_db agent!
sun.jvm.hotspot.debugger.DebuggerException: Can't create thread_db agent!
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Native Method)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach(ProcDebuggerLocal.java:146)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:672)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris(HotSpotAgent.java:488)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:334)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.access$300(CLHSDB.java:33)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.attach(CLHSDB.java:75)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.reattach(CLHSDB.java:88)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$1.doit(CommandProcessor.java:398)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1966)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:1936)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1816)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:191)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:439)
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
stdout: [ Error: java.lang.NullPointerException
];
stderr: [ Error: java.lang.NullPointerException
]
exitValue = -1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'longConstant markOopDesc::locked_value' missing from stdout/stderr
at ClhsdbAttach.main(ClhsdbAttach.java:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.RuntimeException: 'longConstant markOopDesc::locked_value' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:135)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:118)
at ClhsdbLauncher.run(ClhsdbLauncher.java:160)
at ClhsdbAttach.main(ClhsdbAttach.java:69)
... 6 more
- duplicates
-
JDK-8193639 tests failing intermittently with Error attaching to process: Can't create thread_db agent! on Solaris
- Open