Skip to content

KVM: a RigForge rig installed to an internal disk from the installer #3076

Closed

Description

@VijitSingh97

What's the problem

Manual step: checklist 14.1. On the installer, choosing RigForge with an internal disk installs the rig. The target boots, writes rig.json with the card's token, and mines.

Current coverage:

what it impacts

Impact is not separately established in the existing report; confirm the affected users or behavior.

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.

possible solutions

Proposed check (KVM install phase):

  • Submit role=rig with a target disk and confirm.
  • On the installed target: the rig.json token equals the card's token, xmrig is active, no containers exist, and the ESP pre-seed is scrubbed.

Found while building the manual QA walkthrough (#3065). Part of #3068. Test debt for after the 2.0.0 cut, so it is blocked by #2774.

Activity

  1. added
    testing
    appliance
    P3-hardening
    blocked
    on Oct 3, 2026
  2. removed
    blocked
    on Oct 14, 2026
  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Grouped with #3074, but PR #3522 does not close it: PR #3522 says: Scope follows the group instruction allowing a sibling that “needs its own proof” to be left out with an explicit reason. Only #3074 has a closing keyword in this PR. #3075 is left out because coordinator-to-coordinator setup-again needs its own reset-phase state machine and proof (`tests/os/phases/. Released for its own pick.

  4. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Grouped with #3075, but PR #3604 does not close it: Requires a separate internal-disk rig installer leg and KVM install-phase proof.. Released for its own pick.

  5. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm submission timed out; same-key replay exhausted its retries with No route to host. No job ID is confirmed. The runner re-checks it (first at 2026-10-22T07:12Z, at most 5 times); the durable fix is tracked in p2pool-starter-stack/bench-ci#2109.

  6. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Waiting on a transient artifact_read condition, not on another issue. bench-ci evidence 2767@9dfc3ca9413db4308685a9309d3345b809530a04 exhausted five attempts, exited 1 and produced empty stdout with No route to host. The runner re-checks it (first at 2026-10-22T15:26Z, at most 5 times); the durable fix is tracked in p2pool-starter-stack/bench-ci#2109.

  7. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2179. Read access recovered; both existing evidence blocks match the PR, and their logs confirm assertions and cleanup. Current-head job 2779@90a1b9b93d3a1015c22398de78ea5df8fe2bfc7d failed before installer tests because of the missing BuildKit snapshot tracked by bench-ci#2179. The draft PR records the blocker; owner-managed recovery and fresh install-phase proof are required to proceed.

    The runner resumes this issue when that one closes.

  8. added
    blocked
    and removed
    blocked
    on Oct 22, 2026
  9. 6 remaining items

  10. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Needs an operator action (do it, then close this or, then remove the operator-action label):

    Rebuilt locally as 2e08513; focused checks and both reviews pass. The pre-push hook rejected the requested force-with-lease rewrite. Before merge, the operator must publish this prepared head through an authorized route and change PR #3609’s base to develop, followed by fresh CI and KVM proof.

  11. added
    operator-action
    on Oct 23, 2026
  12. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Operator: done. The rebuilt head 2e08513 (four #3076 commits on develop cc7562d, nothing from develop-v2.1.0) is published to the PR #3609 branch (force-with-lease from d11f3f2), and PR #3609 now targets develop: 11 files. Resume for fresh CI and the KVM proof. v2.0.2 note: nothing merges into develop during the 2.0.1 freeze (Saturday 10-24 to the Sunday 10-25 cut).

  13. removed
    operator-action
    on Oct 23, 2026
  14. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3609 did not pass after round 3 (RETURN).

    Re-review of PR #3609 at 2e08513. The branch was rebuilt onto develop, so the last reviewed head 90a1b9b is not an ancestor. Comparing the PR's own diff at both heads, the worker changed only the coverage-ledger row and a shellcheck source directive, so both round-2 notes are fixed. The fix is correct: the new dispatch selftest fails with the wizard hunk reverted and passes at the head, and tier-1 CI runs it. It still fails because no tier4-kvm job covers the head. The head's os/, lib/ and tests/os/ trees differ from every quoted job's commit, the PR body still says no head job exists, and bench-ci reads remain unreachable (bench-ci#2109).

    • [return] PR body 'Here is the proof'; git diff --stat 90a1b9b 2e08513 -- os lib tests/os: No tier4-kvm job covers head 2e08513. The diff touches the firstboot wizard/installer (lib/pithead/12-firstboot-wizard.sh) and tests/os/, so a tier4-kvm install-phase job on this exact SHA is required. Every quoted job (2794@90a1b9b9, 2847@d11f3f2a, 2801/2818@f2712918, 2767@9dfc3ca9) tested a commit whose os/, lib/ and tests/os/ trees differ from the head: 26 runtime-path files vs 90a1b9b, including os/rootfs/Dockerfile, and 46 vs d11f3f2. Submit a fleet tier4-kvm install job on 2e08513 and quote its bench-ci evidence block.
    • [return] PR body, 'How I fixed it' last paragraph and 'Here is the proof' paragraphs 2 and 5: The body contradicts the PR's current state. It says the head is unpublished ('publication is pending an operator action'), that the PR 'still targets develop-v2.1.0 at remote head d11f3f2', and that 'No current-head GitHub checks or KVM job exist'. The head 2e08513 is pushed, the base is develop, and 37/39 checks pass (2 schedule-only skips). Rewrite the proof around the current head and its own job.
    • [return] bench-ci jobs --repo pithead --commit 2e08513; bench-ci evidence 2794@90a1b9b93d3a1015c22398de78ea5df8fe2bfc7d: Round-2 finding still standing: every supported bench-ci read from the reviewer exited 1 with empty stdout and 'request failed: <urlopen error [Errno 65] No route to host>' (bench-ci#2109). Once the head job exists, the next reviewer must re-derive its evidence block and log.
    • [note] docs/dev/testing-strategy.md:559: The coverage row claims '4 ✅ (job 2794 at 90a1b9b93)', but 2794 tested a different composition from the head being merged. Point it at the head's install job once it passes.
  15. added
    review-returned
    on Oct 23, 2026
  16. pithead-architect commented on Oct 23, 2026

    @pithead-architect

    Ruling: Uphold the return: the verified code fix does not replace current-head KVM proof. Keep PR #3609 and its worktree. Correct the PR body's obsolete publication/base/check claims and the stale coverage claim in docs/dev/testing-strategy.md. On normal resume, make one supported-client availability check; if access still fails, retain bench-ci#2109 as the recovery dependency and preserve the failure evidence there for the owner's manual infrastructure queue, without duplicating the ticket or attempting host repair. Once access is restored, reconcile existing submissions before submitting one fleet tier4-kvm install job on the final current head, currently 2e08513. Return waiting with bench_jobs while it runs. Quote its completed evidence, refresh the proof record, and have the reviewer independently retrieve the evidence and log. Merge remains gated on current-head agent PASS followed by formal owner approval.

  17. removed
    review-returned
    on Oct 23, 2026
  18. added a commit that references this issue on Oct 23, 2026
    66ec86f
  19. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    Contributor

    Merged in #3609.

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

    P3-hardeningappliancetesting

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions