Repository navigation
test(soak): drive the UDS-served services from k6 and roll aether-uds-csi mid-soak (#1108, #1109) - #1112
Merged
Conversation
…-csi mid-soak (#1108, #1109) #1108: k6-mesh-soak.js sends UDS_SHARE = 5% of its constant-arrival-rate iterations to uds-echo (annotation delivery) and uds-cr-echo (EndpointPolicy delivery), split evenly; the total rate is unchanged. The per-class and per-target failure breakdown covers the new authorities (declared key space 281 -> 297). k6-runner.yaml pins both as upstreams. README gate: 0 non-benign access-log lines on the UDS authorities against a clean-200 control, queries starting at log_name: (#1098), with benign-DC sizes derived per run (#1089). #1109: churn.sh gains a UDS-CSI step at T0+162 and T0+270 (clear of the TRIPLE, the new-SA steps, every proxy/agent roll and the no-roll window). Each step: - rollout-restarts ds/aether-uds-csi; - deletes a uds-echo pod (step 2: a uds-cr-echo pod) as soon as that pod's node's plugin is terminating; - waits for the DaemonSet rollout, the pod to finish Terminating and its replacement to become Ready; - checks that CSINode lists csi.aether.io on every plugin node and counts FailedMount events during the step and in the 30s after it; - logs one ROLLED/FAILED line. A FAILED step is a gate finding and does not abort the run, like FAILED newsa. --preflight now checks the DaemonSet is present and patchable and that the victims have a Running pod to delete. --uds-csi-once runs a single step. SOAK_UDSCSI=0 opts out. The tallies become 33 rolls and 35 ROLLED lines. README gates: both roll lines ROLLED with csinode=n/n and failedmount_after=0, and aether_agent_uds_resolve_failures_total unchanged (raw T0 vs T0+8h per node x reason, plus max_over_time across the agent rolls). Closes #1108 Closes #1109 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 1, 2026
) (#1117) Status Implemented: Phase 1 (#1090) and Phase 2 (#1092, chart 2.0.0) shipped; Phase 3 complete except the node reboot (#1106). Phase 0a (#1083) was not run and is recorded as superseded; the confused-deputy finding stays as the motivation, with what now prevents it. Adds a Phase 3 as-built section (deploy, first 8 h soak, plugin roll under load), the #1111 inode cap and #1112 soak harness follow-ups, the second-volume_id rejection superseded by the admission webhook, and 034 Phase 2 as unblocked but deferred (also in 034's supersession note). Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
What
Soak harness coverage for the proposal-039 CSI carrier. No chart or code change.
#1108: k6 drives the UDS-served services
k6-mesh-soak.jssendsUDS_SHARE= 5% of its iterations touds-echo(annotation delivery) anduds-cr-echo(EndpointPolicy delivery), split evenly. The executor is still constant-arrival-rate at 60/s, so the total rate is unchanged. The six TCP targets each drop from 16.7% to 15.8%. That works out to about 7.5 rps per UDS authority across 5 runners, roughly 216k requests per authority over 8 h.targets, which now includes both UDS URLs. The declared submetric count goes from 281 to 297.k6-runner.yamladdsuds-echo,uds-cr-echotoconfig.aether.io/upstreams, using bare same-namespace names per Observed-dependency TTL expiry drops actively-used clusters mid-traffic; ODCDS recovery can stall for minutes under snapshot churn #636.defaultplusuds-client). Queries start atlog_name:(docs(soak): raw-counter grading rule, fixed gate selectors, set-based #1009 rule, L4-log anyport gate, per-client DC baseline #1098), benign-DCsizes are derived per run (soak README: the #1009 benign-DC rule assumes one clean bytes_sent per destination, but svc-2/3/4 have two #1089), and k6's by-target table must show no UDS row.#1109: churn.sh rolls
ds/aether-uds-csiudscsistep runs at T0+162 and T0+270. Each slot sits midway between two svc rolls, clear of the TRIPLE (300), the new-SA steps (126 and 288), every proxy and agent roll, and the no-roll window (360–450). Each step does the following:rollout restarts the DaemonSet.uds-echopod, step 2 auds-cr-echopod. This makes NodeUnpublish wait for the new plugin.rollout status, for the pod to finish Terminating, and for its replacement to become Ready.csi.aether.ioon every plugin node.ROLLED aether-system/daemonset/aether-uds-csi victim=… window=down rollout=…s terminated=…s replacement=… ready=…s csinode=k/n failedmount_during=N failedmount_after=Nline, orFAILED … bad=….FAILED newsa/…. Only a refused restart or a missing victim aborts.--preflightnow checks thatds/aether-uds-csiis present and patchable. It also checks that each victim Deployment exists and has a Running pod, and that the context may delete pods, list events and list CSINodes.--uds-csi-onceruns a single step.SOAK_UDSCSI=0opts out.SOAK_UDSCSI_OFFSETS,SOAK_UDSCSI_VICTIMSandSOAK_UDSCSI_TIMEOUTare the knobs.grep -c ROLLED= 35. That covers the README table, schedule table, teardown greps, the two-drivers warning, the churn.sh header and footer, and the Files section.csinode=n/nandfailedmount_after=0. The step line is the record, because Events expire after about 1 h.aether_agent_uds_resolve_failures_totalunchanged, compared raw at T0 and T0+8h per(node, reason). It also needsmax_over_timeover 8 h, because the agent rolls reset the counter. The counter is seeded, so the T0 query returning every row is its existence control.Evidence
…156 svc-3|162 udscsi|168 svc-4…and…264 svc-3|270 udscsi|276 svc-1|288 newsa|300 TRIPLE….kind-udscsi-1107, aether +charts/udsecho):--uds-csi-once --preflightreturns OK.SOAK_UDSCSI_VICTIMS=aether-test/nopeit refuses with exit 2:UDS victim aether-test/deployment/nope not found.--preflightreports only the svc-N, edge and new-SA targets that kind does not have. All uds-csi checks pass.--uds-csi-onceon kind, three runs, covering both victims:driver name csi.aether.io not found in the list of registered CSI drivers), the kubelet retried, and the mount succeeded.duration: 3m, ran in a mesh-managed pod with the runner's annotations. A uds-csi step, including the uds-echo pod deletion, fired mid-run. Results:http_reqs=10796, with 10,244dnsfailures. All of those are the TCP targets, which do not exist on kind.classifiedandattributedboth reconcile.make formatproduced no diff.bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...is clean, including shellcheck on//e2e/soak:soak_shell.Not validated
uds-echo2/2,uds-cr-echo2/2,uds-client1/1 (udsecho chart 2.0.0 at fe006e5) andds/aether-uds-csi5/5. No udsecho upgrade is needed. k6 reaches the services once the editedk6-runner.yamland ConfigMap are applied, which the README steps 1 and 3 already do each run.FAILED … bad=failedmount|csinodepath. It is not reproducible on demand, and the counting logic was exercised only on the clean path.Closes #1108
Closes #1109
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr