-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b13
-
x86_64, aarch64
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8335741 | 17.0.13 | Sendao Yan | P4 | Resolved | Fixed | b01 |
java/lang/ProcessBuilder/PipelineLeaksFD.java
Here's a snippet from the log file:
#section:testng
----------messages:(4/165)----------
command: testng PipelineLeaksFD
reason: User specified action: run testng/othervm PipelineLeaksFD
Mode: othervm [/othervm specified]
elapsed time (seconds): 35.384
----------configuration:(0/0)----------
----------System.out:(44/2744)----------
test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$List12@1fd37c7a): success
Missing from pipesAfter: [0]
Extra pipes in pipesAfter: [1]
/proc/3140753/fd/17 : pipe:[29162414]
test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$List12@76a90a33): failure
java.lang.AssertionError: More or fewer pipes than expected
at org.testng.Assert.fail(Assert.java:99)
at PipelineLeaksFD.checkForLeaks(PipelineLeaksFD.java:103)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$ListN@3407b7c8): success
===============================================
java/lang/ProcessBuilder/PipelineLeaksFD.java
Total tests run: 3, Passes: 2, Failures: 1, Skips: 0
===============================================
----------System.err:(12/672)----------
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
----------rerun:(44/6231)*----------
This failure occurred in jdk-20+9-485-tier6 and the fix for:
is integrated in jdk-20+9-480.
- backported by
-
JDK-8335741 PipelineLeaksFD.java still fails: More or fewer pipes than expected
- Resolved
- duplicates
-
JDK-8291761 java/lang/ProcessBuilder/PipelineLeaksFD.java still fails: More or fewer pipes than expected
- Closed
-
JDK-8334578 PipelineLeaksFD.java intermitent fails More or fewer pipes than expected
- Closed
- relates to
-
JDK-8291986 ProcessBuilder.redirectErrorStream(true) leaves error stream available
- Open
- links to
-
Commit openjdk/jdk17u-dev/c0869dbd
-
Commit openjdk/jdk/4e457acd
-
Review openjdk/jdk17u-dev/2615
-
Review openjdk/jdk/9905