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

GH actions: macos build failing intermitently #590

Closed
kinow opened this issue Feb 8, 2021 · 5 comments · Fixed by #713
Closed

GH actions: macos build failing intermitently #590

kinow opened this issue Feb 8, 2021 · 5 comments · Fixed by #713

Comments

@kinow
Copy link
Member

kinow commented Feb 8, 2021

Describe the bug

Most times it works, but I've gotten a few PR's where the macos build failed and the JS code didn't appear to be the reason.

/usr/local/bin/npx cypress verify

25l[19:53:56]  Verifying Cypress can run /Users/runner/.cache/Cypress/6.1.0/Cypress.app [started]
[19:54:26]  Verifying Cypress can run /Users/runner/.cache/Cypress/6.1.0/Cypress.app [failed]
25hCypress verification timed out.

This command failed with the following output:

/Users/runner/.cache/Cypress/6.1.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=747

----------

Command timed out after 30000 milliseconds: /Users/runner/.cache/Cypress/6.1.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=747
Timed out

----------

Platform: darwin (19.6.0)
Cypress Version: 6.1.0
25h::debug::The process '/usr/local/bin/npx' failed with exit code 1
Error: The process '/usr/local/bin/npx' failed with exit code 1

It happened today for #586 . I did as before, and clicked the "Rerun all jobs" button and the second time it worked 🤷‍♂️

Release version(s) and/or repository branch(es) affected?

master

Steps to reproduce the bug

Trigger a workflow a few times, wait to see if the macos build passes or not.

Expected behavior

Consistent behavior.

Screenshots

Additional context

Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read CONTRIBUTING.md before starting any work though).

@kinow kinow added the bug Something isn't working label Feb 8, 2021
@kinow kinow changed the title macos build failing intermitently in GH actions GH actions: macos build failing intermitently in GH actions Feb 8, 2021
@kinow kinow changed the title GH actions: macos build failing intermitently in GH actions GH actions: macos build failing intermitently Feb 8, 2021
@oliver-sanders
Copy link
Member

May be fixed by upgrading to Yarn2 - #593

@kinow
Copy link
Member Author

kinow commented Feb 17, 2021

@oliver-sanders what if we added experimental: true to matrix branch for macos?

image

I think that would prevent the build from being marked as failure when the macos job failed? https://ncorti.com/blog/howto-github-actions-build-matrix#shadow-ci-jobs WDYT?

@oliver-sanders
Copy link
Member

I guess could just comment it out of the test matrix for now since it's failing so reliably.

kinow added a commit to kinow/cylc-ui that referenced this issue Feb 22, 2021
@kinow kinow mentioned this issue Feb 22, 2021
6 tasks
@kinow kinow mentioned this issue Aug 2, 2021
6 tasks
@kinow kinow self-assigned this Aug 2, 2021
@kinow kinow added this to the 0.6.0 milestone Aug 2, 2021
@kinow kinow reopened this Aug 3, 2021
@kinow
Copy link
Member Author

kinow commented Aug 3, 2021

Unfortunately the build is failing again today 😞 I've committed to master disabling it again, re-opening this ticket too.

@kinow kinow modified the milestones: 0.6.0, 1.0 Aug 8, 2021
@kinow kinow modified the milestones: 1.0, 2.0 Sep 10, 2021
@kinow kinow removed their assignment Oct 6, 2021
@oliver-sanders oliver-sanders modified the milestones: 2.0.0, Pending Jun 8, 2022
@MetRonnie MetRonnie self-assigned this Oct 25, 2023
@MetRonnie
Copy link
Member

Addressed by #1649 / superseded by #1528

@MetRonnie MetRonnie closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
@MetRonnie MetRonnie removed their assignment Feb 1, 2024
@MetRonnie MetRonnie removed the bug Something isn't working label Feb 1, 2024
@MetRonnie MetRonnie removed this from the Pending milestone Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants