sensor-snmp: integration test harness — in-process agent (async-snmp agent framework) #540
Labels
No labels
area:frontend
area:gui
area:transfer
area:zenoh
breaking-change
bug
correlation
deployment
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keyspace-v2
netring-0.27
netring-0.28
netring-0.29
nlink-0.24
performance
priority:p0
priority:p1
priority:p2
prototype
question
redesign
rerun
research
security
sensor:logs
sensor:netlink
sensor:netring
sensor:parallax
sensor:snmp
sensor:sysinfo
sensor:systemd
v3-roadmap
wave:0
wave:1
wave:2
wave:3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
marcpardo/zensight#540
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #525.
Problem
Test coverage stops at parsers and config (
config.rs,mib.rs,oid.rs,trap.rsin-module tests +tests/integration.rsencode/decode round-trips). The actual network paths —snmp_get/walk loops, v3 handshake/engine sync, the trap receiver UDP loop — have zero automated coverage. Every transport change (the async-snmp migration especially) ships blind.Proposal
Use
async-snmp's agent framework to run an in-process SNMP agent in integration tests (no external snmpsim/net-snmp dependency, CI-safe on localhost UDP):.github/workflows/rust.yml) as part ofcargo test --workspace.Acceptance
cargo test -p zensight-sensor-snmpexercises real UDP round-trips with no external services.