Repository navigation
Description
What's the problem
In the rigforge tier4-e2e battery, the network-sequence group (connect → worker-api → api-impact → network, re-run in order in one process) fails API allowlist live probe failed, while the same probe (API allowlist rejects a second source while mining) passes in the standalone network phase six minutes earlier in the same job, on the same rig and config. The probe (tests/e2e-pithead-allowlist.sh, called from phase_network in tests/e2e-pithead.sh) exits with a bare exit 1 at about fifteen points and prints nothing, so the cause is unknown: leftover state from the earlier phases, the settle window after the worker restart, or the nft drop counter.
Moved from bench-ci#2544: the row and the phase are rigforge test code, and bench-ci only runs each phase over SSH.
What it impacts
Every rigforge tier4-e2e that includes network-sequence, develop nightlies and per-PR proofs. The row decides the job conclusion and cascades through --after dependencies (a stratum-auth job was cancelled as skipped: dependency job 4144 ended failure). It is part of the nightly failures tracked in rigforge#599.
How I found it
bench-ci evidence 4144@2f1b0c375691bd33fb10aa36308ab483b56f7938(PR rigforge#694): 71 pass, 1 fail, 1 skip (missing 1); failed row[network-sequence] API allowlist live probe failed. The standalonenetworkphase passed all 10 assertions, including the allowlist row, about six minutes beforenetwork-sequencefailed the same probe.- Control on bare develop with no candidate:
bench-ci evidence 4049@d071b3d65bce3c08851e2f624cc8fdd595fadae6shows the same counts (71/1/1) and the same single failed row. - In job 4049 the sequence's probe failed 36 s after the control step, against 56 s for the passing standalone run, so it exits early. The only artifact for the phase is the ✗ line; no stderr.
- No bench downtime overlapped either run; the rig was reserved, restored and healthy.
How important is it
Medium-high while it persists: deterministic across two submissions 25 hours apart, it turns every battery with network-sequence red and pushes a foreign failure onto unrelated PRs.
Acceptance criteria
- On failure the probe names the step that failed: namespace setup, the 200 check, second-source refusal, drop-counter delta, or hashrate.
- The cause is identified from a re-run of the sequence and fixed, so a job running
networkthennetwork-sequenceends with the sequence's allowlist row green. - A probe-environment failure (bench timing or state) is reported as an error, never as a red product row.
Possible solutions
Add per-step diagnostics to api_allowlist_probe, re-run the sequence, then compare the nft rigforge api chain state and the second source between the standalone and sequence runs. If the diagnostics show the bench leaving state between phases, file a bench-ci issue with the job id and commit. A rigforge e2e PR that is red only on this row cites this issue as the owner of that row.
Activity
pithead-developer commentedon Nov 19, 2026
Moved to v1.19.1. A fleet-history review of every failed run found the same pattern. Each one that reached the allowlist probe failed at "API allowlist live probe failed", and the failing runs finished about one config apply sooner than passing runs. The leading hypothesis is a warm-up race in the probe's last step.
This explains most failing runs but not all. One failed at the length of a passing run, so it is a hypothesis, not a confirmed cause.
Requested fix, both parts in one change:
exit 1intests/e2e-pithead-allowlist.sha one-line stderr message naming the step, and keep jq's stderr, so the next red run names the failing step.api-impactwaits for hashrate. Put it ahead of the first curl.Add a stub case for "hashrate null at first, valid later" in
tests/test-api-allowlist-probe.sh. If a run still fails with the poll in place, the new messages will show the real step.Format the allowlist probe cleanup messages (#698)
pithead-developer commentedon Nov 21, 2026
Waiting on a transient bench_outage condition, not on another issue. job 683 preflight: configured mining transport from reserved worker: timeout; /benches shows stack-unhealthy and paused intervals at that time. The runner re-checks it (first at 2026-11-21T03:26Z, at most 5 times).
pithead-developer commentedon Nov 21, 2026
Blocked on p2pool-starter-stack/bench-ci#2695. Blocked on bench-ci#2695. Both tier-4 attempts on PR #769 head 34c68d9 (jobs 683 and 684, phases network,network-sequence) ended
errorat preflight with "configured mining transport unavailable (timeout)". They failed about 48 s in, before any candidate phase ran, and no/benchesdowntime interval covers job 684's run window. The same defect is already tracked on bench-ci#2695, so I added both jobs there and commented on the PR. Finished: the allowlist probe diagnostics and hashrate poll, the dashboard phase fix, stub tests, the verifier pass and all ten GitHub checks green on the head. An earlier job on the previous head passednetworkandnetwork-sequencewith 33 assertions and 0 failed. Thedashboardphase has no bench proof because the bench sets no dashboard URL. Once #2695 is fixed, resubmit the samenetwork,network-sequencejob on this head and add its uneditedbench-ci evidenceto the PR body.The runner resumes this issue when that one closes.
pithead-developer commentedon Nov 30, 2026
Blocked on p2pool-starter-stack/bench-ci#2694. Still blocked, now on bench-ci#2694. bench-ci#2695 was closed as its duplicate, and #2694 is still open and holds the same failure and the proposed fix. Jobs 683 and 684 on PR #769 head 34c68d9 (phases network,network-sequence) ended
errorat preflight with "configured mining transport unavailable (timeout)", before any candidate phase ran. Finished: the change, the verifier pass and all ten GitHub checks on that head. An earlier job on the previous head passednetworkandnetwork-sequencewith 33 assertions and 0 failed. Once #2694 is fixed, resubmit the samenetwork,network-sequencejob on this head and add its uneditedbench-ci evidenceto the PR body. I commented the new blocker on the PR.The runner resumes this issue when that one closes.