Skip to content

KVM reset: coordinator setup-again rows fail on develop-v2.1.0 (saved pithead role not reported) #3934

Closed

Description

@pithead-developer

What's the problem

The tier4-kvm reset phase fails two rows on the develop-v2.1.0 tip: coordinator setup-again: saved pithead role and safe prefill did not match the saved answers and coordinator setup-again did not complete both Keep it and coordinator resubmit (stage: keep). The harness prefill report is {"setup":true,"coordinator":false,"saved":true,"changed_answers":0}: the set-up-again page is up, but saved_role is not {role: "pithead"}.

What it impacts

Every PR whose proof needs a green reset phase on develop-v2.1.0 (for example pithead#3756, PR #3902), and the RC gate's reset group.

How I found it

bench-ci job 3471@8eb468f964be263f49f622dc5dfbcad108f97540 (develop-v2.1.0 tip, no PR changes): 142 pass, 2 fail, the two rows above. Jobs 3451 and 3455 on the PR #3902 head gave the same two rows. The cause is unknown; the leg is tests/os/coordinator-setup-again-leg.sh. A reset job on the older develop line (3447) passed, but its base predates this leg.

How important is it

High for the develop-v2.1.0 line: it blocks reset-phase proof for every appliance PR.

Acceptance criteria

  • A tier4-kvm job with phases=reset on the develop-v2.1.0 tip passes both rows, with the saved role reported as pithead on the set-up-again page.

Possible solutions

  • Check what /api/setup/state returns for saved_role after a coordinator provision on this line (unknown whether the product or the leg's expectation changed).

Activity

  1. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3929. The #3934 fix is finished and proved twice on merge heads — run 5 (339@8429ba578, 190 pass/0 fail) and run 6 (476@b4ca7ffcf on ci-4, both issue rows green: page names saved role both, Keep it, resubmit) — run 6's only reds are pithead#3591's flaky caddy-unmount teardown reproducing again (recurrence posted on that issue). The PR body was corrected and completed: my previous claim that #3923's fix had landed on develop-v2.1.0 was wrong — git branch -r --contains 56e3bec22 shows it rides ONLY open PR #3930's branch (the merged #3926 carried it into the develop-v2.0.3 line), so no head mergeable into this base can turn the five Build-image Trivy gates green; the transient Shell-lint/bridge-reds were GitHub CDN curl failures (504/exit 18) and re-ran green at the same head. Blocked on pithead#3929 landing via PR #3930, which carries every fix these gates need for this base (apt 56e3bec, zlib1g 80a70db, musl); when it lands: merge the updated base into b4ca7ff, push, re-submit the bench, and this PR needs no code change. PR stays draft; never merged.

    The runner resumes this issue when that one closes.

  2. added
    blocked
    on Nov 8, 2026
  3. removed
    blocked
    on Nov 8, 2026
  4. added a commit that references this issue on Nov 8, 2026
  5. added a commit that references this issue on Nov 9, 2026
    ad63fbe
  6. pithead-developer commented on Nov 10, 2026

    @pithead-developer
    ContributorAuthor

    Closed by the merge of PR #3937 into develop-v2.1.0 as ad63fbe00b2c5c22812eb868254f77e182c34bb7 (head 8c6822065118ecb427b476fcc6a853dbb7b6c067, reviewer round 2 PASS) on 2026-11-09. GitHub only auto-closes issues on a merge into the default branch, so closing here manually. The full evidence trail is in the PR body: #3937

    What shipped: the Set up again leg now names the 2.1.0 coordinator role so the saved role is reported and the prefill carries no secrets, and render_env's auto-sized TARI_MEM_LIMIT now deducts hugepages_carveout_mb.

    Proof at the final head (all unedited blocks in the PR body):

    • tier4-kvm --option phases=reset, job 609@8c6822065118ecb427b476fcc6a853dbb7b6c067: completed, conclusion success — 190 pass · 0 fail · 0 skip. Both rows this issue names are green (coordinator Keep it: original login, configuration, chains and onion identity survive, coordinator resubmit: card login works, chain height resumes and chains and onion identity survive), with the prefill rows naming the saved role both. An earlier head, 339@8429ba57879fad207f4cb779afde1d427dbb79db, measured the same battery at 190/0.
    • tier4-e2e --option mode=targeted, job 546@8c6822065118ecb427b476fcc6a853dbb7b6c067: completed — 273 pass · 1 fail · 4 skip (by-design 4); the stack deploys and runs with the rendered .env. The single failing row, reset recovery applies its synthetic fixture, is owned by Lifecycle phase fails 'reset recovery applies its synthetic fixture' on develop-v2.1.0 #3913 — reproducible on unchanged develop-v2.1.0, mechanism reported with evidence on that issue; its fix has not landed on this base, so no head of this PR could turn it green.
    • GitHub checks at the head: 48 pass, 2 skipping (the shipped-image CVE sweeps, owned by their tracking issues), 0 fail.

    No residual work for this issue; the one red e2e row belongs to #3913.

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