Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136240 | emb-9 | Yekaterina Kantserova | P3 | Resolved | Fixed | team |
These four tests referred to in JDK-8072412 have been failing on mach 5 test runs since they were removed form the exclude list:
closed/com/oracle/jfr/sa/TestDumpJFRCPULoad.java
closed/com/oracle/jfr/sa/TestDumpJFRCompilerStats.java
closed/com/oracle/jfr/sa/TestDumpJFRPhysicalMemoryEvent.java
closed/com/oracle/jfr/sa/TestDumpJFRThreadDumpEvent.java
Part of .jfr:
----------System.err:(41/2634)----------
stdout: [Attaching to process ID 88409, please wait...
];
stderr: [ERROR: attach: task_for_pid(88409) failed: '(os/kern) failure' (5)
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:287)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:665)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:343)
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.DumpJFR.main(DumpJFR.java:370)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$100(BsdDebuggerLocal.java:65)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(BsdDebuggerLocal.java:278)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:353)
at TestDumpJFRHelper.testDumpJFRAttached(TestDumpJFRHelper.java:19)
at TestDumpJFRCompilerStats.main(TestDumpJFRCompilerStats.java:47)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test
closed/com/oracle/jfr/sa/TestDumpJFRCPULoad.java
closed/com/oracle/jfr/sa/TestDumpJFRCompilerStats.java
closed/com/oracle/jfr/sa/TestDumpJFRPhysicalMemoryEvent.java
closed/com/oracle/jfr/sa/TestDumpJFRThreadDumpEvent.java
Part of .jfr:
----------System.err:(41/2634)----------
stdout: [Attaching to process ID 88409, please wait...
];
stderr: [ERROR: attach: task_for_pid(88409) failed: '(os/kern) failure' (5)
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:287)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:677)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:665)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:343)
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.DumpJFR.main(DumpJFR.java:370)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$100(BsdDebuggerLocal.java:65)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(BsdDebuggerLocal.java:278)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:353)
at TestDumpJFRHelper.testDumpJFRAttached(TestDumpJFRHelper.java:19)
at TestDumpJFRCompilerStats.main(TestDumpJFRCompilerStats.java:47)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test
- backported by
-
JDK-8136240 closed/com/oracle/jfr/sa tests failing since removed from exclude list
-
- Resolved
-