deploy-takeover: kexec installer for node-req-0003 built from source, SIGKILLed at 20m #1040
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1040
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?
The failure
deploy-takeover— the last leg of 27. Every other leg is green; this drive got the whole member-device journey (mint → device-create → agent-install → decline-resume → join → approve → assess → select-files) and died composing the takeover image.artifacts/verdict.json:artifacts/legs.json— the red leg's.error(leg ran 1,323,221 ms ≈ 22 min):The build log carried inside that error says "cold" without ambiguity:
Same fault from the box itself,
logs/gateway-journal.txt:1878:The build ran on the gateway (flake dir
/tmp/idss-installer-node-req-0003-3845982400), got past substitution into a full from-source NixOS installer compose — initrd and squashfs — and was SIGKILLed (exit 137) by the drive's own 20-minute bound.Not the known frontier
The known frontier is pairing-never-flips (the own-VPS carrier issue). It does not apply here:
pairis green,joinandapproveare green,verdict.jsonrecords"skip": 0, andlegs.jsoncarries no skip reasons at all — no leg on this drive was skipped for any cause. This drive advanced past the frontier and hit a new red.What is absent: the ADR 0133 Tier-3 seed left no trace
HEAD
cd56dbb— "the Tier-3 installer-base seed is no longer SILENT, so the next drive can tell a cold takeover from a silent-success seed" — is exactly the commit this drive ran (verdict.json.commit). Its whole purpose was to let this drive distinguish the two cases. It cannot, because there is no seed line of any kind, success or failure:logs/founding-state.loglists every founding seed/supply row and none is the installer closure:installer-base|installer_base|closure|substituter|nixos-images|tier.?3|0133|#1016|nix copyacross all oflogs/andartifacts/journey.jsonreturns nothing but"the droplet's resolver is warm"(unrelated) and the failure text itself.Founding ran fresh on this drive —
logs/founding-state.loghas"gateway deploy complete — the control plane is live"at2026-08-30T16:46:17.656012862Z— so the seed had its chance during this run and produced no record.Corroboration: CPU-bound local build, not a network stall
logs/gateway-do-forensics.txt, hypervisor-side inbound Mbps:Substitution from cache.nixos.org finished around 16:58; the final ~12 minutes moved no bytes — the box was building locally on
s-2vcpu-4gbuntil the bound fired at 17:09:45.logs/gateway-stall.txtshows the box was not starved (Mem: 3921 total / 3313 free,78G 8.9G 65G 12% /, load 0.28) — 137 is the harness's bound, not an OOM kill.Nothing was erased — the bound kept its promise
logs/device-stall.txtshows node-req-0003 still on its original image, never kexec'd:systemctl --failedis empty on both boxes (logs/gateway-units.txt,logs/device-units.txt). No unit broke; this is deploy-budget exhaustion.Suspected layer
Product — the ADR 0133 Tier-3 carry-the-closure path — presenting with an infra-shaped symptom. The ruling already exists (#1016 ruled carry-the-closure; b5552e4/e765e18 amended ADR 0133 so the payload carries
kexec-installer-baseand founding seeds it into the GATEWAY's store so the on-box compose runs warm). On this drive it did not take effect, and the loud marker added bycd56dbbto prove which way it went is missing. Absence of that row points at the seed path never running during rented founding, rather than running and seeding a closure the takeover doesn't hit — the latter would still have logged.What plugging it needs
host.json.payloadMode=/home/swarm/swarm/rehearsal-payloadactually contains thekexec-installer-baseclosure, and that the rented-founding supply stage copies it into the gateway store. Today that stage logs only"fleet software seeded onto the rented server".cd56dbbloud row unconditional: if the seed is skipped because the closure is absent from the payload, that must be a row infounding-state.log. Silence cost this drive 22 minutes and left the cold/warm question to inference — which is precisely whatcd56dbbset out to prevent.github:nix-community/nixos-images/f6714acc84ce92df7286c89a571ad1e946057a5bagainst node-specific config (ssh-root-provision.conf.drv,users-groups.json.drvare in the build list), so a base closure that doesn't cover the node-specific tail still leaves derivations to build. If that tail is irreducible, 20m is the wrong bound for a 2 vCPU gateway and the number needs a ruling of its own.Secondary, harness layer: the healer never ran on this red
logs/healer-claude.err:artifacts/journey.json's.faultis 149,066 bytes — the entire nix build log — and is passed as an argv.healer-claude.outis 1 byte. Any red whose fault text is a large build log silently loses its healer pass; the fault should go via a file or stdin.Live box
No live-box access section was appended to this task, so I diagnosed from the harvested logs alone. The gateway was still answering at harvest time —
logs/gateway-do-forensics.txt:tcp/22: a FRESH connect succeeded — the box answers, whatever ssh did, droplet596380781status: active— but with no access line given I did not attempt to reach either box.Other absences (non-causal)
logs/droplet-journal.txtnamed in the brief does not exist; this two-box drive harvestedlogs/gateway-journal.txtandlogs/device-journal.txtinstead.host.jsonrecords"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT"and everylogs/guest-*.logreadsno SSH hostfwd in ... idss-guest.service — the guest was never created, so there is nothing to ask. Expected for a rented-droplet drive; unrelated to the red.logs/helper.logis full ofGLX is not present/Exiting GPU processElectron noise — headless rendering, not the failure.drive
20260830T162742Zred atdeploy-takeover:deploy failed (rescue): clan: config_eval on node-req-0003: the takeover's kexec installer image for node-req-0003 is STILL BUILDING after 20m0s — bounded and red LOUD (nothing erased) rather than bevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260830T162742Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedDuplicate of the cold-store cause already fixed under #1037 + #1038 — closing so the standing drive re-fires.
Timeline that makes this red a ghost:
20260830T162742Z'ssupplyleg ran at ~16:29Z and found the payload'sinstaller-base-cache/slot empty (best-effort seed skipped, by design), sodeploy-takeovercomposed cold into the #1016 20-minute ceiling — the exact #1037 signature./home/swarm/swarm/rehearsal-payload/at ~16:31Z (1,358 store paths +installer-base.toplevelmarker, built frome765e18e— the flake pin is unchanged since, so the cache is current).ff2f04ea):assemble-payload.shbuilds the base by default andrehearsal-cycle.shstages/refreshes staleness-keyed on the marker vsnix eval …kexec-installer-base.outPath.The next drive's
supplyleg does the first genuinely warm seed. If THAT run still builds from source atdeploy-takeover, that's a new defect (marker/outPath mismatch or seed failure — now loud percd56dbb8) and deserves a fresh ticket with the seed lines attached, not this one reopened.