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

(macos) tools/jpackage tests fails with 'hdiutil: couldn't eject "disk2" - Resource busy'

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      tools/jpackage/share/LicenseTest.java#id0

      Here's a snippet from the log file:

      [01:14:31.592] Running /usr/bin/hdiutil
      [01:14:31.850] Command:
          /usr/bin/hdiutil detach -force -verbose /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest
      [01:14:31.851] Output:
          hdiutil: detach: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest"
          LetDIDriverSettleDown: calling IOServiceWaitQuiet...
          DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
          DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000005 seconds
          LetDiskImageDriverSettleDown: wait took 0.000062 seconds
          hdiutil: couldn't eject "disk2" - Resource busy
          "disk2" unmounted.
      [01:14:31.853] Returned: 16

      The above is the first error that I found which was then followed by
      a bunch more:

      [01:14:34.971] Running /usr/bin/hdiutil
      [01:14:34.999] Command:
          /usr/bin/hdiutil detach -force -verbose /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest
      [01:14:35.000] Output:
          hdiutil: detach: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest"
          hdiutil: detach: result: 2
          hdiutil: detach failed - No such file or directory
      [01:14:35.000] Returned: 1

      [01:14:35.000] Running /usr/bin/hdiutil
      [01:14:35.030] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:35.030] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:35.030] Returned: 1

      [01:14:38.141] Running /usr/bin/hdiutil
      [01:14:38.170] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:38.171] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:38.171] Returned: 1

      [01:14:41.173] Running /usr/bin/hdiutil
      [01:14:41.207] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:41.207] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:41.207] Returned: 1

      [01:14:44.208] Running /usr/bin/hdiutil
      [01:14:44.243] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:44.244] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:44.244] Returned: 1

      [01:14:47.265] Running /usr/bin/hdiutil
      [01:14:47.295] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:47.295] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:47.295] Returned: 1

      [01:14:50.297] Running /usr/bin/hdiutil
      [01:14:53.480] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:53.481] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:53.481] Returned: 1

      [01:14:56.482] Running /usr/bin/hdiutil
      [01:14:56.514] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:56.514] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:56.514] Returned: 1

      [01:14:59.608] Running /usr/bin/hdiutil
      [01:14:59.635] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:14:59.635] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:14:59.636] Returned: 1

      [01:15:02.646] Running /usr/bin/hdiutil
      [01:15:02.673] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:15:02.673] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:15:02.673] Returned: 1

      [01:15:05.800] Running /usr/bin/hdiutil
      [01:15:05.827] Command:
          /usr/bin/hdiutil convert /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg -verbose -format UDZO -o /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg
      [01:15:05.828] Output:
          hdiutil: convert: processing "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg"
          DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
          DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
          DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
          DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
          DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
          DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
          DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
          convert: unable to recognize "/var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg":
          Resource temporarily unavailable.hdiutil: convert: result: 35
          hdiutil: convert failed - Resource temporarily unavailable
      [01:15:05.828] Returned: 1

      [01:15:05.828] java.io.IOException: Command [/usr/bin/hdiutil, convert, /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg, -verbose, -format, UDZO, -o, /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg] exited with 1 code
      at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:91)
      at jdk.jpackage/jdk.jpackage.internal.RetryExecutor.executeLoop(RetryExecutor.java:91)
      at jdk.jpackage/jdk.jpackage.internal.RetryExecutor.execute(RetryExecutor.java:76)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:475)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:540)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:664)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:538)
      at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:98)
      at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
      [01:15:05.897] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [/usr/bin/hdiutil, convert, /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg, -verbose, -format, UDZO, -o, /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg] 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:540)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:664)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:538)
      at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:98)
      at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
      Caused by: java.io.IOException: Command [/usr/bin/hdiutil, convert, /var/folders/4s/8ml7gd411v36c4kr3mmnzyq40000mv/T/jdk.jpackage5218329050683493493/images/CommonLicenseTest-tmp.dmg, -verbose, -format, UDZO, -o, /scratch/mesos/slaves/0f76e7b4-d512-4e9f-a839-a1d961774dea-S23510/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b9e87e63-0a6a-42e7-bdbe-83b228ef682e/runs/6d1e5184-7ff5-4d8b-b7b3-b46fa1c04bc9/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/./testCommon/output/CommonLicenseTest-1.0.dmg] exited with 1 code
      at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:91)
      at jdk.jpackage/jdk.jpackage.internal.RetryExecutor.executeLoop(RetryExecutor.java:91)
      at jdk.jpackage/jdk.jpackage.internal.RetryExecutor.execute(RetryExecutor.java:76)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:475)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
      ... 5 more
      [01:15:06.014] TRACE: exec: Done. Exit code: 1
      [01:15:06.021] ERROR: Expected [0]. Actual [1]: Check command [/scratch/mesos/jib-master/install/jdk-17+5-218/macosx-x64.jdk/jdk-17.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
      [01:15:06.021] [ FAILED ] LicenseTest.testCommon; checks=24
      [01:15:06.023] [==========] 1 tests ran
      [01:15:06.023] [ PASSED ] 0 tests
      [01:15:06.025] [ FAILED ] 1 test, listed below
      [01:15:06.025] [ FAILED ] LicenseTest.testCommon; workDir=[./testCommon]
      [01:15:06.026] 1 FAILED TEST
      ----------System.err:(65/4797)----------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: