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

tools/jpackage/share/jdk/jpackage/tests/MainClassTest.java timed out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 20, 21
    • tools
    • x86_64
    • os_x

    Description

      The following test timed out in the JDK20 CI:

      tools/jpackage/share/jdk/jpackage/tests/MainClassTest.java

      Here's a snippet from the final sub-test that was running
      when the test timed out:

      [01:23:07.587] [ OK ] MainClassTest(modular=y; main-class=n; jar-main-class=n; jlink=y; error=Error: Main application class is missing).test; checks=4
      [01:23:07.587] [ RUN ] MainClassTest(modular=y; main-class=n; jar-main-class=y; jlink=n).test
      [01:23:07.588] TRACE: Create [/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S73805/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/26e56b96-5b0a-4caa-b492-7e3752af19bb/runs/3b618499-9c2d-4322-8324-39221f055712/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/4/test.13a4a2c7/src/module-info.java] text file...
      [01:23:07.588] TRACE: module com.other {
      [01:23:07.588] TRACE: exports test;
      [01:23:07.588] TRACE: requires java.desktop;
      [01:23:07.588] TRACE: }
      [01:23:07.675] TRACE: Done
      [01:23:07.844] TRACE: exec: Execute tool provider [javac -d ./test.13a4a2c7/jar-workdir ./test.13a4a2c7/src/test/Hello.java ./test.13a4a2c7/src/module-info.java](5)...
      [01:23:08.216] TRACE: exec: Done. Exit code: 0
      [01:23:08.216] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.13a4a2c7/jar-workdir ./test.13a4a2c7/src/test/Hello.java ./test.13a4a2c7/src/module-info.java](5) exited with 0 code
      [01:23:08.217] TRACE: exec: Execute tool provider [jar -c -f ./test.13a4a2c7/input-modules/hello.jar -e test.Hello -C ./test.13a4a2c7/jar-workdir .](9)...
      [01:23:08.385] TRACE: exec: Done. Exit code: 0
      [01:23:08.385] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.13a4a2c7/input-modules/hello.jar -e test.Hello -C ./test.13a4a2c7/jar-workdir .](9) exited with 0 code
      [01:23:08.386] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+32-2319/macosx-x64.jdk/jdk-20.jdk/Contents/Home/bin/jpackage --dest ./test.13a4a2c7/output --name MainClassTest --type app-image --module-path ./test.13a4a2c7/input-modules --module com.other --runtime-image /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+32-2319/macosx-x64.jdk/jdk-20.jdk/Contents/Home -J-Djlink.debug=true --verbose](15); inherit I/O...
      ----------System.err:(0/0)----------
      ----------rerun:(39/7672)*----------

      <snip>

      result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+32-2319/macosx-x64.jdk/jdk-20.jdk/Contents/Home/bin/java' timed out (timeout set to 2160000ms, elapsed time including timeout handling was 2351597ms).

      The test's timeout value is 540 and with a default timeoutFactor of 4
      the total timeout value is 2160 seconds/36 minutes. I think there are
      32 sub-tests in this test so that's about a minute per test.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: