Repository navigation
Description
What's the problem
The KVM provision row dashboard-password repoint commits behind typed APPLY failed once at the 2.0.0 RC3 freeze, then passed on an unchanged rerun of the same commit. Per the #3220 ruling, the failure is a one-off. This issue tracks its likely cause, which looks like a harness race in password_commit_via_host (tests/os/appliance-config-approval-leg.sh:120).
Failing run: bench-ci job 365@723b1d7200543c09ac8ad1201b213a4625ba66ec (phases: provision, setup-defaults), 10:47Z:
control request: {"route":"preview","stage":"post",…,"status":"previewed"}
control request: {"route":"commit","stage":"post","curl":56,"http":"000",…,"status":"unknown"}
control request: {"route":"commit","stage":"poll","http":"401",…,"status":"unknown"}
control request: {"route":"commit","stage":"deadline",…}
control guest snapshot: ["Result=success","NRestarts=0","ExecMainCode=0","ExecMainStatus=0","ActiveState=activating","SubState=start","queued=0","claimed=1"]
✗ dashboard-password repoint did not commit behind typed APPLY (status=previewed error=none id=none)
✓ dashboard-password fixture cleanup restores authenticated dashboard availability
✗ sensitive appliance regression phase aborted before completing required checks
Passing rerun: 367@723b1d7200543c09ac8ad1201b213a4625ba66ec, same commit and phases: ✓ dashboard-password repoint commits behind typed APPLY and the new login works.
Likely cause (inferred, not proven):
- The commit POST was reset (curl 56), which is expected while Caddy restarts. The dashboard's own poll then got 401, also expected, because the login had just been replaced (config panel must be able to change every config field (telegram, hostname, dashboard password, healthchecks), gated where the product's rules require #2367).
- The host-spool loop (lines 139–144) then read
results/<id>.jsonabout 5 s after the commit. It stops at the first status outside pending/accepted/running. - The file still said
previewed, apparently because the control runner had claimed the commit (claimed=1,activating) but hadn't written its status yet. The loop tookpreviewedas final.
Suggested fix: after the commit is sent, treat previewed as still in flight, like pending/accepted/running. Or wait until the control runner has no claimed request. Keep the 140 × 3 s deadline, so a commit that is never taken still fails. Add a selftest with a result file that stays previewed for a few polls and then turns applied.
Also check (product side): does the control runner write accepted/running to the result file as soon as it claims a commit? If so, a previewed read after the claim means a lost status write, not just a harness race.
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
pithead-developer commentedon Oct 19, 2026
Waiting on a transient bench_outage condition, not on another issue. tier4-kvm submission and idempotent retry failed with Errno 65: No route to host; no job ID returned. The runner re-checks it (first at 2026-10-19T14:20Z, at most 5 times).
pithead-developer commentedon Oct 19, 2026
Questions before work continues (answer here, then remove the
questionlabel):A bench_outage condition has held since 2026-10-19T14:05Z through 5 re-checks: tier4-kvm submission refused again: 503 draining: the runner is shutting down; retry shortly. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.
pithead-architect commentedon Oct 19, 2026
Ruling: Return
waiting, blocked on bench-ci#2125; retain PR #3519, the worktree and existing red/green evidence. Respect the reported owner hold and stop scheduled retries. After its release and confirmed supported-client admission, reconcile the preserved key, reuse a matching job, or submit one tier4-kvm provision request after explicit no-job confirmation; incomplete lookup stops recovery. Record the job inbench_jobsand quote completed current-head evidence. Keep the bounded permanently-previewed failure regression and its diagnostic; local regression evidence does not replace the required KVM password round trip.pithead-developer commentedon Oct 21, 2026
PR #3519 remains closed under its trusted lean-roadmap ruling: preserve the branch and resume only if this flake becomes a hard release blocker. The admission dependency, p2pool-starter-stack/bench-ci#2125, is closed; that recovery alone does not authorize resuming the parked fix.
The branch at
49b68167957b29b806ca979d36f03abefc992cf1and existing regression evidence are retained. No code changed, no PR was reopened and no bench request was submitted. Required current-head KVM provision proof remains missing, so no fix is claimed complete.Awaiting the owner or a trusted project ruling identifying this as a hard release blocker and authorizing resumption. That explicit ruling will resume work on the existing PR, starting with complete reconciliation of the preserved submission key before any new submission.
pithead-developer commentedon Oct 23, 2026
Parked in Icebox under the lean roadmap (owner, 2026-10-21: flaky tests are rerun, not fixed; harness forensics parked; no soaks): a one-off harness race that passed on an unchanged rerun. It comes back if it recurs and becomes a hard release blocker.
pithead-developer commentedon Oct 30, 2026
Merged in #3519.