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

/runner/bin/Runner.Listener is not self updating. #137

Open
4 tasks
kmdkuk opened this issue Mar 18, 2022 · 2 comments
Open
4 tasks

/runner/bin/Runner.Listener is not self updating. #137

kmdkuk opened this issue Mar 18, 2022 · 2 comments

Comments

@kmdkuk
Copy link
Contributor

kmdkuk commented Mar 18, 2022

What

The /runner/bin/Runner.Listener, which is originally expected to be self-updating, is not self-updating.

Version information at the time of notice.

In meows: 2.283.2
Latest: 2.288.1

Until this issue is resolved, the runner version must be updated manually.

meows/Dockerfile

Lines 18 to 19 in f25df3f

# Even if the version of the runner is out of date, it will self-update at job execution time. So there is no problem to update it when you notice.
ARG RUNNER_VERSION=2.283.2

How

Describe how to address the issue.

Checklist

  • Finish implementation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
@kmdkuk
Copy link
Contributor Author

kmdkuk commented Apr 13, 2022

It may be that the automatic update is no longer performed when the version difference is large.
The following is the log when Runner version 2.288.1 is used

❯ kubectl logs repo-runnerpool1-588b7894cc-rwz9c -f | grep --line-buffered -v "/status"

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------

# Authentication


√ Connected to GitHub

# Runner Registration




√ Runner successfully added
√ Runner connection is good

# Runner settings


√ Settings Saved.


√ Connected to GitHub

Current runner version: '2.288.1'
2022-04-13 01:48:32Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.289.2 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should be back online within 10 seconds.
Runner update process finished.
{"level":"info","ts":1649814583.3112364,"logger":"runner","msg":"Runner listener exited with error","pod":"repo-runnerpool1-588b7894cc-rwz9c","code":4}
{"level":"info","ts":1649814583.3114252,"logger":"runner","msg":"Runner listener exit with undefined return code, re-launch runner in 10 seconds.","pod":"repo-runnerpool1-588b7894cc-rwz9c"}

√ Connected to GitHub

Current runner version: '2.289.2'
2022-04-13 01:49:57Z: Listening for Jobs
~~~

@kmdkuk
Copy link
Contributor Author

kmdkuk commented Jul 14, 2022

Increasing the version resolved this problem, but
However, the self-update sometimes fails due to poor communication with GitHub.
To solve this problem, it is necessary to release a version with a higher RunnerVersion in as short a span of time as possible.

So, we want to monitor the latest version of actions/runner with GitHub actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant