Skip to content

rigforge-control setup: dashboard never re-reads the supplied rig within 120s after control setup (job 1698) #2890

Open

Description

@pithead-developer

What's the problem

tier4-e2e job 1698@69f6978034e10d302254588d92dc150ab4fe45c5 (options.phases=["rigforge-control"], PR #2667) failed one row in the rigforge-control setup: supplied rig exposes its enriched feed after control setup, with worker '<rig>' never appeared after the 120 s wait for the dashboard to re-read the selected rig. The bench-ci evidence block lists it as no issue linked.

Everything before it passed (77 rows). The same phase on the same commit, job 1704@69f6978034e10d302254588d92dc150ab4fe45c5, got past this step, and its own single red row was #516 (#2741). Lifecycle and auth-fail-closed were skipped after the failure. The baseline was verified and the rig restored.

The branch under test only changes tests/integration/lib/rig-key-ledger.sh, which no code path before this row calls, so the row is not from that change. The cause is not established: the dashboard not re-reading the worker within 120 s after apply with dashboard.control on could be the dashboard's refresh cadence or the borrowed rig. If it is the rig or the bench's network timing, it belongs on bench-ci.

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. added
    bug
    needs-triage
    on Sep 29, 2026
  2. pithead-developer commented on Sep 29, 2026

    @pithead-developer
    ContributorAuthor

    Diagnostic read of 1698@69f6978034e10d302254588d92dc150ab4fe45c5 and 1704@69f6978034e10d302254588d92dc150ab4fe45c5: both completed the control setup apply. Job 1698's selected-rig predicate timed out after 120 seconds; job 1704 passed that predicate and later failed the separate #516 feed-reflection row owned by #2741. Both jobs report baseline verified and rig restored.

    The failed job's artifacts include the harness log and apply log, but no /api/state snapshot or dashboard log from the 120-second wait. The predicate requires a worker with the selected name and a non-null rigforge.version, so the current evidence cannot distinguish a missing worker, a failed RigForge read, or delayed dashboard state publication. The next reproduction needs those state and dashboard-log observations during the wait, before baseline restoration, with the bench's normal redaction. That evidence will tell us whether to fix Pithead's refresh path or assign a rig/network timing fault to bench-ci. The 120-second timeout alone is not a supported root-cause fix.

  3. pithead-developer commented on Oct 1, 2026

    @pithead-developer
    ContributorAuthor

    Operator-requested evidence-wait audit: this incident is parked on issue comments only, so newer bench failures cannot wake it automatically. The later enriched-feed timeout in job 1756 still lacked the failure-time state/log observations requested here; the inspected harness path has no such collector. Waiting for another occurrence alone will not supply the missing diagnostics.

    Resume the existing investigation. Verify current develop and existing diagnostic work, then add the smallest bounded, redacted capture around the selected-rig predicate (or block on its concrete implementation owner). Retain the selected worker state and relevant dashboard/transport failure classification before restoration, without exposing credentials or changing the timeout/assertion. Related telemetry incident bench-ci#890 can share the same collection if appropriate, but its deferred lane does not need to be reopened for this investigation. Register an evidence_watch using the current exact failed row and source repository/tier before returning to recurrence monitoring; the row wording has changed since the original report, so do not infer it from the title. No unchanged rerun or speculative product repair is requested.

  4. added
    P2-correctness
    on Oct 1, 2026
  5. pithead-developer commented on Oct 1, 2026

    @pithead-developer
    ContributorAuthor

    The operator-requested collector is implemented in draft PR #3008 on 01a42b88e64de524d3ac954029cf755f76a0f275. It retains the final selected-rig predicate sample and bounded fixed dashboard probe failure classifications before restoration; it preserves the timeout, cadence and assertion. The focused test passes 27 checks and fails on the unchanged implementations; verifier and security reviews are clean. GitHub checks and the separate runner review still gate integration.

    This supplies the missing collection described in p2pool-starter-stack/bench-ci#774. No product repair or unchanged e2e rerun was made. After the collector is integrated, resume on a new completed failure/error job from repository pithead, tier tier4-e2e, whose exact rows[].text is supplied rig exposes its enriched feed after control setup. That spelling was rederived from retained job 1840@ef39b7abced0e46c5339e6952d121adeb662d679. Read the two new artifacts before attributing the incident; no matching probe warning by itself proves neither success nor a cause.

  6. pithead-developer commented on Oct 1, 2026

    @pithead-developer
    ContributorAuthor

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

    Review of PR #3008 did not pass after round 2 (RETURN).

    At 23e9eb8, the collector drops probe warnings for valid worker names containing an apostrophe or backslash. Acceptance requires bounded, redacted observations before restoration, unchanged wait/assertion behavior, and #2890 remaining open for recurrence evidence. The prior classification finding is closed; checks, topology and repository gates otherwise pass.

    • [return] tests/integration/lib/run-rig-control.sh:146: The selector assumes a literal single-quoted worker name. The dashboard producer at xmrig_client.py:359 uses %r, and both worker-name validators accept apostrophes and backslashes. The producer therefore double-quotes rig'1 or escapes a backslash; neither matches this selector, yielding {"log_read_exit":0,"classes":[]} despite actual probe warnings. A fixture-only scratch regression using the accepted apostrophe name fails: exit 1, 26 passed/1 failed. Match the producer's name representation while preserving redaction, and add apostrophe/backslash regression cases.
  7. pithead-architect commented on Oct 1, 2026

    @pithead-architect

    Ruling: The round-2 RETURN stands. Resume PR #3008 and fix selected-worker matching in tests/integration/lib/run-rig-control.sh to recognize the dashboard producer’s %r representation for all accepted worker names; do not narrow name validation. Add apostrophe and backslash regressions using actual producer formatting, demonstrate red before the fix and green afterward, and retain selected-worker isolation, bounded redacted output, pre-restore capture, and unchanged wait/assertion/restoration behavior. Update the PR body in place with current-head evidence, then resubmit for adversarial review after checks pass. Preserve bench-ci#774’s explicit tier-1 collector gate; historical job 1840 is recurrence context, not head validation. Keep #2890 open with the exact-row evidence watch for the next natural matching failure, and inspect the retained diagnostics before attributing the incident.

  8. pithead-developer commented on Oct 1, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #2631. Fixed producer-format matching; apostrophe/backslash regressions fail before the fix and pass afterward, with both reviewers clean. Required CLI CI exceeded its 30-minute deadline; evidence and blocker comments are posted on #3008 and #2631, whose CI owner must restore a complete passing check before resubmission.

    The runner resumes this issue when that one closes.

  9. added
    blocked
    and removed
    blocked
    on Oct 1, 2026
  10. pithead-developer commented on Oct 2, 2026

    @pithead-developer
    ContributorAuthor

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

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

    RETURN at 4db5e4c: a valid worker name can falsify the retained probe classification. Acceptance requires bounded, redacted observations before restoration, correct selected-worker failure classes, unchanged wait/assertion behavior, and #2890 remaining open for recurrence. Both earlier findings are closed; head checks and topology gates pass.

    • [return] tests/integration/lib/run-rig-control.sh:151: Classification searches the entire selected warning, including its worker name. The accepted synthetic name JSONDecodeError causes the actual producer's HTTP 500 detail to be recorded as invalid-body instead of http-response. A fixture-only scratch regression using the actual warning format exits 1 with 35 passed/1 failed; excluding the producer prefix makes it pass with 36 passed/0 failed. Classify the failure detail independently of worker name, host and URL, and retain an actual-producer regression without narrowing name validation.
  11. 17 remaining items

  12. pithead-developer commented on Oct 2, 2026

    @pithead-developer
    ContributorAuthor

    PR #3008 merged as 0f687938d495855edf47efa88a965c4b06473824 and is present on develop. Its reviewed head acf1ea1b024ed3437e3b30ec0f4ae27aad564145 has the round-7 adversarial-review PASS and green required GitHub checks. The merged harness and documentation retain both bounded, redacted collector artifacts before restoration.

    Keep #2890 open for incident attribution under the standing recurrence instruction. No new implementation or unchanged live rerun is requested. Resume on a new completed failure/error job from repository pithead, tier tier4-e2e, where the exact failed row is supplied rig exposes its enriched feed after control setup. Inspect both rigforge-control.selected-rig.json and rigforge-control.probe-classes.json, together with the full job log and artifacts, before assigning a cause. An empty probe-class list does not establish success.

    The regenerated historical evidence below confirms the exact watch row; it does not validate the merged collector's live retention:

    bench-ci job 1840@ef39b7abced0e46c5339e6952d121adeb662d679 · pithead · tier4-e2e

    • options: {"mode": "targeted"}
    • status: completed · conclusion: failure · exit 1 · 15m 13s
    • baseline verified: yes · rig restored: yes
    • node guard: not recorded · no comparison recorded
    • steps: checkout success · reserve success · preflight success · run failure · collect success · restore success · cleanup success
    • rows: 117 pass · 1 fail · 3 skip (missing 3)
    • failed rows:
      • supplied rig exposes its enriched feed after control setup (no issue linked)
        Generated by bench-ci evidence 1840@ef39b7abced0e46c5339e6952d121adeb662d679; re-run it to check.
  13. VijitSingh97 commented on Oct 3, 2026

    @VijitSingh97
    Collaborator

    Owner: moved out of 2.0.0 as a recurrence watch (job 1698's rigforge-control setup timing has not been attributed or seen again), the same treatment as #2815 and #2946. It moves back into v2 if it recurs in the gated run on the frozen SHA or in the soak.

  14. added
    devops
    on Oct 15, 2026
  15. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    ContributorAuthor

    Parked in Icebox under the lean roadmap (owner, 2026-10-21: flaky tests are rerun, not fixed; harness forensics parked; no soaks): one occurrence on recurrence watch; the same phase passed on the same commit. It comes back if it recurs and becomes a hard release blocker.

  16. pithead-developer commented on Nov 13, 2026

    @pithead-developer
    ContributorAuthor

    Recurrence on PR #3992. tier4-e2e job 877@fa4de1cc4ee565ce0579f3fc0cc7db27cb036764 (mode=targeted) failed supplied rig exposes its enriched feed after control setup with worker '<rig>' never appeared after the 120 s dashboard re-read wait, and lifecycle + auth-fail-closed were phase-skipped behind it. The same job also reported workers online (>= 1) expected >= 1, got [0] and stratum total hashes > 0, got 0 (stratum conns=0) in local-pruned-main-secure-tari, after an earlier scenario in the same run passed both rows green mid-run. The running bench reported no downtime interval that day, so it is not an outage effect; the borrowed rig remains the prime suspect, as this issue's cause note already says. The candidate diff only bounds Dockerfile image-fetch retries, and its own build/deploy rows were green.

  17. added
    size:L
    on Nov 13, 2026
  18. pithead-developer commented on Nov 21, 2026

    @pithead-developer
    ContributorAuthor

    Recurrence on PR #4299 (a Monero view-key delivery change; no rig or dashboard worker code). tier4-e2e mode=targeted jobs 1030 and 1031 at 3baad65 both failed supplied rig exposes its enriched feed after control setup with worker '<rig>' never appeared, and lifecycle was phase-skipped behind it. The second run was a new attempt after a bench outage, so the outage does not explain it. Everything else passed in both (155 pass, 1 fail, 5 skip).

  19. added
    testing
    on Nov 21, 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-correctnessbugdevopsflakyneeds-triagesize:Ltesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions