On 1/19/23 2:15 PM, Stanislav Fomichev wrote:
- create new netns
- create veth pair (veTX+veRX)
- setup AF_XDP socket for both interfaces
- attach bpf to veRX
- send packet via veTX
- verify the packet has expected metadata at veRX
I have seen this in CI for a couple of times. Could you help to take a look?
https://github.com/kernel-patches/bpf/actions/runs/4019879316/jobs/6907358876
#281 xdp_metadata:FAIL
Caught signal #11!
Stack trace:
./test_progs-no_alu32(crash_handler+0x38)[0x563debb469b2]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7faaf98a2140]
./test_progs-no_alu32(bpf_object__destroy_skeleton+0[ 122.480620]
new_name[134]: segfault at 563df12a8970 ip 0000563debb71a23 sp 00007ffffb5ad3d0
error 4 in test_progs-no_alu32[563deb94b000+254000] likely on CPU 4 (core 0,
socket 4)
x1b)[0x563debb71[ 122.481715] Code: 8b 45 e8 8b 40 38 39 45 f4 7c b0 90 90
c9 c3 f3 0f 1e fa 55 48 89 e5 48 83 ec 10 48 89 7d f8 48 83 7d f8 00 74 67 48 8b
45 f8 <48> 8b 40 40 48 85 c0 74 0c 48 8b 45 f8 48 89 c7 e8 63 ff ff ff 48
a23]
./test_progs-no_alu32(+0x3c192)[0x563deb966192]
./test_progs-no_alu32(test_xdp_metadata+0x1a32)[0x563deb969bc8]
./test_progs-no_alu32(+0x21ce50)[0x563debb46e50]
./test_progs-no_alu32(main+0x54b)[0x563debb4892d]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7faaf96ddd0a]
./test_progs-no_alu32(_start+0x2e)[0x563deb94cdce]