make -C tools/testing/selftests TARGETS="drivers/net/hw" TEST_PROGS=csum.ppy TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw' TAP version 13 1..1 # overriding timeout to 360 # selftests: drivers/net/hw: csum.py # TAP version 13 # 1..12 # ok 1 csum.ipv4_rx_tcp # ok 2 csum.ipv4_rx_tcp_invalid # ok 3 csum.ipv4_rx_udp # ok 4 csum.ipv4_rx_udp_invalid # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 57, in f # # Exception| test_transmit(cfg, ipver, extra_args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 44, in test_transmit # # Exception| wait_port_listen(34000, proto="udp", host=cfg.remote) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 253, in wait_port_listen # # Exception| raise Exception("Waiting for port listen timed out") # # Exception| Exception: Waiting for port listen timed out # not ok 5 csum.ipv4_tx_udp_csum_offload # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 57, in f # # Exception| test_transmit(cfg, ipver, extra_args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 44, in test_transmit # # Exception| wait_port_listen(34000, proto="udp", host=cfg.remote) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 253, in wait_port_listen # # Exception| raise Exception("Waiting for port listen timed out") # # Exception| Exception: Waiting for port listen timed out # not ok 6 csum.ipv4_tx_udp_zero_checksum # ok 7 csum.ipv6_rx_tcp # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 59, in f # # Exception| test_receive(cfg, ipver, extra_args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 24, in test_receive # # Exception| cmd(tx_cmd, host=cfg.remote) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 133, in __exit__ # # Exception| return self.process(terminate=terminate, fail=self.check_fail) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 91, in process # # Exception| raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" % # # Exception| net.lib.py.utils.CmdExitFailure: Command failed: /home/virtme/testing/wt-22/tools/testing/selftests/net/lib/csum -i enp0s1 -n 100 -6 -S 2001:db8:1::2 -D 2001:db8:1::1 -r 1 -R -t -E # # Exception| STDOUT: b'' # # Exception| STDERR: b'rx: pkt: sport=33000 len=120 csum=0x57d5 verify=0x5055\nrx: pkt: sport=33000 len=956 csum=0xd65e verify=0x5342\nrx: pkt: sport=33000 len=757 csum=0x1dce verify=0xc463\nrx: pkt: sport=33000 len=772 csum=0x3b27 verify=0x89b1\nrx: pkt: sport=33000 len=138 csum=0xd373 verify=0x5918\nrx: pkt: sport=33000 len=432 csum=0xb498 verify=0x96ce\nrx: pkt: sport=33000 len=515 csum=0x17e8 verify=0xd02f\nrx: pkt: sport=33000 len=294 csum=0xc999 verify=0x6ccc\nrx: pkt: sport=33000 len=550 csum=0xe153 verify=0x3d58\nrx: pkt: sport=33000 len=551 csum=0x2a0d verify=0xabe5\nrx: pkt: sport=33000 len=917 csum=0xa7ad verify=0xb0a4\nrx: pkt: sport=33000 len=714 csum=0xdff1 verify=0x401c\nrx: pkt: sport=33000 len=215 csum=0xa98c verify=0xace6\nrx: pkt: sport=33000 len=313 csum=0xbff verify=0xe801\nrx: pkt: sport=33000 len=625 csum=0x7c7c verify=0x707\nrx: pkt: sport=33000 len=41 csum=0xec59 verify=0x274c\nrx: pkt: sport=33000 len=72 csum=0x67d7 verify=0x3051\nrx: pkt: sport=33000 len=426 csum=0x397 verify=0xf8d1\nrx: pkt: sport=33000 len=49 csum=0xcb15 verify=0x69d4\nrx: pkt: sport=33000 len=855 csum=0x1294 verify=0xdad7\nrx: pkt: sport=33000 len=880 csum=0xcd97 verify=0x64d0\nrx: pkt: sport=33000 len=60 csum=0x6b36 verify=0x2993\nrx: pkt: sport=33000 len=363 csum=0x2649 verify=0xb36d\nrx: pkt: sport=33000 len=856 csum=0x38c6 verify=0x8e73\nrx: pkt: sport=33000 len=512 csum=0x664a verify=0x336b\nrx: pkt: sport=33000 len=196 csum=0x10ba verify=0xde8b\nrx: pkt: sport=33000 len=1006 csum=0x2902 verify=0xadfb\nrx: pkt: sport=33000 len=588 csum=0x2611 verify=0xb3dd\nrx: pkt: sport=33000 len=501 csum=0x89a9 verify=0xecac\nrx: pkt: sport=33000 len=146 csum=0x8e2a verify=0xe3aa\nrx: pkt: sport=33000 len=140 csum=0x5b3 verify=0xf499\nrx: pkt: sport=33000 len=352 csum=0x3c3d verify=0x8785\nrx: pkt: sport=33000 len=53 csum=0xeea0 verify=0x22be\nrx: pkt: sport=33000 len=861 csum=0xb63e verify=0x9382\nrx: pkt: sport=33000 len=1012 csum=0x9ac2 verify=0xca7a\nrx: pkt: sport=33000 len=642 csum=0x32b6 verify=0x9a93\nrx: pkt: sport=33000 len=861 csum=0xd478 verify=0x570e\nrx: pkt: sport=33000 len=80 csum=0x839a verify=0xf8ca\nrx: pkt: sport=33000 len=569 csum=0x66a3 verify=0x32b9\nrx: pkt: sport=33000 len=999 csum=0x16d6 verify=0xd253\nrx: pkt: sport=33000 len=426 csum=0xa18f verify=0xbce0\nrx: pkt: sport=33000 len=305 csum=0xfe85 verify=0x2f4\nrx: pkt: sport=33000 len=223 csum=0x11eb verify=0xdc29\nrx: pkt: sport=33000 len=60 csum=0xf4de verify=0x1642\nrx: pkt: sport=33000 len=690 csum=0x2143 verify=0xbd79\nrx: pkt: sport=33000 len=655 csum=0x7922 verify=0xdbb\nrx: pkt: sport=33000 len=139 csum=0x368f verify=0x92e1\nrx: pkt: sport=33000 len=1037 csum=0x5dff verify=0x4401\nrx: pkt: sport=33000 len=769 csum=0xa72 verify=0xeb1b\nrx: pkt: sport=33000 len=474 csum=0xff47 verify=0x170\nrx: pkt: sport=33000 len=305 csum=0x489d verify=0x6ec5\nrx: pkt: sport=33000 len=979 csum=0xeae2 verify=0x2a3a\nrx: pkt: sport=33000 len=256 csum=0x97d4 verify=0xd056\nrx: pkt: sport=33000 len=1010 csum=0x4b58 verify=0x694f\nrx: pkt: sport=33000 len=559 csum=0x406b verify=0x7f29\nrx: pkt: sport=33000 len=101 csum=0xffff verify=0x0\npkt: good csum, while bad expected\ncmsg: expected bad csum, pf_packet returns valid\nrx: pkt: sport=33000 len=938 csum=0xfb8e verify=0x8e2\nrx: pkt: sport=33000 len=429 csum=0x54bd verify=0x5685\nrx: pkt: sport=33000 len=571 csum=0x2384 verify=0xb8f7\nrx: pkt: sport=33000 len=228 csum=0x3a24 verify=0x8bb7\n/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/csum: rx: errors at pf_packet: total=5 bad_csums=1 bad_valids=1\n\n' # not ok 8 csum.ipv6_rx_tcp_invalid # ok 9 csum.ipv6_rx_udp # ok 10 csum.ipv6_rx_udp_invalid # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 57, in f # # Exception| test_transmit(cfg, ipver, extra_args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 44, in test_transmit # # Exception| wait_port_listen(34000, proto="udp", host=cfg.remote) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 253, in wait_port_listen # # Exception| raise Exception("Waiting for port listen timed out") # # Exception| Exception: Waiting for port listen timed out # not ok 11 csum.ipv6_tx_udp_csum_offload # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 57, in f # # Exception| test_transmit(cfg, ipver, extra_args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw/./csum.py", line 44, in test_transmit # # Exception| wait_port_listen(34000, proto="udp", host=cfg.remote) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 253, in wait_port_listen # # Exception| raise Exception("Waiting for port listen timed out") # # Exception| Exception: Waiting for port listen timed out # not ok 12 csum.ipv6_tx_udp_zero_checksum # # Totals: pass:7 fail:5 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net/hw: csum.py # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/hw' make: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->