Skip to content

docs(soak): raw-counter grading rule, fixed gate selectors, set-based #1009 rule, L4-log anyport gate, per-client DC baseline - #1098

Merged
bpalermo merged 1 commit into
mainfrom
docs/soak-harness-1088-1089-1095-1075
Oct 1, 2026
Merged

bpalermo merged 1 commit into
mainfrom
docs/soak-harness-1088-1089-1095-1075

Conversation

@bpalermo

@bpalermo bpalermo commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Docs only: e2e/soak/README.md and docs/runbook.md. There is no code or chart change, and the prober is not touched.

Closes #1088
Closes #1089
Closes #1095
Closes #1075

What changed

Evidence

Every rewritten query was run over 2026-10-01T00:40:30Z → 08:40:30Z (T0 → T0+8h), one line each:

#1088: prober gate

  • Raw sum by (tier,target,result) at T0 and T0+8h, liveness: success 79,475→799,462 (+719,987). timeout was absent at T0 and is 1 at T0+8h (+1). connection_error 18→18 (+0).
  • Same query, mesh_dns timeout: authoritative 13→20 (+7), forwarded 13→24 (+11). Success: +719,978 and +719,976.
  • One-shot x - (x offset 8h or x*0): liveness timeout 1, mesh_dns timeout 7 / 11, success 719,987 / 719,978 / 719,976. This matches the two-instant diff.
  • Old increase(...[8h]) for comparison: liveness timeout 0, mesh_dns timeout 6.02 / 8.02. This reproduces the bug.
  • x unless x offset 8h: 5 series born in the window. w04 prober-nnj4d: liveness timeout 1, auth 5, fwd 6. w02 jggh9: fwd 1. w03 7msvw: fwd 1.
  • Pod-set symmetric difference: empty. The same 5 prober pods were present at both ends.
  • AETHER_PROBE_FAIL line count: 19, which equals 1 + 7 + 11.
  • Pre-flight rate(success[3m]) at T0+8h: liveness 25.01/s, mesh_dns 50.01/s.

#1088: label and name fixes

  • sum by (node) (increase(aether_supervisor_child_silent_total[8h])): 5 rows, all 0. The old by (k8s_node_name) returns 1 label-less row.
  • sum by (node) (increase(aether_agent_spire_svid_updates_total{pod,rotated}[8h])): 5 rows, 44.1–48.2.
  • max_over_time(aether_cni_operations_total{aether_cni_operation="capture_divert",aether_cni_result="error"}[8h]): no series.
  • CNI existence proof: add, del and capture_divert success on all 5 nodes. The old {operation="add"} returns nothing.
  • UDP {__name__=~"envoy_udp_capture_udp_.+_downstream_sess_rx_datagrams_total"}: 5 series, one per dialer pod.
  • envoy_cluster_manager_active_clusters{job!="aether-edge-proxy"}: 5 series (105–111). Unscoped it returns 7, including 2 edge series.
  • envoy_cluster_upstream_cx_connect_fail_total{@}: present, +86 over 8h. The _total-less name has no series ever.
  • max_over_time(envoy_cluster_upstream_rq_5xx_total{@}[8h]): svc-3@default on w04 = 3. Those are the quic: with the source agent restarting, in-flight QUIC requests to a terminating endpoint hang the full 15 s route timeout (504 UT) instead of failing fast #1087 504 UT lines. The _total-less name has no series ever.
  • max_over_time(odcds_init_fetch_timeout_total / quic_twin_refused_total / init_fetch_timeout_total{@} [8h]) > 0: no series. All three names exist in Prometheus (metric-names list since 09-20, except twin_refused, whose OTel name aether.agent.quic.twin.refused was confirmed in agent/internal/xds/server/odcds.go).
  • envoy_cluster_upstream_rq_total{aether_cluster=~"aether-test/[^@]*"}: no series. h2 kin carry no traffic since feat(038): east-west QUIC is unconditional — the proving allow-list is gone #979, and the README now says so.
  • count by (node) of twins: w01 10, w02–w05 7 each. With increase(...)>0 over 8h: 12/9/7/7/7, because the new-SA twins were removed.
  • L4 (a) existence: tcp_aether-test/tcp-echo +47,066 and tcp_aether-test/mixed-svc_9000 +23,531. max_over_time(ssl_fail_verify_san_total{tcp_}[8h]): no series.
  • L4 (b) stray-landing query: no series. envoy_tcp_in_tcp_* series exist on w03, w04 and w05.

