-
Bug
-
Resolution: Fixed
-
P4
-
21
-
b16
-
x86_64
-
os_x, windows
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8343955 | 17.0.14 | Ben Taylor | P4 | Resolved | Fixed | b03 |
The following new test timed out in the JDK21 CI (Tier5):
java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java
This test was recently added by the following fix:
JDK-8303742 CompletableFuture.orTimeout leaks if the future completes exceptionally
Here's a log file snippet from the windows-x64 timeout:
#section:junit
----------messages:(8/372)----------
command: junit -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
reason: User specified action: run junit/othervm -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
started: Tue Mar 21 00:11:14 UTC 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Mar 21 00:23:28 UTC 2023
elapsed time (seconds): 734.55
----------configuration:(0/0)----------
----------System.out:(1/27)----------
Timeout refired 480 times
----------System.err:(3/499)----------
STARTED CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
SUCCESSFUL CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
STARTED CompletableFutureOrTimeoutExceptionallyTest::testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak 'testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak()'
----------rerun:(41/6028)*----------
<snip>
result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-21+15-1208\windows-x64-debug.jdk\jdk-21\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 734543ms).
Here's a log file snippet from the macosx-x64 timeout:
#section:junit
----------messages:(8/365)----------
command: junit -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
reason: User specified action: run junit/othervm -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
started: Tue Mar 21 00:08:28 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Mar 21 00:30:35 GMT 2023
elapsed time (seconds): 1327.12
----------configuration:(0/0)----------
----------System.out:(1/26)----------
Timeout refired 480 times
----------System.err:(3/496)----------
STARTED CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
SUCCESSFUL CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
STARTED CompletableFutureOrTimeoutExceptionallyTest::testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak 'testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak()'
----------rerun:(36/6738)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+15-1208/macosx-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 1327110ms).
java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java
This test was recently added by the following fix:
Here's a log file snippet from the windows-x64 timeout:
#section:junit
----------messages:(8/372)----------
command: junit -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
reason: User specified action: run junit/othervm -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
started: Tue Mar 21 00:11:14 UTC 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Mar 21 00:23:28 UTC 2023
elapsed time (seconds): 734.55
----------configuration:(0/0)----------
----------System.out:(1/27)----------
Timeout refired 480 times
----------System.err:(3/499)----------
STARTED CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
SUCCESSFUL CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
STARTED CompletableFutureOrTimeoutExceptionallyTest::testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak 'testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak()'
----------rerun:(41/6028)*----------
<snip>
result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-21+15-1208\windows-x64-debug.jdk\jdk-21\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 734543ms).
Here's a log file snippet from the macosx-x64 timeout:
#section:junit
----------messages:(8/365)----------
command: junit -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
reason: User specified action: run junit/othervm -Xmx128m CompletableFutureOrTimeoutExceptionallyTest
started: Tue Mar 21 00:08:28 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Mar 21 00:30:35 GMT 2023
elapsed time (seconds): 1327.12
----------configuration:(0/0)----------
----------System.out:(1/26)----------
Timeout refired 480 times
----------System.err:(3/496)----------
STARTED CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
SUCCESSFUL CompletableFutureOrTimeoutExceptionallyTest::testOrTimeoutWithCompleteExceptionallyDoesNotLeak 'testOrTimeoutWithCompleteExceptionallyDoesNotLeak()'
STARTED CompletableFutureOrTimeoutExceptionallyTest::testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak 'testCompleteOnTimeoutWithCompleteExceptionallyDoesNotLeak()'
----------rerun:(36/6738)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+15-1208/macosx-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 1327110ms).
- backported by
-
JDK-8343955 java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out
-
- Resolved
-
- relates to
-
JDK-8303742 CompletableFuture.orTimeout leaks if the future completes exceptionally
-
- Closed
-
- links to
-
Commit openjdk/jdk/6f67abd3
-
Commit(master) openjdk/jdk17u-dev/41b4812c
-
Review openjdk/jdk/13116
-
Review(master) openjdk/jdk17u-dev/3000
(1 links to)