Skip to content

Rig-miner shell regression does not arm its errexit negative control #3763

Closed

Description

@pithead-developer

What's the problem

The required shell suite fails its rig-miner negative control: control: the errexit runner is armed. The assertion expects the failing probe to stop before printing survived, but the probe prints it.

The fix merged as PR #3764 (dd3b2cb66701c0f3415fda6316cbdbdc4668eda5) into develop-v2.1.0, but is absent from the supported develop branch. The separate develop correction is tracked in #3782; this issue remains closed for its merged integration-branch fix. Do not fold the backport into PR #3552.

What it impacts

Shell block 5 and its aggregate required check fail. The negative control cannot establish that the subsequent journal-reclaim regression runs with effective errexit. This prevents an otherwise passing appliance dependency fix in #3761 from satisfying the required GitHub checks.

How I found it

Shell block 5 at c2e774beaf65d76e0b3a748f09015723e6fd13ea reports 2816 passed and one failed. The failing row in tests/stack/appliance/test-appliance-rig-miner.sh reports [survived] unexpectedly contains [survived]. That commit changes only the Cosign module raise and binary-version assertion, its dependency-list assertion in block 1, and the release documentation; block 1 passes. No retry or flakiness claim is made.

PR #3552 head 596aa54c4a90eca7a1f77a5824c8edce8960fee5 has the identical failure in shell block 5: control: the errexit runner is armed prints survived; the final suite reports one failure. The raw failing row and helper were inspected. The image-permission diff does not change this fixture.

How important is it

It blocks a required CI check and leaves the journal-reclaim test's errexit premise unproved. Product failure from this test defect has not been established.

Acceptance criteria

  • The rig-miner control proves a failing command stops execution before its success marker when run through the normal shell-suite entry point.
  • The journal-reclaim cases execute with the same effective errexit semantics and continue to prove boot/miner setup survives expected reclaim failures.
  • Shell block 5 and the aggregate required shell check pass on Linux CI without removing or weakening the negative control.

Possible solutions

Investigate the helper's shell and command-substitution context and execute the control and tested operation in an independently armed shell if needed. Preserve the failure-path assertions.

