question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workflow run is stuck for over 2 hours on GitHub-hosted macOS runners (macOS 10.15, 11 and 12)

See original GitHub issue

Describe 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...

Screenshot from 2022-08-17 22-38-13

Job Log Output

There is no log yet.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pombredannecommented, Aug 17, 2022

@TingluoHuang re:

It’s bad that you can’t self-server this kind of problem. bow

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 😈

1reaction
TingluoHuangcommented, Aug 17, 2022

@pombredanne I am able to check it via internal telemetry. It’s bad that you can’t self-server this kind of problem. 🙇

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found