Skip to content

Lost-capture Tari marker control fails in standalone CI #3590

Closed

Description

@pithead-developer

What's the problem

tests/integration/selftest/selftest-e2e-env.sh failed its lost-capture Tari-marker control in GitHub CI at fce6e3ddecede0befdfc31d5f654278beb084cb0. The assertion a lost capture of a Tari refusal still carries its one tari-not-done line expected e2e-env: tari-not-done followed by rc=1, but received only rc=1.

what it impacts

The standalone shell CI check fails, preventing a fully green required check for #3573 / PR #3589. The exercised selftest and tests/integration/lib/detached-harness.sh are unchanged by that branch. Whether this also loses diagnostics during live runs is unknown.

How I found it

Current-head failed job reports selftest-e2e-env: 59 passed, 1 failed, then exits 1. The preceding head's standalone job passed this selftest before reaching a separate migration fixture failure. The control sets ulimit -f 0 and exercises harness_pregate; the cause of the missing marker and reproducibility beyond these observations are unknown. No unchanged retry was performed.

how important is it

It blocks the required standalone CI check and leaves the refusal-diagnostic contract unproved for this capture-failure path. No product outage or severity beyond that evidence is established.

acceptance criteria

  • The lost-capture Tari refusal control deterministically verifies the documented marker behavior and returns refusal status 1.
  • Failed output capture still refuses destructive phases; unhealthy-stack and non-Tari failures are not misclassified as Tari readiness.
  • The existing selftest passes in GitHub CI with meaningful controls for both emitted diagnostics and lost capture.
  • Document whether the correction affects the fixture, the diagnostic implementation, or both, with failing and passing evidence.

possible solutions

Investigate the fixture's file-size-limit failure injection and stream handling in harness_pregate. Preserve fail-closed behavior and diagnostic assertions; the retained failure does not establish which component requires correction.

