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

tools/jlink/basic/AllModulePath.java timed out

XMLWordPrintable

    • x86_64
    • linux

      The following test timed out in the JDK22 CI:

      tools/jlink/basic/AllModulePath.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(10/308)----------
      command: testng AllModulePath
      reason: User specified action: run testng AllModulePath
      started: Fri Aug 25 08:07:44 UTC 2023
      Mode: agentvm
      Agent id: 12
      Timeout signalled after 480 seconds
      Timeout information:
      --- Timeout information end.
      finished: Fri Aug 25 08:19:09 UTC 2023
      elapsed time (seconds): 685.36
      ----------configuration:(14/1849)----------

      <snip>

      ----------System.out:(38/3659)----------
      config AllModulePath.setup(): success
      jlink --module-path /opt/mach5/mesos/work_dir/jib-master/install/jdk-22+12-856/linux-x64-debug.jdk/jdk-22/fastdebug/jmods:mods --output image2 --add-modules m1,test --add-modules ALL-MODULE-PATH --limit-modules java.base
      Command line: [image2/bin/java -m m1/p.ListModules test m1 java.base]
      [2023-08-25T08:10:19.891417711Z] Gathering output for process 2047831
      [2023-08-25T08:10:24.372494349Z] Waiting for completion for process 2047831
      [2023-08-25T08:10:24.372806842Z] Waiting for completion finished for process 2047831
      Output and diagnostic info for process 2047831 was saved into 'pid-2047831-output.log'

      [2023-08-25T08:10:24.375074515Z] Waiting for completion for process 2047831
      [2023-08-25T08:10:24.375156801Z] Waiting for completion finished for process 2047831
      test AllModulePath.testAddModules(): success
      jlink --module-path /opt/mach5/mesos/work_dir/jib-master/install/jdk-22+12-856/linux-x64-debug.jdk/jdk-22/fastdebug/jmods:mods --output image --add-modules ALL-MODULE-PATH
      WARNING: Using incubator modules: jdk.incubator.vector
      Command line: [image/bin/java -m m1/p.ListModules java.rmi jdk.management.jfr jdk.jdi jdk.charsets java.xml jdk.xml.dom java.datatransfer jdk.jstatd jdk.httpserver jdk.jcmd java.desktop java.se java.security.sasl jdk.zipfs java.base jdk.crypto.ec jdk.javadoc jdk.management.agent jdk.jshell test jdk.editpad java.sql.rowset jdk.jsobject jdk.sctp java.smartcardio jdk.jlink jdk.unsupported java.security.jgss java.compiler jdk.nio.mapmode jdk.dynalink jdk.unsupported.desktop jdk.accessibility jdk.security.jgss java.sql jdk.incubator.vector jdk.hotspot.agent java.logging java.transaction.xa java.xml.crypto jdk.jfr jdk.internal.vm.ci jdk.crypto.cryptoki jdk.net jdk.random java.naming jdk.internal.ed java.prefs java.net.http jdk.compiler jdk.internal.opt jdk.naming.rmi jdk.jconsole jdk.attach m1 jdk.internal.le java.management jdk.jdwp.agent jdk.internal.jvmstat java.instrument jdk.internal.vm.compiler jdk.internal.vm.compiler.management jdk.management jdk.security.auth java.scripting jdk.jdeps jdk.jartool java.management.rmi jdk.jpackage jdk.naming.dns jdk.localedata]
      [2023-08-25T08:15:16.889006396Z] Gathering output for process 2048788
      [2023-08-25T08:15:17.774668094Z] Waiting for completion for process 2048788
      [2023-08-25T08:15:17.774924080Z] Waiting for completion finished for process 2048788
      Output and diagnostic info for process 2048788 was saved into 'pid-2048788-output.log'

      [2023-08-25T08:15:17.775848395Z] Waiting for completion for process 2048788
      [2023-08-25T08:15:17.775946741Z] Waiting for completion finished for process 2048788
      test AllModulePath.testAllModulePath(): success
      jlink --module-path /opt/mach5/mesos/work_dir/jib-master/install/jdk-22+12-856/linux-x64-debug.jdk/jdk-22/fastdebug/jmods:mods --output image1 --add-modules ALL-MODULE-PATH --limit-modules m1
      Command line: [image1/bin/java -m m1/p.ListModules m1 java.base]
      [2023-08-25T08:17:15.741148575Z] Gathering output for process 2048889
      [2023-08-25T08:17:16.240443982Z] Waiting for completion for process 2048889
      [2023-08-25T08:17:16.240759552Z] Waiting for completion finished for process 2048889
      Output and diagnostic info for process 2048889 was saved into 'pid-2048889-output.log'

      [2023-08-25T08:17:16.241747857Z] Waiting for completion for process 2048889
      [2023-08-25T08:17:16.241856424Z] Waiting for completion finished for process 2048889
      test AllModulePath.testLimitModules(): success

      ===============================================
      tools/jlink/basic/AllModulePath.java
      Total tests run: 3, Passes: 3, Failures: 0, Skips: 0
      ===============================================

      result: Error. Agent error: java.lang.Exception: Agent 12 timed out with a timeout of 480 seconds; check console log for any additional details

      Default timeout value of 120 seconds/2 minutes with a default timeoutFactor
      of 4 means a total timeout of 480 seconds/8 minutes. The run executed
      for 685.36 seconds. The test did manage to pass while the timeout handler
      was running.


      Unlike most tests where we've run into timeouts, this test includes
      timestamps in its logging output so we can see that the test really
      does take quite a bit of time for its various steps.

            sundar Sundararajan Athijegannathan
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: