-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b22
-
x86_64, aarch64
-
linux, windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333668 | 17.0.13 | Aleksey Shipilev | P3 | Resolved | Fixed | b01 |
The following test failed in the JDK21 CI:
jdk/test/lib/process/ProcessToolsStartProcessTest.java
Here's a snippet from the log file:
FAILED: wrong number of lines in OutputAnalyzer output
DEBUG: OutputAnalyzer output: got 12 lines, expected 50. Output follows:
A line on stdout 0
A line on stdout 1
A line on stdout 2
A line on stdout 3
A line on stdout 4
A line on stdout 5
A line on stdout 6
A line on stdout 7
A line on stdout 8
A line on stdout 9
A line on stdout 10
A line on stdout 11
DEBUG: done with OutputAnalyzer stdout.
Test ERROR
----------System.err:(16/1058)----------
java.lang.RuntimeException: One or more tests failed. See output for details.
at ProcessToolsStartProcessTest.main(ProcessToolsStartProcessTest.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1592)
java.lang.RuntimeException: One or more tests failed. See output for details.
at ProcessToolsStartProcessTest.main(ProcessToolsStartProcessTest.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1592)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: One or more tests failed. See output for details.
This is a new test that came with the fix for:
JDK-8233725 ProcessTools.startProcess() has output issues when using an OutputAnalyzer at the same time
jdk/test/lib/process/ProcessToolsStartProcessTest.java
Here's a snippet from the log file:
FAILED: wrong number of lines in OutputAnalyzer output
DEBUG: OutputAnalyzer output: got 12 lines, expected 50. Output follows:
A line on stdout 0
A line on stdout 1
A line on stdout 2
A line on stdout 3
A line on stdout 4
A line on stdout 5
A line on stdout 6
A line on stdout 7
A line on stdout 8
A line on stdout 9
A line on stdout 10
A line on stdout 11
DEBUG: done with OutputAnalyzer stdout.
Test ERROR
----------System.err:(16/1058)----------
java.lang.RuntimeException: One or more tests failed. See output for details.
at ProcessToolsStartProcessTest.main(ProcessToolsStartProcessTest.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1592)
java.lang.RuntimeException: One or more tests failed. See output for details.
at ProcessToolsStartProcessTest.main(ProcessToolsStartProcessTest.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1592)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: One or more tests failed. See output for details.
This is a new test that came with the fix for:
- backported by
-
JDK-8333668 jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
- Resolved
- relates to
-
JDK-8233725 ProcessTools.startProcess() has output issues when using an OutputAnalyzer at the same time
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/7d0d793e
-
Commit openjdk/jdk/64ac9a05
-
Review openjdk/jdk17u-dev/2456
-
Review openjdk/jdk/13683
(1 links to)