Integrated: 8373105: Test tools/jpackage/share/AsyncTest.java failed: problem running hdiutil
Alexander Matveev
almatvee at openjdk.org
Fri Dec 19 23:22:08 UTC 2025
On Thu, 18 Dec 2025 23:05:35 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> - I was not able to reproduce this issue.
> - Based on log we calling same detach command simultaneously:
>
> [08:49:10.288] TRACE: exec: Execute [/usr/bin/hdiutil detach -force -verbose /Volumes/Foo](5); discard out+err...
> [08:49:10.274] TRACE: exec: Execute [/usr/bin/hdiutil detach -force -verbose /Volumes/Foo](5); discard out+err...
>
> - I think `hdiutil` does not handle attaching/detaching DMG with same name asynchronously multiple times well enough.
> - Fixed by mounting DMG into random location.
> - Added `-nobrowse`, so DMG will not be added to Finder. We do not need DMG to be shown in Finder when attached during test.
This pull request has now been integrated.
Changeset: 2d092840
Author: Alexander Matveev <almatvee at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2d0928406027a848cf2d2d0574024970b8fb535c
Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod
8373105: Test tools/jpackage/share/AsyncTest.java failed: problem running hdiutil
Reviewed-by: asemenyuk
-------------
PR: https://git.openjdk.org/jdk/pull/28912
More information about the core-libs-dev
mailing list