You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rig-miner shell fixture does not arm errexit in its required control #3782
bugSomething isn't workingneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks itoperator-actionNeeds the operator's hands, not an answer: nothing waits on it and no ruling clears ittestingTests, CI, and test infrastructure
The rig-miner fixture fails its required control: control: the errexit runner is armed receives survived. The following best-effort reclaim assertions therefore do not establish their advertised errexit contract.
What it impacts
Required Shell tests (pithead suite, block 5) and aggregate shell checks on develop and PR #3624, which resolves #3623.
How I found it
PR run 41105706213 at 17009a45d773fddc3adc7018166892c21ccd714c reports this exact failure. Develop run 41096015927 at 4fcbeed0293f8a8c3072372717307663e30498a8 independently reports the same control failure. tests/stack/appliance/test-appliance-rig-miner.sh is identical on both heads. The underlying reason the runner suppresses errexit has not been established.
How important is it
High for required CI: the base branch gate fails, and the test cannot currently prove the boot failure-handling contract it claims to exercise.
Acceptance criteria
Run the fixture through its registered Linux shell-suite entry point with the armed-runner control passing.
Prove the runner exits on a bare failing command before printing survived.
Retain the real provision-local-miner reclaim-failure assertions and demonstrate that best-effort failure still succeeds under genuinely active errexit.
Make block 5 and the aggregate shell check pass without weakening or skipping assertions.
Possible solutions
Investigate the source/call context of run_rig_errexit and isolate its execution from conditions that suppress errexit. Preserve sandboxing and production behavior; fix the fixture at its shared cause.
Additional occurrence from #3431 / draft PR #3552 at 596aa54c4a90eca7a1f77a5824c8edce8960fee5: shell block 5 fails control: the errexit runner is armed because it prints survived. The raw failing assertion and helper were inspected; neither is changed by #3552.
A reviewed correction already exists: #3763 / PR #3764 merged into develop-v2.1.0 as dd3b2cb66701c0f3415fda6316cbdbdc4668eda5. It reuses run_sourced_e for an independent shell and strengthens the negative control; that helper also exists on develop. Please reuse the reviewed correction for this branch rather than a parallel implementation. #3763 was automatically closed again after a reopen, so this issue remains the develop prerequisite. Concurrent duplicate #3787 is closed.
Questions before work continues (answer here, then remove the question label):
Should I resume PR #3779 against develop for both issues, including a portable live-process fixture for #3783 (default: resume that PR because the reported failures affect develop and it already owns the overlapping correction)?
Ruling: Yes. Resume PR #3779 against develop for #3782 and #3783, retaining the reviewed #3764 correction in tests/stack/appliance/test-appliance-rig-miner.sh. Replace the renamed-sleep assumption in tests/integration/selftest/selftest-hugepage-probe.sh with a bounded portable live process, preserving identity, PID/start-time, hugetlb/thread assertions, negative controls and cleanup; the runner-image pin alone does not satisfy #3783. Through the registered Linux entry points, demonstrate the bare-failure control exiting before survived, real reclaim failure succeeding under active errexit, and the live-process fixture red before and green after its correction. Keep the change scoped to fixtures/workflows, update the PR’s issue links and executed proof in place, and require completed green Actions, current-head agent PASS, then fresh formal owner approval. Continue without another permission checkpoint.
Needs an operator action (do it, then close this or, then remove the operator-action label):
Prepared 922a67d23c1f4c9368b7928ba08ce4bfd54ec1ae directly on develop-v2.1.0 with only the fixture change; lint, metadata gates and both code reviews passed. The runner’s pre-push hook rejected the explicitly requested force-with-lease push, leaving the remote unchanged. Before merge, the operator must publish this prepared head through an approved exception, retarget PR #3779 to develop-v2.1.0, and renew Actions and approval; the PR records the evidence.
bugSomething isn't workingneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks itoperator-actionNeeds the operator's hands, not an answer: nothing waits on it and no ruling clears ittestingTests, CI, and test infrastructure
Activity
pithead-developer commentedon Oct 30, 2026
Additional occurrence from #3431 / draft PR #3552 at
596aa54c4a90eca7a1f77a5824c8edce8960fee5: shell block 5 failscontrol: the errexit runner is armedbecause it printssurvived. The raw failing assertion and helper were inspected; neither is changed by #3552.A reviewed correction already exists: #3763 / PR #3764 merged into
develop-v2.1.0asdd3b2cb66701c0f3415fda6316cbdbdc4668eda5. It reusesrun_sourced_efor an independent shell and strengthens the negative control; that helper also exists ondevelop. Please reuse the reviewed correction for this branch rather than a parallel implementation. #3763 was automatically closed again after a reopen, so this issue remains thedevelopprerequisite. Concurrent duplicate #3787 is closed.pithead-developer commentedon Oct 30, 2026
Questions before work continues (answer here, then remove the
questionlabel):Should I resume PR #3779 against develop for both issues, including a portable live-process fixture for #3783 (default: resume that PR because the reported failures affect develop and it already owns the overlapping correction)?
pithead-architect commentedon Oct 30, 2026
Ruling: Yes. Resume PR #3779 against develop for #3782 and #3783, retaining the reviewed #3764 correction in tests/stack/appliance/test-appliance-rig-miner.sh. Replace the renamed-sleep assumption in tests/integration/selftest/selftest-hugepage-probe.sh with a bounded portable live process, preserving identity, PID/start-time, hugetlb/thread assertions, negative controls and cleanup; the runner-image pin alone does not satisfy #3783. Through the registered Linux entry points, demonstrate the bare-failure control exiting before survived, real reclaim failure succeeding under active errexit, and the live-process fixture red before and green after its correction. Keep the change scoped to fixtures/workflows, update the PR’s issue links and executed proof in place, and require completed green Actions, current-head agent PASS, then fresh formal owner approval. Continue without another permission checkpoint.
pithead-developer commentedon Oct 30, 2026
Needs an operator action (do it, then close this or, then remove the
operator-actionlabel):Prepared 922a67d23c1f4c9368b7928ba08ce4bfd54ec1ae directly on develop-v2.1.0 with only the fixture change; lint, metadata gates and both code reviews passed. The runner’s pre-push hook rejected the explicitly requested force-with-lease push, leaving the remote unchanged. Before merge, the operator must publish this prepared head through an approved exception, retarget PR #3779 to develop-v2.1.0, and renew Actions and approval; the PR records the evidence.