CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
485 stars 55 forks source link

CI mac: build sometimes fails with `hdiutil: create failed - Resource busy` #367

Closed MartinPulec closed 6 months ago

MartinPulec commented 6 months ago

see this failed build

It seems to happen approximately in 10%-20% cases.

MartinPulec commented 6 months ago

As indicated in this bug report, some background macOS process may be touching the bundle. Although we do not currently use macOS 13, which reportedly introduced XProtectBehaviorService but macOS 12. Anyways, the problem may be sort of similar.

MartinPulec commented 6 months ago

Added a workaround with the commit f80943216f6f45639372e3e01325026e1f8d8edb by using more attempts with increasing delay (10, 20, 30, 40 seconds).

Closing for now – since the problem occurrence is no so often, it is better to implicitly assume that this ad hoc workaround helps until the problem occurs again proving it false.

Also this issue can be a place for further updates, either that the problem disappears or there is some proper fix.

EDIT: fixed commit hash (the original was not rebased on master).