test xdp-dump
Running tests from test-xdpdump.sh
[test_help] PASS
[test_interfaces] PASS
[test_capt_pcap] PASS
[test_capt_pcapng] FAIL
PING fc00:dead:cafe:1::2(fc00:dead:cafe:1::2) 56 data bytes
64 bytes from fc00:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.033 ms
--- fc00:dead:cafe:1::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.033/0.033/0.033/0.000 ms
PING fc00:dead:cafe:1::2(fc00:dead:cafe:1::2) 56 data bytes
64 bytes from fc00:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.129 ms
--- fc00:dead:cafe:1::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.129/0.129/0.129/0.000 ms
PING fc00:dead:cafe:1::2(fc00:dead:cafe:1::2) 56 data bytes
64 bytes from fc00:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.176 ms
--- fc00:dead:cafe:1::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.176/0.176/0.176/0.000 ms
REGEX: (File type: Wireshark\/\.\.\. - pcapng.*Capture hardware: unknown.*Capture oper-sys: Linux alrua-x1 5\.7\.1-arch1-1 #1 SMP PREEMPT Sun, 07 Jun 2020 12:28:01 \+0000.*Capture application: xdpdump v[0-9]+\.[0-9]+\.[0-9]+.*Interface #0 info:.*Name = xdptest@fentry.*Description = xdptest:xdp_dispatcher\(\)@fentry.*Hardware = driver: "veth", version: "1\.0", fw-version: "", rom-version: "", bus-info: "".*Time precision = nanoseconds \(9\).*Interface #1 info:.*Name = xdptest@fexit.*Description = xdptest:xdp_dispatcher\(\)@fexit.*Hardware = driver: "veth", version: "1\.0", fw-version: "", rom-version: "", bus-info: "".*Time precision = nanoseconds \(9\))
File name: /tmp/xdptest_PID_63744_30064.pcap
File type: Wireshark/... - pcapng
File encapsulation: Ethernet
File timestamp precision: nanoseconds (9)
Packet size limit: file hdr: (not set)
Number of packets: 2
File size: 896 bytes
Data size: 236 bytes
Capture duration: 0,000045889 seconds
First packet time: 2020-06-10 15:19:20,394685883
Last packet time: 2020-06-10 15:19:20,394731772
Data byte rate: 5.155 kBps
Data bit rate: 41 Mbps
Average packet size: 118,00 bytes
Average packet rate: 43 kpackets/s
SHA256: 3d46499267c66e226b0705b8535ee1dd2d08cf0f08b6233a2ff6b277a9a9ad32
RIPEMD160: 0ea91f28fb3635b518ac7277ffbdbb3369b4b6c5
SHA1: 32187461abbb5c0208c2f5abc1f82f83b3c0361d
Strict time order: True
Capture hardware: x86_64
Capture oper-sys: Linux alrua-x1 5.7.1-arch1-1 #1 SMP PREEMPT Sun, 07 Jun 2020 12:28:01 +0000
Capture application: xdpdump v0.0.3
Number of interfaces in file: 2
Interface #0 info:
Name = xdptest@fentry
Description = xdptest:xdp_dispatcher()@fentry
Encapsulation = Ethernet (1 - ether)
Hardware = driver: "veth", version: "1.0", fw-version: "", rom-version: "", bus-info: ""
Speed = 10000000000
Capture length = 0
Time precision = nanoseconds (9)
Time ticks per second = 1000000000
Time resolution = 0x09
Number of stat entries = 0
Number of packets = 1
Interface #1 info:
Name = xdptest@fexit
Description = xdptest:xdp_dispatcher()@fexit
Encapsulation = Ethernet (1 - ether)
Hardware = driver: "veth", version: "1.0", fw-version: "", rom-version: "", bus-info: ""
Speed = 10000000000
Capture length = 0
Time precision = nanoseconds (9)
Time ticks per second = 1000000000
Time resolution = 0x09
Number of stat entries = 0
Number of packets = 1
ERROR: Failed capinfos content
[test_capt_term] FAIL
PING fc00:dead:cafe:1::2(fc00:dead:cafe:1::2) 56 data bytes
64 bytes from fc00:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.066 ms
--- fc00:dead:cafe:1::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.066/0.066/0.066/0.000 ms
XDP program already loaded on ifindex 36; replacing not yet supported
Couldn't attach XDP program on iface 'xdptest': File exists(-17)
[test_exitentry] FAIL
XDP program already loaded on ifindex 36; replacing not yet supported
Couldn't attach XDP program on iface 'xdptest': File exists(-17)
[test_snap] FAIL
XDP program already loaded on ifindex 36; replacing not yet supported
Couldn't attach XDP program on iface 'xdptest': File exists(-17)
[test_multi_pkt] FAIL
XDP program already loaded on ifindex 36; replacing not yet supported
Couldn't attach XDP program on iface 'xdptest': File exists(-17)
[test_perf_wakeup] FAIL
XDP program already loaded on ifindex 36; replacing not yet supported
Couldn't attach XDP program on iface 'xdptest': File exists(-17)
[test_none_xdp] PASS
make[1]: *** [../lib/common.mk:136: test] Error 1
make: *** [Makefile:66: test] Error 2