Skip to content

fix(just): exclude noisy connectivity-test checks from smoke-cilium#215

Merged
jvcorredor merged 1 commit into
mainfrom
homelab-214-smoke-exclude-noisy-checks
May 17, 2026
Merged

fix(just): exclude noisy connectivity-test checks from smoke-cilium#215
jvcorredor merged 1 commit into
mainfrom
homelab-214-smoke-exclude-noisy-checks

Conversation

@jvcorredor

Copy link
Copy Markdown
Member

Summary

#212 made smoke-cilium able to run cilium connectivity test (test namespaces are now pre-created privileged). The test now runs the full matrix, but just smoke still exits 1 — two of cilium-cli's checks fail on environmental noise rather than real defects.

This excludes both via --test '!...':

-    cilium connectivity test
+    cilium connectivity test --test '!no-unexpected-packet-drops' --test '!check-log-errors'

Why these two

  • no-unexpected-packet-drops — flags cilium_drop_count_total with reason VLAN traffic disallowed by VLAN filter (INGRESS). That's ambient VLAN-tagged traffic on the LAN that Cilium drops by design, not cluster-pod traffic. The counter is lifetime-cumulative, so the check trips on essentially every run.
  • check-log-errors — scans the full agent log and re-flags benign agent-startup transients (e.g. a one-off cilium-health socket poll racing agent start) for as long as that line stays in the log.

Both surfaced verifying the Cilium 1.19.4 upgrade (#198): 78/80 connectivity tests passed — pod-to-pod, services, DNS, network policy all green — and the only 2 failures were these noise checks. A full conformance pass remains available by running cilium connectivity test directly without the excludes.

Testing

  • just --list still renders smoke-cilium with its one-line description.
  • Full just smoke run against the rockingham cluster to confirm a clean exit 0 — to be done after merge.

Closes: #214
Refs: #211, #198

🤖 Generated with Claude Code

After #212 made `cilium connectivity test` runnable, `just smoke` still
exited 1 on two checks that are unreliable on this homelab:

  - no-unexpected-packet-drops trips on ambient VLAN-tagged LAN traffic
    that Cilium drops by design ("VLAN traffic disallowed by VLAN
    filter") — not cluster-pod traffic, and the counter is cumulative.
  - check-log-errors scans the full agent log and re-flags benign
    agent-startup transients (e.g. a one-off cilium-health socket poll
    racing agent start).

Exclude both via `--test '!...'` so `just smoke` is a clean pass/fail
gate. A full conformance pass remains available by running `cilium
connectivity test` directly without the excludes.

Closes: #214

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jvcorredor jvcorredor merged commit 9c2fe12 into main May 17, 2026
1 check passed
@jvcorredor jvcorredor deleted the homelab-214-smoke-exclude-noisy-checks branch May 17, 2026 21:51
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.

fix(just): exclude VLAN-drop and log-scan checks from smoke-cilium

1 participant