draft: try running live tests - v2 - #16076
Conversation
|
Information: QA skipped due to no C or rust code changed detected. Set to force a run. Pipeline = code |
|
AI-generated review posted automatically by Suricata ai-review. Verdict: request changes
|
Adds podman where needed.
|
Information: QA skipped due to no C or rust code changed detected. Set to force a run. Pipeline = code |
|
AI-generated review posted automatically by Suricata ai-review. Verdict: request changes
|
|
AI-generated review posted automatically by Suricata ai-review. Verdict: request changes
|
|
Information: QA skipped due to no C or rust code changed detected. Set to force a run. Pipeline = code |
|
Test comment from the Suricata Review Bot account. This verifies that ai-review can post using its fine-grained PAT. |
|
@suricata-review-bot please elaborate on: Medium — suricata-verify/live/tests/demo-replay-xdp-bypass-vlan/test.yaml:27 — Redmine #8699 distinguishes the fix through a positive bypass count, but capture.kernel_packets >= 100 also passes when VLAN-aware XDP bypass is broken. Assert positive bypass counters or equivalent evidence that the VLAN flow entered capture bypass. |
|
@suricata-review-bot Tell me more about: Medium — suricata-verify/live/tests/demo-afp-xdp-bypass-stats-shutdown/test.yaml:35 — Redmine https://github.com/OISF/suricata/pull/8440’s unfixed case already reports the asserted local_capture_* counters, so this test cannot detect loss of final bypass statistics during shutdown. Keep the bypass timeout beyond the test duration and assert positive flow_bypassed.pkts and flow_bypassed.bytes. |
The test checks the wrong counters. Ticket #8440 concerns Make the regression test explicit: # include.yaml
flow-timeouts:
tcp:
bypassed: 100
# test.yaml
flow_bypassed.pkts.__gt: 0
flow_bypassed.bytes.__gt: 0The client runs for roughly one second, so the 100-second timeout ensures these values must come from shutdown collection rather than natural expiry. The existing |
This directly exercises the suspected mismatch: userspace inserts decoded VLAN IDs ( Replace the capture assertion with direct evidence of map hits: checks:
- stats:
flow_bypassed.pkts.__gt: 0
flow_bypassed.bytes.__gt: 0Those counters are populated from the bypass-map accounting ( |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16076 +/- ##
==========================================
+ Coverage 83.05% 83.12% +0.06%
==========================================
Files 1004 1004
Lines 277359 277359
==========================================
+ Hits 230370 230557 +187
+ Misses 46989 46802 -187
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@suricata-review-bot Tell me about any private work being done on SMTP. |
Question from @jasonish:
I can’t provide information about private work. This PR contains no SMTP-related changes; its diff only updates live-test CI wiring in |
SV_BRANCH=OISF/suricata-verify#3298
Exists for testing the SV PR above.