Repository navigation
redteam: task 5.8 — RT-11 tier 3 (rt-11-9..12): 43/43 green, one new product finding (#389) - #390
Merged
Merged
Conversation
- rt-11-9 docker.sock kill: CONFIRMED 11/11 — the socket is uid-equivalent root (a plain curl POST stop, 204) or pkill over --pid host; no daemon-side counter can exist; the external arrival check is the only detector. Evidence 20261204T104157-ad321054a-3536908. - rt-11-10 netfilter blind: BLOCKED 13/13 — the deliver blind lights the delivery-error family fast (the queue fills ~30 s in; queueFull + queue_depth per poll; Write/Dial on the 30 s deadline + 3x30 s dial cycle -> attempts; 226 evictions over 480 s in the calibration run); the scrape blind is absence-only by construction. Evidence 20261205T020601-ad321054a-2280188. - rt-11-11 netns flood: CONFIRMED 8/8 — the flood KILLS the daemon: the per-namespace collector inits (each locking an OS thread) pass the Go 2000-thread ceiling BEFORE the 4096 -maxNetns cap: fatal error: thread exhaustion, exit 2, the catcher freezes (the full-fleet blind). Issue #389; the survives path is the regression guard. Evidence 20261205T023850-ad321054a-2612158. - rt-11-12 netns entry poisoning: BLOCKED 11/11 — the drop+re-add symlink poison is counted (Setns +10, SetnsAfterRetries +1) and the measured shape is the #386 misattribution setns leg (host dumps under the tenant's name, 15 -> 6679, the listener-port count frozen). Evidence 20261205T032136-ad321054a-3074828. Harness lessons encoded (findings rows): RT_READ_TOKEN is empty until xtcp2_victim_read_token() runs (a scenario reading authed metrics without it reads a permanent 0 — runs 1-3 of rt-11-10); || echo 000 double-prints on one line (curl -w has no trailing newline -> 000000); every metric read through a possibly-dead daemon is a vacuous 0 (check liveness first; a counter that decreases is a dead scrape); the /run/netns entry IS the nsfs bind mount (rm -f fails EBUSY — the drop must be ip netns del; pre-clean idempotently). Docs: plan row rt-11-11 amended (CONFIRMED, #389); implementation task 5.8 DONE + the part-3 second-half row; RUNBOOK cells V for all 28 (the P list is empty); findings rows for rt-11-9..12. Matrix: 46 rows.
…e, 48 not 46 1. rt-11-11's survives path was always red: wait_for not_oks on timeout and finish fails on any failed assertion, so a build that SURVIVES the flood could never finish BLOCKED green. New assert.sh helper quiet(): a SILENT bounded poll — fork on quiet, assert the observed shape with ok, finish the shape's verdict. rt-11-10's family/delivery/scrape forks and rt-11-12's setns fork restructured the same way (each branch now asserts its shape green, so either verdict can finish green). 2. rt-11-10's family predicate now matches its label: family_ge checks dropped_total, queueFull, AND Write (drops_ge checked dropped_total only; metric_writes_ge was dead code — both replaced). 3. rt-11-12's N0/P0 snapshot moves to after the del + settle (a snapshot before the del races the collector's own 2 s poll — a record in the round-trip window made P1 > P0 and false-fired 'the poison did not land'). 4. rt-11-12 emits a SHAPE line next to the RESULT (misattribution vs clean-vanish) so the #386 leg is visible in the log and flips when the fix lands. 5. cleanup: pkill parameterized on $RT1112_PORT; removes the twin's baseline + records files. 6. Both MET_CODE reads use || true + ${:-000} (the || echo 000 | tail -n1 form double-prints 000000 on a failed curl — the tail binds only to the echo). 7. implementation doc: the 5.8 row's findings parenthetical corrected (only the netns-flood death is #389; the docker.sock kill is a deployment-invariant finding) and the matrix count corrected to 48. Re-verified solo after the restructures: rt-11-10 13/13 BLOCKED (20261205T044330-1a5a5db1e-3510733), rt-11-11 8/8 CONFIRMED (20261205T044835-1a5a5db1e-3660263), rt-11-12 11/11 BLOCKED (20261205T045802-1a5a5db1e-3675844).
randomizedcoder
added a commit
that referenced
this pull request
Dec 5, 2026
The final regression for PR #390: all 48 rows PASS under matrix XTCP2_EXPECT control, including the three review-fix restructures (rt-11-10 BLOCKED, rt-11-11 CONFIRMED, rt-11-12 BLOCKED — each fork finished its expected verdict green, so the always-red-fork fix is confirmed end-to-end, not just solo). DoD row closed.
Owner
Author
|
Final regression: 48/48 green, 0 failed on The three review-fix restructures each held under matrix
DoD row closed in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 5, task 5.8 — the RT-11 tier-3 rows. All four scenarios pass; two CONFIRMED, two BLOCKED. (Review fixes in
79375582b: quiet forks so the survives/dark branches can finish green, the family predicate now matches its label, the rt-11-12 P0 race closed, a SHAPE line next to the RESULT for the #386 leg, cleanup nits, and the matrix count corrected — it is 48, not 46.)Results
20261204T104157-ad321054a-353690820261205T020601-ad321054a-228018820261205T023850-ad321054a-2612158fatal error: thread exhaustion, exit 2, the full-fleet blind; the bounds and the ceiling are mutually inconsistent20261205T032136-ad321054a-3074828rt-11-13 stays deferred until after task 5.9 (it reuses the RT-6 rows) — the task row says so.
Docs
docs/redteam-plan.md: the rt-11-11 row's expected outcome amended (CONFIRMED, netns flood past the Go 2000-thread ceiling kills the daemon: fatal error: thread exhaustion (the -maxNetns 4096 default is above the thread budget) #389 — the plan's bounds-hold premise is refuted by the measured daemon death).docs/redteam-implementation.md: task 5.8 DONE tick + the part-3 second-half DoD row (with the four harness lessons).vagrant/redteam/RUNBOOK.md: all 28 cells now carry measured evidence (the P list is empty); rt-11-12's open question answered.vagrant/redteam/findings.md: four rows with full mechanisms and the harness lessons.Harness lessons (encoded in-scenario + findings)
RT_READ_TOKENis empty untilxtcp2_victim_read_token()runs — an authed scrape without it reads a permanent 0 (rt-11-10 runs 1–3 hung on a counter that never lit while the VM showed 226 queue drops). Every scenario now asserts the authed scrape answers 200 right after the token helper.|| echo 000double-prints on one line (curl -whas no trailing newline →000000);tail -n1cannot dedupe it. The fix is|| true+ exact equality (curl -w always prints by itself) — applied to every 000-style probe./run/netnsentry file IS the nsfs bind mount —rm -ffails EBUSY (the drop must beip netns del; the scenario and cleanup pre-clean idempotently).wait_for-built fork can never finish green on its timeout side (the not_ok counts against both verdicts) — fork on the newquiet()helper and let each branch assert its observed shape.Matrix
The matrix gains the four rows (44 → 48). The 48-row regression runs on the branch head (
79375582b, post-review-fixes) after this push; the DoD row carries the number when it lands.