Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/weekly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,10 @@ preflight() {
say "preflight: no actions.runner.* units on this host: systemd has nothing to inspect"
else
printf '%s\n' "$health_out" | sed 's/^/preflight: /'
echo "preflight: a runner unit is not accepting jobs (scripts/ci-runner-health.sh): $health_rc"
# Two kinds of FAIL reach here (engine#1504): a unit that is down NOW, and since #2082 a unit that is up
# but whose restart policy would leave it down after the next OOM kill. The FAIL lines above say which;
# this line must not claim "not accepting jobs" for the second, where every runner is active/running.
echo "preflight: a runner unit is down, or its restart policy would leave it down after the next OOM kill (scripts/ci-runner-health.sh exit $health_rc; the FAIL lines above say which, and scripts/install-ci-runner.sh fixes a policy line)"
bad=1
fi
fi
Expand Down
Loading