Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds on macOS 13 are randomly failing on all channels #69

Closed
othyn opened this issue Jul 1, 2023 · 4 comments
Closed

Builds on macOS 13 are randomly failing on all channels #69

othyn opened this issue Jul 1, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@othyn
Copy link
Owner

othyn commented Jul 1, 2023

Description

I've been trying to debug this all day and I'm getting no where it seems.

I'm randomly getting the following error on a macOS 13 GitHub Actions runner and locally on macOS 13.4, running v6.0.0 (which at first I thought had fixed it until another run later on revealed it hadn't):

Building the DMG failed. Error: Command failed: hdiutil detach /Volumes/AutoClicker

I'm not getting any more information out of it than that.

https://github.com/othyn/macos-auto-clicker/actions/workflows/cicd.yml

The really weird thing is there is no consistency or pattern that I can see as to whether it does it or not, it seems to be truly random from my current understanding, which is kind of evident from the mixture of succeeding and failing builds.

I've about ran out of steam on this today and I'll resume debugging with a fresh head tomorrow.

This wasn't an issue on macOS 12 using version 5.3.0, only after upgrading today to macOS 13 and v6.0.0 am I starting to have issues.

Also posted a bug report here: sindresorhus/create-dmg#83

Version

= v1.6.2

Steps to Reproduce

Unknown at this time, appears to be random

Screenshots

No response

Device

Any Mac

Operating System

macOS 13.x

Additional Context

No response

@othyn othyn added the bug Something isn't working label Jul 1, 2023
@othyn othyn self-assigned this Jul 1, 2023
@othyn othyn changed the title Builds on macOS 13 are randomly failing to build Builds on macOS 13 are randomly failing on all channels Jul 1, 2023
@othyn
Copy link
Owner Author

othyn commented Jul 3, 2023

I just don't understand. I had one successful build of both staging and main, then all successive builds since are failing again with the same error.

Succeeded: https://github.com/othyn/macos-auto-clicker/actions/runs/5432982099/jobs/9880382387

Errored: https://github.com/othyn/macos-auto-clicker/actions/runs/5433076720/jobs/9880546146

What. The. Fuck?

Could it be the caches? But that doesn't make sense as the two are running from the same cache, the later run using the cache that the first run created.

The environments are identical, versions and all.

I've even diff'd the instance logs and they are the same, except for the few commit message and version number changes for the app, oh and timestamps on the log lines to obviously.

This is one of those impossible to debug problems as well, as it seems no one else in the world has had this problem.

@othyn
Copy link
Owner Author

othyn commented Jul 3, 2023

In typical fashion, the one time I want it to fail and it succeeds:

https://github.com/othyn/macos-auto-clicker/actions/runs/5439743287/jobs/9891992415

Ffs... oh well the next build will more than likely fail, maybe I should swap to using this:

https://github.com/advoryanskiy/fastlane-plugin-dmg

othyn added a commit that referenced this issue Jul 14, 2023
…failed - Function not implemented' is mostly met online with 'we have no idea what the fuck that means'. Why is this build chain so damn fickle?! All this to attempt to close #69, in which the issues popped up out of nowhere anyway
@othyn
Copy link
Owner Author

othyn commented Jul 14, 2023

@othyn
Copy link
Owner Author

othyn commented Jul 14, 2023

DMG's were hopeless, think its a bug with the runner. Just using zip's for now, does the same thing just not as nice/user friendly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant