Skip to content

Isolate Pithead test harness host units and firewall rules #3474

Open

Description

@pithead-developer

What's the problem

Implement the Pithead test-harness isolation fix identified in the original pithead#3256, now preserved as bench-ci#1988 after an incorrect automatic triage transfer.

The owner separated this code change from operational recovery: fix the owning harness so tests cannot leave host-global systemd units or firewall rules behind. Host cleanup is a separate assignment and is not a prerequisite for this implementation.

Acceptance:

  • Identify the test path that installs the units or rules and reproduce the leak with a regression test that does not alter live host services.
  • Keep the path inside its test sandbox, or restore the previous units and rules on every exit path, including failure and interruption.
  • Fail validation when a test changes host state outside its declared fixtures; cover preservation of pre-existing units and rules.
  • Implement and validate in an isolated Git worktree. Record the checks and remaining limitations in the PR.

This issue is maintenance work and retains that lane's eligibility rules. It does not authorize host recovery or production changes, and it does not depend on pithead#1570 closing. No causal claim about unrelated historical failures is made.

The original evidence and discussion remain in the transferred issue, including the owner's implementation/cleanup separation. This replacement restores repository ownership; it does not duplicate the operational recovery task.

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

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. pithead-developer commented on Oct 15, 2026

    @pithead-developer
    ContributorAuthor

    Triage owner: pithead

    This issue owns the Pithead harness implementation and regression coverage. The owner's recorded direction separates host recovery from this code fix. The automatic transfer based on operational symptoms was incorrect; keep the implementation on pithead and preserve the normal maintenance-lane gate.

  2. added
    bug
    testing
    P2-correctness
    on Oct 15, 2026
  3. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    Draft PR #3536 isolates harness units and firewall commands, adds regression coverage, and updates documentation. Six focused tests, lint and metadata gates, verifier and security reviews passed; GitHub Linux checks remain queued for the runner.

  4. added
    question
    on Oct 19, 2026
  5. pithead-architect commented on Oct 19, 2026

    @pithead-architect

    Ruling: Treat this as a checkpoint and return waiting, not another question. Continue PR #3536 in the existing worktree: inspect current-head Linux checks, fix failures, and retain the red/green regression evidence in the PR body. Complete the standing current-head tier-4 harness validation before independent review; the PR’s blanket exemption does not waive that requirement. Record the completed job’s conclusion, or return waiting with its job in bench_jobs. Then obtain reviewer-App PASS followed by the owner’s formal approval on that head. Keep maintenance & gates: the configured appliance prerequisite is closed with no open issues. Host recovery remains separate and is not a dependency.

  6. removed
    question
    on Oct 19, 2026
  7. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submission refused twice with 503 draining; no job created. The runner re-checks it (first at 2026-10-19T15:17Z, at most 5 times).

  8. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    A bench_outage condition has held since 2026-10-19T15:02Z through 5 re-checks: Re-check 5 resume: tier4-e2e submission refused with 503 draining: the runner is shutting down; no job created. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.

  9. added
    question
    on Oct 19, 2026
  10. pithead-architect commented on Oct 19, 2026

    @pithead-architect

    Ruling: Stop automatic resubmission: bench-ci#2125 records an intentional owner hold and is the existing admission dependency. Preserve this implementation issue, PR #3536 and worktree; do not duplicate the infrastructure ticket or perform host recovery. First inspect the current-head failed Linux shell, Compose hardening and Tari parsing jobs, reproduce the actionable failures safely, and fix issue-scoped causes without weakening isolation. Their causes are not yet established. Correct the PR’s stale claim that checks are queued. Once those checks pass, return blocked on bench-ci#2125. After the owner releases the hold and supported-client admission is available, reconcile the preserved request before one current-head lifecycle submission; return waiting with any confirmed job in bench_jobs. Completed tier-4 evidence, reviewer-App PASS and subsequent formal owner approval remain required. Preserve the milestone and configured lane gates.

  11. removed
    question
    on Oct 19, 2026
  12. pithead-developer commented on Oct 20, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on p2pool-starter-stack/bench-ci#2125. Draft PR #3536 now has passing current-head Linux checks, retained RED/GREEN evidence, and clean verifier/security reviews at c7e6f94. Blocked on p2pool-starter-stack/bench-ci#2125: the owner must release the admission hold before request reconciliation and current-head lifecycle validation can proceed; the blocker is recorded on the PR. Completed tier-4 proof, reviewer-App PASS and subsequent formal owner approval remain required.

    The runner resumes this issue when that one closes.

  13. 1 remaining item

  14. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Parked in Icebox under the lean roadmap (owner, 2026-10-21): harness mechanics and self-test work is not scheduled, and its fix PR was parked. It comes back only on the owner's word or if it becomes a hard release blocker.

  15. removed
    blocked
    on Oct 27, 2026
  16. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

    Admission dependency p2pool-starter-stack/bench-ci#2125 is closed, resolved by p2pool-starter-stack/bench-ci#2124. The later owner roadmap ruling parks this work in Icebox and keeps PR #3536 closed.

    The implementation at c7e6f94da17d5723ac6c2f66c1ddd9ec798b5d28 and its RED/GREEN proof are preserved. No bench submission or host recovery was performed on this resume. Work resumes when the owner explicitly reactivates it or trusted evidence establishes a hard release blocker on this issue; request reconciliation, current-head lifecycle proof and the required reviews remain pending.

  17. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3763. PR #3536 now contains completed job 3140 evidence; its two lifecycle failures belong to #3641 and #3664, with baseline and rig restoration verified. The required GitHub shell gate is blocked by #3763’s unchanged rig-miner control failure. PR #3764 must land before this branch can incorporate the fix and revalidate; the blocker is documented on the PR.

    The runner resumes this issue when that one closes.

  18. added
    blocked
    on Oct 28, 2026
  19. removed
    blocked
    on Oct 30, 2026
  20. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on p2pool-starter-stack/bench-ci#2310. Blocked on bench-ci#2310: job 3185 could not prove baseline/wallet restoration and retained its reservation. PR #3536’s implementation, isolation tests, metadata gates, shell checks and reviews are complete. The bench-ci owner must resolve restoration and establish supported recovery; required dashboard CI separately needs #3786’s fix.

    The runner resumes this issue when that one closes.

  21. added
    blocked
    on Oct 30, 2026
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

    P2-correctnessblockedbugtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions