Repository navigation
Description
What's the problem
The appliance stack hardening leg fails its Tari-off combined CLI preview assertions. The helper returns exit 1 with empty output, so it cannot prove the disabled-merge-mining confirmation or retained-chain-data text. The underlying cause is unknown; tests/integration/lib/run-tari-off-preview.sh:24 discards the remote command's stderr.
What it impacts
The supported appliance stack phase fails its hardening invocation. In the same job, the separate stratum authentication/TLS controls passed, including shipped-XMRig accepted shares. This is an appliance-path gap beyond the preview guidance fix in closed #3383 and merged #3559; it is tracked separately from #3078 / #3611.
How I found it
Job 2833@8bfa24ef67afd2b1ec60755ce39a503447495a77 ran tier4-kvm with phases=stack. Its job log and retained kvm-stack.log agree: the preview command returned 1, required confirmation strings were absent, and the three Tari-off assertions plus their enclosing integration invocation failed. The container-restart and stratum legs ran successfully afterward. Restoration and cleanup completed. Open pithead and bench-ci issues were searched; no open issue covered this appliance preview failure.
bench-ci job 2833@8bfa24ef67afd2b1ec60755ce39a503447495a77 · pithead · tier4-kvm
- options: {"phases": ["stack"]}
- status: completed · conclusion: failure · exit 1 · 52m 21s
- 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: 252 pass · 4 fail · 19 skip (by-design 17, missing 2)
- image sha256: system.img d73df76d6fd4769cd9a9976b15ff9355d73626feb664c633262453e9693b2688
- failed rows:
- [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)
Generated bybench-ci evidence 2833@8bfa24ef67afd2b1ec60755ce39a503447495a77; re-run it to check.
How important is it
This prevents a green shared appliance stack phase and leaves the appliance preview behavior unproved. The evidence does not establish whether the defect is in the CLI or its fixture, or any effect on an actual apply operation.
Acceptance criteria
- Identify the early failure using bounded diagnostics that do not expose rendered credentials.
- On a real appliance, the hardening helper can render its remote-mode baseline and preview a candidate switching Tari off while enabling its inactive clearnet-sync setting, without applying it or contacting the candidate endpoint.
- The preview exits 0, confirms disabled Tari merge-mining and retained chain data, and omits inactive clearnet/endpoint/trust guidance.
- Add an automated regression reproducing the actual failure trigger at the lowest supported layer, and show these rows passing in an exact-head KVM stack proof with verified cleanup.
- Keep the assertions binding; do not skip the appliance path or turn unavailable output into a pass.
Possible solutions
Inspect the fixture's early commands and the shipped appliance CLI environment, then correct the demonstrated mismatch or CLI failure. Preserve the existing preview/cancel-only scope and private scratch cleanup.
Activity
pithead-developer commentedon Oct 23, 2026
Additional recurrence in the paired KVM stack proofs for #3623 / PR #3624:
2836@f92c62c65dd94f0bead768b20c7ff4b10ad9245fand2837@5460241bc9ea0d1ae6ddf4342815dc06f3846183both reproduce this issue's Tari-off preview failures. The raw logs report preview exit 1 and empty output, followed by missing disabled-merge-mining and chain-retention confirmations. The enclosing integration failure on the fixed head is accounted for by these preview assertions.The host-miner recovery regression independently fails in the control and passes at the fixed head. Both complete job verdicts remain failure, with verified baseline restoration and cleanup. PR #3624 retains both unedited completed evidence blocks. No cause for the preview failure is claimed; its discarded stderr remains unknown. Reusing this canonical issue; no additional implementation or duplicate issue was opened.
pithead-developer commentedon Oct 25, 2026
Additional recurrence for grouped #3403/#3405 / draft #3616 at
3cd43211939a918edf2ca9364ca4bef47c4eb91e: strict KVM stack job 2943 reproduces the same three Tari-off preview failures. The complete log and retainedkvm-stack.logshow preview exit 1 and empty output, followed by missing disabled-merge-mining and retained-chain-data confirmations. The cause remains unknown; no preview assertion was skipped or weakened.The enclosing lifecycle/hardening invocation includes these failures. Separate strict coverage omissions are now owned by #3666 (real block-notification observation) and #3667 (appliance metrics credential forwarding), so the whole job remains non-passing. The independent engine forms and churn row passes. Reusing this canonical preview issue rather than opening another one.
bench-ci job 2943@3cd43211939a918edf2ca9364ca4bef47c4eb91e · pithead · tier4-kvm
Generated by
bench-ci evidence 2943@3cd43211939a918edf2ca9364ca4bef47c4eb91e; re-run it to check.pithead-developer commentedon Oct 25, 2026
Further occurrence while proving #3666: job
2947@42ebe7e09414e47850f3961365bda9e0f8d728cband retainedkvm-stack.logreproduce all three Tari-off preview failures: exit 1 with empty preview output and both confirmation strings absent. The enclosing lifecycle/hardening invocation also fails. The unrelated block-notification assertion passes; no preview change is included in PR #3668. The shared phase retains its failure verdict, and #3625 remains the owner of these rows.pithead-developer commentedon Oct 25, 2026
Additional recurrence while proving #3671 / PR #3673:
2951@feb858175d192bd43f1a01e8a9a937fe0e06525dreproduces this issue's three Tari-off preview failures and their enclosing lifecycle/hardening failure. The retainedkvm-stack.log:450–455shows preview exit 1 with empty output and absent disabled-merge-mining and retained-chain-data confirmations. The underlying preview cause remains unknown.The separate appliance stratum invocation and all authentication/TLS controls pass in lines 514–529. The job remains failure with baseline restoration and cleanup verified. Reusing #3625 as the owner of every unrelated red row in this proof; no preview change is included in PR #3673.
pithead-developer commentedon Oct 27, 2026
Additional recurrence while proving #2727 / PR #2728: job 3104@004958bccaf0d89e81574e51a211ef316a0d2344 reproduces this issue's three Tari-off preview failures and their enclosing lifecycle/hardening invocation. The completed job log and retained kvm-stack.log show preview exit 1 with empty output and absent disabled-merge-mining and chain-retention confirmations. No underlying cause is claimed.
The teardown assertions for #2727 executed afterward: all three calls logged successful returns, and the harness exited failure rather than timing out. The shared job remains failure with verified restoration and cleanup. Reusing #3625 as the owner of all four unrelated red rows; no preview change is included in PR #2728.
bench-ci job 3104@004958bccaf0d89e81574e51a211ef316a0d2344 · pithead · tier4-kvm
Generated by
bench-ci evidence 3104@004958bccaf0d89e81574e51a211ef316a0d2344; re-run it to check.pithead-developer commentedon Oct 28, 2026
Additional recurrence from #3408 / draft PR #3722. The completed job log and retained
kvm-stack.logshow preview exit 1 with empty output, absent disabled-merge-mining and chain-retention confirmations, and the enclosing integration invocation failing. These reproduce this issue’s three preview failures and aggregate failure; the underlying preview cause remains unknown. Reset census and encrypted recovery assertions pass on the appliance. Restoration and cleanup are verified. Reusing this issue as owner of those unrelated failures; no preview change or unchanged retry was submitted.bench-ci job 3088@4ab6e9b5efdd81a75846234e954703f0940ca2ce · pithead · tier4-kvm
Generated by
bench-ci evidence 3088@4ab6e9b5efdd81a75846234e954703f0940ca2ce; re-run it to check.pithead-developer commentedon Oct 28, 2026
The same appliance preview signature recurred while proving #2483 in job
3101@dd0bc71b6380591908d91508d37a50912d4b02e6(tier4-kvm, stack): the combined preview returned 1 with empty output, and the disabled-merge-mining and retained-chain-data assertions failed. I read the completed evidence and raw job-log lines; they do not establish the cause because the helper discards stderr. The enclosing DIY gate failed; restoration and cleanup completed with baseline verified. This issue owns these unrelated rows in the #2483 proof.pithead-developer commentedon Oct 28, 2026
Current-head stack occurrence for grouped #3403/#3405 / draft #3616:
3155@1277bc8bd0d7d6f7ba85746439e9ca934cf605dereproduces the same preview signature. The complete job log and retainedkvm-stack.logshow the Tari-off preview returning 1 with empty output and both required confirmation strings absent. The underlying preview cause remains unknown because its helper discards stderr. The three preview assertions and enclosing integration aggregate retain this issue as their owner.The engine/census/churn leg, non-destructive appliance check and stratum controls pass in the same job. A distinct local-Tari-only leg is counted missing on the remote fixture and is tracked in #3765; that counting gap is outside this preview issue. No unchanged retry or preview change was made here.
bench-ci job 3155@1277bc8bd0d7d6f7ba85746439e9ca934cf605de · pithead · tier4-kvm
Generated by
bench-ci evidence 3155@1277bc8bd0d7d6f7ba85746439e9ca934cf605de; re-run it to check.pithead-developer commentedon Oct 28, 2026
The same appliance preview signature recurred in job
3151@713e302c9950470422195875bc41516abe00dc80(tier4-kvm, stack). The raw log reports exit 1 with empty output for the combined Tari-off preview, the missing disabled-merge-mining and retained-chain-data strings, and the enclosing DIY gate failure. These are the only failing rows. Baseline verification, restoration and cleanup completed; no underlying cause is inferred from the suppressed stderr. The separate #2483 fault-injection e2e job passed at the same runtime commit.pithead-developer commentedon Oct 30, 2026
KVM stack job 3200@9ccf2d1ba23f4ec942ef2999c27d424de9ba97a3, collected for #2727 / PR #2728, repeats the three Tari-off preview failures: combined CLI preview succeeds, preview confirms disabled merge-mining, and preview retains chain data. The enclosing DIY-gate row also fails. The retained kvm-stack.log shows the same missing preview output; this is separate from the payout EOF fixture failure now tracked in #3794.
pithead-developer commentedon Oct 31, 2026
KVM stack job 3220@6c73626a68ff11b3044ebee25bccf07646d0d139, collected for #2727 / PR #2728, repeats the Tari-off combined preview, disabled merge-mining confirmation and retained-chain-data failures, along with the enclosing DIY-gate row. The retained artifact shows preview exit 1 and missing output for the same assertions. Reusing this canonical owner; the separate payout EOF fixture failure remains #3794.
pithead-developer commentedon Nov 1, 2026
Job 3259@9661bf65f50be920c9c5cfd72b190e4983471151 reproduces the three Tari-off CLI preview failures while proving #2483. The separate payout EOF failure is owned by #3794; it skips fault-injection before the backup-node rows execute. Neither outcome is passing proof for the new backup-node behavior.
pithead-developer commentedon Nov 1, 2026
Operator: set milestone 'maintenance & gates'. The Tari-off combined CLI preview has failed the same way in seven KVM stack-phase jobs (2833, 3101, 3155, 3151, 3200, 3220, 3259): exit 1, empty output, because the fixture discards stderr. Nothing yet shows whether the fault is in the shipped CLI or in the fixture, or any effect on a real apply. It therefore sits on the continuous gate track with #3765. If the diagnostics show a defect in shipped 2.0.x code, it moves to the next 2.0.x patch milestone.
pithead-developer commentedon Nov 1, 2026
Questions before work continues (answer here, then remove the
questionlabel):develop-v2.1.0, where the helper and its failing rows exist, instead ofdevelop-v2.0.3? Default: yes. Fixing the appliance preview failure needs the code that has it, and the prompt's base can't hold that fix. I'd open the PR with--base develop-v2.1.0and submit bench jobs with--base develop-v2.1.0. If you want it on v2.0.3, say so; that would first need fix: describe inactive Tari preview settings accurately #3559 and its preview CLI changes (lib/pithead/39-describe-change.sh, 42-control-approval-helpers.sh) ported there, and I don't think a bug fix should carry that.run-tari-off-preview.sh:24discards stderr, so the cause is unknown after about 12 recurrences. I'd capture the remote command's stderr and exit status into a redacted, size-capped log, with no rendered credentials. I'd also add a tier-1 selftest for the helper's failure path, then submit onetier4-kvmjob (phases=stack) to read the real error before changing the CLI or fixture. Does that match what you want?14 remaining items
pithead-developer commentedon Nov 2, 2026
Candidate preparation for PR #3849 (owner publication still required):
Owner-only in-place rewrite of PR #3849 is needed before merge. The PR targets develop-v2.0.3, so retargeting it to develop-v2.1.0 would pull develop-v2.0.3 commits into the diff. I rebuilt the change locally and did not push anything, retarget the PR or open a replacement. Branch state: head branch is
agent/3843-tier4-e2e-lifecycle-source-upgrade-image, observed remote head is6cb8a9dc838d6dcbb629e28c18f2f677224fbd71. Candidate: local branchcandidate/3843-on-develop-v2.1.0in the pithead-3843 worktree, full SHA0da182ac81b31e1b39a453d8d0729195f4e998ed. It sits directly onorigin/develop-v2.1.0atfe0d50ba937471fbde83a8512050c08d40839f98, the target basedevelop-v2.1.0. Selected commits: one, cherry-picked clean from6cb8a9dc8("test(integration): print and retain the source image fixture's failure stage (#3843)"). It changestests/integration/lib/run-source-image.shandtests/integration/selftest/selftest-source-image-ready.sh(12 insertions, 1 deletion) and adds no code comments. The PR's own commit list against its current basedevelop-v2.0.3(ced8501e2edc6dc346c2f1e38c575d332df11a29) shows this commit alone; the other commits on the branch come fromdevelop-v2.0.3history. Checks I ran on the candidate:bash tests/integration/selftest/selftest-source-image-ready.shexited 0 with 40 checks passing and 0 failing, including the new per-case "prints the fixture's failure stage into the job log" and "retains the fixture log with the scenario artifacts" assertions.make lint-file-budgetandmake lint-pithead-buildboth exit 0.shellcheckexits 1 with info and warning findings in the sourced-file layout (SC1091, SC2034, SC2030/2031, SC2329, SC2016) on lines this commit does not change; I did not compare it against the base. I ran no bench job on the candidate. Existing review evidence: none. PR #3849 has no reviews and no comments, and no bench job is recorded for it. Nothing carries over to the rewritten head. Requested owner action: publish0da182ac81b31e1b39a453d8d0729195f4e998edtoagent/3843-tier4-e2e-lifecycle-source-upgrade-imagewith an explicit lease on the observed head, e.g.git push --force-with-lease=agent/3843-tier4-e2e-lifecycle-source-upgrade-image:6cb8a9dc838d6dcbb629e28c18f2f677224fbd71 origin candidate/3843-on-develop-v2.1.0:agent/3843-tier4-e2e-lifecycle-source-upgrade-image. Then change the PR base todevelop-v2.1.0. If the remote head is no longer6cb8a9dc8, stop and reassess. The PR discussion and history stay on #3849. A replacement PR needs explicit owner approval. The rewritten head needs fresh GitHub checks, a fresh non-author review and any required owner approval.pithead-developer commentedon Nov 2, 2026
Operator, 2026-11-02: not published. PR #3849's head moved from the recorded lease
6cb8a9dc838dtobfdb9c96282fafter the request, and the prepared candidate0da182ac81(one commit on develop-v2.1.0) predates that push. Per the request, stop and reassess: prepare a fresh candidate from the current head and record the new lease; the owner has authorized operator publication of runner-prepared rebuilds.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 #3923. The five red checks (Build image: dashboard, monero, p2pool, tor, xmrig-proxy) all fail at the 'Scan image for CVEs (Trivy)' step, after the image builds. I did not see the finding text in the job log, so naming the cause is an inference. It matches #3923 (apt CVE-2026-109518, fixed upstream, red on every image). This PR changes only the Tari-off preview test helper, its selftests and one docs row, so it cannot alter an image scan. The fix is open as #3926 and is not merged, so merging the base here will not clear it. Finished: the merge conflict is resolved at head 36467cd, selftest-run-modules, lint-file-budget and lint-pithead-build pass locally, and job 3366 passed all seven Tari-off rows on the previous head (its conclusion was still failure, from the #3794 payout rows). I posted this explanation on the PR. To unblock: merge #3926 or otherwise close #3923, then merge develop-v2.1.0 into the branch and push so the image checks rerun.
The runner resumes this issue when that one closes.
pithead-developer commentedon Nov 8, 2026
Blocked on #3940. Build image (monero) fails at the Trivy scan on head dd87db9. The job log shows apt CVE-2026-109518 (HIGH, fixed 2.8.3 -> 2.8.4ubuntu0.1), Total: 2 HIGH. #3926 closed #3923 but merged only into develop-v2.0.3, so develop-v2.1.0 still has the red and every PR on it fails the image builds. This is tracked as #3940. This PR changes only the Tari-off preview test helper, its selftests and one docs row, so it cannot affect an image. Finished: conflicts resolved, selftests, lint-file-budget and lint-pithead-build pass locally, and job 3366 passed all seven Tari-off rows (its conclusion was failure from the #3794 payout rows). I posted the explanation on the PR. To unblock: land the apt fix on develop-v2.1.0 (#3940), then merge develop-v2.1.0 into the branch and push so the image checks rerun.
The runner resumes this issue when that one closes.
test(integration): report the Tari-off preview's exit status and stde…
pithead-developer commentedon Nov 14, 2026
Merged in #3852.