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.

Queueing of self-hosted runners is busted

See original GitHub issue

UPDATE: Updated title and description of issue based on further findings.

Summary:

“If a job runs but there are no runners available (either they are all busy with other jobs or all offline) then it no longer waits but rather aborts immediately. This doesn’t appear to be anything to do with the runners themselves but rather be whatever is responsible on GitHub’s severs to dispatch job requests to available runners.” - @Bo98

Details:

We have ephemeral self-hosted runners running in AWS. When a new workflow is triggered on a repo we have github webhooks calling an api that runs ephemeral runners in AWS ECS Fargate. We are using a custom label to choose which ephemeral runner to use. In order to do this we had to register a runner with that label and then leave the “offline” runner entry available in the action runner list for the repos. If we didn’t do this we would get an error saying that no runner with the label existed. This has worked just fine up until a few days ago. Now we have to have a runner with the “label” that is online or idle. Otherwise we get the following error:

An image label with the label menuintegrationdev does not exist.

The remote provider was unable to process the request.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
lokesh755commented, Jul 10, 2020

Fix was rolled out.

6reactions
lokesh755commented, Jul 9, 2020

We’ve identified the bug and currently rolling out the fix. Will update again once the fix is rolled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is the GitHub Actions self-hosted runner safe for Open Source?
GitHub warns against using self-hosted Actions runners for public repositories - but why? And are there alternatives?
Read more >
Waiting for a runner to pick up this job when runners are idle
I looked in the Event viewer on the server running the self hosted action runners and I found that the runners were stuck...
Read more >
Adding a Self-hosted Runner
Self-hosted runners support up to 1000 API calls an hour, jobs timeout after 72 hours, and jobs can queue for at most 24...
Read more >
Running GitHub Self-Hosted Runners on AKS Virtual Nodes ...
GitHub Self-Hosted Runners let you use your environments with GitHub Actions for automations of all sorts, like building and deploying ...
Read more >
GitLab Runner
GitLab Runner is an application that works with GitLab CI/CD to run jobs in a pipeline. Use GitLab.com SaaS runners. If you use...
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