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

[macos] jpackage MainClassTest.java still times out

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test still fails due to timeout in the JDK15 CI:

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

      The fix for the following bug:

          JDK-8236282 [macos] Find permanent solution to macOS test timeout problem JDK-8235738

      was pushed and test in jdk-15+27-1333. However, this
      test still failed due to timeout in jdk-15+27-1335-tier2.

      Here's a snippet from the log file:

      TRACE: assertEquals(0): Check command [/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/./test.b402101c/output/MainClassTest.app/Contents/MacOS/MainClassTest](1) exited with 0 code
      TRACE: assertTrue(): Check [/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/test.b402101c/appOutput.txt] path exists
      TRACE: assertTrue(): Check [/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/test.b402101c/appOutput.txt] is a file
      TRACE: assertStringListEquals(): Check contents of [/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/test.b402101c/appOutput.txt] file
      TRACE: assertStringListEquals(1, jpackage test application)
      TRACE: assertStringListEquals(2, args.length: 0)
      TRACE: Deleting [./test.b402101c] directory recursively
      [ OK ] MainClassTest(modular=y; main-class=y; jar-main-class=y; jlink=n).test; checks=14
      [ RUN ] MainClassTest(modular=y; main-class=y; jar-main-class=y; jlink=y).test
      TRACE: Create [/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/test.f9e69be7/src/module-info.java] text file...
      TRACE: module com.other {
      TRACE: exports test;
      TRACE: requires java.desktop;
      TRACE: }
      TRACE: Done
      TRACE: exec: Execute tool provider [javac -d ./test.f9e69be7/jar-workdir ./test.f9e69be7/src/test/Hello.java ./test.f9e69be7/src/module-info.java](5)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [javac -d ./test.f9e69be7/jar-workdir ./test.f9e69be7/src/test/Hello.java ./test.f9e69be7/src/module-info.java](5) exited with 0 code
      TRACE: exec: Execute tool provider [jar -c -f ./test.f9e69be7/input-modules/hello.jar -e test.Hello -C ./test.f9e69be7/jar-workdir .](9)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.f9e69be7/input-modules/hello.jar -e test.Hello -C ./test.f9e69be7/jar-workdir .](9) exited with 0 code
      TRACE: exec: Execute [/mesos/work_dir/jib-master/install/jdk-15+27-1335/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --dest ./test.f9e69be7/output --name MainClassTest --type app-image --module-path ./test.f9e69be7/input-modules --module com.other/test.Hello --verbose](12); inherit I/O...
      Creating app package: MainClassTest.app in /mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S1001/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/01859c92-2e89-43b4-8705-5973d3d898f8/runs/ba9080aa-b98d-4d42-bb99-7c6e780c9ad1/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/7/./test.f9e69be7/output
      jlink arguments: [--output, ./test.f9e69be7/output/MainClassTest.app/Contents/runtime/Contents/Home, --module-path, ./test.f9e69be7/input-modules:/mesos/work_dir/jib-master/install/jdk-15+27-1335/macosx-x64.jdk/jdk-15.jdk/Contents/Home/jmods, --add-modules, com.other, --strip-native-commands, --strip-debug, --no-man-pages, --no-header-files]
      ----------System.err:(33/1881)----------

      <snip>

      result: Error. Program `/mesos/work_dir/jib-master/install/jdk-15+27-1335/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/java' timed out (timeout set to 1440000ms, elapsed time including timeout handling was 1510090ms).


      test result: Error. Program `/mesos/work_dir/jib-master/install/jdk-15+27-1335/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/java' timed out (timeout set to 1440000ms, elapsed time including timeout handling was 1510090ms).


      Since this is a Tier2 failure, I would normally start this bug
      off as a P2. However, this test timeout is intermittent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: