Skip to content

Lifecycle phase fails 'reset recovery applies its synthetic fixture' on develop-v2.1.0 #3913

Closed

Description

@pithead-developer

What's the problem

The lifecycle phase of tier4-e2e fails the row reset recovery applies its synthetic fixture on unchanged develop-v2.1.0. The retained reset-restore.fixture-apply.log shows pithead apply -y printing "No configuration changes detected. Nothing to apply." and the row's chain then fails, so the encrypted reset-recovery leg never runs.

What it impacts

Every lifecycle proof on develop-v2.1.0: the reset-recovery leg and anything after it in the phase is not exercised. PR #3828 (#3402) cannot prove its reset-recovery invariant check because of it.

How I found it

How important is it

High for the 2.1.0 line: it keeps the lifecycle gate red on the integration branch, independent of the change under test.

Acceptance criteria

  • tier4-e2e phases: [lifecycle] on develop-v2.1.0 passes reset recovery applies its synthetic fixture, or the row fails with the apply output that explains why.
  • The apply step of the fixture leg is proved to change the configuration, or the leg stops asserting a change that the fixture cannot make.

Possible solutions

  • Read the first lines of reset-restore.fixture-apply.log and the projection in run-reset-restore.sh against the live config.json to see which key the fixture is meant to change.
  • If the projection now equals the live stamp, make the fixture differ in a key apply acts on, or accept a no-op apply when the written configuration already equals the fixture.

Activity

  1. pithead-developer commented on Nov 3, 2026

    @pithead-developer
    ContributorAuthor

    Seen again on pithead PR 3835: job 3381 at 7da4f01 (tier4-e2e targeted), lifecycle row 'reset recovery applies its synthetic fixture' failed, see reset-restore.fixture-apply.log.

  2. pithead-developer commented on Nov 3, 2026

    @pithead-developer
    ContributorAuthor

    Recurrence on PR #3730 (job 3389@3633ea47eaf5adeb216b5089b761067d45b77dff, tier4-e2e lifecycle): 225 pass, 1 fail, the same row. Its retained reset-restore.fixture-apply.log again prints "No configuration changes detected. Nothing to apply." The PR's diff does not touch run-reset-restore.sh.

  3. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient chain_sync condition, not on another issue. tier4-e2e phases=[lifecycle] submit for 19a7889 (base develop-v2.1.0) refused 503 baseline_unhealthy; no job created. Key 10043f34-dfef-4ebd-925b-a2fb2d865bbe. The runner re-checks it (first at 2026-11-06T07:28Z, at most 5 times).

  4. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3923. PR #3920 cannot go green until #3923 is fixed. The four red Build image checks (dashboard, monero, p2pool, xmrig-proxy) fail the Trivy gate on apt CVE-2026-109518 (HIGH, fixed upstream) in the base images. The same failure hits every PR on develop-v2.1.0, and this diff touches only tests/integration. The fix is PR #3926, which closes #3923. Finished: the fix, the selftest, and lifecycle job 3443 on the head (257 pass, 0 fail). To unblock: merge #3926, then merge develop-v2.1.0 into the branch and re-run the checks. The blocker is commented on the PR.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Nov 6, 2026
  6. pithead-developer commented on Nov 7, 2026

    @pithead-developer
    ContributorAuthor

    Seen again on bench-ci job 3440@1cdde50b5816870240990c511d41fcd2de190835 (tier4-e2e, phases lifecycle,rotate-onion): row reset recovery applies its synthetic fixture failed; reset-restore.fixture-apply.log shows No configuration changes detected. Nothing to apply. The diff on pithead#3522 does not touch run-reset-restore.sh.

  7. removed
    blocked
    on Nov 8, 2026
  8. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3940. PR #3920 is still red on the image CVE gate. Build image (dashboard, monero, p2pool, tor, xmrig-proxy) fail at head 645b3b9. #3926 landed only on develop-v2.0.3, so develop-v2.1.0 base images stay red (#3940). The tor image separately fails on musl-utils CVE-2026-107891 (#3929). This diff touches only tests/integration. Finished: the fix, the selftest, and lifecycle job 3579 on this head (257 pass, 0 fail), with its evidence in the PR body. To unblock: land the #3940 and #3929 fixes on develop-v2.1.0, then merge the base into the branch and re-run the checks. The blocker is commented on the PR.

    The runner resumes this issue when that one closes.

  9. added
    blocked
    on Nov 8, 2026
  10. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Fresh reproduction on a PR head that merges current develop-v2.1.0: tier-4 targeted tier4-e2e job 814@80a70dbb6c9ccfe088745c0469f055888750e58b (PR #3930) — 272 pass · 1 fail, the single failed row being reset recovery applies its synthetic fixture with the same reset-restore.fixture-apply.log signature ('No configuration changes detected. Nothing to apply.').

    Note on visibility: at the earlier head 1f42050b (job 788) this row never ran — run_tari_background_sync || return 1 short-circuited the lifecycle phase at the (#3094) failures that were flaking then. With those rows green at 80a70db, the phase continued and hit this known base failure exactly as #3913 describes.

    For your unblock note: PR #3930 ports the image-gate fixes (#3929's tor musl fix and #3940's apt/zlib1g port to develop-v2.1.0), so once it lands the image legs of #3920's checks should be able to go green.

  11. removed
    blocked
    on Nov 9, 2026
  12. pithead-developer commented on Nov 9, 2026

    @pithead-developer
    ContributorAuthor

    One more independent reproduction, from an unrelated lane: PR #3937's re-review tier4-e2e deploy proof (job 546@8c6822065118ecb427b476fcc6a853dbb7b6c067, tier4-e2e, mode=targeted, head on unchanged develop-v2.1.0 content for this path) — 273 pass · 1 fail, the single failed row being exactly this one, and the retained reset-restore.fixture-apply.log ends with the same No configuration changes detected. Nothing to apply.

    A concrete skew this issue lists as unknown, checked at the same head: the candidate's VERSION is 2.0.2 while config.reference.json carries "config_version": "2.0.0". The scenario drops config_version from the fixture, applies, and then its jq -e gate (tests/integration/lib/run-reset-restore.sh:72-77) requires the applied config_version to equal the reference stamp. But the host stamps with the code version: stamp_config_version (lib/pithead/27a-config-version.sh, called from 28-parse-and-validate-config.sh:410 during apply's parse) writes config_version = 2.0.2. 2.0.2 != 2.0.0 fails the select, so the row goes red deterministically on any tree where VERSION and the reference stamp differ — same on develop (both files checked). The self-test masks this by simulating an apply that stamps 2.0.0 (tests/integration/selftest/selftest-reset-recovery-fixture.sh:73-74), which is why it stays green while every real run at VERSION 2.0.2 is red.

    #3937 does not fix this — reporting for the record; attribution is in that PR's body.

  13. pithead-developer commented on Nov 9, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3920.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions