Repository navigation
Description
What's the problem
The appliance stack fixture has the dashboard login from its wizard handoff but does not pass it as IT_DASHBOARD_PASSWORD when it launches the integration harness. Authenticated /metrics therefore becomes a missing leg, and strict coverage rejects the otherwise exercised check invocation. The targeted e2e check pregate also lacks this input; its authorized fixture credential source and supported transport are not yet established.
what it impacts
Authenticated metrics coverage in the supported appliance stack phase and targeted e2e check pregate, including grouped #3403/#3405 and draft #3616. The strict e2e pregate also prevents the required later paths from executing. Dashboard authentication itself is not shown broken; the fixture lacks the required input for its existing check.
How I found it
Job 2943's complete log and retained kvm-stack.log report /metrics via Caddy missing because the dashboard login is set but IT_DASHBOARD_PASSWORD is absent. tests/os/phases/stack.sh reads wizard credentials and uses them for the API probe, while _stack_run_integration invokes the harness without this input. tests/integration/lib/run-scenario.sh explicitly requires it for authenticated metrics. Open issues were searched for authenticated metrics, dashboard password forwarding and the input variable; no open issue owns this fixture gap.
bench-ci job 2943@3cd43211939a918edf2ca9364ca4bef47c4eb91e · pithead · tier4-kvm
- options: {"phases": ["stack"], "require_complete": true}
- status: completed · conclusion: failure · exit 1 · 47m 57s
- baseline verified: yes · rig restored: n/a
- node guard: not recorded · no comparison recorded
- steps: checkout success · reserve success · preflight success · run failure · collect success · restore success · cleanup success
- rows: 339 pass · 6 fail · 27 skip (by-design 22, missing 5)
- image sha256: system.img e53667993589ba7669c2c79624da8d21246f2fe6dd6b678d653b8068bcffc425
- failed rows:
- [stack] DIY gate vs. appliance channel: check (non-destructive live-state assertion) (exit 1) (no issue linked)
- [stack] DIY gate vs. appliance channel: lifecycle, fault-injection, hardening, auth-fail-closed (exit 1) (no issue linked)
- [stack] Tari-off combined CLI preview succeeds (Tari-off preview warns about inactive clearnet sync and endpoint work #3383) (Tari-off preview warns about inactive clearnet sync and endpoint work #3383)
- [stack] Tari-off preview confirms disabled merge-mining (Tari-off preview warns about inactive clearnet sync and endpoint work #3383) (Tari-off preview warns about inactive clearnet sync and endpoint work #3383)
- [stack] Tari-off preview retains chain data (Tari-off preview warns about inactive clearnet sync and endpoint work #3383) (Tari-off preview warns about inactive clearnet sync and endpoint work #3383)
- [stack] DIY gate vs. appliance channel: stratum password and TLS clients (exit 1) (no issue linked)
Generated bybench-ci evidence 2943@3cd43211939a918edf2ca9364ca4bef47c4eb91e; re-run it to check.
Job 3055@99892fdc01722d1f719dcde9a63185ea2bfe05f4 reproduced the e2e caller omission after the Tor prerequisite was incorporated: its completed log, retained harness artifact and pregate manifest show missing authenticated metrics, strict coverage rejection and refusal of later destructive paths. Baseline and restoration passed. Exact generated evidence is retained in the occurrence comment and draft #3616.
how important is it
It prevents complete strict appliance coverage and leaves the authenticated metrics path untested in this fixture. No leaked credential or dashboard runtime defect is established.
acceptance criteria
- Establish the e2e caller’s existing authorized fixture credential source and supported transport, without inventing or retrieving a new credential.
- Complete both appliance and e2e caller forwarding through the supported integration input boundary.
- Replace the former land-first dependency on Test: guard the release gate so no test is unregistered and no required leg skips green #3405 with joint validation: the Test: run every container-engine call form of lib/pithead on the Podman appliance #3403 owner incorporates these scoped fixes into existing testing: fix #3403, #3405 — enforce appliance and release test contracts #3616 with the strict implementation before either PR merges.
- Obtain completed strict KVM install, stack and provision proof plus targeted e2e proof on the combined current head; authenticated metrics and the required later paths must execute and pass. Unrelated failing rows retain their owners; the whole phase need not pass.
- Require current-head agent PASS followed by formal owner approval, and avoid duplicate delivery.
- Retain failure for missing/incorrect required credentials; do not disable authentication or relabel the missing leg.
- Add registered regressions covering both actual caller forwarding paths, including missing/incorrect inputs, failure propagation and exclusion of credential values from arguments, logs and artifacts.
- Keep credential values out of command arguments, logs, artifacts and public evidence; document the fixture input contract.
possible solutions
Use the already captured wizard handoff credential at the integration launch boundary and retain the existing stdin-based authentication mechanism. The exact transport and cleanup must follow the repository's credential-handling contract.
Activity
pithead-developer commentedon Oct 25, 2026
Blocked on #3405. Draft PR #3669 contains credential forwarding, regression tests and corrected documentation; focused checks pass and both reviews found no source defects. Required strict KVM proof needs #3405's implementation in #3616 to land on the release base. Its owner must land that prerequisite, then this branch can merge the updated base and submit the managed proof; the blocker is documented on the PR.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 25, 2026
Additional affected caller in
2974@3cd43211939a918edf2ca9364ca4bef47c4eb91efor grouped #3403/#3405 / draft #3616: the targeted e2e current-state pregate also records/metrics via Caddyas missing because dashboard login is enabled andIT_DASHBOARD_PASSWORDis absent. The raw job log was reopened and the check artifacts retained. This expands the known caller coverage beyond the appliance invocation; the available credential source and transport for this e2e caller remain unknown.The job's binding failure was a separate Tor positive control, owned by #2619, and the detached harness did not launch. No successful strict-coverage verdict is claimed. Preserve credential safety and the missing-input failure while accounting for both callers; no credential values are included in this report.
pithead-developer commentedon Oct 27, 2026
Current-head strict e2e occurrence for grouped #3403/#3405 and draft #3616:
3055@99892fdc01722d1f719dcde9a63185ea2bfe05f4reached the check pregate but recorded authenticated/metrics via Caddyas missing because the dashboard input was absent. Strict coverage rejected that omission and refused the later destructive paths. The completed job log, retained harness log and pregate manifest were read; no later-path PASS is claimed. Baseline and restoration proof passed.This is the already reported e2e caller of #3667, not a new defect. Draft #3669 currently waits for #3405's strict implementation; this occurrence exposes the prerequisite cycle. The implementation head is preserved, and no unchanged e2e retry or authentication bypass was attempted. Joint validation needs to account for both the appliance fixture and the e2e pregate caller while preserving missing/incorrect-input failure and credential safety.
bench-ci job 3055@99892fdc01722d1f719dcde9a63185ea2bfe05f4 · pithead · tier4-e2e
Generated by
bench-ci evidence 3055@99892fdc01722d1f719dcde9a63185ea2bfe05f4; re-run it to check.pithead-developer commentedon Oct 27, 2026
The operator’s joint-validation ruling supersedes the former land-first dependency on #3405. #3667 / PR #3669 must first establish the e2e caller’s existing authorized fixture credential source and supported transport, then complete both appliance and e2e caller fixes. Preserve missing/incorrect-input failures and keep values out of arguments, logs and artifacts. The current #3669 head covers only the appliance caller; no e2e fix or runtime PASS is claimed.
The #3403 owner then incorporates the scoped fixes into existing #3616 with #3405’s strict implementation. Before either PR merges, obtain completed strict KVM install, stack and provision proof plus targeted e2e proof on the combined current head, including authenticated metrics and required later paths. Keep unrelated failing rows with their owners, avoid duplicate delivery, and require current-head agent PASS followed by formal owner approval. Both PR descriptions have been corrected in place; the obsolete native #3667 dependency and blocked label are being removed so its owner can continue.
pithead-developer commentedon Oct 27, 2026
Filed privately (pithead-3667.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Oct 27, 2026
The operator’s removed hold is superseded by completed source incorporation: both #3667 caller fixes and the inventory correction are now in existing #3616 at
1277bc8bd0d7d6f7ba85746439e9ca934cf605de. Only the three scoped commits were picked; the intervening merge was excluded. The assigned release base was merged separately, and conflicts preserve dashboard stdin forwarding together with strict coverage.The appliance and e2e credential regressions were independently reproduced RED on the unchanged pre-fix head and GREEN after incorporation. Verifier and security reviews are source-clean on the combined head. Strict install
3107@1277bc8bd0d7d6f7ba85746439e9ca934cf605deand targeted e2e3108@1277bc8bd0d7d6f7ba85746439e9ca934cf605deare queued; exact generated evidence is in both drafts. No duplicate jobs were submitted by the #3667 session, and no runtime PASS is claimed.The normal e2e runner path must establish authenticated metrics and the required later paths using only the existing authorized per-tier input; no plaintext was retrieved or new credential installed. Strict stack and provision proof follow sequentially after install. Keep unrelated failing rows with their owners. Before either PR merges, require completed combined-head proof, current-head agent PASS and then formal owner approval. Both PR dependency/evidence records have been updated in place.
pithead-developer commentedon Oct 28, 2026
Needs an operator action (do it, then close this or, then remove the
operator-actionlabel):Strict install 3107 passed; e2e 3108 confirmed the dashboard input absent/empty at the fixed forwarding boundary, so mapping recovery must precede merge and completed runtime proof. On miner-1, the owner must read ~/README.md, wait for the runner to be idle, back up its installed BENCH_CI_CONFIG, and merge a nonempty IT_DASHBOARD_PASSWORD into the existing [tiers."pithead/tier4-e2e"].env using that bench’s existing authorized dashboard password, preserving other entries and permissions without printing the value or passing it in argv; from the installed checkout validate with
uv run python -c 'import os; from pathlib import Path; from bench_ci.config import load; load(Path(os.environ["BENCH_CI_CONFIG"]))', stopbench-ci-update.timer, wait forbench-ci-update.serviceto become inactive/failed, restartbench-ci, wait for its normal synced-at-tip readiness, then restart the timer. Verification is a fresh owner-submitted strict targeted e2e run showing authenticated metrics and later paths executed, plus the remaining stack/provision proofs; rollback restores the saved config and repeats validation and the same idle-restart procedure.pithead-developer commentedon Oct 28, 2026
Completed current-head evidence for grouped #3403/#3405 and joint #3667 proof has been read. Install proof and GitHub checks are green at
1277bc8bd0d7d6f7ba85746439e9ca934cf605de. Targeted e2e3108@1277bc8bd0d7d6f7ba85746439e9ca934cf605deagain records authenticated metrics input as missing; strict coverage refuses the required later paths. The complete log, retained harness log and pregate manifest were fetched and read.Filed bench-ci#2297 for the distinct effective runner-input gap and the resulting wrapper failure row. Reuse the owner-managed mapping recovery instructions already handed to the manual infrastructure queue by the #3667 session; do not create a second repair path or credential. The #3403 session has not inspected active mapping values/state. The caller fixes remain incorporated; no #3667 block was restored, no unchanged e2e run repeated and no host changed.
Independent strict stack proof continues in
3155@1277bc8bd0d7d6f7ba85746439e9ca934cf605de; provision follows sequentially on the unchanged head. Both drafts contain refreshed generated evidence, source review results and pending proof limits. Required later paths, current-head agent PASS after proof and formal owner approval remain pending; unrelated failing rows retain their owners.pithead-developer commentedon Oct 28, 2026
Completed stack evidence and the complete log/retained artifact were read at preserved head
1277bc8bd0d7d6f7ba85746439e9ca934cf605de. The engine forms, original census negative control and churn detection pass, as do the non-destructive appliance check and stratum controls. The job remains non-passing: preview failures have canonical owner #3625, and the distinct local-Tari continuity omission on the remote fixture is now #3765. These unrelated findings were not folded into this implementation or bypassed.Current-head install proof and GitHub checks remain green. Strict provision job
3157@1277bc8bd0d7d6f7ba85746439e9ca934cf605deis running; refreshed generated evidence is in both drafts. Targeted e2e remains pending the existing owner-managed input recovery tracked by bench-ci#2297; no unchanged e2e retry or #3667 block was restored. Completed current-head owned proof, agent PASS after runtime evidence and formal owner approval remain required before merge.pithead-developer commentedon Nov 6, 2026
Operator: released to the runner (owner 2026-11-06). New work goes to the local Flash-Next model first; Claude only after three local rounds or for sensitive work.
pithead-developer commentedon Nov 6, 2026
Blocked on p2pool-starter-stack/bench-ci#2297. PR #3669 is blocked on bench-ci#2297. The bench's pithead/tier4-e2e config does not set IT_DASHBOARD_PASSWORD, so targeted e2e 3108 on combined head 1277bc8 shows
/metrics via Caddyas missing and strict coverage refuses the later paths, even though the forwarding is in place. Already proven on that head: install 3107 is green; stack 3155's non-destructive check passes with 0 missing (the appliance fix works), and its other red rows belong to #3383/#3625 and #3765; provision 3160's single red row belongs to #3674, with #3759 owning fixture isolation. This session merged develop-v2.1.0 to clear the conflict and added a selftest that drives the credential through the base's new remote inline-pregate wrapper; it fails when the wrapper drops stdin or leaks the value and passes on head 1e38ee2. The security reviewer found nothing; I fixed two verifier gaps and left two out of scope (the strict missing-input gate is #3616's; the wrapper drain path is base code). I rewrote the PR body with fresh evidence and posted the block explanation on the PR. GitHub CI is still running: most checks, including the Shell suite with the new test, are unfinished, and one has failed, the dashboard Trivy scan, which looks like the repo-wide apt CVE in #3923. To unblock: the owner completes bench-ci#2297; the #3403 owner refreshes #3616 with this head (it is also conflicting with its base) and submits one strict targeted e2e; once/metrics via Caddypasses, correct docs/dev/testing-strategy.md:475 in place.The runner resumes this issue when that one closes.