electron-builder
electron-builder copied to clipboard
hdiutil failures block building macOS versions
- Electron-Builder Version: 23.3.3
- Node Version: 16.11.59
- Electron Version: 19.0.16
- Electron Type (current, beta, nightly): current
- Target: macOS 11
Similar to https://github.com/electron-userland/electron-builder/issues/4606
While running on github actions we very often run into the following error:
Exit code: 16. Command failed: hdiutil detach -force /dev/disk2
hdiutil: couldn't eject "disk2" - Resource busy
hdiutil: couldn't eject "disk2" - Resource busy
failedTask=build stackTrace=Error: Exit code: 16. Command failed: hdiutil detach -force /dev/disk2
hdiutil: couldn't eject "disk2" - Resource busy
If I rerun it then it generally passes but that wastes times.
I don't think we have a way for determining if the resource is still busy, we simply can't move forward with the rest of the build process. We already retry ejecting the dmg 3 times.