Skip to content

feat(gobridge): close 6C - two fresh-boot batches over the bridge corpus (V402) - #387

Merged
randomizedcoder merged 1 commit into
mainfrom
goip/gobridge-6c-freshboot
Dec 4, 2026
Merged

randomizedcoder merged 1 commit into
mainfrom
goip/gobridge-6c-freshboot

Conversation

@randomizedcoder

Copy link
Copy Markdown
Owner

What

The gobridge arc closes: 6C's fresh-boot batches — the last open task — plus 7C's conditional ("if the shared VM is free, two fresh-boot batches for both 6C and 7C"). With this, every task of increments 6, 6X and 7 is done (V096–V109, V402; DOC031–DOC034).

The result

Two batches, each on its own fresh boot of the workbench VM, all four ws/bridge* row files, 344 of 344 rows each (113 bridge + 63 bridgex + 94 bridgefdb + 74 bridgemdb). The committed corpus is unchanged — this is a verification arc.

  • nlcapgen verdiff against the corpus: bridge 0 differences, bridgex 6 (the brrtr -s timer rows ec-021/022/023, pw-021/022/023 — V101's allow-list), bridgefdb 0, bridgemdb 6 (the temp-entry timer rows ec-005/006/008, pw-005/006/008 — V108's rows and their -j -s/-s -o twins). Boot 1 vs boot 2 directly: the same profile, 0/6/0/6, the same rows.
  • A body-level pass (a throwaway tmp-bodydiff, deleted; corpus vs each boot's pcaps message by message, seq and pid zeroed): every differing message is one of V097's two named classes — IFLA_BRPORT_FORWARD_DELAY_TIMER (offsets 360/364 of the 420-488-byte link replies) and the NLMSG_ERROR bodies' echoed request seq (0x6b03d2bc vs 0x6b129194). 58 rows (boot 1) and 61 rows (boot 2) differ in any body at all; everything else, every message of every row, is byte-identical. The 6C gate's own expected exceptions (stats counters, the vxlan random source port) never moved.

The settled-boot fix

The first fresh-boot attempt failed 34 of 113 rows: the batch fired 24 s after qemu started, xtcp2-nlcap-ws up returning at ssh while the guest's systemd was still settling — the first wave's rows crosstalked at their namespace lifecycle ("Cannot open network namespace" right after NLCAP_NS_OK wsN", "Cannot create namespace file: File exists", a pre step's br0 vanishing between two pre steps, NLCAP_CAP_NOBINDwith datagrams=0). The 79 rows it did capture were already verdiff-clean. The mechanism is not pinned down; the wait is measured: the same boot two hours later was 113/113, a second fresh boot afteris-system-running` was 344/344, and a concurrent session's 44-row batch on the same boot ran clean.

up now waits for is-system-running (running or degraded) before it prints NLCAP_WS_UP, warning past the timeout. The hermetic nlcap-ws check still passes (the CLI's shellcheck runs through its build).

Other arc notes (recorded in V402)

  • The kernel closure was GC'd twice mid-arc (nothing pinned nix build --no-link, the store 98-99% full; the linux-7.3.1 build needs ~35 GB and failed twice at 31-36 GB free), and two CLI attempts were killed at their own command timeouts (600 s and 2400 s against a ~45-min kernel rebuild). The closure is now rooted at /tmp/gobridge-vm-root.
  • Amendments: V097 (the fresh-boot outcome and the two-class allow-list, as its gate asked) and V108 (7C's conditional met). 6C → done in the checklist, phase table and summary; gobridge.md's 6C section records the fresh-boot outcome.

Gates

The batches' own (344/344 ×2), and nlcap-ws (the CLI's shellcheck through its build), nix-fmt, test-goip-docs, netlink-audit, lint-baseline — all green.

🤖 Generated with pi

…pus (V402)

The last task of the gobridge arc: the 6C gate's fresh-boot batches, and
7C's conditional ("if the shared VM is free, two fresh-boot batches for
both 6C and 7C") now that the workbench VM was free. Two batches, each on
its own fresh boot, all four ws/bridge* row files, 344 of 344 rows each:
nlcapgen verdiff agrees with the committed corpus everywhere but the named
timer rows (bridgex ec-021/022/023 and pw-021/022/023; bridgemdb
ec-005/006/008 and pw-005/006/008), boot against boot the same 0/6/0/6.
A body-level pass (a throwaway, deleted; seq and pid zeroed) finds only
V097's two classes: IFLA_BRPORT_FORWARD_DELAY_TIMER and the NLMSG_ERROR
bodies' echoed request seq. The committed corpus is unchanged.

The first fresh-boot attempt lost 34 of 113 rows: the batch fired 24 s
after qemu started, xtcp2-nlcap-ws's up returning at ssh while the
guest's systemd still settled, the first wave's rows crosstalked at their
ns lifecycle ("Cannot open network namespace" right after NLCAP_NS_OK,
"Cannot create namespace file: File exists", a pre step's br0 vanishing
between two pre steps, NLCAP_CAP_NOBIND with datagrams=0). The mechanism
is not pinned down; the wait is measured - the same boot two hours later
was 113 of 113, and a concurrent session's 44-row batch on the same boot
ran clean. up now waits for is-system-running (running or degraded)
before NLCAP_WS_UP, warning past the timeout.

Also recorded in V402: the arc's disk arc - the kernel closure was GC'd
twice (nothing pinned nix build --no-link, the store 98-99% full; the
linux-7.3.1 build needs ~35 GB and failed twice at 31-36 GB free), and
two CLI attempts were killed at their own command timeouts against the
45-min kernel rebuild; the closure is now rooted at /tmp/gobridge-vm-root.

Gates: the batch's own, and nlcap-ws (the CLI's shellcheck through its
build), nix-fmt, test-goip-docs, netlink-audit, lint-baseline.

🤖 Generated with [pi](https://github.com/badlogic/pi-mono)
@randomizedcoder
randomizedcoder merged commit 5997a69 into main Dec 4, 2026
1 check passed
@randomizedcoder
randomizedcoder deleted the goip/gobridge-6c-freshboot branch December 4, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant