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

Alexey Semenyuk asemenyuk at openjdk.java.net
Wed Jun 23 00:53:31 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 asemenyuk (Reviewer).

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

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


More information about the core-libs-dev mailing list