runner
runner copied to clipboard
Old version of GitHub Runners was deprecated as soon as a new version is released
Describe the bug
we are getting runner problems this morning indicating version v2.317.0
is deprecated, but the latest version v2.318.0
was only released today.
[RUNNER 2024-07-26 17:07:23Z ERR Terminal] WRITE ERROR: An error occured: Error: Forbidden Runner version v2.317.0 is deprecated and cannot receive messages.
An error occured: Error: Forbidden Runner version v2.317.0 is deprecated and cannot receive messages.
the doc indicated we should have 30 days to update before GHA stop queue jobs for the runners.
To Reproduce Steps to reproduce the behaviour:
- Run workflows with runner version
2.317.0
- notices the runner are terminated immediately with the above error
Expected behaviour Old versions of runners should still be able to queue jobs until the 30 days mark to prevent breaking change
Runner Version and Platform
Version of your runner? v2.317.0
OS of the machine running the runner? OSX/Windows/Linux/... Linux amd64
What's not working?
Please include error messages and screenshots. runner version is deprecated and cannot receive messages
Job Log Output
[RUNNER 2024-07-26 17:07:23Z ERR Terminal] WRITE ERROR: An error occured: Error: Forbidden Runner version v2.317.0 is deprecated and cannot receive messages.
An error occured: Error: Forbidden Runner version v2.317.0 is deprecated and cannot receive messages.
[RUNNER 2024-07-26 17:07:23Z ERR Listener] GitHub.DistributedTask.WebApi.AccessDeniedException: Error: Forbidden Runner version v2.317.0 is deprecated and cannot receive messages.
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Actions.RunService.WebApi.BrokerHttpClient.GetRunnerMessageAsync(Nullable`1 sessionId, String runnerVersion, Nullable`1 status, String os, String architecture, Nullable`1 disableUpdate, CancellationToken cancellationToken)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Common.BrokerServer.<>c__DisplayClass7_0.<<GetRunnerMessageAsync>b__0>d.MoveNext()
[RUNNER 2024-07-26 17:07:23Z ERR Listener] --- End of stack trace from previous location ---
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Common.RunnerService.RetryRequest[T](Func`1 func, CancellationToken cancellationToken, Int32 maxRetryAttemptsCount, Func`2 shouldRetry)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.MessageListener.GetNextMessageAsync(CancellationToken token)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.Runner.RunAsync(RunnerSettings settings, Boolean runOnce)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.Runner.RunAsync(RunnerSettings settings, Boolean runOnce)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.Runner.RunAsync(RunnerSettings settings, Boolean runOnce)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.Runner.ExecuteCommand(CommandSettings command)
[RUNNER 2024-07-26 17:07:23Z ERR Listener] at GitHub.Runner.Listener.Program.MainAsync(IHostContext context, String[] args)
Runner listener exit with terminated error, stop the service, no retry needed.
Exiting runner...