standing/image-boot: timed-out first SSH dial escapes waitForSSHCommand's retry loop #929
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#929
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?
No live box was offered
No live-box section was appended to this diagnosis, so there is no access line and no read-only limit to obey. Everything below is read from the harvested run directory alone. Both DO droplets are recorded as
activeat harvest time, but I did not dial either.Not the known frontier
The drive's KNOWN frontier — pairing never flipping, the own-VPS carrier issue — is not what red this run.
artifacts/legs.jsoncarries zero skips and therefore names no skip reason at all;artifacts/verdict.jsonagrees ("skip": 0). The pairing frontier was never reached:artifacts/journey.jsonis— no founding rows, no fault. The drive died before it. This is an earlier, different red.
The failure
verdict.jsonnamesstandingasfirstRedLeg, butstandingis the umbrella leg for the whole spec (journey.device.spec.ts:272, "drives the #183 device-add journey on the standing rented community"): its 48734 ms is the sum of the inner legs, and it carries the inner leg's error verbatim. The leg that actually broke isimage-boot:wizard-rent(36863 ms),claimandcreatewere all green. The app was not failing — the page snapshot inerror-context.mdat the moment of the throw shows it mid-step, not errored:The defect
Playwright embedded the fixture source as it stood at drive time.
waitForSSHCommandexists precisely to absorb a not-yet-reachable fresh box (its own comment cites GOTCHAS #2, #691), but it awaits the dial with no catch:The two dial outcomes are not symmetric. A refused dial reaches the close handler and resolves with code 255, so the loop retries it:
A timed-out dial takes the SIGKILL path and rejects — the caret in
error-context.mdpoints at exactly this line:So the rejection escapes the loop on attempt one. The leg's own arithmetic is the proof: it died in 10129 ms — one 10000 ms
perAttemptMs— out of a 120000 ms budget. It never made a second attempt.And a second attempt would have succeeded. The gateway was seconds old when probed, and answered moments later (
logs/gateway-do-forensics.txt):DO finished creating the box at 06:37:20; the probe ran against a ~1-second-old box, timed out at ~06:37:29, and 5 s later tcp/22 answered a fresh connect. Nothing was wrong with the box or the product — the harness raced its own budget away.
Suspected layer
Harness, and only the harness:
app/tests/e2e/fixtures/droplet.ts. Not product (the app was at 2% of "Connect to the rented server over SSH", still working), not infra (the box came up on schedule and answered).What plugging it needs
The in-run healer already reports this one healed —
logs/healer-claude.outrecords"action":"healed", commit2e038b6e85d25a90060e1b267db4c76406a34ef4, teaching the loop to catch a rejected dial and retry until the budget, rethrowing on a never-reachable box and raising the #885 missing-identity refusal up front so the new catch cannot swallow it, with +3 seam tests (vitest run tests/e2e/fixtures/droplet.test.ts— 17 pass; 1 fails with this drive's exact message when the fix is stashed). First action is to confirm that commit is onmain— the drive ran atf618a6ce, and I could not read outside the run directory to verify it landed. If it did, this red needs no further code.What is not plugged is the evidence gap this red exposed, which the healer filed as its residual and is worth acting on independently: every gateway-side harvest is one line —
— in all four of
gateway-journal.txt,gateway-units.txt,gateway-stall.txt,gateway-caddy.txt, while the same verb against the device box harvested 1272 lines ofdevice-journal.txtplus stall and unit state. The parenthetical is wrong on its own evidence (tcp/22 answered a fresh connect at 06:37:34). The shell harvest inscripts/lib/rehearsal-droplet.shdials with no-i, riding the executor's ambient key, which a broker-rented gateway can never accept (it trusts only the app's rent-operator key — #885, GOTCHAS #101). Threading a per-box identity throughoc_droplet_evidence, derived fromOC_STANDING_DIRand loud when absent, would have given this red gateway-side confirmation instead of an inference from timestamps.Also absent from this run (explained, not defects)
logs/droplet-journal.txtdoes not exist — on a device-target drive #894 splits that capture into thegateway-/device-labelled files.state/in the run dir is empty: the drive red before any deploy, so no clan-config flake was captured.logs/state-logs.logrecordsENOENT ... test-results/standing-rented/state/logsandlogs/broker-journal.txtan off-meshPermission denied— both self-describing and not load-bearing for this verdict (#681).logs/guest-*.logandlogs/qemu.logare empty by construction:host.jsonshowsqemu: exit ENOENT: spawn qemu-system-x86_64 ENOENT, andguest-failed-units.logsays "the guest was never created, so there is nothing to ask". This drive used real droplets, not a guest VM.drive
20260828T063513Zred atstanding:ssh root@134.199.165.253 timed out after 10000ms: systemctl is-active idss-agentevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260828T063513Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=13097
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #929 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope