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

java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java fails due to timeout with fastdebug bits

XMLWordPrintable

        The following test failed in the JDK14 CI:

        java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java

        Here's a snippet from the log file:

        #section:testng
        ----------messages:(6/316)----------
        command: testng -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
        reason: User specified action: run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
        Mode: othervm [/othervm specified]
        Timeout information:
        --- Timeout information end.
        elapsed time (seconds): 506.075
        ----------configuration:(0/0)----------
        ----------System.out:(150/36257)----------
        [TestNG] Running:
          java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java

        config VarHandleBaseByteArrayTest.setup(): success
        test VarHandleTestByteArrayAsInt.testAccess(" VarHandle [ALIGNED, BIG_ENDIAN, READ_WRITE] -> byte[] [ALIGNED, LITTLE_ENDIAN, READ_WRITE] read write", VarHandleBaseByteArrayTest$VarHandleSourceAccessTestCase@2673026): success

        <snip>

        test VarHandleTestByteArrayAsInt.testTypes(java.lang.invoke.VarHandleByteArrayAsInts$ArrayHandle@1d1f652b, [class [B, int]): success
        test VarHandleTestByteArrayAsInt.testTypes(java.lang.invoke.VarHandleByteArrayAsInts$ByteBufferHandle@3f2031d7, java.util.Arrays$ArrayList@696752d4): success

        ===============================================
        java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java
        Total tests run: 139, Failures: 0, Skips: 0
        ===============================================

        Timeout refired 480 times
        ----------System.err:(1/15)----------
        STATUS:Passed.
        ----------rerun:(35/4752)*----------


        The test timed out at 480 seconds/8 minutes. JTREG timeout
        handling kicked in and by the failure handler stuff finished:

        > elapsed time (seconds): 506.075

        and the test passed:

        > STATUS:Passed.

        Changing the test from the default timeout of 120 seconds
        to 180 seconds will give it more time to pass. With the default
        timeoutFactor of 4, we'll go from 480 seconds/8 minutes to
        720 seconds/12 minutes.

              mchung Mandy Chung (Inactive)
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: