Workflow run is stuck for over 2 hours on GitHub-hosted macOS runners (macOS 10.15, 11 and 12)
See original GitHub issueDescribe the bug I have a workflow that gets stuck on a regular basis waiting for macOS VMs. See for instance https://github.com/pombredanne/scancode-toolkit/actions/runs/2877397119 where the workflow has been stuck for over 2 hours waiting for macOS runners. This has been happening to me a couple times over the last week.
To Reproduce See https://github.com/pombredanne/scancode-toolkit/actions/runs/2877397119 I cannot find any pattern
Expected behavior The macOS VMs should become available without waiting hours.
Runner Version and Platform
That’s the MSFT/GitHub hosted runner
OS of the machine running the runner? OSX/Windows/Linux/… macOS
What’s not working?
The log of each stuck job has something like this:
Test POSIX PyPI wheels (macos-12, 3.9)
Started 2h 22m 15s ago
The agent pool assigned to this job has hit their MacOs concurrency limits
Requested labels: macos-12
Job defined at: pombredanne/scancode-toolkit/.github/workflows/scancode-release.yml@refs/tags/v31.0.0rc51
Waiting for a runner to pick up this job...
Job Log Output
There is no log yet.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Workflow run is stuck on GitHub-hosted macOS runner #725
I saw this yesterday as well. Between 10pm and 12pm EST the job hung for a while until finally failing with "GitHub Actions...
Read more >GitHub Actions step is hanging until timeout · Issue #1326
Describe the bug At some point, a GitHub Actions step stops producing output and hangs until the workflow is terminated by timeout.
Read more >GitHub Action step is hanging until timeout · Issue #6704
Update the current GitHub Actions configuration to use ubuntu-latest and run the action. Process will reach last stage and hang for 6 hours...
Read more >[Locked] macOS runner can't handle yes | #2352
I've been porting our CI to Actions and discovered that this construction fails on macos-latest . It's really bizarre. something will run to...
Read more >Add macOS 13 runner image · Issue #6426
@ddobranic this issue is for an macOS 13 image with Xcode 14.1 RC on it - not for the current macOS 12 image....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TingluoHuang re:
Yep this would be awesome if I could… alternatively or in addition disabling Actions on forks and make them opt-in would make the issue much simpler.
Or … just give me access to your telemetry 😈
@pombredanne I am able to check it via internal telemetry. It’s bad that you can’t self-server this kind of problem. 🙇