make -C tools/testing/selftests TARGETS="drivers/net" TEST_PROGS=ping.py TTEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-22/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-22/tools/testing/selftests/drivers/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-22/tools/testing/selftests/drivers/net' make[1]: Entering directory '/home/virtme/testing-22/tools/testing/selftests/drivers/net' TAP version 13 1..1 # overriding timeout to 360 # selftests: drivers/net: ping.py # TAP version 13 # 1..6 # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 143, in test_default # # Exception| _test_v4(cfg) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 18, in _test_v4 # # Exception| cmd("ping -c 1 -W0.5 " + cfg.remote_addr_v["4"]) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing-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: ping -c 1 -W0.5 192.0.2.2 # # Exception| STDOUT: b'PING 192.0.2.2 (192.0.2.2) 56(84) bytes of data.\n\n--- 192.0.2.2 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n' # # Exception| STDERR: b'' # not ok 1 ping.test_default # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 154, in test_xdp_generic_sb # # Exception| _test_v4(cfg) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 19, in _test_v4 # # Exception| cmd("ping -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing-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: ['ip', 'netns', 'exec', 'ns-remote', 'bash', '-c', 'ping -c 1 -W0.5 192.0.2.1'] # # Exception| STDOUT: b'PING 192.0.2.1 (192.0.2.1) 56(84) bytes of data.\n\n--- 192.0.2.1 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n' # # Exception| STDERR: b'' # not ok 2 ping.test_xdp_generic_sb # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 165, in test_xdp_generic_mb # # Exception| _test_v4(cfg) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 18, in _test_v4 # # Exception| cmd("ping -c 1 -W0.5 " + cfg.remote_addr_v["4"]) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing-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: ping -c 1 -W0.5 192.0.2.2 # # Exception| STDOUT: b'PING 192.0.2.2 (192.0.2.2) 56(84) bytes of data.\n\n--- 192.0.2.2 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n' # # Exception| STDERR: b'' # not ok 3 ping.test_xdp_generic_mb # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 176, in test_xdp_native_sb # # Exception| _test_v4(cfg) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 19, in _test_v4 # # Exception| cmd("ping -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing-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: ['ip', 'netns', 'exec', 'ns-remote', 'bash', '-c', 'ping -c 1 -W0.5 192.0.2.1'] # # Exception| STDOUT: b'PING 192.0.2.1 (192.0.2.1) 56(84) bytes of data.\n\n--- 192.0.2.1 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n' # # Exception| STDERR: b'' # not ok 4 ping.test_xdp_native_sb # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 191, in test_xdp_native_mb # # Exception| _test_v4(cfg) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/drivers/net/./ping.py", line 18, in _test_v4 # # Exception| cmd("ping -c 1 -W0.5 " + cfg.remote_addr_v["4"]) # # Exception| File "/home/virtme/testing-22/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing-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: ping -c 1 -W0.5 192.0.2.2 # # Exception| STDOUT: b'PING 192.0.2.2 (192.0.2.2) 56(84) bytes of data.\n\n--- 192.0.2.2 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n' # # Exception| STDERR: b'' # not ok 5 ping.test_xdp_native_mb # ok 6 ping.test_xdp_offload # SKIP device does not support offloaded XDP # # Totals: pass:0 fail:5 xfail:0 xpass:0 skip:1 error:0 not ok 1 selftests: drivers/net: ping.py # exit=1 make[1]: Leaving directory '/home/virtme/testing-22/tools/testing/selftests/drivers/net' make: Leaving directory '/home/virtme/testing-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 unreferenced object 0xffff888005d82800 (size 1024): comm "ip", pid 193, jiffies 4294677704 hex dump (first 32 bytes): 40 00 00 00 00 00 00 00 e2 b1 90 23 00 00 00 00 @..........#.... 10 28 d8 05 80 88 ff ff 10 28 d8 05 80 88 ff ff .(.......(...... backtrace (crc b0c22b2): __kvmalloc_node_noprof+0x402/0x570 bucket_table_alloc.isra.0+0x50/0x3d0 rhashtable_init_noprof+0x2bc/0x6e0 fqdir_init+0xb0/0x180 ipv4_frags_init_net+0x2f/0x3a0 ops_init+0x189/0x550 setup_net+0x1da/0x7c0 copy_net_ns+0x1f7/0x340 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8d/0x130 ksys_unshare+0x2a7/0x660 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f unreferenced object 0xffff88800bc78400 (size 1024): comm "ip", pid 193, jiffies 4294677708 hex dump (first 32 bytes): 40 00 00 00 00 00 00 00 1a 30 dc 60 00 00 00 00 @........0.`.... 10 84 c7 0b 80 88 ff ff 10 84 c7 0b 80 88 ff ff ................ backtrace (crc bf1a0a): __kvmalloc_node_noprof+0x402/0x570 bucket_table_alloc.isra.0+0x50/0x3d0 rhashtable_init_noprof+0x2bc/0x6e0 fqdir_init+0xb0/0x180 ipv6_frags_init_net+0x2f/0x320 ops_init+0x189/0x550 setup_net+0x1da/0x7c0 copy_net_ns+0x1f7/0x340 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8d/0x130 ksys_unshare+0x2a7/0x660 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f unreferenced object 0xffff888019c60008 (size 304): comm "softirq", pid 0, jiffies 4294843293 hex dump (first 32 bytes): b1 29 d8 05 80 88 ff ff c0 00 02 01 c0 00 02 02 .).............. 00 00 00 00 00 00 00 00 22 4e 01 00 00 00 00 00 ........"N...... backtrace (crc 5517cd1d): kmem_cache_alloc_noprof+0x288/0x330 inet_frag_create+0xc4/0x550 inet_frag_find+0x253/0x2b0 ip_defrag+0x297/0x640 ip_local_deliver+0x100/0x150 ip_sublist_rcv_finish+0x220/0x470 ip_list_rcv_finish+0x3ce/0x620 ip_list_rcv+0x314/0x4b0 __netif_receive_skb_list_core+0x6a9/0x9f0 netif_receive_skb_list_internal+0x63c/0xe50 gro_receive_skb+0x4ff/0x7d0 virtnet_receive+0x49b/0x5d0 virtnet_poll+0x109/0xad0 __napi_poll.constprop.0+0xa2/0x460 net_rx_action+0x542/0xd00 handle_softirqs+0x218/0x620 unreferenced object 0xffff888019c604e8 (size 304): comm "softirq", pid 0, jiffies 4294844185 hex dump (first 32 bytes): 51 3a 7f 0a 80 88 ff ff c0 00 02 01 c0 00 02 02 Q:.............. 00 00 00 00 00 00 00 00 25 3e 01 00 00 00 00 00 ........%>...... backtrace (crc 2d4c4e0f): kmem_cache_alloc_noprof+0x288/0x330 inet_frag_create+0xc4/0x550 inet_frag_find+0x253/0x2b0 ip_defrag+0x297/0x640 ip_local_deliver+0x100/0x150 ip_sublist_rcv_finish+0x220/0x470 ip_list_rcv_finish+0x3ce/0x620 ip_list_rcv+0x314/0x4b0 __netif_receive_skb_list_core+0x6a9/0x9f0 netif_receive_skb_list_internal+0x63c/0xe50 gro_receive_skb+0x4ff/0x7d0 virtnet_receive+0x49b/0x5d0 virtnet_poll+0x109/0xad0 __napi_poll.constprop.0+0xa2/0x460 net_rx_action+0x542/0xd00 handle_softirqs+0x218/0x620 unreferenced object 0xffff888010664008 (size 288): comm "softirq", pid 0, jiffies 4294846706 hex dump (first 32 bytes): a9 85 c7 0b 80 88 ff ff 20 01 0d b8 00 00 00 00 ........ ....... 00 00 00 00 00 00 00 01 20 01 0d b8 00 00 00 00 ........ ....... backtrace (crc e7c1f3d8): kmem_cache_alloc_noprof+0x288/0x330 inet_frag_create+0xc4/0x550 inet_frag_find+0x253/0x2b0 ipv6_frag_rcv+0x78f/0x1cf0 ip6_protocol_deliver_rcu+0x915/0x1180 ip6_input+0x16d/0x320 ip6_sublist_rcv_finish+0x9c/0x470 ip6_list_rcv_finish.constprop.0+0x55b/0xa10 ipv6_list_rcv+0x318/0x4c0 __netif_receive_skb_list_core+0x4e7/0x9f0 netif_receive_skb_list_internal+0x63c/0xe50 gro_receive_skb+0x4ff/0x7d0 virtnet_receive+0x49b/0x5d0 virtnet_poll+0x109/0xad0 __napi_poll.constprop.0+0xa2/0x460 net_rx_action+0x542/0xd00 unreferenced object 0xffff88800994e260 (size 32): comm "softirq", pid 0, jiffies 4294851050 hex dump (first 32 bytes): 78 56 d4 1e 80 88 ff ff 70 74 89 a9 ff ff ff ff xV......pt...... c0 0d 95 16 80 88 ff ff cc cc cc cc cc cc cc cc ................ backtrace (crc af1efaf0): __kmalloc_cache_noprof+0x2bb/0x360 kmem_cache_free+0xf3/0x330 __sk_destruct+0x46e/0x780 tcp_v6_rcv+0x2784/0x2f90 ip6_protocol_deliver_rcu+0x123/0x1180 ip6_input+0x16d/0x320 ip6_sublist_rcv_finish+0x9c/0x470 ip6_list_rcv_finish.constprop.0+0x55b/0xa10 ipv6_list_rcv+0x318/0x4c0 __netif_receive_skb_list_core+0x4e7/0x9f0 netif_receive_skb_list_internal+0x63c/0xe50 gro_receive_skb+0x4ff/0x7d0 virtnet_receive+0x49b/0x5d0 virtnet_poll+0x109/0xad0 __napi_poll.constprop.0+0xa2/0x460 net_rx_action+0x542/0xd00 xx__->