[jdk17] RFR: 8269036: tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"

Andy Herrick herrick at openjdk.java.net
Fri Jun 25 13:42:05 UTC 2021


On Tue, 22 Jun 2021 21:59:43 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> Looks like another "Resource busy" issue similar to recent fixes for "hdiutil convert" and "hdiutil detach". Workaround in same way by repeating "create" command. Modified RetryExecutor to pass write to file flag, otherwise "hdiutil create" might deadlock.
> Also, repeat is done only for creating DMG using size instead of creating from app image. In some cases create DMG from app image might run for very long time and eventually fail, this is why fallback to create DMG from size was added.

Marked as reviewed by herrick (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk17/pull/122


More information about the core-libs-dev mailing list