On Tue, 22 Jun 2021 21:59:43 GMT, Alexander Matveev <almat...@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 <almat...@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

Reply via email to