Repository navigation
Conversation
A preflight against the lab found the harness could not have run as merged: - `vlan-transport.sh plan` exited 1 in copy mode, so every cell was refused. - The Kind nodes have no ping or python3. Recovery and V15 probes from them now run the netshoot image galactic-debug builds on, in the node's network namespace (lib.sh node_ping), and the C5 bridge node runs the transit routers' image, which has python3 for the injection rows. With CNI_SELECT=by-node, apply now also names the edge's public side in GALACTIC_CNI_EBPF_PUBLIC_INTERFACE (#1542), and every apply in a run, including those rows and recovery events make, inherits the selection. To fit the full matrix in one reservation, recovery probes stop 10 s after each event instead of after a fixed 180 s, V10 runs once per cell and XDP mode, and V18's invalid configurations run in C1 and C4 only. --skip-cell records a cell's rows as SKIP with a reason, for a missing prerequisite.
On a loaded host the Kind API servers answer "etcdserver: request timed out" during rollouts. Every kubectl call the variant, its rows and recovery events make, and those of lab:xdp-mode, now retries up to five times on that error (lib.sh kube_retry), and fails at once on any other. The report now records the host load average at deploy, at the start of the run and at the start of each cell, so a failure can be read against it.
The first lab run of the VLAN acceptance harness showed these faults in the harness itself: - capture-stop matched its own `sh -c` with `pkill -f` and interrupted itself, so no capture summary was ever written and every wire check failed. - Reverting an untagged side on a plain NIC parent left its addresses on the bond member, on tr2 in FRR's running configuration, so the side lost its addresses once the member rejoined its bond. side_revert now moves them home, and `vlan-transport.sh repair` does so with no saved state. - The V06 neighbour check read an unset awk key and reported every neighbour missing. - V17 expected a parent on an untagged side, which reports none. - A tenant capture that saw no frames counted as tenant evidence. It is now reported as off this path. The report also gains a FLAKE status, for a failure an open lab bug explains that passed on its one rerun. It is counted apart from passes.
Re-enslaving a bond member flushes its IPv6 address but keeps its IPv4 one, so after an untagged side on a plain NIC parent was reverted, the Kind nodes held the side's IPv4 address on both the member and the bond, and the IPv4 BGP session over it stayed down. addr_home now checks and moves each family on its own, and on tr2 asks vtysh to remove only the addresses the member holds.
revert turned transmit checksum offload on for every sjc transport member after a run had turned it off. containerlab creates its veths with it off, so revert left sjc unlike the deployed lab. With it on, natively redirected TCP carried partial checksums, and sjc's gateway flows and full-size NAT downloads failed. The first csum change now records each member's own setting, and revert restores it. `vlan-transport.sh repair`, which has no saved state, sets it back to containerlab's off.
V18 kept only log lines naming the rule, so a component that refused an interface with other words looked silent. It now keeps transport, error and refusal lines too. V19 unset galactic-gateway's interfaces, which contract section 1 never auto-detects. It now unsets only galactic-nat's and galactic-cni's in an untagged cell and compares them with the named selection. In a tagged cell the edge needs explicit selection, which V19 records as N/A, and it checks that the compute node, with no list of its own, auto-detects its fabric side.
Contract section 6 now accepts that an untagged side with receive VLAN offload on may claim a frame whose tag is in skb metadata. Q8 leaves only the one peer on that link able to send it, and tenant isolation is unaffected. V13 stays strict for a tag in packet data. A device-bound program reading the tag is a possible #1406 follow-up. Contract section 1 rule 2 now says galactic-nat, which has no public and fabric split, refuses an uplink listed twice as sides_overlap. The lab pass for #1405 is a smoke pass of C1 and C4, native XDP, VLAN offload on, rows V01 to V20. The other cells, generic mode, offload off and the recovery rows V21 to V28 move to #1406 as gaps. The harness still runs them all. The lab acceptance report starts with what the first lab run found, and holds a place for the smoke pass.
kube_retry printed a command's stderr on its stdout, so a caller parsing kubectl's output could read an error or warning as data, and a caller discarding stderr no longer could. It now keeps the two streams apart, passing each through from the last attempt. The report legend now says the operator, not the harness, marks a row FLAKE after its one rerun. lib.sh's PORT_PICKED, read by the scripts that source it, no longer draws a shellcheck warning.
Moving a side's addresses onto a VLAN netdevice kept its BGP sessions up, so tr2 and the edge kept their routes through the untagged parent, and traffic left untagged. apply now hard-resets the side's sessions from the peer, waits until both ends' BGP routes leave through the logical interface and none through a different parent, and fails the apply if they do not move within 180 s. revert does the same for each side the cell moved, after restoring the Galactic settings, and records a side whose routes do not move rather than stopping halfway.
capture-stop copied captures with docker cp, which cannot read the Kind nodes' /tmp, a tmpfs, so only tr2's captures were kept. It now copies through the container and reports a missing capture. It also counted frames with filters that combined `vlan` with other primitives, whose offsets libpcap shifts after `vlan`. Each count now uses one filter, and the rest are derived by subtraction.
V11 and V13 now report, but do not judge, kernel-tagged frames on an untagged side with receive VLAN offload on, which contract section 6 accepts. With offload off, or on a tagged side, they are judged. V17 expects the roles contract section 1 gives: galactic-nat's uplinks unassigned, galactic-cni's selection per node (sjc's edge names only its public side, and the compute node names no public side). V19 leaves eth0 out of galactic-nat's auto-detected uplinks: Kind routes each node's IPv6 default through that management interface, which a host routing its default through its uplink does not. The wire check reports a missing capture as a breach.
The lab acceptance report now holds the smoke pass of C1 and C4: the code, deployment and run, each failing row's finding and disposition, and the lab's state after the revert. C1 passes but for V07, which #1551 fixes after these images. C4's datapath rows give no verdict, because the harness left the BGP routes on the untagged parents. C4's V11 and V13 failures are stale XDP hooks, #1552.
privateip
force-pushed
the
feat/issue-1405-lab-run
branch
from
December 1, 2026 06:08
5520018 to
6e60be1
Compare
3 of 4 tasks
2 of 4 tasks
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.
Finishes the VLAN transport lab work by scoping the lab pass, settling two contract questions the first lab run raised, and fixing the harness faults the lab runs exposed. The lab pass is a tagged smoke run of the untagged and tagged/tagged cells in native mode, and every other cell, mode, offload setting and the recovery rows move to hardware qualification in #1406 as explicit gaps. The smoke run's results are in the report: the untagged cell passes but for one gateway drop, which #1551 fixes after these images. The tagged cell's datapath rows need a short rerun once #1552 merges, with the harness's new BGP reset.
Fixes #1405