actions / actions/runner

"Runner listener exit with retryable error" breaks ephemeral behaviour

Open
#2,286 0 comments 0 reactions 1 assignee View on GitHub

@nikola-jokic is already working on this.

Since Feb 1, 2023.

bug keep
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug

We are running ephemeral runners and sometimes experiencing the following behaviour:

  • Runner successfully connects and start listening for jobs indicated by Listening for Jobs log message.
  • After around two minutes of listening Runner listener exit with retryable error, re-launch runner in 5 seconds. printed out
  • Worker restarts but is getting Failed to create a session. The runner registration has been deleted from the server, please re-configure.

It seems runner re-register itself before restarting but is not renewing registration.

To Reproduce

I guess you need constantly run it.

Expected behavior

Runners reconnects without unregistering.

Runner Version and Platform

Arm64 on Apple Silicon

What's not working?

see above

Job Log Output

not relevant

Runner and Worker's Diagnostic Logs

We are not collecting these logs from the ephemeral VMs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.