make -C tools/testing/selftests TARGETS="drivers/net/hw" TEST_PROGS=devmemm.py TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-25/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw' make[1]: Entering directory '/home/virtme/testing/wt-25/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-25/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw' TAP version 13 1..1 # overriding timeout to 360 # selftests: drivers/net/hw: devmem.py # TAP version 13 # 1..3 # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 175, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw/./devmem.py", line 31, in check_rx # # Exception| wait_port_listen(port) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/utils.py", line 255, in wait_port_listen # # Exception| raise Exception("Waiting for port listen timed out") # # Exception| Exception: Waiting for port listen timed out # not ok 1 devmem.check_rx # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 175, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw/./devmem.py", line 47, in check_tx # # Exception| cmd(f"echo -e \"hello\\nworld\"| {cfg.bin_local} -f {cfg.ifname} -s {cfg.remote_addr} -p {port}", shell=True) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/utils.py", line 95, in process # # Exception| raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" % # # Exception| net.lib.py.utils.CmdExitFailure: Command failed: echo -e "hello\nworld"| /home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw/ncdevmem -f enp1s0 -s 2001:db8:1::2 -p 46639 # # Exception| STDOUT: b'' # # Exception| STDERR: b"using ifindex=3\nusing queues 2..3\nnetdev_bind_tx: Operation not supported\nYNL failed: Kernel error: 'Driver does not support netmem TX'\nncdevmem: Failed to bind: Operation not supported\n" # not ok 2 devmem.check_tx # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/ksft.py", line 175, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw/./devmem.py", line 61, in check_tx_chunks # # Exception| cmd(f"echo -e \"hello\\nworld\"| {cfg.bin_local} -f {cfg.ifname} -s {cfg.remote_addr} -p {port} -z 3", shell=True) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing/wt-25/tools/testing/selftests/net/lib/py/utils.py", line 95, in process # # Exception| raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" % # # Exception| net.lib.py.utils.CmdExitFailure: Command failed: echo -e "hello\nworld"| /home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw/ncdevmem -f enp1s0 -s 2001:db8:1::2 -p 60985 -z 3 # # Exception| STDOUT: b'' # # Exception| STDERR: b"using ifindex=3\nusing queues 2..3\nnetdev_bind_tx: Operation not supported\nYNL failed: Kernel error: 'Driver does not support netmem TX'\nncdevmem: Failed to bind: Operation not supported\n" # not ok 3 devmem.check_tx_chunks # # Totals: pass:0 fail:3 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net/hw: devmem.py # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-25/tools/testing/selftests/drivers/net/hw' make: Leaving directory '/home/virtme/testing/wt-25/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> /opt/nipa/contest/scripts/env_check.py Comparing to existing state file: Saved .ntuple.enp1s0: 3 RX rings available Total 0 rules Current .ntuple.enp1s0: 3 RX rings available Total 1 rules Filter: 47 Rule Type: TCP over IPv6 Src IP addr: 2001:db8:1::2 mask: :: Dest IP addr: 2001:db8:1::1 mask: :: Traffic Class: 0x0 mask: 0xff Src port: 54603 mask: 0x0 Dest port: 54603 mask: 0x0 Action: Direct to queue 2 Saved .rss.enp1s0.rss-indirection-table: [0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 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