selftests/bpf: Track test_xdp_features DUT processes - #13225
selftests/bpf: Track test_xdp_features DUT processes#13225kernel-patches-daemon-bpf[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: 07cb86a |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: |
|
Forwarding comment 5264730219 via email |
3bf3eae to
2f9c9e0
Compare
|
Upstream branch: 611a9f0 |
d3db51e to
5055e16
Compare
2f9c9e0 to
239ce7e
Compare
|
Upstream branch: 3a59f11 |
5055e16 to
b4345f5
Compare
239ce7e to
f9ee2fe
Compare
|
Upstream branch: 3a59f11 |
b4345f5 to
56bbbe5
Compare
f9ee2fe to
7bfbd95
Compare
|
Upstream branch: 108d440 |
56bbbe5 to
d411363
Compare
7bfbd95 to
f3e34e7
Compare
|
Upstream branch: a88dbe1 |
d411363 to
0681890
Compare
f3e34e7 to
5182577
Compare
|
Upstream branch: 7c3e54c |
0681890 to
40da449
Compare
5182577 to
673b1f0
Compare
|
Upstream branch: c93cbdb |
3d81440 to
db00bad
Compare
|
Upstream branch: 8eb1892 |
|
Upstream branch: d99bda7 |
|
Upstream branch: 34e0eb7 |
|
Upstream branch: 5fe7007 |
|
Upstream branch: 77877bf |
|
Upstream branch: adb7719 |
|
Upstream branch: 6b0835a |
|
Upstream branch: 6ab6a94 |
|
Upstream branch: 3d9393f |
|
Upstream branch: f79066c |
|
Upstream branch: 91ec203 |
|
Upstream branch: aed1bf1 |
|
Upstream branch: d19862d |
|
Upstream branch: 4191e49 |
|
Upstream branch: 4954de7 |
|
Upstream branch: e40f61a |
|
Upstream branch: 669e4fa |
|
Upstream branch: a284ed4 |
|
Upstream branch: 5e289c5 |
1 similar comment
|
Upstream branch: 5e289c5 |
|
Upstream branch: d83fba2 |
|
Upstream branch: ce36e38 |
|
Upstream branch: 05ea1b6 |
|
Upstream branch: 1555de3 |
|
Upstream branch: 48b69cc |
test_xdp_features.sh waits for any xdp_features listener to appear and uses pidof during cleanup. A concurrent test can therefore make another test proceed before its own DUT is ready, and cleanup kills every xdp_features process on the host. The readiness loop also has no timeout, so a DUT that exits before listening leaves the test hung indefinitely. Track one active DUT at a time, wait for ss to report that exact PID with a bounded retry loop, and reap it after each test. Consult the shell job table before signaling the DUT so a stale PID cannot target an unrelated process. On failure, terminate the shell job with SIGKILL and reap it so blocked I/O cannot hang cleanup. Install an EXIT trap and signal handlers so failure paths also remove network setup. Fixes: 4dba3e7 ("selftests/bpf: introduce XDP compliance test tool") Closes: https://bugs.debian.org/1136522 Signed-off-by: Bochao Cao <bochaolucky@gmail.com>
Pull request for series with
subject: selftests/bpf: Track test_xdp_features DUT processes
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1144562