Repository navigation
Description
What's the problem
In the tier4-e2e scenario remote-main-secure-tari, the LAN-guard leg ends with the row LAN port ... admits a private source after recovery (#2846) red: expected [open], got [closed]. The rows before it in the same leg pass: the external flush is detected, the timer closes the port for a non-private source, and ./pithead up exits 0 ("up restores the rule and nodes after the flush"). Then a probe from a private-range source finds the node-serving LAN port still closed.
The row is tests/integration/lib/run-lan-guard.sh, added for #2846. #2846 is closed, and no open issue owns this failure. #2920 (missing LAN-check journal in the failure diagnostic) and #3095 (diagnostics at the node-recovery boundary) are related evidence gaps, not owners.
It is not caused by #3484 or PR #3486 (the selectable sweep phase): it is red on the develop nightly at the base commit of that PR.
what it impacts
- Any tier4-e2e run that reaches this scenario goes red on this row: the nightly matrix and, once the sweep is selectable, the weekly sweep lane. The failure is a standing red row, so it hides the next regression in this leg.
- If it is a product fault, a host that has an external firewall reload and then
./pithead upcan end with the node-serving LAN port refusing LAN clients. The failure is on the closed side, so it does not expose a port; it is an availability and recovery question. - Unknown: whether the cause is the product (the node is recreated but not listening yet, or the rule admits the wrong sources) or the harness (the probe runs before the node accepts connections). No retained artifact shows the node's listener state at the probe.
How I found it
Reading the complete harness output collected with bench-ci tier4-e2e jobs while checking evidence for PR #3486. A timed-out job collects results/e2e-harness.log like any other; it is fetched with bench-ci artifacts <id>@<commit> results/e2e-harness.log. Job ids are per bench, so each job is cited as id@commit. The job log carries only periodic "latest" samples, which caught the first row in 2613@1c23759d and 468@158fe468 but missed the second; the bench-ci evidence block prints 0 fail from a partial summary; only the harness log shows both rows.
Both rows are red in scenario remote-main-secure-tari (expected [open], got [closed]) in every retrievable run in which the scenario ran:
- 2613@1c23759d: the develop nightly at the PR's base commit, on the primary bench.
- 468@158fe468: PR test(integration): make the scenario sweep a selectable e2e phase (#3484) #3486's head, phases
["sweep"], on a different bench. It was cut by the 180-minute cap in its last scenario, after this one. - 2540@685b94de (2026-10-14): a branch merged from develop, matrix mode, the primary bench.
- 2324@891c9b0f (2026-10-07): a develop nightly.
- 2181@fa8d27d8 (2026-10-05): a develop nightly, the earliest retrievable output.
The two rows are LAN port ... admits a private source after recovery (#2846) and control: with the rule gone, a non-private source reaches port .... Both are red together in each of the five jobs, so the second row is not only an observation from one job. A port that is closed to a non-private source with no rule present points at nothing listening, which would fit the node not accepting connections at the probe. This is a reading of two rows, not a verified cause.
Three other matrix jobs did not run the scenario: 399@4b5d5001, 2570@4b5d5001 and 381@b0403a54 show it as SKIPPED (needs --remote-monero-host), because the runner left their node inputs empty (no bench was serving chain nodes for them), so the launch carried no --remote-monero-host. They did not time out before reaching it; their sweep ran through to the last scenario.
The same two rows pass in every other scenario that runs this leg, in all of these jobs and in 469@158fe468 (default phases).
How long it has been red is unknown beyond 2181@fa8d27d8: matrix jobs before it have no retrievable harness output.
how important is it
P2. It is a standing red row in the e2e gate on two different benches, so it is not a one-bench fluke. The cause is unknown and may be a real recovery fault. It is not P1: the port is closed, not open, and no user data is at risk.
acceptance criteria
- A failure of this row retains bounded, redacted evidence taken at the probe and before restoration: whether the node container is running, whether anything listens on the node-serving LAN port, whether the guard rule is present, and the result of the last LAN check unit run.
- The cause is stated in the PR that closes this issue, from a run that reproduces the failure and a run that does not.
remote-main-secure-tarirun alone (targeted) passesLAN port ... admits a private source after recovery (#2846)andcontrol: with the rule gone, a non-private source reaches port ...on two benches.- If the cause is a product fault, a regression check at the lowest tier that can show it fails before the fix and passes after. If it is a harness race, the probe waits for the listener with a bounded deadline and the row still fails when the port stays closed.
- No row in the leg becomes a skip, and no wait is extended without a reason recorded in the PR.
possible solutions
- Capture the evidence first (acceptance 1), alongside E2E failure diagnostic skips unit results and LAN-check journal #2920, then reproduce on a bench. Cheapest, and the cause stays open until it runs.
- If
upreturns before the recreated node accepts connections, makeupor the probe wait on the listener for a bounded time. This fits the closed control row, but is unverified. - If the guard rule admits only some private sources in this scenario's network layout, change the rule. Nothing found so far points here.
Activity
pithead-developer commentedon Oct 21, 2026
Additional recurrence: job
2645@6003026b30e99d71781a556010f164e13a857f3d, tier4-e2e with lifecycle andremote-main-secure-tari, reproduces both failures described here. The generated evidence block and fullresults/e2e-harness.logagree: the private-source recovery probe and the unguarded non-private-source control both expected an open port and found it closed.The job's baseline and borrowed rig were restored and verified. Its scoped P2Pool preview assertions for #3382 passed with the Tor-egress firewall enabled. PR #3493 records this issue as the owner of both unrelated red rows and as a release-proof dependency. This recurrence establishes no additional cause beyond the uncertainty already recorded here.
pithead-developer commentedon Oct 24, 2026
Waiting on a transient bench_outage condition, not on another issue. tier4-e2e fleet submission exhausted five same-key client attempts and exited 1 with No route to host; no job reference returned. The runner re-checks it (first at 2026-10-24T05:40Z, at most 5 times).
pithead-developer commentedon Oct 24, 2026
Blocked on p2pool-starter-stack/bench-ci#2210. Blocked on bench-ci#2210: job 2913@a06977b04629990a754de6751630f153605bc317 refused deployment because its canonical baseline lacks safe restoration proof. The bench-ci owner must establish the managed baseline before a fresh reproduction can run. Draft PR #3648 retains the completed error evidence, tested diagnostics and verifier-cleared CI metadata corrections; causal diagnosis and two-bench proof remain unfinished.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 25, 2026
Blocked on p2pool-starter-stack/bench-ci#2236. PR #3648 is blocked on bench-ci#2236: job 2985's unresolved wallet-restoration error prevents acceptance of the second-bench proof. The implementation, regressions and first-bench proof are complete; the draft and blocker comment now require managed restoration by the bench-ci owner, followed by fresh current-head second-bench proof.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 25, 2026
Blocked on p2pool-starter-stack/bench-ci#2240. Both current-head benches executed and passed the owned LAN assertions; job 566 also verified restoration, and GitHub checks are green. PR #3648 is blocked on bench-ci#2240 because job 3004 lacks pre-run LAN unit records and retains an unproved wallet reservation; the bench-ci owner must resolve the missing evidence and complete managed recovery before fresh proof.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 25, 2026
Release operator, 2026-10-25 22:55Z: holding this issue and #3648 with
operator-actionuntil the pithead 2.0.1 cut is done (#3618).Three
remote-main-secure-tarisafety-backup e2e jobs ran on the primary today: 2985, 2997 and 3004. Two of them ended with an unproved wallet-fixture restore and fenced the bench, at 11:44Z and again at 21:19Z. The primary is also the 2.0.1 release box. Job 3004 was submitted at 20:51Z, after the hold notices on #3618 at 19:20Z and 20:50Z.The two fences had different proof failures:
The chains finished syncing both times. Both were recovered with the operator
recover-walletpath. The job verdicts are unchanged.I will remove the label once 2.0.1 is published. Until then, please submit no more jobs to the primary for this issue.
8 remaining items
pithead-developer commentedon Nov 2, 2026
Needs an operator action (do it, then remove the
operator-actionlabel):Blocked on owner publication of a local develop-v2.0.3 candidate. Nothing was pushed, no PR was opened or closed, and no bench job was submitted. Local branch candidate/3490-develop-v2.0.3 is at f1b7dca, on origin/develop-v2.0.3 (ced8501). It holds four -x cherry-picks of PR #3648's own commits: a06977b (probe evidence snapshot), d78f142 (inventory registration), c342bb8 (module census) and c36a20d (LAN-listener wait). I excluded d36bf58 because it renames a fixture stub to a pregate helper that exists only on develop-v2.1.0. I resolved the conflicts in docs/dev/integration-testing.md, tests/inventory.sh and selftest-run-modules.sh by keeping #3815's unit-capture text and function list and adding only the LAN pieces. Local checks pass: selftest-lan-guard-evidence, selftest-check-lan-guard, selftest-run-modules and selftest-restore-unit-capture; tests/inventory.sh; shellcheck -S warning and shfmt on the touched files; make lint-file-budget lint-pithead-build. The review evidence covers #3648's earlier heads, not the candidate. Verifier and security passes on c39558b found no code gaps. Jobs 3213 and 3248 passed on 0206d86 on one receiver and are history only. The same explanation is posted on PR #3648. To unblock, the owner decides whether to publish the candidate to #3648's head ref with the recorded lease, and whether to change the base. After that I run one fresh tier4-e2e through the normal fleet route, then a second run on a different bench. I will check that LAN_UNIT_BEFORE/HOLD_UNIT_BEFORE are recorded and rewrite the PR body to list only jobs on the published head.
pithead-developer commentedon Nov 2, 2026
Operator: PR #3648 is published at
f1b7dca233bcondevelop-v2.0.3(owner authorized, 2026-11-02); it now needs fresh checks and review.pithead-developer commentedon Nov 6, 2026
Waiting on a transient chain_sync condition, not on another issue. fleet tier4-e2e submit at f13d30c refused: 503 baseline_unhealthy, no job created; both benches that advertise pithead tier4-e2e report baseline 'payout unverified: p2pool runtime unavailable'. The runner re-checks it (first at 2026-11-06T07:37Z, at most 5 times).
pithead-developer commentedon Nov 6, 2026
Filed privately (pithead-3490.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Nov 6, 2026
Filed privately (pithead-3490.md); it needs an answer there, then remove the
questionlabel.test(integration): wait for recovered LAN listeners (#3490) (#3648)
pithead-developer commentedon Nov 6, 2026
Merged in #3648.