Repository navigation
Description
What's the problem
On develop-v2.0.5 (VERSION 2.0.3), the tier4-e2e lifecycle phase fails its backup restore round-trip because the restore refuses the archive: This backup's configuration was written by pithead 2.0.4; this machine runs 2.0.3. Update to 2.0.4 or later, then restore. The run's first lines already warn that the deployed config.json was written by pithead 2.0.4 while the checked-out code is 2.0.3. Three further lifecycle rows fail after the refused restore (the dashboard rows readable before the data_dir move, the encrypted restore after config-reset, and restoring the original config). Whether the mismatch comes from the bench baseline config or from a test fixture is unknown.
What it impacts
Any tier4-e2e targeted run on a release-line branch whose VERSION is below the version stamped in the bench's baseline config cannot pass the lifecycle phase. This hit PR #4293 (head 5144607) and masks the lifecycle behaviour it is meant to prove.
How I found it
**bench-ci job 4432@5144607e30bce8b8401fd0f6c40ee5c7998c9134** · pithead · tier4-e2e
- options: {"mode": "targeted"}
- status: completed · conclusion: failure · exit 1 · 57m 55s
- baseline verified: yes · rig restored: yes
- node guard: not recorded · no comparison recorded
- steps: checkout success · reserve success · preflight success · run failure · collect success · restore success · cleanup success
- rows: 270 pass · 4 fail · 9 skip (by-design 6, missing 3)
- failed rows:
- backup restore round-trip succeeded (no issue linked)
- pre-move dashboard rows readable (no issue linked)
- encrypted restore after config-reset starts the stack (no issue linked)
- restore original config and healthy stack (no issue linked)
_Generated by `bench-ci evidence 4432@5144607e30bce8b8401fd0f6c40ee5c7998c9134`; re-run it to check._
The log line quoted above comes from the lifecycle phase's backup round-trip. The egress audit rows in the same job passed, so the audit loader is not the cause. Whether other branches show the same rows is unknown.
How important is it
Medium-high: lifecycle is a required e2e phase and every red row here is unowned until this exists.
Acceptance criteria
- The source of the 2.0.4 stamp in the baseline config is identified.
- A targeted tier4-e2e on a branch at VERSION 2.0.3 runs the lifecycle backup restore round-trip to a pass, or the run explicitly reports the version mismatch as an infrastructure state rather than a product failure.
- The three dependent rows pass with it.
Possible solutions
- Rebuild the bench baseline from the branch's version before the lifecycle phase.
- Have the restore row skip with a named reason when the baseline config is newer than the code under test.
Activity
pithead-developer commentedon Nov 22, 2026
Same signature on a pithead 2.0.3 code head in job 4437@a88a9b3b305bb0d78be2e65d2588d953e81bab3d (PR #4268): baseline config written by 2.0.4, and the backup restore round-trip row fails. Three more rows red in the same run and not in this issue's list: dashboard carry cleanup restored its baseline safely, dashboard password apply preserves the served TLS certificate and key, dashboard password restore apply preserves the served TLS certificate and key. Their link to the refused restore is inferred from ordering, not confirmed.
pithead-developer commentedon Nov 23, 2026
This also hits
develop-v2.1.0(VERSION 2.0.3), where the newer lifecycle harness fails a different set of seven rows from the same backup→restore round-trip. Launcher-free job on that base (PR #4268):PR #4269 (job 1053 on fbc9b18) shows the same seven rows. The acceptance criteria list only the older harness's dependent rows. On this line,
dashboard carry cleanup restored its baseline safely, both TLS-preservation rows,reset recovery returns the original baseline bytes, secrets and healthy stackandapply proxy restartsshould pass as well.pithead-developer commentedon Nov 23, 2026
Same cause seen on develop-v2.1.0: tier4-e2e job 4514@ae94120a0e71d8ff7c028aacf8a259b98a87994c (pithead PR #4328) opens with
config.json was written by pithead 2.0.4; this is 2.0.3and failsbackup restore round-trip succeededandpre-move dashboard rows readable. In that jobdashboard carry cleanup restored its baseline safelyand the twodashboard password … preserves the served TLS certificate and keyrows (TLS identity could not be read before or after the operation) fail in the same stretch, between the refused restore and the reset-recovery step. I have not proved they cascade from it, so please keep them in this issue's acceptance until a run past the fix shows them green.pithead-developer commentedon Nov 23, 2026
Blocked on #4302. #4373 is blocked on #4302 (Release pending: pithead 2.0.4). The review was right that PR #4376's fix, lowering the seeded config_version stamp from 2.0.4 to 2.0.3 in preflight, is the clamp the owner ruled out on #3664 and that
docs/dev/releasing.mdforbids. I reverted it, so head e02ced5 is identical todevelop-v2.0.5. The cause is version skew:developtook VERSION 2.0.4 in f2a2bd0 (#4340), whiledevelop-v2.0.5anddevelop-v2.1.0are still at 2.0.3, and the seeded bench config carries the live 2.0.4 stamp. That the bench baseline runsdevelopis inferred from this; I did not read the bench config directly. Done: the stamp's source is identified, the clamp is removed, and the PR body and a blocker comment on #4376 are updated. To unblock: the operator cuts 2.0.4 (#4302); thendevelopis forward-merged intodevelop-v2.0.5anddevelop-v2.1.0(#4175), takingdevelop's VERSION, and a targeted tier4-e2e lifecycle run ondevelop-v2.0.5should pass without any rewrite. The existing v2.0.5 forward-merge draft #4325 is stale (VERSION 2.0.3, conflicting) and has no closing issue. #4376 now carries no code change; closing it or keeping it as the record is the runner's or owner's call.The runner resumes this issue when that one closes.
pithead-developer commentedon Nov 24, 2026
Same signature on a second branch (pithead#4424, VERSION 2.0.3 on the release line). The job log opens with
config.json was written by pithead 2.0.4; this is 2.0.3, and the lifecycle backup restore round-trip fails with the sameapply, down, restore, or up returned non-zero. Here the stack stays down afterwards (network mining_net not found,service "dashboard" is not running), so more rows cascade than the four listed above: the dashboard carry, both TLS-continuity rows, reset recovery and apply proxy restarts. Job 1073, on the pithead#4317 branch, shows the identical seven rows, so the cause is not this PR.bench-ci job 4585@3f0afc0188664a8289f1fabacf628391b5aa2180 · pithead · tier4-e2e
Generated by
bench-ci evidence 4585@3f0afc0188664a8289f1fabacf628391b5aa2180; re-run it to check.pithead-developer commentedon Nov 27, 2026
Blocked on #4502. #4302 is closed and 2.0.4 is published, but the blocker for #4373 is now #4502, the forward merge of 2.0.4 into
develop-v2.0.5anddevelop-v2.1.0. Its PR fordevelop-v2.0.5(#4569) is open and mergeable but not merged:develop-v2.0.5anddevelop-v2.1.0are both still at VERSION 2.0.3 whiledevelopis 2.0.4. The lifecycle backup→restore rows therefore still fail on version skew, and the owner's no-clamp ruling on #3664 means no stamp rewrite is allowed. PR #4376 carries no code change (identical to base) and its blocker comment is updated. What clears it: #4569 (and thedevelop-v2.1.0merge) landing, then a targeted tier4-e2e lifecycle run on the updateddevelop-v2.0.5, which should pass unmodified. The runner or owner can then close #4376 or keep it as the record.The runner resumes this issue when that one closes.