-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
11, 17, 18, 20
-
aarch64
-
os_x
----------System.out:(85/5455)----------
Child Output: args: 68003 [stdin]
Child Output: 68003:1 stdin start
Child Output: 68003:2 pid 68003
Child Output: args: 68005 [stdin]
Child Output: 68005:1 stdin start
Child Output: 68005:2 pid 68005
A.onExit().A info: [], now: 2021-09-14T20:06:00.778704Z
test OnExitTest.peerOnExitTest(): failure
java.lang.RuntimeException: Input/output error
at java.base/java.lang.ProcessHandleImpl$Info.info0(Native Method)
at java.base/java.lang.ProcessHandleImpl$Info.info(ProcessHandleImpl.java:587)
at java.base/java.lang.ProcessHandleImpl.info(ProcessHandleImpl.java:504)
at java.base/java.lang.Process.info(Process.java:757)
at OnExitTest.peerOnExitTest(OnExitTest.java:265)
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 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.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)
A.toHandle().onExit().A info: [], now: 2021-09-14T20:06:00.778724Z
args: 68119 [exit, 0]
68119:1 exit 0
javaChild done: Process[pid=68119, exitValue=0], exitStatus: 0
args: 68120 [exit, 1]
68120:1 exit 1
javaChild done: Process[pid=68120, exitValue=1], exitStatus: 1
args: 68121 [exit, 10]
68121:1 exit 10
javaChild done: Process[pid=68121, exitValue=10], exitStatus: 10
test OnExitTest.test1(): success
spawned: 68122
subprocess count: 9, waiting for 9
whenComplete: pid: 68124, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.352116S
whenComplete: pid: 68127, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-5,10,system], elapsed: PT0.352273S
whenComplete: pid: 68126, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.352379S
whenComplete: pid: 68130, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-1,10,system], elapsed: PT0.352116S
whenComplete: pid: 68125, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT0.352355S
whenComplete: pid: 68131, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT0.450537S
whenComplete: pid: 68123, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.450569S
whenComplete: pid: 68129, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-3,10,system], elapsed: PT0.45076S
whenComplete: pid: 68128, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-1,10,system], elapsed: PT0.450537S
after onExit:pid 68125, alive: false; parent: Optional.empty, []
after onExit:pid 68124, alive: false; parent: Optional.empty, []
after onExit:pid 68123, alive: false; parent: Optional.empty, []
after onExit:pid 68128, alive: false; parent: Optional.empty, []
after onExit:pid 68131, alive: false; parent: Optional.empty, []
after onExit:pid 68130, alive: false; parent: Optional.empty, []
after onExit:pid 68129, alive: false; parent: Optional.empty, []
after onExit:pid 68126, alive: false; parent: Optional.empty, []
after onExit:pid 68127, alive: false; parent: Optional.empty, []
test OnExitTest.test2(): success
Child Output: args: 68003 [stdin]
Child Output: 68003:1 stdin start
Child Output: 68003:2 pid 68003
Child Output: args: 68005 [stdin]
Child Output: 68005:1 stdin start
Child Output: 68005:2 pid 68005
A.onExit().A info: [], now: 2021-09-14T20:06:00.778704Z
test OnExitTest.peerOnExitTest(): failure
java.lang.RuntimeException: Input/output error
at java.base/java.lang.ProcessHandleImpl$Info.info0(Native Method)
at java.base/java.lang.ProcessHandleImpl$Info.info(ProcessHandleImpl.java:587)
at java.base/java.lang.ProcessHandleImpl.info(ProcessHandleImpl.java:504)
at java.base/java.lang.Process.info(Process.java:757)
at OnExitTest.peerOnExitTest(OnExitTest.java:265)
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 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.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)
A.toHandle().onExit().A info: [], now: 2021-09-14T20:06:00.778724Z
args: 68119 [exit, 0]
68119:1 exit 0
javaChild done: Process[pid=68119, exitValue=0], exitStatus: 0
args: 68120 [exit, 1]
68120:1 exit 1
javaChild done: Process[pid=68120, exitValue=1], exitStatus: 1
args: 68121 [exit, 10]
68121:1 exit 10
javaChild done: Process[pid=68121, exitValue=10], exitStatus: 10
test OnExitTest.test1(): success
spawned: 68122
subprocess count: 9, waiting for 9
whenComplete: pid: 68124, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.352116S
whenComplete: pid: 68127, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-5,10,system], elapsed: PT0.352273S
whenComplete: pid: 68126, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.352379S
whenComplete: pid: 68130, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-1,10,system], elapsed: PT0.352116S
whenComplete: pid: 68125, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT0.352355S
whenComplete: pid: 68131, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT0.450537S
whenComplete: pid: 68123, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-2,10,system], elapsed: PT0.450569S
whenComplete: pid: 68129, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-3,10,system], elapsed: PT0.45076S
whenComplete: pid: 68128, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-1,10,system], elapsed: PT0.450537S
after onExit:pid 68125, alive: false; parent: Optional.empty, []
after onExit:pid 68124, alive: false; parent: Optional.empty, []
after onExit:pid 68123, alive: false; parent: Optional.empty, []
after onExit:pid 68128, alive: false; parent: Optional.empty, []
after onExit:pid 68131, alive: false; parent: Optional.empty, []
after onExit:pid 68130, alive: false; parent: Optional.empty, []
after onExit:pid 68129, alive: false; parent: Optional.empty, []
after onExit:pid 68126, alive: false; parent: Optional.empty, []
after onExit:pid 68127, alive: false; parent: Optional.empty, []
test OnExitTest.test2(): success
- duplicates
-
JDK-8276651 java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0
- Resolved