[jdk17] Integrated: 8269036: tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"
Alexander Matveev
almatvee at openjdk.java.net
Fri Jun 25 21:31:02 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.
This pull request has now been integrated.
Changeset: fb0a95fe
Author: Alexander Matveev <almatvee at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/fb0a95fed46a04475697204de576c57f98d5b55a
Stats: 16 lines in 2 files changed: 13 ins; 0 del; 3 mod
8269036: tools/jpackage/share/AppImagePackageTest.java failed with "hdiutil: create failed - Resource busy"
Reviewed-by: asemenyuk, herrick
-------------
PR: https://git.openjdk.java.net/jdk17/pull/122
More information about the core-libs-dev
mailing list