Activity

  1. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    The same negative-control failure appears in shell block 5 at 5bfe24daf324213b49b1a5a8d645eb4354b879e5 while validating #2650 and draft #3729: control: the errexit runner is armed reports [survived] unexpectedly contains [survived]. The helper and assertion are unchanged from base 82644405e416f8239d289b89c448a5543280010c. #3729 repairs its separate missing-input restore fixture and preserves this control; #3763 remains the owner of this row.

  2. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    Additional exact-signature occurrence from #3028 / draft PR #3521 at 2e737c74453f456eebf876c2b55dcef6e9ce83ad: shell block 5 fails control: the errexit runner is armed with [survived] unexpectedly contains [survived]. The retained block log ends with 2816 passed and one failed, exit 1. The required shell aggregate consequently fails.

    The failing test and its CLI producer are unchanged by #3521, whose changes are integration lifecycle tests/helpers and documentation. Bounded inspection confirms the same run_rig_errexit command-substitution control recorded here; no flaky-test or product-reclaim failure is claimed. No retry, assertion weakening or unrelated fix was added. #3028's Main-to-Mini live proof is complete for its own rows, but its required GitHub shell check needs this issue's fix to land before the PR can advance.

  3. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    The same negative control fails on PR #3539 at 1eb26b8c237e7aa725c8c76ddc0af21a14aff8b4: shell block 5 reports control: the errexit runner is armed with [survived] unexpectedly contains [survived]; the aggregate required shell check fails too. This PR changes integration tests and documentation, with no rig-miner implementation or test changes. Its independent integration-module inventory failure is being fixed within #2603; the block-5 control remains owned here.

  4. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    Additional exact-signature occurrence from #3474 / draft PR #3536 at ea1202ab9adaa51bbcca9fdefbdc44fd1e227e89: shell block 5 fails control: the errexit runner is armed with [survived] unexpectedly contains [survived]; the aggregate required shell check fails. The rig-miner helper and test are unchanged against develop-v2.1.0; #3474 changes test isolation, not this helper or production rig-miner behavior. Its previously failing block-4 and independent editable-allowlist fixture now pass. Reuse #3763 / PR #3764 for this required-check prerequisite; no competing fix or retry was added.

  5. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    The same rig-miner negative-control failure occurs in #2483 at runtime commit 713e302c9950470422195875bc41516abe00dc80: shell block 5 reports control: the errexit runner is armed with [survived] unexpectedly contains [survived]. I read the raw assertion and test runner. The backup diff does not touch that runner; this canonical issue owns the required-check fix.

  6. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    Additional current-head evidence from draft #3727, commit 0ac1169ef8ff7425c32b8c305ba29b9e3aeabfd0: shell block 5 fails control: the errexit runner is armed because the negative control prints survived. The raw assertion and final failing suite result were inspected. Reusing this canonical issue; the proxy proof changes are in a separate selftest and do not alter this control or its runner.

  7. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    ContributorAuthor

    The same negative-control failure occurs at 961eeba39437f793ed4c594457a90fd4421a9e44 while validating #2827 / draft PR #3739. Shell block 5 reports control: the errexit runner is armed, with [survived] unexpectedly contains [survived]; its final result is 2816 passed and 1 failed. I inspected the failed-job log and the owning assertion in tests/stack/appliance/test-appliance-rig-miner.sh. This branch does not change appliance code or that test. No rerun or flakiness claim is made.

  8. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    ContributorAuthor

    Additional exact-signature occurrence from #2000 / draft PR #3501 at 9bd74479d4b0bbaca80610124bddcb39d685ab65: shell block 5 fails control: the errexit runner is armed with [survived] unexpectedly contains [survived]; the aggregate required shell check fails too. The failed raw assertion and owning test were inspected. This PR changes integration transport/tests and developer documentation; the rig-miner test is unchanged. Its own exact-head SSH fault proof and complete acceptance script pass. Reusing #3763 / PR #3764 as the required-check prerequisite, with no competing fix or retry.

  9. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    ContributorAuthor

    Additional exact-signature occurrence from #3574 / draft PR #3632 at 0a1589e3381d8c381067127196c170a17c65ebdd: shell block 5 fails control: the errexit runner is armed, reporting [survived] unexpectedly contains [survived]. The aggregate shell check also fails. The raw assertion and unchanged rig-miner fixture were inspected; the current commit changes only peering diagnostic coverage and developer documentation. Reusing this canonical issue, preserving the negative control and journal-reclaim assertions.

  10. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    ContributorAuthor

    Additional exact-signature occurrence from #3081 / draft PR #3758 at 8af9011f1e6eb40337b662ad75007ae61a4e7020: shell block 5 fails control: the errexit runner is armed, reporting [survived] unexpectedly contains [survived]. Its aggregate required check consequently fails (blocks=failure prerequisites=success). The failing assertion and aggregate output were read directly. The rig-miner test, shell-suite helper and CLI prelude are unchanged from the PR base. Reusing #3763 / PR #3764 for this required-check prerequisite; no competing fix, retry or weakened assertion was added. Current-head live support-bundle assertions passed independently.

  11. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    ContributorAuthor

    The same rig-miner negative-control failure occurs on PR #3535 at 68d4b4fdbf6e716b43336cc7afc13007fdeb7801: Shell block 5 reports control: the errexit runner is armed with [survived] unexpectedly contains [survived]. The aggregate shell check also fails. The source changes for #3460 do not touch this control or its rig-miner driver.

    The separate standalone failure at that head is the Tor receipt test's temporary-directory invariant and is being corrected in #3535. Keep the rig-miner control failure owned by this issue; no retry or flakiness claim is made.

  12. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3764.

  13. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Additional occurrence at 26b2b63b5735e33819097a90a25d992b4b8cda7e for pithead#3772 / PR #3777: shell block 5 reports 2816 passed and one failed. The failing row is control: the errexit runner is armed, with [survived] unexpectedly contains [survived]. The current change only adds restore-compatibility admission in the integration harness and does not edit the rig-miner helper or its negative control. This matches this issue's retained failure signature; no retry or flakiness claim is made.

  14. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3764.

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