Test
runtime/8176717/TestInheritFD.java failed on Ubuntu 24.10 with
java.util.concurrent.CompletionException
The log
subProcessTimeout=150 seconds.
First VM starts.
Command line: [/home/ubuntu/VM/debug/jdk-24/fastdebug/bin/java -cp /home/ubuntu/VM/No_37/results/JTwork/classes/3/runtime/8176717/TestInheritFD.d:/home/ubuntu/VM/open/test/hotspot/jtreg/runtime/8176717:/home/ubuntu/VM/No_37/results/JTwork/classes/3/test/lib:/home/ubuntu/VM/open/test/lib:/home/ubuntu/VM/jtreg/lib/javatest.jar:/home/ubuntu/VM/jtreg/lib/jtreg.jar -Xlog:gc:"logging11388736082492111629.strangelogsuffixthatcanbecheckedfor" -Dtest.jdk=/home/ubuntu/VM/debug/jdk-24/fastdebug TestInheritFD$VMStartedWithLogging logging11388736082492111629.strangelogsuffixthatcanbecheckedfor ]
secondVMPID=4102970
secondVMlsofPID=4103013
thirdVMPID=4102991
Called Thread.sleep(100) 155 times.
subs[0]={pid=4103013, name=second VM lsof} Exception was thrown while trying to join() subPids: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
<BEGIN commFile contents>
Second VM pid=4102970
Command line: [/home/ubuntu/VM/debug/jdk-24/fastdebug/bin/java -cp /home/ubuntu/VM/No_37/results/JTwork/classes/3/runtime/8176717/TestInheritFD.d:/home/ubuntu/VM/open/test/hotspot/jtreg/runtime/8176717:/home/ubuntu/VM/No_37/results/JTwork/classes/3/test/lib:/home/ubuntu/VM/open/test/lib:/home/ubuntu/VM/jtreg/lib/javatest.jar:/home/ubuntu/VM/jtreg/lib/jtreg.jar -Dtest.jdk=/home/ubuntu/VM/debug/jdk-24/fastdebug TestInheritFD$VMShouldNotInheritFileDescriptors logging11388736082492111629.strangelogsuffixthatcanbecheckedfor 4102970 ]
using command: /usr/bin/lsof -a +d /home/ubuntu/VM/No_37/results/JTwork/runtime/8176717/TestInheritFD -p 4102970
Second VM lsof pid=4103013
Third VM pid=4102991
Third VM waiting for second VM pid=4102970
(Third VM) Timed out waiting for second VM: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
VM RESULT => VM EXIT
Third VM ends.
<END commFile contents>
----------System.err:(25/1804)----------
java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:325)
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:459)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2164)
at TestInheritFD.lambda$waitForSubPids$0(TestInheritFD.java:210)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at TestInheritFD.waitForSubPids(TestInheritFD.java:210)
at TestInheritFD.main(TestInheritFD.java:253)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2990)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
... 1 more
JavaTest Message: Test threw exception: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
runtime/8176717/TestInheritFD.java failed on Ubuntu 24.10 with
java.util.concurrent.CompletionException
The log
subProcessTimeout=150 seconds.
First VM starts.
Command line: [/home/ubuntu/VM/debug/jdk-24/fastdebug/bin/java -cp /home/ubuntu/VM/No_37/results/JTwork/classes/3/runtime/8176717/TestInheritFD.d:/home/ubuntu/VM/open/test/hotspot/jtreg/runtime/8176717:/home/ubuntu/VM/No_37/results/JTwork/classes/3/test/lib:/home/ubuntu/VM/open/test/lib:/home/ubuntu/VM/jtreg/lib/javatest.jar:/home/ubuntu/VM/jtreg/lib/jtreg.jar -Xlog:gc:"logging11388736082492111629.strangelogsuffixthatcanbecheckedfor" -Dtest.jdk=/home/ubuntu/VM/debug/jdk-24/fastdebug TestInheritFD$VMStartedWithLogging logging11388736082492111629.strangelogsuffixthatcanbecheckedfor ]
secondVMPID=4102970
secondVMlsofPID=4103013
thirdVMPID=4102991
Called Thread.sleep(100) 155 times.
subs[0]={pid=4103013, name=second VM lsof} Exception was thrown while trying to join() subPids: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
<BEGIN commFile contents>
Second VM pid=4102970
Command line: [/home/ubuntu/VM/debug/jdk-24/fastdebug/bin/java -cp /home/ubuntu/VM/No_37/results/JTwork/classes/3/runtime/8176717/TestInheritFD.d:/home/ubuntu/VM/open/test/hotspot/jtreg/runtime/8176717:/home/ubuntu/VM/No_37/results/JTwork/classes/3/test/lib:/home/ubuntu/VM/open/test/lib:/home/ubuntu/VM/jtreg/lib/javatest.jar:/home/ubuntu/VM/jtreg/lib/jtreg.jar -Dtest.jdk=/home/ubuntu/VM/debug/jdk-24/fastdebug TestInheritFD$VMShouldNotInheritFileDescriptors logging11388736082492111629.strangelogsuffixthatcanbecheckedfor 4102970 ]
using command: /usr/bin/lsof -a +d /home/ubuntu/VM/No_37/results/JTwork/runtime/8176717/TestInheritFD -p 4102970
Second VM lsof pid=4103013
Third VM pid=4102991
Third VM waiting for second VM pid=4102970
(Third VM) Timed out waiting for second VM: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
VM RESULT => VM EXIT
Third VM ends.
<END commFile contents>
----------System.err:(25/1804)----------
java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:325)
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:459)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2164)
at TestInheritFD.lambda$waitForSubPids$0(TestInheritFD.java:210)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at TestInheritFD.waitForSubPids(TestInheritFD.java:210)
at TestInheritFD.main(TestInheritFD.java:253)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2990)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
... 1 more
JavaTest Message: Test threw exception: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
- relates to
-
JDK-8283222 improve diagnosability of runtime/8176717/TestInheritFD.java timeouts
-
- Resolved
-
-
JDK-8176717 GC log file handle leaked to child processes
-
- Resolved
-
-
JDK-8314186 runtime/8176717/TestInheritFD.java failed with "Log file was leaked"
-
- Resolved
-