Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269461 | 18 | Alexander Matveev | P3 | Resolved | Fixed | b04 |
JDK-8270654 | 17.0.1 | Alexander Matveev | P3 | Resolved | Fixed | b03 |
The following test failed in the JDK17 CI:
tools/jpackage/share/AppImagePackageTest.java
Here's a snippet from the log file:
[16:18:04.437] [ RUN ] AppImagePackageTest.testEmpty(false)
[16:18:04.439] TRACE: Create [/opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app/lib/README] text file...
[16:18:04.441] TRACE: This is some arbitrary text for the README file
[16:18:04.442] TRACE: Done
[16:18:04.444] TRACE: Actions: [[initialize], [create], [unpack], [finalize]]
[16:18:04.445] TRACE: exec: Execute [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type pkg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12); inherit I/O...
[16:18:04.740] Warning: app-image dir (./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app) not generated by jpackage.
[16:18:04.805] Building PKG package for EmptyAppImagePackageTest.
[16:18:04.812] Using default package resource background_pkg.png [pkg background image] (add EmptyAppImagePackageTest-background.png to the resource-dir to customize).
[16:18:04.821] Using default package resource background_pkg.png [pkg background image] (add EmptyAppImagePackageTest-background-darkAqua.png to the resource-dir to customize).
[16:18:04.822] Using default package resource product-def.plist [project definition file] (add product-def.plist to the resource-dir to customize).
[16:18:04.823] Preparing distribution.dist: /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/distribution.dist.
[16:18:04.860] Running /usr/bin/pkgbuild
[16:18:04.902] Command [PID: 70935]:
/usr/bin/pkgbuild --root ./testEmpty.3cdfa783/4594589340496780854 --install-location /Applications --analyze /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
[16:18:04.902] Output:
pkgbuild: Inferring bundle components from contents of ./testEmpty.3cdfa783/4594589340496780854
pkgbuild: Writing new component property list to /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
[16:18:04.907] Returned: 0
[16:18:04.954] Preparing package scripts.
[16:18:04.955] Using default package resource preinstall.template [PKG preinstall script] (add preinstall to the resource-dir to customize).
[16:18:04.958] Using default package resource postinstall.template [PKG postinstall script] (add postinstall to the resource-dir to customize).
[16:18:04.960] Running /usr/bin/pkgbuild
[16:18:05.008] Command [PID: 70936]:
/usr/bin/pkgbuild --root ./testEmpty.3cdfa783/4594589340496780854 --install-location /Applications --component-plist /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist --scripts /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/scripts --identifier EmptyAppImagePackageTest /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages/EmptyAppImagePackageTest-app.pkg
[16:18:05.008] Output:
pkgbuild: Reading components from /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
pkgbuild: Adding top-level preinstall script
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages/EmptyAppImagePackageTest-app.pkg
[16:18:05.008] Returned: 0
[16:18:05.094] Running /usr/bin/productbuild
[16:18:05.144] Command [PID: 70937]:
/usr/bin/productbuild --resources /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config --distribution /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/distribution.dist --package-path /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg
[16:18:05.144] Output:
productbuild: Wrote product to /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg
[16:18:05.144] Returned: 0
[16:18:05.144] Succeeded in building Mac PKG Package package
[16:18:05.165] TRACE: exec: Done. Exit code: 0
[16:18:05.166] TRACE: assertEquals(0): Check command [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type pkg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12) exited with 0 code
[16:18:05.166] TRACE: assertTrue(): Check [./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg] path exists
[16:18:05.166] TRACE: assertTrue(): Check [./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg] is a file
[16:18:05.167] TRACE: exec: Execute [pkgutil --expand ./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg ./testEmpty.3cdfa783/unpacked-pkg/data](4); discard I/O...
[16:18:05.187] TRACE: exec: Done. Exit code: 0
[16:18:05.188] TRACE: assertEquals(0): Check command [pkgutil --expand ./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg ./testEmpty.3cdfa783/unpacked-pkg/data](4) exited with 0 code
[16:18:05.197] TRACE: exec: Execute [tar -C ./testEmpty.3cdfa783/unpacked-pkg/unpacked/Applications -xvf ./testEmpty.3cdfa783/unpacked-pkg/data/EmptyAppImagePackageTest-app.pkg/Payload](5); discard I/O...
[16:18:05.280] TRACE: exec: Done. Exit code: 0
[16:18:05.281] TRACE: assertEquals(0): Check command [tar -C ./testEmpty.3cdfa783/unpacked-pkg/unpacked/Applications -xvf ./testEmpty.3cdfa783/unpacked-pkg/data/EmptyAppImagePackageTest-app.pkg/Payload](5) exited with 0 code
[16:18:05.282] TRACE: exec: Execute [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type dmg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12); inherit I/O...
[16:18:05.670] Warning: app-image dir (./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app) not generated by jpackage.
[16:18:05.729] Building DMG package for EmptyAppImagePackageTest.
[16:18:05.735] Using default package resource background_dmg.tiff [dmg background] (add EmptyAppImagePackageTest-background.tiff to the resource-dir to customize).
[16:18:05.858] Using default package resource JavaApp.icns [volume icon] (add EmptyAppImagePackageTest-volume.icns to the resource-dir to customize).
[16:18:05.973] Preparing dmg setup: /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/config/EmptyAppImagePackageTest-dmg-setup.scpt.
[16:18:05.974] Using default package resource DMGsetup.scpt [DMG setup script] (add EmptyAppImagePackageTest-dmg-setup.scpt to the resource-dir to customize).
[16:18:06.105] Creating DMG file: /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.dmg.
[16:18:06.109] Running /usr/bin/hdiutil
[16:18:27.071] Command [PID: 70944]:
/usr/bin/hdiutil create -verbose -srcfolder /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+ -format UDRW
[16:18:27.071] Output:
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Initializing?
2021-06-18 16:18:06.540 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.548 copy-helper[70947:80268141] estimating /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app
2021-06-18 16:18:07.706 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Creating?
DIDiskImageCreatorProbe: interface 1, score -1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Finishing?
2021-06-18 16:18:26.586 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:27.077] Returned: 1
[16:18:27.077] java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -srcfolder, /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+, -format, UDRW] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:328)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[16:18:27.088] Running /usr/bin/hdiutil
[16:18:46.642] Command [PID: 70974]:
/usr/bin/hdiutil create -verbose -size 52428849 -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+
[16:18:46.642] Output:
Initializing?
Creating?
DIDiskImageCreatorProbe: interface 1, score 1, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score 1, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000006 seconds
Formatting?
Finishing?
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:46.642] Returned: 1
[16:18:46.643] java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:349)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[16:18:46.646] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:93)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
Caused by: java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:349)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
... 5 more
[16:18:46.658] TRACE: exec: Done. Exit code: 1
[16:18:46.659] ERROR: Expected [0]. Actual [1]: Check command [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type dmg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12) exited with 0 code
[16:18:46.660] [ FAILED ] AppImagePackageTest.testEmpty(false); checks=6
There is a LOT of output for the failing test case. The first error I spotted:
[16:18:06.109] Running /usr/bin/hdiutil
[16:18:27.071] Command [PID: 70944]:
/usr/bin/hdiutil create -verbose -srcfolder /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+ -format UDRW
[16:18:27.071] Output:
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Initializing?
2021-06-18 16:18:06.540 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.548 copy-helper[70947:80268141] estimating /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app
2021-06-18 16:18:07.706 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Creating?
DIDiskImageCreatorProbe: interface 1, score -1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Finishing?
2021-06-18 16:18:26.586 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:27.077] Returned: 1
tools/jpackage/share/AppImagePackageTest.java
Here's a snippet from the log file:
[16:18:04.437] [ RUN ] AppImagePackageTest.testEmpty(false)
[16:18:04.439] TRACE: Create [/opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app/lib/README] text file...
[16:18:04.441] TRACE: This is some arbitrary text for the README file
[16:18:04.442] TRACE: Done
[16:18:04.444] TRACE: Actions: [[initialize], [create], [unpack], [finalize]]
[16:18:04.445] TRACE: exec: Execute [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type pkg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12); inherit I/O...
[16:18:04.740] Warning: app-image dir (./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app) not generated by jpackage.
[16:18:04.805] Building PKG package for EmptyAppImagePackageTest.
[16:18:04.812] Using default package resource background_pkg.png [pkg background image] (add EmptyAppImagePackageTest-background.png to the resource-dir to customize).
[16:18:04.821] Using default package resource background_pkg.png [pkg background image] (add EmptyAppImagePackageTest-background-darkAqua.png to the resource-dir to customize).
[16:18:04.822] Using default package resource product-def.plist [project definition file] (add product-def.plist to the resource-dir to customize).
[16:18:04.823] Preparing distribution.dist: /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/distribution.dist.
[16:18:04.860] Running /usr/bin/pkgbuild
[16:18:04.902] Command [PID: 70935]:
/usr/bin/pkgbuild --root ./testEmpty.3cdfa783/4594589340496780854 --install-location /Applications --analyze /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
[16:18:04.902] Output:
pkgbuild: Inferring bundle components from contents of ./testEmpty.3cdfa783/4594589340496780854
pkgbuild: Writing new component property list to /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
[16:18:04.907] Returned: 0
[16:18:04.954] Preparing package scripts.
[16:18:04.955] Using default package resource preinstall.template [PKG preinstall script] (add preinstall to the resource-dir to customize).
[16:18:04.958] Using default package resource postinstall.template [PKG postinstall script] (add postinstall to the resource-dir to customize).
[16:18:04.960] Running /usr/bin/pkgbuild
[16:18:05.008] Command [PID: 70936]:
/usr/bin/pkgbuild --root ./testEmpty.3cdfa783/4594589340496780854 --install-location /Applications --component-plist /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist --scripts /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/scripts --identifier EmptyAppImagePackageTest /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages/EmptyAppImagePackageTest-app.pkg
[16:18:05.008] Output:
pkgbuild: Reading components from /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/cpl.plist
pkgbuild: Adding top-level preinstall script
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages/EmptyAppImagePackageTest-app.pkg
[16:18:05.008] Returned: 0
[16:18:05.094] Running /usr/bin/productbuild
[16:18:05.144] Command [PID: 70937]:
/usr/bin/productbuild --resources /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config --distribution /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/config/distribution.dist --package-path /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage16556543527694851785/packages /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg
[16:18:05.144] Output:
productbuild: Wrote product to /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg
[16:18:05.144] Returned: 0
[16:18:05.144] Succeeded in building Mac PKG Package package
[16:18:05.165] TRACE: exec: Done. Exit code: 0
[16:18:05.166] TRACE: assertEquals(0): Check command [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type pkg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12) exited with 0 code
[16:18:05.166] TRACE: assertTrue(): Check [./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg] path exists
[16:18:05.166] TRACE: assertTrue(): Check [./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg] is a file
[16:18:05.167] TRACE: exec: Execute [pkgutil --expand ./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg ./testEmpty.3cdfa783/unpacked-pkg/data](4); discard I/O...
[16:18:05.187] TRACE: exec: Done. Exit code: 0
[16:18:05.188] TRACE: assertEquals(0): Check command [pkgutil --expand ./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.pkg ./testEmpty.3cdfa783/unpacked-pkg/data](4) exited with 0 code
[16:18:05.197] TRACE: exec: Execute [tar -C ./testEmpty.3cdfa783/unpacked-pkg/unpacked/Applications -xvf ./testEmpty.3cdfa783/unpacked-pkg/data/EmptyAppImagePackageTest-app.pkg/Payload](5); discard I/O...
[16:18:05.280] TRACE: exec: Done. Exit code: 0
[16:18:05.281] TRACE: assertEquals(0): Check command [tar -C ./testEmpty.3cdfa783/unpacked-pkg/unpacked/Applications -xvf ./testEmpty.3cdfa783/unpacked-pkg/data/EmptyAppImagePackageTest-app.pkg/Payload](5) exited with 0 code
[16:18:05.282] TRACE: exec: Execute [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type dmg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12); inherit I/O...
[16:18:05.670] Warning: app-image dir (./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app) not generated by jpackage.
[16:18:05.729] Building DMG package for EmptyAppImagePackageTest.
[16:18:05.735] Using default package resource background_dmg.tiff [dmg background] (add EmptyAppImagePackageTest-background.tiff to the resource-dir to customize).
[16:18:05.858] Using default package resource JavaApp.icns [volume icon] (add EmptyAppImagePackageTest-volume.icns to the resource-dir to customize).
[16:18:05.973] Preparing dmg setup: /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/config/EmptyAppImagePackageTest-dmg-setup.scpt.
[16:18:05.974] Using default package resource DMGsetup.scpt [DMG setup script] (add EmptyAppImagePackageTest-dmg-setup.scpt to the resource-dir to customize).
[16:18:06.105] Creating DMG file: /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/output/EmptyAppImagePackageTest-1.0.dmg.
[16:18:06.109] Running /usr/bin/hdiutil
[16:18:27.071] Command [PID: 70944]:
/usr/bin/hdiutil create -verbose -srcfolder /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+ -format UDRW
[16:18:27.071] Output:
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Initializing?
2021-06-18 16:18:06.540 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.548 copy-helper[70947:80268141] estimating /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app
2021-06-18 16:18:07.706 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Creating?
DIDiskImageCreatorProbe: interface 1, score -1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Finishing?
2021-06-18 16:18:26.586 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:27.077] Returned: 1
[16:18:27.077] java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -srcfolder, /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+, -format, UDRW] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:328)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[16:18:27.088] Running /usr/bin/hdiutil
[16:18:46.642] Command [PID: 70974]:
/usr/bin/hdiutil create -verbose -size 52428849 -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+
[16:18:46.642] Output:
Initializing?
Creating?
DIDiskImageCreatorProbe: interface 1, score 1, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score 1, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000006 seconds
Formatting?
Finishing?
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:46.642] Returned: 1
[16:18:46.643] java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:349)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[16:18:46.646] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:93)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:567)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:676)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:550)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
Caused by: java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -size, 52428849, -volname, EmptyAppImagePackageTest, -ov, /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg, -fs, HFS+] exited with 1 code
at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90)
at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:205)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:349)
at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
... 5 more
[16:18:46.658] TRACE: exec: Done. Exit code: 1
[16:18:46.659] ERROR: Expected [0]. Actual [1]: Check command [/opt/mesos/jib-master/install/jdk-17+28-2505/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./testEmpty.3cdfa783/output --name EmptyAppImagePackageTest --type dmg --app-image ./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app --mac-package-identifier EmptyAppImagePackageTest --verbose](12) exited with 0 code
[16:18:46.660] [ FAILED ] AppImagePackageTest.testEmpty(false); checks=6
There is a LOT of output for the failing test case. The first error I spotted:
[16:18:06.109] Running /usr/bin/hdiutil
[16:18:27.071] Command [PID: 70944]:
/usr/bin/hdiutil create -verbose -srcfolder /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app -volname EmptyAppImagePackageTest -ov /var/folders/lb/vf9rpybx5mn4nr513gkqyn4h000_dc/T/jdk.jpackage18383574082866507682/images/EmptyAppImagePackageTest-tmp.dmg -fs HFS+ -format UDRW
[16:18:27.071] Output:
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.539 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Initializing?
2021-06-18 16:18:06.540 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
2021-06-18 16:18:06.548 copy-helper[70947:80268141] estimating /opt/mesos/slaves/35546316-ed70-4084-8244-d672e7734fd1-S64440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a7871ef6-b5f7-40b7-8a29-f009dacb3b8f/runs/ec87761c-6251-4b9d-b69b-3fb11812854a/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/testEmpty.3cdfa783/4594589340496780854/EmptyAppImagePackageTest.app
2021-06-18 16:18:07.706 diskimages-helper[70946:80268131] *useRealIDs******** euid/egid changed to 10668,20 (uid/gid is 10668,20)
Creating?
DIDiskImageCreatorProbe: interface 1, score -1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score 1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreateWithCFURL: CRawDiskImage
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 300, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CCarbonBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Finishing?
2021-06-18 16:18:26.586 diskimages-helper[70946:80268131] *useEffectiveIDs**** euid/egid changed to 10668,20 (uid/gid is 10668,20)
DIHLDiskImageCreate() returned 49168
hdiutil: create: returning 49168
hdiutil: create failed - Resource busy
[16:18:27.077] Returned: 1
- backported by
-
JDK-8269461 tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"
- Resolved
-
JDK-8270654 tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"
- Resolved