JDK-8160743 : quarantine tests that can't attach symbolicator to the process on MacOS X
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2016-07-02
  • Updated: 2016-07-28
  • Resolved: 2016-07-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b129Fixed
Description
Quarantine the following tests only on MacOS X:

runtime/SharedArchiveFile/SASymbolTableTest.java
serviceability/sa/TestClassLoaderStats.java
serviceability/sa/TestStackTrace.java
serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java

They have been failing since 2016.06.24 with messages like:

----------System.err:(40/2910)----------
 stdout: [Attaching to process ID 70789, please wait...
];
 stderr: [Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:169)
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:287)
	at sun.jvm.hotspot.HotSpotAgent.attachDebugger(jdk.hotspot.agent@9-internal/HotSpotAgent.java:677)
	at sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(jdk.hotspot.agent@9-internal/HotSpotAgent.java:665)
	at sun.jvm.hotspot.HotSpotAgent.setupDebugger(jdk.hotspot.agent@9-internal/HotSpotAgent.java:343)
	at sun.jvm.hotspot.HotSpotAgent.go(jdk.hotspot.agent@9-internal/HotSpotAgent.java:306)
	at sun.jvm.hotspot.HotSpotAgent.attach(jdk.hotspot.agent@9-internal/HotSpotAgent.java:142)
	at sun.jvm.hotspot.tools.Tool.start(jdk.hotspot.agent@9-internal/Tool.java:185)
	at sun.jvm.hotspot.tools.Tool.execute(jdk.hotspot.agent@9-internal/Tool.java:118)
	at SASymbolTableTestAgent.main(SASymbolTableTestAgent.java:46)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(jdk.hotspot.agent@9-internal/Native Method)
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$100(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:65)
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:278)
	at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:144)

]
 exitValue = 1

java.lang.RuntimeException: Expected to get exit value of [0]

	at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366)
	at SASymbolTableTest.run(SASymbolTableTest.java:97)
	at SASymbolTableTest.main(SASymbolTableTest.java:57)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:533)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]