Bug: Perma OS X run bustage - mozinstall.mozinstall.InstallError: App bundle "/opt/worker/tasks/task_169661053297161/fetches/Firefox Nightly.app" already exists.  when Gecko 120 merges to Beta on 2023-10-23
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-10-08 11:49:48+00:00
Resolved: 2023-10-17 18:38:29+00:00

[Tracking Requested - why for this release]:

* [Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=844cca8375e2b932735d700fb5413d5991e24544&selectedTaskRun=bJtWh18jTBaojklbbrM26Q.0&searchStr=OS%2CX%2C10.15%2CShippable%2Copt%2CProfile-guided%2Coptimization%2Cbuilds%2Cgenerate-profile-macosx64-shippable%2Fopt%2Crun)
* [How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)
* [Failure log](https://treeherder.mozilla.org/logviewer?job_id=431740210&repo=try&lineNumber=208)

```
[task 2023-10-08T11:28:50.803Z] ./mach python python/mozbuild/mozbuild/action/install.py $MOZ_FETCHES_DIR/target.dmg $MOZ_FETCHES_DIR
[task 2023-10-08T11:28:50.803Z] + ./mach python python/mozbuild/mozbuild/action/install.py /opt/worker/tasks/task_169661053297161/fetches/target.dmg /opt/worker/tasks/task_169661053297161/fetches
[task 2023-10-08T11:29:09.407Z] Traceback (most recent call last):
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py", line 132, in install
[task 2023-10-08T11:29:09.407Z]     install_dir = _install_dmg(src, dest)
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py", line 328, in _install_dmg
[task 2023-10-08T11:29:09.407Z]     raise InstallError('App bundle "%s" already exists.' % dest)
[task 2023-10-08T11:29:09.407Z] mozinstall.mozinstall.InstallError: App bundle "/opt/worker/tasks/task_169661053297161/fetches/Firefox Nightly.app" already exists.
[task 2023-10-08T11:29:09.407Z] 
[task 2023-10-08T11:29:09.407Z] During handling of the above exception, another exception occurred:
[task 2023-10-08T11:29:09.407Z] 
[task 2023-10-08T11:29:09.407Z] Traceback (most recent call last):
[task 2023-10-08T11:29:09.407Z]   File "python/mozbuild/mozbuild/action/install.py", line 22, in <module>
[task 2023-10-08T11:29:09.407Z]     sys.exit(main(sys.argv[1:]))
[task 2023-10-08T11:29:09.407Z]   File "python/mozbuild/mozbuild/action/install.py", line 18, in main
[task 2023-10-08T11:29:09.407Z]     mozinstall.install(src, dest)
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py", line 157, in install
[task 2023-10-08T11:29:09.407Z]     reraise(InstallError, error, trbk)
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/third_party/python/six/six.py", line 695, in reraise
[task 2023-10-08T11:29:09.407Z]     raise value.with_traceback(tb)
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py", line 132, in install
[task 2023-10-08T11:29:09.407Z]     install_dir = _install_dmg(src, dest)
[task 2023-10-08T11:29:09.407Z]   File "/opt/worker/tasks/task_169661053297161/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py", line 328, in _install_dmg
[task 2023-10-08T11:29:09.407Z]     raise InstallError('App bundle "%s" already exists.' % dest)
[task 2023-10-08T11:29:09.407Z] mozinstall.mozinstall.InstallError: Failed to install "/opt/worker/tasks/task_169661053297161/fetches/target.dmg (App bundle "/opt/worker/tasks/task_169661053297161/fetches/Firefox Nightly.app" already exists.)"
[taskcluster 2023-10-08T11:29:09.474Z]    Exit Code: 1
[taskcluster 2023-10-08T11:29:09.474Z]    User Time: 1m7.970333s
[taskcluster 2023-10-08T11:29:09.474Z]  Kernel Time: 1m19.382119s
[taskcluster 2023-10-08T11:29:09.474Z]    Wall Time: 1m32.488378s
[taskcluster 2023-10-08T11:29:09.474Z]       Result: FAILED
[taskcluster 2023-10-08T11:29:09.474Z] === Task Finished ===
[taskcluster 2023-10-08T11:29:09.474Z] Task Duration: 1m32.492314s
[taskcluster 2023-10-08T11:29:09.580Z] Uploading artifact public/build/profdata.tar.xz from file /opt/worker/tasks/task_169661053297161/artifacts/profdata.tar.xz with content encoding "identity", mime type "application/x-xz" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:10.190Z] Uploading artifact public/build/profile-run-1.log from file /opt/worker/tasks/task_169661053297161/artifacts/profile-run-1.log with content encoding "gzip", mime type "text/plain" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:10.458Z] Uploading artifact public/build/profile-run-2.log from file /opt/worker/tasks/task_169661053297161/artifacts/profile-run-2.log with content encoding "gzip", mime type "text/plain" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:10.747Z] Uploading artifact public/logs/certified.log from file /opt/worker/tasks/task_169661053297161/generic-worker/certified.log with content encoding "gzip", mime type "text/plain; charset=utf-8" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:11.109Z] Uploading artifact public/chain-of-trust.json from file /opt/worker/tasks/task_169661053297161/generic-worker/chain-of-trust.json with content encoding "gzip", mime type "text/plain; charset=utf-8" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:11.387Z] Uploading artifact public/chain-of-trust.json.sig from file /opt/worker/tasks/task_169661053297161/generic-worker/chain-of-trust.json.sig with content encoding "gzip", mime type "application/octet-stream" and expiry 2023-11-05T10:53:41.209Z
[taskcluster 2023-10-08T11:29:11.667Z] [mounts] Preserving cache: Moving "/opt/worker/tasks/task_169661053297161/checkouts" to "/opt/worker/cache/PurK2Rd0SW6Ezr14csRiNQ"
[taskcluster 2023-10-08T11:29:11.668Z] [mounts] Denying task_169661053297161 access to '/opt/worker/cache/PurK2Rd0SW6Ezr14csRiNQ'
[taskcluster 2023-10-08T11:29:11.720Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2023-11-05T10:53:41.209Z
[taskcluster:error] exit status 1
```