-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b79
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135856 | emb-9 | Dmitriy Samersoff | P3 | Resolved | Fixed | team |
The sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException on windows-32 and linux-64. The failures on windows and linux are different. Please split this into two bugs if they indeed have different root cause after investigation.
On linux-64, it fails with:
sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:278)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:617)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:339)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:306)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142)
at sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180)
at sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:61)
at sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:134)
at sun.jvm.hotspot.SALauncher.main(SALauncher.java:334)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(LinuxDebuggerLocal.java:62)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(LinuxDebuggerLocal.java:269)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:138)
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:278)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:617)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:339)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:306)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:185)
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)
at sun.jvm.hotspot.SALauncher.runJSTACK(SALauncher.java:210)
at sun.jvm.hotspot.SALauncher.main(SALauncher.java:345)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(LinuxDebuggerLocal.java:62)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(LinuxDebuggerLocal.java:269)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:138)
stdout: [Attaching to process ID 21397, please wait...
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:119)
at BasicLauncherTest.launch(BasicLauncherTest.java:128)
at BasicLauncherTest.main(BasicLauncherTest.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
Caused by: java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:100)
at BasicLauncherTest.launch(BasicLauncherTest.java:115)
... 8 more
On windows, the failure is:
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'Server compiler detected' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:119)
at BasicLauncherTest.launch(BasicLauncherTest.java:128)
at BasicLauncherTest.main(BasicLauncherTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
Caused by: java.lang.RuntimeException: 'Server compiler detected' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:100)
at BasicLauncherTest.launch(BasicLauncherTest.java:115)
... 8 more
On linux-64, it fails with:
sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:278)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:617)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:339)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:306)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142)
at sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180)
at sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:61)
at sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:134)
at sun.jvm.hotspot.SALauncher.main(SALauncher.java:334)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(LinuxDebuggerLocal.java:62)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(LinuxDebuggerLocal.java:269)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:138)
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:278)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:617)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:339)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:306)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:185)
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)
at sun.jvm.hotspot.SALauncher.runJSTACK(SALauncher.java:210)
at sun.jvm.hotspot.SALauncher.main(SALauncher.java:345)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(LinuxDebuggerLocal.java:62)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(LinuxDebuggerLocal.java:269)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:138)
stdout: [Attaching to process ID 21397, please wait...
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:119)
at BasicLauncherTest.launch(BasicLauncherTest.java:128)
at BasicLauncherTest.main(BasicLauncherTest.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
Caused by: java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:100)
at BasicLauncherTest.launch(BasicLauncherTest.java:115)
... 8 more
On windows, the failure is:
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'Server compiler detected' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:119)
at BasicLauncherTest.launch(BasicLauncherTest.java:128)
at BasicLauncherTest.main(BasicLauncherTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
Caused by: java.lang.RuntimeException: 'Server compiler detected' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:100)
at BasicLauncherTest.launch(BasicLauncherTest.java:115)
... 8 more
- backported by
-
JDK-8135856 sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException
-
- Resolved
-
- relates to
-
JDK-8133060 Problem list BasicLauncherTest until fix for JDK-8132648 propagates
-
- Resolved
-
-
JDK-8133063 Remove BasicLauncherTest from the problem list
-
- Resolved
-