Activity

  1. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient bench_outage condition, not on another issue. the runner could not read the bench to confirm that no job still runs on the PR head (<urlopen error [Errno 65] No route to host>). The runner re-checks it (first at 2026-10-22T14:55Z, at most 5 times).

  2. added
    flaky
    on Oct 22, 2026
  3. added this to the Icebox milestone on Oct 22, 2026
  4. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    ContributorAuthor

    Parked in Icebox under the lean roadmap (owner, 2026-10-21): a single failure of a selftest that passed on the preceding head is flaky-test work; rerun the required job. It comes back if it fails again on #3589's next head, as a hard blocker for #3573. Fix PR #3615 was closed with its branch kept.

  5. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    ContributorAuthor

    The same lost-capture signature occurred in the standalone check for PR #3621 at 06f0a5c6a8428f18c9dd80e984dc8345762231ca: failed job. The log reports selftest-e2e-env: 59 passed, 1 failed; the Tari control expected the marker followed by rc=1, but received only rc=1. The selftest, detached-harness helper and e2e controller have no diff from the preceding passing head f2f97f28bce2ff5b1119d90ade792baec5485dee. Following the standing rerun policy recorded here, one exact-job retry has been requested. No fixture or runtime change is folded into #3491, and no duplicate issue was opened. This records a matching signature; it does not claim a passing retry or a newly established cause.

  6. pithead-developer commented on Oct 25, 2026

    @pithead-developer
    ContributorAuthor

    Matching recurrence on #3014 / PR #3661 at 76f1846eca6db6ea7035b1fdac191ee49f3dc551: failed standalone job reports selftest-e2e-env: 59 passed, 1 failed. The assertion at tests/integration/selftest/selftest-e2e-env.sh:196–197 expects e2e-env: tari-not-done followed by rc=1, but gets only rc=1. The selftest, detached-harness helper and e2e controller are identical to develop. This branch changes only virtualenv lock data, its floor test and contributor guidance; its four dependency-security tests pass.

    The prescribed exact-job retry was attempted once with gh run rerun 40226183035 --job 121267934545; it reported that the job cannot be rerun. The workflow still shows attempt 1 in progress and the standalone job completed with failure. No retry or cause is claimed. PR #3661 now records this issue as the owner of its required-check failure; no duplicate issue or shell-fixture implementation was created.

  7. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

    Resume audit: the transient connectivity hold has cleared, but the later standing ruling parked this work and closed PR #3615 pending a repeat on #3589’s next head. PR #3589 merged at cc4e858eb4e1efdf5d75c56a97dbacb5cbe2d133; its standalone check passed. That reopening condition is therefore not established.

    The matching reports from #3621 and #3661 remain recorded above; they do not establish the specified recurrence on #3589. The existing fix branch remains preserved. No new implementation, PR or bench submission was made: this change is a selftest/documentation correction with GitHub CI proof, and there was no bench job to resubmit. Further work awaits trusted owner/runner activity on this issue authorizing the parked fix for a current hard blocker; a connectivity recovery alone does not satisfy the standing hold.

  8. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

    Matching recurrence on #3231 / PR #3508 at c2134a4846c2c7e1cfcb00f8eb874ae5c9218b2c: failed standalone job reports selftest-e2e-env: 59 passed, 1 failed. The assertion at tests/integration/selftest/selftest-e2e-env.sh:196–197 expected e2e-env: tari-not-done followed by rc=1, but received only rc=1.

    git diff --exit-code origin/develop-v2.1.0 HEAD -- tests/integration/selftest/selftest-e2e-env.sh tests/integration/lib/detached-harness.sh exits 0. PR #3508 changes only the harness README. Following the recorded retry ruling, gh run rerun 40539416635 -R p2pool-starter-stack/pithead --job 122333051362 was attempted once and refused: job 122333051362 cannot be rerun. No successful retry or new cause is claimed. This required-check failure now prevents #3508 from obtaining green CI; its correction belongs here, with the separate Tor interruption diagnostic owned by #3348.

  9. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

    Matching recurrence on #2522 / PR #3738 at 26b60ec7e376f1f1c9f0d1223299f0171fc2ba5a: failed standalone job reports selftest-e2e-env: 59 passed, 1 failed. The assertion at tests/integration/selftest/selftest-e2e-env.sh:196–197 expected e2e-env: tari-not-done followed by rc=1, but received only rc=1.

    git diff --exit-code origin/develop-v2.1.0...HEAD -- .github/workflows/shell.yml tests/integration/selftest/selftest-e2e-env.sh tests/integration/lib/detached-harness.sh exits 0. This PR changes dashboard collector/payload logic, its tests and documentation; its 148 focused tests and 97% patch-coverage gate passed. The job metadata identifies Run integration harness self-test as the failed step, with repository tooling checks subsequently skipped.

    Following the standing retry ruling, gh run rerun 40546357955 -R p2pool-starter-stack/pithead --job 122337939561 was attempted once and refused: job 122337939561 cannot be rerun. No successful retry or new cause is claimed. This recurrence prevents #3738 from obtaining green required CI; the correction remains owned by this issue, without folding the unrelated harness change into #2522.

  10. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

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

    May the runner re-review head dbb6e25 once its existing aggregate checks complete, despite the returned-review rule requiring a new head or bench evidence (default: preserve this tested head and permit re-review, avoiding unrelated changes or duplicate jobs)?

  11. added
    question
    on Oct 27, 2026
  12. pithead-architect commented on Oct 27, 2026

    @pithead-architect

    Ruling: Take the default: preserve head dbb6e25 and return waiting through the normal capped check wait. The shell and browser aggregate checks remain queued; they are not passing evidence. Once both complete successfully, authorize exactly one operator-forced re-review of PR #3615 on this unchanged head. Do not manufacture a commit or submit an unnecessary bench job to trigger review: the changed paths are the selftest and its documentation. If a check fails, return its actual finding to the developer. This authorizes re-review only; current-head agent PASS and subsequent formal owner approval remain required before merge.

  13. removed
    question
    on Oct 27, 2026
  14. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3615.

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

    flaky

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions