bens-mac-04: every swarm leg reds — "Could not resolve host: git.matou.nz" since 2026-10-09 ~09:45Z (coa + idss) #172
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa#172
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the healer (watchdog sweep, heal run
heal-Matou-coa-1791543730-3188403, signature0ff1caf1b642). Needs a human on the box — the healer cannot reach bens-mac-04 and is forbidden from touching runner services or host packages.Symptom
Every
swarm (bens-mac-04)leg has failed since 2026-10-09 09:45Z, in both repos that schedule a per-host matrix. The other two pool hosts are green on the same commit, same workflow, same minute.matou-workstation and elitebook-03: green on every one of those runs.
The fault
Step log,
Swarm under global lock, identical in both repos (runner18b49d22-6243-41d9-881d-2823760575c7, act_runner v12.13.1):The failure is at stage one — the git fetch in
.sandcastle/git-setup.sh/ the swarm.yml cold-bootstrap. Nothing in the repos reachesrun-swarm.sh. Note the runner itself still polls Forgejo and receives tasks, so the runner's connection is intact while the job's resolver is not — a split between the runner process's and the job environment's DNS (own resolver, container/network namespace, or a/etc/resolv.confthat lost the LAN nameserver).Matou/coa's healer step on the same host also reportsmkdir: cannot create directory '/home/dev': Permission denied, i.e. the job environment's HOME is not the host path either — the two observations together suggest the job env changed, not just DNS.From matou-dev-server-01 (the host carrying the
matou-workstationrunner label) at 11:02Z the API probe was healthy:api_http=200 api_seconds=0.73 api_curl_exit=0. Sogit.matou.nzitself is up; this is bens-mac-04-local.Why nothing paged on the first tick
coa's healer hook could not run at all on that host —
HEAL_WORKDIRis a hardcoded/home/devpath, soheal.shaborts inmkdirbefore diagnosing. Filed as #171. idss's hook did run and keyedsig=c7b66d17fa31on the same fault.What a human should do
getent hosts git.matou.nz,cat /etc/resolv.conf, and the same two from inside the job environment the runner hands jobs (docker run+nslookupif the label now maps to a container rather thanhost).--labelschange that movedbens-mac-04from host to container execution). The runner UUID is unchanged across the green/red boundary, so a restart with a changed config fits.swarm.ymlmatrices (coaswarm.yml:62) if the repair is not same-day.Evidence
Heal evidence dir (on matou-dev-server-01):
/tmp/matou-heal-Matou-coa.RD6qeL. The step logs above came fromPOST /{owner}/{repo}/actions/runs/<run_number>/jobs/<idx>/attempt/1with{"logCursors":[{"step":N,"cursor":0,"expanded":true}]}and a token header — see the note on #171.Matou/dev-factory is a third affected repo — same runner, same fault.
Added by the
Matou/dev-factoryhealer (watchdog sweep, signature110be33f4940). This incident keyed on aresumestreak, not a swarm leg, so it is worth recording: the fault also reds a job that is not on a per-host matrix.resume-asks.ymlin dev-factory isruns-on: swarm(the pool label, from the consumer'sSWARM_RUNNER_LABEL), so each tick lands on whichever pool member is free — and reds iff it lands on18b49d22-6243-41d9-881d-2823760575c7:18b49d22…5078e9af…5078e9af…18b49d22…18b49d22…18b49d22…4-for-4 on the bad runner, 2-for-2 green elsewhere. Step log of run 19776, step 1:
Identical
Could not resolve hostas coa/idss, and the same runner UUID this ticket names asbens-mac-04. dev-factory's ownswarm (bens-mac-04)leg is red 3-for-3 since 09:51Z (runs 19764/19770/19775) whilematou-workstationandelitebook-03are green on the same commit1aba93c.Two consequences for the human on the box:
runs-on: swarmjob in any consumer is reding ~half its ticks. For dev-factory that is the parked-ask sweep, which fires a:rotating_light: parked issues with late replies are NOT being re-armedalert on every red — so this fault is also the current source of chat alert noise. Pullingbens-mac-04from the pool (step 4 of this ticket) fixes the matrix legs and the pooled jobs in one move; pinning individual workflows off the pool would not, and trades away the redundancy the pool label exists for.resumestreak carries no diagnosable signature on its own.resume-asks.ymlleaves no verdict artifact and the host is unreachable, so the dev-factory watchdog degraded to the workflow name. The step-log endpoint noted at the bottom of this ticket is what made it diagnosable — it is the only path to a pool host's log today (dev-factory GOTCHAS 1).No repair attempted from dev-factory: the cause is host-local on a box the healer cannot reach, and runner services / host packages are outside the healer's charter. No duplicate ticket filed — this one owns it.
Still live 8.5 h later — and the blast radius is six repos, not three. Added by the
Matou/coahealer (watchdog sweep, heal runheal-Matou-coa-1791568939-3937011, signature0990ca97e6aa). No repair attempted: this is host-class on a box the healer cannot reach, and coa isLANDING=pr.The fault is byte-identical at the latest tick
Run 16784 (17:46Z), step 1 of the
bens-mac-04leg, runner18b49d22-6243-41d9-881d-2823760575c7— the same UUID this ticket names:The other two legs of that same run, same commit
c37e8d2, same minute, both reachpreflight-swarm: all 10 guards firedandrun-swarm— so nothing about the repo or the commit is implicated.git.matou.nzanswered this healer's probe in 0.74 s (api_http=200,api_curl_exit=0). Still bens-mac-04-local DNS, still unrepaired.Recurrence
coa's
swarm (bens-mac-04)leg is now 17-for-17 red, unbroken, all on commitc37e8d2:Green legs settle in ~20 s; the red ones burn ~32–39 s each (the first reds in the sibling repos burned ~300 s).
Three more affected repos
Every repo with a per-host matrix flipped inside one ten-minute window, and all six are now 100% red on this host over the task window the API still holds:
matou-workstationandelitebook-03are 46-for-46 green in the same window. A single host-wide event at ~09:45Z, not six repo faults.Two notes for whoever picks this up
swarm.ymlmatrices if the repair is not same-day" — it is no longer same-day. Each tick of each of six repos spends a red leg plus a healer sweep on a fault with a known cause and an open ticket.watchdog_detectskips a workflow whose ledger was touched within 6 hours (heal.sh), so this re-detected as0990ca97e6aarather than reusing0ff1caf1b642, and the ledger's recurrence count resets with it. Recurrence on a long-lived fault has to be read off this thread, not offattempts=.Unrelated, seen in the green legs' logs and not flagged by the watchdog because those legs pass:
run-swarm: no ready tasks, but the landing sweep acted on unclaimed agent PR(s): 156 merge-failed 157 405. Agent PRs #156/#157 are not merging (HTTP 405) — GOTCHAS 7 territory, worth its own look.Healer follow-up (watchdog, heal run
heal-Matou-coa-1791579665-574296, signature50dc0fb56753): this is wider thanswarm, and mitigation 4 would not have covered itThe watchdog flagged a
triagefailure streak. Same fault, same host, same runner UUID18b49d22-6243-41d9-881d-2823760575c7— and now ~12 h sustained, not a blip.Per-run step logs, runs 16793 / 16811 / 16817 (
Triage under global lock):…and the healer step behind it still dies on #171:
mkdir: cannot create directory ‘/home/dev’: Permission denied.The correlation is 1:1 on the runner, not on the workflow
18b49d22(bens-mac-04)1f2811465078e9af18b49d22(bens-mac-04)18b49d22(bens-mac-04)Every red triage tick landed on bens-mac-04; every green one landed elsewhere.
resumeis the same story — runs 16812 / 16815 / 16818 / 16821 all failed on18b49d22(15–20 s), while every resume run on the other two hosts was green. The ~35–40 s failures aregit-setup.sh's three transport retries (2 s + 4 s backoff) exhausting on the DNS failure before it writes the TRANSPORT verdict and exits 3; the resume leg fails faster because it has fewer retries ahead of it.Why "drop bens-mac-04 from the swarm.yml matrix" (step 4 above) is not enough
swarm.yml:62's matrix is the only place a host is named. Three other workflows take the pool label and will keep being handed to the broken host regardless:triage.yml:31—runs-on: swarmresume-asks.yml:15—runs-on: swarmci.yml:25—runs-on: swarm← this one reds main's seam and PR checks ~1 tick in 3So the matrix edit silences the loud symptom and leaves the other three legs red. The two repairs that actually hold are host-side: fix the resolver, or de-register the
swarmlabel from bens-mac-04's runner so the pool stops handing it work (the matrix leg can stay, or go, independently). The repo-only stopgap is pinningtriage/resume-asks/cioff the pool the wayhealer.yml:22already is for GOTCHAS 2 — three more pins that then all have to be un-pinned, which is why the label de-registration is the better call.Healer action
None — the fix is on another box (host resolver / runner registration), which the charter forbids this healer from touching, and this repo lands every change on
mainby review (LANDING=pr, idss ADR 0267). No duplicate ticket filed: this incident is this issue. Stillready-for-human.Still live 15 days later — and a runner restart did not clear it
Added by the
Matou/coahealer (watchdog sweep, heal runheal-Matou-coa-1792811494-314812, signature0ff1caf1b642— the same signature that minted this ticket on 2026-10-09). No repair attempted: host-class on a box the healer cannot reach, and coa isLANDING=pr.This ticket was last touched 2026-10-09T21:06Z and is still
ready-for-human. The fault is byte-identical today, 2026-10-24:matou-workstationandelitebook-03were green across the same window, and the API probe from matou-dev-server-01 at 03:11Z was healthy (api_http=200 api_seconds=0.86 api_curl_exit=0) —git.matou.nzis up, this is still bens-mac-04-local.New fact: the runner UUID has changed, the fault has not
Today's legs are served by runner
73a6cc98-3960-4a27-ac53-0c3890c73887, not the18b49d22-6243-41d9-881d-2823760575c7this ticket names. So the runner has been re-registered or restarted at some point in the last 15 days and the resolver fault survived it. That rules out transient state in that one runner process and points at the host's resolver / the job environment's network namespace — step 1 of "what a human should do" is still the decisive probe, step 2's "restart with a changed config" is now less likely than a persistent/etc/resolv.confor network-namespace condition.The host's legs are not uniformly red — but that is not recovery
The task list shows many green
swarm (bens-mac-04)rows in the same window (25-40 s each).swarm.ymlhas threeexit 0yield paths before the first network call — a rehearsal drive capacity reservation, both host capacity slots busy, and the per-repo workdir lock — so a fast green leg is not evidence the resolver recovered; it is most likely a leg that never reachedgit-setup.sh. I could not confirm from the step logs: Forgejo's web log route was flapping503from 03:20-03:25Z while I probed (separate, self-healing, noted only for the record).Recommendation
Mitigation 4 in the description — drop
bens-mac-04from the matrices (coaswarm.yml:62) — was conditioned on "if the repair is not same-day". It is now day 15, acrosscoa,idssanddev-factory. Either fix the box or drop the leg; every tick of three repos' schedules is currently paying for it. Point 3 (the ADR 0010 coa-builds role on this host) is still unproven either way.Also filed today: #174 — in watchdog mode the healer never fetches the failing run's job log (
heal-lib.shkeys.html_url;/actions/tasksreturns.url), which is why this incident still arrives aswatchdog: streak ()with an empty evidence bundle and the step logs above had to be fetched by hand.Healer cross-reference (watchdog, signature
e2c0a0a76977, heal runheal-Matou-coa-1793916515-1556915, evidence/tmp/matou-heal-Matou-coa.skiBGg). bens-mac-04 is red again right now, but not for the reason in this ticket — filed as #185.The DNS symptom this ticket describes is gone: task 277759 (run 24172, 2026-11-05 20:59:32Z) ran on the bens-mac-04 runner
73a6cc98-3960-4a27-ac53-0c3890c73887, fetched over https from git.matou.nz and printed🏁 Job succeeded. From 21:03:39Z onward every leg on that runner dies before any step withmkdir /home/swarm/.cache/act/<hash>: no space left on device— the host filled up, which is #175'''s fault class on a second host.No labels changed here. This ticket is stale as written; a human should confirm the resolve failure is really fixed before closing it.