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

[macos] jpackage tests failed with exit code 134

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following tests failed in the JDK15 CI:

      tools/jpackage/share/LicenseTest.java#id0
      tools/jpackage/share/IconTest.java
      tools/jpackage/share/AppImagePackageTest.java
      tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
      tools/jpackage/macosx/NameWithSpaceTest.java

      Here's a snippet from each failure's log file:

      tools/jpackage/share/LicenseTest.java#id0

      Using default package resource java.icns [icon] (add CommonLicenseTest.icns to the resource-dir to customize).
      Preparing Info.plist: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage15393776482433274017/images/image-11697695529505684417/CommonLicenseTest.app/Contents/Info.plist.
      Using default package resource Info-lite.plist.template [Application Info.plist] (add Info.plist to the resource-dir to customize).
      Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
      Using default package resource background_dmg.tiff [dmg background] (add CommonLicenseTest-background.tiff to the resource-dir to customize).
      Using default package resource java.icns [volume icon] (add CommonLicenseTest-volume.icns to the resource-dir to customize).
      Using default package resource lic_template.plist [License setup] (add CommonLicenseTest-license.plist to the resource-dir to customize).
      Preparing dmg setup: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage15393776482433274017/config/CommonLicenseTest-dmg-setup.scpt.
      Using default package resource DMGsetup.scpt [DMG setup script] (add CommonLicenseTest-dmg-setup.scpt to the resource-dir to customize).
      Creating DMG file: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/0/./testCommon/output/CommonLicenseTest-1.0.dmg.
      Running [/usr/bin/hdiutil, create, -verbose, -srcfolder, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage15393776482433274017/images/image-11697695529505684417, -volname, CommonLicenseTest, -ov, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage15393776482433274017/images/CommonLicenseTest-tmp.dmg, -fs, HFS+, -format, UDRW]
      Timeout refired 1440 times
      TRACE: exec: Done. Exit code: 134
      ERROR: Expected [0]. Actual [134]: Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest ./testCommon/output --name CommonLicenseTest --type dmg --main-jar hello.jar --main-class Hello --license-file testCommon/license.0.txt --verbose](16) exited with 0 code
      [ FAILED ] LicenseTest.testCommon; checks=8
      [==========] 1 tests ran
      [ PASSED ] 0 tests
      [ FAILED ] 1 test, listed below
      [ FAILED ] LicenseTest.testCommon; workDir=[./testCommon]
      1 FAILED TEST
      ----------System.err:(68/4972)----------


      tools/jpackage/share/IconTest.java

      [ RUN ] IconTest(Package, CustomIcon).test
      TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]]
      TRACE: exec: Execute tool provider [javac -d ./test.3617e55e/jar-workdir /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/apps/image/Hello.java](4)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [javac -d ./test.3617e55e/jar-workdir /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/apps/image/Hello.java](4) exited with 0 code
      TRACE: exec: Execute tool provider [jar -c -f ./test.3617e55e/input/hello.jar -C ./test.3617e55e/jar-workdir .](7)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.3617e55e/input/hello.jar -C ./test.3617e55e/jar-workdir .](7) exited with 0 code
      TRACE: Init fake runtime in [./test.3617e55e/fake_runtime] directory
      TRACE: exec: Execute [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./test.3617e55e/input --dest ./test.3617e55e/output --name IconTest --type dmg --main-jar hello.jar --main-class Hello --icon /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon.icns --runtime-image ./test.3617e55e/fake_runtime --verbose](18); save output...
      Timeout refired 2160 times
      WARNING: Using incubator modules: jdk.incubator.jpackage
      Building DMG package for IconTest.
      Using custom package resource [icon] (loaded from file /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon.icns).
      Preparing Info.plist: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage12035608501420268831/images/image-1672544750348875368/IconTest.app/Contents/Info.plist.
      Using default package resource Info-lite.plist.template [Application Info.plist] (add Info.plist to the resource-dir to customize).
      Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
      Using default package resource background_dmg.tiff [dmg background] (add IconTest-background.tiff to the resource-dir to customize).
      Using custom package resource [volume icon] (loaded from file /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon.icns).
      Preparing dmg setup: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage12035608501420268831/config/IconTest-dmg-setup.scpt.
      Using default package resource DMGsetup.scpt [DMG setup script] (add IconTest-dmg-setup.scpt to the resource-dir to customize).
      Creating DMG file: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./test.3617e55e/output/IconTest-1.0.dmg.
      Running [/usr/bin/hdiutil, create, -verbose, -srcfolder, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage12035608501420268831/images/image-1672544750348875368, -volname, IconTest, -ov, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage12035608501420268831/images/IconTest-tmp.dmg, -fs, HFS+, -format, UDRW]
      TRACE: exec: Done. Exit code: 134
      ERROR: Expected [0]. Actual [134]: Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./test.3617e55e/input --dest ./test.3617e55e/output --name IconTest --type dmg --main-jar hello.jar --main-class Hello --icon /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon.icns --runtime-image ./test.3617e55e/fake_runtime --verbose](18) exited with 0 code
      [ FAILED ] IconTest(Package, CustomIcon).test; checks=3
      [ RUN ] IconTest(Package, CustomWithResourceDirIcon).test
      TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]]
      TRACE: Resource file: [./test.f79b089b/resources/IconTest.icns] <- [/mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon.icns]
      TRACE: exec: Execute tool provider [javac -d ./test.f79b089b/jar-workdir /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/apps/image/Hello.java](4)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [javac -d ./test.f79b089b/jar-workdir /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/apps/image/Hello.java](4) exited with 0 code
      TRACE: exec: Execute tool provider [jar -c -f ./test.f79b089b/input/hello.jar -C ./test.f79b089b/jar-workdir .](7)...
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.f79b089b/input/hello.jar -C ./test.f79b089b/jar-workdir .](7) exited with 0 code
      TRACE: Init fake runtime in [./test.f79b089b/fake_runtime] directory
      TRACE: Files in [./test.f79b089b/resources] resource dir:
      TRACE: [IconTest.icns]
      TRACE: Done
      TRACE: exec: Execute [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./test.f79b089b/input --dest ./test.f79b089b/output --name IconTest --type dmg --main-jar hello.jar --main-class Hello --icon /mesos/work_dir/jib-master/install/jdk-15+12-395/src.full/open/test/jdk/tools/jpackage/resources/icon2.icns --resource-dir ./test.f79b089b/resources --runtime-image ./test.f79b089b/fake_runtime --verbose](20); save output...
      ----------System.err:(44/3512)----------


      tools/jpackage/share/AppImagePackageTest.java

      Using default package resource java.icns [icon] (add AppImagePackageTest.icns to the resource-dir to customize).
      Preparing Info.plist: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./test/appimage/AppImagePackageTest.app/Contents/Info.plist.
      Using default package resource Info-lite.plist.template [Application Info.plist] (add Info.plist to the resource-dir to customize).
      Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
      Succeeded in building Mac Application Image package
      TRACE: exec: Done. Exit code: 0
      TRACE: assertEquals(0): Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/appimage --name AppImagePackageTest --type app-image --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code
      TRACE: exec: Execute [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10); inherit I/O...
      Building DMG package for AppImagePackageTest.
      Using default package resource background_dmg.tiff [dmg background] (add AppImagePackageTest-background.tiff to the resource-dir to customize).
      Using default package resource java.icns [volume icon] (add AppImagePackageTest-volume.icns to the resource-dir to customize).
      Preparing dmg setup: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage457146865295480138/config/AppImagePackageTest-dmg-setup.scpt.
      Using default package resource DMGsetup.scpt [DMG setup script] (add AppImagePackageTest-dmg-setup.scpt to the resource-dir to customize).
      Creating DMG file: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./test/output/AppImagePackageTest-1.0.dmg.
      Running [/usr/bin/hdiutil, create, -verbose, -srcfolder, /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./test/appimage/AppImagePackageTest.app, -volname, AppImagePackageTest, -ov, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage457146865295480138/images/AppImagePackageTest-tmp.dmg, -fs, HFS+, -format, UDRW]
      Timeout refired 2160 times
      TRACE: exec: Done. Exit code: 134
      ERROR: Expected [0]. Actual [134]: Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10) exited with 0 code
      [ FAILED ] AppImagePackageTest.test; checks=4
      [==========] 1 tests ran
      [ PASSED ] 0 tests
      [ FAILED ] 1 test, listed below
      [ FAILED ] AppImagePackageTest.test; workDir=[./test]
      1 FAILED TEST
      ----------System.err:(68/4922)----------


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

      Using default package resource java.icns [icon] (add TempBasicTest.icns to the resource-dir to customize).
      Preparing Info.plist: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/TempBasicTest-1.0.dmg/images/image-273270638185813610/TempBasicTest.app/Contents/Info.plist.
      Using default package resource Info-lite.plist.template [Application Info.plist] (add Info.plist to the resource-dir to customize).
      Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
      Using default package resource background_dmg.tiff [dmg background] (add TempBasicTest-background.tiff to the resource-dir to customize).
      Using default package resource java.icns [volume icon] (add TempBasicTest-volume.icns to the resource-dir to customize).
      Preparing dmg setup: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/TempBasicTest-1.0.dmg/config/TempBasicTest-dmg-setup.scpt.
      Using default package resource DMGsetup.scpt [DMG setup script] (add TempBasicTest-dmg-setup.scpt to the resource-dir to customize).
      Creating DMG file: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/TempBasicTest-1.0.dmg.
      Running [/usr/bin/hdiutil, create, -verbose, -srcfolder, /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/TempBasicTest-1.0.dmg/images/image-273270638185813610, -volname, TempBasicTest, -ov, /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/TempBasicTest-1.0.dmg/images/TempBasicTest-tmp.dmg, -fs, HFS+, -format, UDRW]
      Timeout refired 2880 times
      TRACE: exec: Done. Exit code: 134
      ERROR: Expected [0]. Actual [134]: Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./testTemp/input --dest ./testTemp/output --name TempBasicTest --type dmg --main-jar hello.jar --main-class Hello --temp ./testTemp/temp-root/TempBasicTest-1.0.dmg --verbose](16) exited with 0 code
      [ FAILED ] BasicTest.testTemp; checks=3


      tools/jpackage/macosx/NameWithSpaceTest.java

      Using default package resource java.icns [icon] (add Name With Space.icns to the resource-dir to customize).
      Preparing Info.plist: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage10042309022321318469/images/image-6630680881089475113/Name With Space.app/Contents/Info.plist.
      Using default package resource Info-lite.plist.template [Application Info.plist] (add Info.plist to the resource-dir to customize).
      Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
      Using default package resource background_dmg.tiff [dmg background] (add Name With Space-background.tiff to the resource-dir to customize).
      Using default package resource java.icns [volume icon] (add Name With Space-volume.icns to the resource-dir to customize).
      Preparing dmg setup: /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage10042309022321318469/config/Name With Space-dmg-setup.scpt.
      Using default package resource DMGsetup.scpt [DMG setup script] (add Name With Space-dmg-setup.scpt to the resource-dir to customize).
      Creating DMG file: /mesos/work_dir/slaves/90726e33-be99-4e27-9d68-25dad266ef13-S4074/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc0ab8b-4a5a-4984-8d2a-564eba708174/runs/3645b1f4-6944-4050-a457-fdd0122b7cec/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/0/./test/output/Name With Space-1.0.dmg.
      Running [/usr/bin/hdiutil, create, -verbose, -srcfolder, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage10042309022321318469/images/image-6630680881089475113, -volname, Name With Space, -ov, /var/folders/kh/qcr1sbqs4wv8f9lmfpg_5fcc0000gp/T/jdk.incubator.jpackage10042309022321318469/images/Name With Space-tmp.dmg, -fs, HFS+, -format, UDRW]
      Timeout refired 1440 times
      TRACE: exec: Done. Exit code: 134
      ERROR: Expected [0]. Actual [134]: Check command [/mesos/work_dir/jib-master/install/jdk-15+12-395/macosx-x64.jdk/jdk-15.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/output --name "Name With Space" --type dmg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code
      [ FAILED ] NameWithSpaceTest.test; checks=3
      [==========] 1 tests ran
      [ PASSED ] 0 tests
      [ FAILED ] 1 test, listed below
      [ FAILED ] NameWithSpaceTest.test; workDir=[./test]
      1 FAILED TEST
      ----------System.err:(67/4868)----------


      Since these are Tier2 test failures, I'm starting this bug as a P3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                herrick Andy Herrick
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: