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

2 java/foreign tests timed out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b26
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following two tests timed out in the JDK17 CI:

      java/foreign/TestUpcall.java
      java/foreign/TestDowncall.java

      Here's a snippet from the TestUpcall.java log file:

      test TestUpcall.testUpcalls(8922, "f14_D_DSF_IPF", NON_VOID, [DOUBLE, STRUCT, FLOAT], [INT, POINTER, FLOAT]): success
      test TestUpcall.testUpcalls(8923, "f14_D_DSF_IPD", NON_VOID, [DOUBLE, STRUCT, FLOAT], [INT, POINTER, DOUBLE]): success
      test TestUpcall.testUpcalls(8924, "f14_D_DSF_IPP", NON_VOID, [DOUBLE, STRUCT, FLOAT], [INT, POINTER, POINTER]): success
      test TestUpcall.testUpcalls(8925, "f14_D_DSF_FII", NON_VOID, [DOUBLE, STRUCT, FLOAT], [FLOAT, INT, INT]): success
      test TestUpcall.testUpcalls(8926, "f14_D_DSF_FIF", NON_VOID, [DOUBLE, STRUCT, FLOAT], [FLOAT, INT, FLOAT]): success
      test TestUpcall.testUpcalls(8927, "f14_D_DSF_FID", NON_VOID, [DOUBLE, STRUCT, FLOAT], [FLOAT, INT, DOUBLE]): success
      ----------System.err:(1/56)----------
      WARNING: Using incubator modules: jdk.incubator.foreign
      ----------rerun:(40/5792)*----------

      <snip>

      result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+25-2251/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 543255ms).


      Here's a snippet from the TestDowncall.java log file:

      test TestDowncall.testDowncallNoScope(12091, "f20_S_SSS_PDD", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, DOUBLE, DOUBLE]): success
      test TestDowncall.testDowncallNoScope(12092, "f20_S_SSS_PDP", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, DOUBLE, POINTER]): success
      test TestDowncall.testDowncallNoScope(12093, "f20_S_SSS_PPI", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, POINTER, INT]): success
      test TestDowncall.testDowncallNoScope(12094, "f20_S_SSS_PPF", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, POINTER, FLOAT]): success
      test TestDowncall.testDowncallNoScope(12095, "f20_S_SSS_PPD", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, POINTER, DOUBLE]): success
      test TestDowncall.testDowncallNoScope(12096, "f20_S_SSS_PPP", NON_VOID, [STRUCT, STRUCT, STRUCT], [POINTER, POINTER, POINTER]): success

      ===============================================
      java/foreign/TestDowncall.java
      Total tests run: 24194, Failures: 0, Skips: 0
      ===============================================

      ----------System.err:(1/56)----------
      WARNING: Using incubator modules: jdk.incubator.foreign
      ----------rerun:(40/5810)*----------

      <snip>

      result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+25-2251/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 517205ms).


      It looks like TestDowncall.java managed to pass while
      the timeout handler was running.

      The test task's JVM args are: -Xcheck:jni

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: