You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Self-hosted runner does not pick up the next job in concurrency group.
To Reproduce
Steps to reproduce the behavior:
Add one self-hosted runner to repo
Add workflow to repo:
name: Concurrency test
concurrency:
group: 'test'
on:
workflow_dispatch:
jobs:
status_check:
runs-on: ['self-hosted']
steps:
- name: Sleep some
run: sleep 60
Trigger two jobs as fast as possible
Expected behavior
Both jobs are ran one after another.
Runner Version and Platform
2.320.0.
Ubuntu 22.04 Host.
What's not working?
First job runs ok, but second is not ran.
Job Log Output
Requested labels: self-hosted
Job defined at: xxx
Waiting for a runner to pick up this job...
Runner and Worker's Diagnostic Logs
Runner log:
024-12-05 11:34:58Z INFO HostContext] Well known directory 'Bin': '/actions-runner/bin'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Starting process:
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] File name: '/actions-runner/bin/Runner.Worker'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Arguments: 'spawnclient 107 112'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Working directory: '/actions-runner/bin'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Require exit code zero: 'False'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Encoding web name: ; code page: ''
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Force kill process on cancellation: 'True'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Redirected STDIN: 'False'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Persist current code page: 'False'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Keep redirected STDIN open: 'False'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] High priority process: 'True'
[2024-12-05 11:34:58Z INFO ProcessInvokerWrapper] Process started with process id 320, waiting for process exit.
[2024-12-05 11:34:58Z INFO JobDispatcher] Send job request message to worker for job 2f62c294-a6f4-5256-0c19-e95207e7538d.
[2024-12-05 11:34:58Z INFO ProcessChannel] Sending message of length 23043, with hash '146d8a10f069098b8edb8d868c8cdde13c56d34358238390887c61c3c75f5f1c'
[2024-12-05 11:34:58Z INFO JobNotification] Entering JobStarted Notification
[2024-12-05 11:34:58Z INFO JobNotification] Entering StartMonitor
[2024-12-05 11:34:58Z INFO MessageListener] BrokerMigration message received. Polling Broker for messages...
[2024-12-05 11:35:49Z INFO MessageListener] BrokerMigration message received. Polling Broker for messages...
[2024-12-05 11:35:58Z INFO JobDispatcher] Successfully renew job request 662, job is valid till 12/5/2024 11:46:05 AM
[2024-12-05 11:36:04Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.
[2024-12-05 11:36:04Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.
[2024-12-05 11:36:04Z INFO ProcessInvokerWrapper] Finished process 320 with exit code 100, and elapsed time 00:01:05.8564459.
[2024-12-05 11:36:04Z INFO JobDispatcher] Worker finished for job 2f62c294-a6f4-5256-0c19-e95207e7538d. Code: 100
[2024-12-05 11:36:04Z INFO JobDispatcher] finish job request for job 2f62c294-a6f4-5256-0c19-e95207e7538d with result: Succeeded
[2024-12-05 11:36:04Z INFO Terminal] WRITE LINE: 2024-12-05 11:36:04Z: Job status_check completed with result: Succeeded
[2024-12-05 11:36:04Z INFO JobDispatcher] Stop renew job request for job 2f62c294-a6f4-5256-0c19-e95207e7538d.
[2024-12-05 11:36:04Z INFO JobDispatcher] job renew has been cancelled, stop renew job request 662.
[2024-12-05 11:36:04Z INFO JobNotification] Entering JobCompleted Notification
[2024-12-05 11:36:04Z INFO JobNotification] Entering EndMonitor
[2024-12-05 11:36:04Z INFO MessageListener] Received job status event. JobState: Online
[2024-12-05 11:36:39Z INFO MessageListener] BrokerMigration message received. Polling Broker for messages...
[2024-12-05 11:37:29Z INFO MessageListener] BrokerMigration message received. Polling Broker for messages...
First job worker log, there is no log for second:
[2024-12-05 11:36:03Z INFO JobServerQueue] Actions upload time: 1244 ms, Result upload time: 2455 ms
[2024-12-05 11:36:03Z INFO TempDirectoryManager] Cleaning runner temp folder: /var/cache/runner/_temp
[2024-12-05 11:36:03Z INFO HostContext] Well known directory 'Bin': '/actions-runner/bin'
[2024-12-05 11:36:03Z INFO HostContext] Well known directory 'Root': '/actions-runner'
[2024-12-05 11:36:03Z INFO HostContext] Well known directory 'Diag': '/actions-runner/_diag'
[2024-12-05 11:36:03Z INFO HostContext] Well known config file 'Telemetry': '/actions-runner/_diag/.telemetry'
[2024-12-05 11:36:03Z INFO JobRunner] Raising job completed event
[2024-12-05 11:36:03Z INFO Worker] Job completed.
The text was updated successfully, but these errors were encountered:
Describe the bug
Self-hosted runner does not pick up the next job in concurrency group.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both jobs are ran one after another.
Runner Version and Platform
2.320.0.
Ubuntu 22.04 Host.
What's not working?
First job runs ok, but second is not ran.
Job Log Output
Runner and Worker's Diagnostic Logs
Runner log:
First job worker log, there is no log for second:
The text was updated successfully, but these errors were encountered: