Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304557

java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out

XMLWordPrintable

    • b16
    • x86_64
    • os_x, windows
    • Verified

        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).

              vklang Viktor Klang
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: