JDK-8037285 : sun/tools/jstatd/TestJstatdServer.java fails intermittently
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-03-13
  • Updated: 2015-09-13
  • Resolved: 2014-05-16
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
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
TESTFAIL:sun/tools/jstatd/TestJstatdServer.java
TESTFAIL:sun/tools/jstatd/TestJstatdPortAndServer.java

sun/tools/jstatd/TestJstatdServer.java fails intermittently. It failed in jdk9/b03 same binaries run, one time on window only so far (out of 387 runs):


----------System.err:(22/963)----------
 stdout: [];
 stderr: [Could not read data for remote JVM 55616
]
 exitValue = 1

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

	at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:349)
	at JstatdTest.verifyJstatOutput(JstatdTest.java:239)
	at JstatdTest.runToolsAndVerify(JstatdTest.java:252)
	at JstatdTest.doTest(JstatdTest.java:352)
	at TestJstatdServer.main(TestJstatdServer.java:36)
	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:484)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
	at java.lang.Thread.run(Thread.java:744)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

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