Test sun/tools/jps/TestJps.java failed with the following stderr output
stdout: [329280 -- process information unavailable
358720 -- process information unavailable
362944 Jps
375180 -- process information unavailable
356168 -- process information unavailable
359944 -- process information unavailable
362312 -- process information unavailable
323988 -- process information unavailable
356308 -- process information unavailable
332060 -- process information unavailable
345884 -- process information unavailable
356828 -- process information unavailable
367580 -- process information unavailable
322456 -- process information unavailable
358180 -- process information unavailable
315616 -- process information unavailable
317152 -- process information unavailable
348512 -- process information unavailable
358112 -- process information unavailable
375852 -- process information unavailable
357044 -- process information unavailable
317104 -- process information unavailable
324400 -- process information unavailable
364604 -- process information unavailable
369276 -- process information unavailable
359096 -- process information unavailable
];
stderr: []
exitValue = 0
java.lang.RuntimeException: '^358180\s+LingeredAppForJps$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
at JpsHelper.runJpsVariants(JpsHelper.java:271)
at TestJps.testJps(TestJps.java:56)
at TestJps.main(TestJps.java:64)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Background of the failure was that we were running with user 'mytestuser' . However a folder
C:\temp\hsperfdata_MYTESTUSER
existed on the system and this mismatch of mytestuser and MYTESTUSER caused the test (and jps) to fail.
We could look into adding logging that shows the issue, or make the folder handling more flexible in the JVM code.
stdout: [329280 -- process information unavailable
358720 -- process information unavailable
362944 Jps
375180 -- process information unavailable
356168 -- process information unavailable
359944 -- process information unavailable
362312 -- process information unavailable
323988 -- process information unavailable
356308 -- process information unavailable
332060 -- process information unavailable
345884 -- process information unavailable
356828 -- process information unavailable
367580 -- process information unavailable
322456 -- process information unavailable
358180 -- process information unavailable
315616 -- process information unavailable
317152 -- process information unavailable
348512 -- process information unavailable
358112 -- process information unavailable
375852 -- process information unavailable
357044 -- process information unavailable
317104 -- process information unavailable
324400 -- process information unavailable
364604 -- process information unavailable
369276 -- process information unavailable
359096 -- process information unavailable
];
stderr: []
exitValue = 0
java.lang.RuntimeException: '^358180\s+LingeredAppForJps$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
at JpsHelper.runJpsVariants(JpsHelper.java:271)
at TestJps.testJps(TestJps.java:56)
at TestJps.main(TestJps.java:64)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Background of the failure was that we were running with user 'mytestuser' . However a folder
C:\temp\hsperfdata_MYTESTUSER
existed on the system and this mismatch of mytestuser and MYTESTUSER caused the test (and jps) to fail.
We could look into adding logging that shows the issue, or make the folder handling more flexible in the JVM code.