JDK-8153278 : sun/tools/jps/TestJpsJar.java fails in hs nightly
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2016-04-01
  • Updated: 2016-07-07
  • Resolved: 2016-06-20
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 10 JDK 9
10Resolved 9 b126Fixed
Related Reports
Relates :  
Description
sun/tools/jps/TestJpsJar.java fails with

java.lang.RuntimeException: '^11728\\s+E:\\\\aurora\\\\sandbox\\\\results\\\\workDir\\\\sun\\\\tools\\\\jps\\\\TestJpsJar\\\\JpsBase\\.jar.*' missing from stdout/stderr
Comments
Manually updating the master bug to be fixed in team for JDK9.
20-06-2016

Copied from JDK9 "backport" bug that was auto created because the Fix version was set to 10: HG Updates added a comment - 5 days ago URL: http://hg.openjdk.java.net/jdk9/hs/jdk/rev/a32018537986 User: dsamersoff Date: 2016-06-15 10:42:18 +0000
20-06-2016

I don't think so. CDC is not enabled in this case and it looks like pure race between test and env.
06-04-2016

Is this related to the problems in JDK-8153289?
06-04-2016

The test run jps from within it self and expect that it's full name appears in jps output. For some reason path for PID 11728 changes from C:\local\aurora\sandbox\results\workDir\sun\tools\jps\TestJpsJar\JpsBase.jar to E:\aurora\sandbox\results\workDir\\sun\tools\jps\TestJpsJar\JpsBase.jar between JpsBase.java:54 (when we get full path of the jar) and JpsBase.java:66 (when we run jps) So the test fails.
06-04-2016

ILW=M(nightly failure)M(seen once)H(no workaround)=P3
05-04-2016