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

Self-Hosted Runner does not pick up queued jobs #3478

Open
JasperRaccoon opened this issue Sep 30, 2024 · 5 comments
Open

Self-Hosted Runner does not pick up queued jobs #3478

JasperRaccoon opened this issue Sep 30, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@JasperRaccoon
Copy link

Describe the bug
I have a workflow with various jobs that have to be ran one by one by the runner. But the runner only picks up the first one or two jobs and doesn't pick up the rest of the jobs in the queue. It enters into an idle state when there are multiple jobs in the queue, the only way for the runner to pick them up and finish the workflow is if I manually cancel and re-run the failed jobs.

This was not happening a couple days ago, it just randomly started without any significant modification to the workflow or runner.

Expected behavior
The self-hosted runner should finish all the jobs in the queue.

Runner Version and Platform

Version of your runner?
2.319.1

OS of the machine running the runner? OSX/Windows/Linux/...
Linux Ubuntu 24.04.1 LTS

@JasperRaccoon JasperRaccoon added the bug Something isn't working label Sep 30, 2024
@SyedShayaan
Copy link

I am having the same issue, self hosted runner is not picking up queued tasks:
version:2.319.1
Linux
Arm64
It shows up as idle on GitHub org level runners page, tried to recreate the runner multiple times, still getting issue.

@hikouki-gumo
Copy link

Have you tried restart listener ? Is it work?
I do seems have the same issue. Actions did not pick up the job, but after restart listener, Actions picked up the jobs.

It's not long term solution but have no idea how to solve this issue yet. Seems Actions has this issue from several previous version until latest version.

@SyedShayaan
Copy link

@hikouki-gumo
Restarting the GitHub action runner did not solve the problem for me. My GitHub action runner was made at an organization level, but what worked was creating a repo level GitHub action runner. This repo level runner was able to pick up jobs. Not sure why the org level runner broke.

To create repo level GitHub action runner:
MyRepo -> Settings
-> Actions
->Runners
[click New self-hosted runner]

@vishwaspai
Copy link

I found one resolution for my issue.
By default the self-hosted runner was being created at ORG level. I had to delete the same and create one using repo settings.

Screenshot from 2024-11-07 19-04-21

@kangroklee
Copy link

Thank you!! After hours of troubleshooting, removing the runner from ORG settings and adding it from REPO settings worked charms. Huge appreciation.

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
None yet
Development

No branches or pull requests

5 participants