Automatic upgrades fail to re-connect with GitHub on Mac
See original GitHub issueIssue
We have multiple organization-level self-hosted Mac runners that all experience the same issue every few weeks. After an auto-upgrade, the new runner restarts successfully but appears as offline
from the https://github.com/organizations/NAME/settings/actions page and no workflows can be processed until the new runner is restarted via ./svc.sh stop && ./svc.sh start
.
This happened today with the upgrade from v2.276.0->v2.276.1, and previously on 12/18. Unsure which version the 12/18 upgrade was from (the logs are gone).
To Reproduce
Steps to reproduce the behavior:
- Download an older runner
- Wait for the auto upgrade
- Note that the upgrade succeeds and the runner restarts (as evidenced by the
./svc.sh status
output), but the organization Actions settings page shows the runner as offline and does not accept any new jobs
Expected behavior
Once the upgrade complete and the runner restarts, it should be connected back to GitHub to prevent any downtime.
Runner Version and Platform
- v2.276.1 (upgraded from 2.276.0) (all hosts are macOS Catalina 10.15.6, and all hosts experience this)
What’s not working?
Self-hosted runner does not reconnect to GitHub after upgrade.
Runner and Worker’s Diagnostic Logs
Runner (before and after) and SelfUpdate logs attached Update Logs.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (10 by maintainers)
Top GitHub Comments
@TingluoHuang It is the same error as described in https://github.com/actions/runner/issues/743 . There’s a related PR waiting for review or any improvements: https://github.com/actions/runner/pull/746
Added PR to trace process error.