-
Bug
-
Resolution: Unresolved
-
P3
-
10, 11, 12
-
generic
-
solaris
sun/tools/jhsdb/BasicLauncherTest.java
Here is a snippet of the .jtr file:
----------System.err:(48/2983)----------
Attaching to process 4368, 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
finding class loader instances ..done.
computing per loader stat ..done.
please wait.. computing liveness..............................................done.
Error attaching to process: 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.tools.Tool.start(Tool.java:185)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:326)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:455)
stdout: [Attaching to process ID 4484, please wait...
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'compiler detected' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:187)
at BasicLauncherTest.launch(BasicLauncherTest.java:197)
at BasicLauncherTest.main(BasicLauncherTest.java:213)
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: 'compiler detected' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106)
at BasicLauncherTest.launch(BasicLauncherTest.java:182)
... 8 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'compiler detected' missing from stdout/stderr
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'compiler detected' missing from stdout/stderr
The test reports that it cannot find the 'compiler detected' pattern, but the
root cause is probably this:
Error attaching to process: Can't create thread_db agent!
sun.jvm.hotspot.debugger.DebuggerException: Can't create thread_db agent!
- duplicates
-
JDK-7174275 nsk.sajdi tests fail on Solaris-sparc64 with exception: Can't create thread_db agent!
- Closed
-
JDK-8196084 SA: Attach fails due to 'Can't create thread_db agent!'
- Closed
-
JDK-8198446 Test serviceability/sa/TestType.java failed - Can't create thread_db agent!
- Closed
-
JDK-8205135 serviceability/sa/ClhsdbScanOops.java failed with 'java/lang/Object' missing from stdout/stderr
- Closed
-
JDK-8205630 serviceability/sa/ClhsdbFindPC.java fails with ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
- Closed
- relates to
-
JDK-8242235 Disable SA testing on Solaris. Remove JDK-8193639 entries from ProblemList.txt
- Resolved
-
JDK-8211953 ClhsdbFindPC.java fails with java.lang.NullPointerException at jdk.hotspot.agent/sun.jvm.hotspot.tools.StackTrace.run
- Closed
-
JDK-8215042 Umbrella bug for all SA failures in tier1
- Closed
-
JDK-8198446 Test serviceability/sa/TestType.java failed - Can't create thread_db agent!
- Closed