#1088: access-log stream fix

  • _stream:{service.name="aether-proxy"} AND log_name:aether_access_logs: 0. log_name:aether_access_logs: 20,289,652, with _stream {}.
  • _stream:{service.name="aether-proxy"} AND log_name:aether_l4_access_logs: 0. Without the prefix: 70,593, all with flags -.
  • upstream_cluster:~"^quic:": 0 of 20,289,652 access-log records. upstream_cluster:~"@", source lines: 10,146,248.
  • Wedge (b), new form: 0 QUIC_TOO_MANY_RTOS/blackhole. The control widened with response_timeout returns 5, the 504 UT lines.
  • Stateless reset / PEER_GOING_AWAY: 0. 503 UC on @: 0.
  • Proxy-stream control _msg:"starting workers": 30. hot-restart child silent: 0. Watchdog, epochs-silent and drain-deadline lines: 0.
  • New-SA NC: empty. The control (new-SA lines by flags) returns 4,799 - and 1 DC.
  • Stranded-twin NC ≥1.9 s: empty.
  • NC anywhere in the window: 0. Over 00:30–00:40:30Z, before T0: 66 (w05 51, w02 15), which is quic: a new pod's first use of many QUIC destinations at once exceeds the 2 s on_demand timeout (503 NC burst at loader start) #1086.

#1089: clean-size SET (query 1)

  • svc-1 {789,791,866,867,868}
  • svc-2 {790,791}
  • svc-3 {790,791,865,866,867,868}
  • svc-4 {789,791}
  • echo.aether.internal {789,827}
  • echo.svc.cluster.local {829}
  • mixed-svc {20}
  • uds-echo {73}, uds-cr-echo {79}
  • authz-echo {867}
  • otel-collector {7}

All of these match GRADE.md.

#1089: other queries

  • Size join (query 2): 16 rows, every one with clean > 0, so every 200/DC size is in its set.
  • Non-benign (query 3): 7 lines, prober, response_code 0, bytes_sent 0. Split: echo.aether.internal 3, svc.cluster.local 4. These are the prober's own 2 s timeouts.

#1095: anyport

  • Declared-port gate: 1 row: 05:41Z, main-worker-03, mp-dialer-fdbk2 → 10.96.11.228:9000, cap_tcp_anyport_tcp:tcp-echo…, cx=1. The first/last stage dates it 05:41:55.436Z. This is capture: a connection to a DECLARED port landed on the anyport floor chain 12 s after an agent restart (blocks dropping anyport, proposal 037 Phase 4) #1094.
  • Control, run 22:00Z → T0: 20 cx on dport 19999 from anyport-probe-xzjv6 on w05, 00:33:42–00:34:01Z.
  • All-ports form over the window: only the single 9000 row.
  • Seed counter: 20 on w05 at T0. The w05 series' last sample is 01:47:00Z. A w03 series exists only from 05:42 to 05:47Z. count(...) at T0+8h is 0.
  • Neighbouring chains at T0+8h: mixed-svc_9000 7,009, tcp-echo_18082 7,009, tcp-echo_9000 7,011.
  • Declared ports: kubectl get svc tcp-echo gives the annotation aether.io/port: "9000", plus mesh-tcp 18082.

#1075: per-client DC (query 4)

  • prober (Go-http-client/1.1): echo.aether.internal 20,088, echo.svc.cluster.local 20,821. Per full hour 01–07Z: 4,821–5,259.
  • uds-client (curl): 258 + 371.
  • authz-canary (curl): 87.
  • uds-client + authz-canary per full hour: 74–109.
  • k6 (default): 360, all inside the 6 proxy-roll minute brackets (01:40–42, 02:16–18, 04:16–18, 04:52–54, 05:40–43, 06:16–18Z). New-SA: 1.

Checks

  • make format: clean, no further changes.
  • bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...: Build completed successfully.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…1009 rule, L4-log anyport gate, per-client DC baseline

- #1088: every gate selector audited against live Prometheus/VictoriaLogs.
  `node` (not k8s_node_name) on supervisor/SPIRE/agent series, CNI labels
  aether_cni_operation/aether_cni_result, `_total` on connect_fail/rq_5xx/UDP
  datagram names, edge proxy kept out of active_clusters, agent pods in
  aether-system. Access-log queries no longer start at
  _stream:{service.name=...} (those records have an empty stream, so the
  prefix matched nothing), and the #1054 503 UC query keys on `@`, not on
  `quic:`, which upstream_cluster never carries. Prober gate = raw counters
  at T0 and T0+8h with a success control; never a bare increase().
- #1089: benign-DC size condition is a per-authority SET derived from the
  run's own 2xx lines, with a one-pass LogsQL join.
- #1095: anyport gate = L4 access-log anyport connections to DECLARED ports;
  the seed counter is a pre-roll sanity check only. Finds #1094.
- #1075: prober/uds-client/authz-canary continuous benign DC graded as a
  per-client baseline keyed on the caller ServiceAccount.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 6ea497a into main Oct 1, 2026
24 checks passed
@bpalermo
bpalermo deleted the docs/soak-harness-1088-1089-1095-1075 branch October 1, 2026 14:37
bpalermo added a commit that referenced this pull request Oct 1, 2026
…-csi mid-soak (#1108, #1109) (#1112)

#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


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment