make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib-onlink-tests..sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fib-onlink-tests.sh # 1.56 [+1.56] Error: ipv4: FIB table does not exist. # 1.56 [+0.00] Flush terminated # 1.63 [+0.07] Error: ipv6: FIB table does not exist. # 1.63 [+0.00] Flush terminated # 1.64 [+0.01] # 1.64 [+0.00] ######################################## # 1.65 [+0.00] Configuring interfaces # 5.61 [+3.97] # 5.61 [+0.00] ###################################################################### # 5.61 [+0.00] TEST SECTION: IPv4 onlink # 5.61 [+0.00] ###################################################################### # 5.62 [+0.00] # 5.62 [+0.00] ######################################### # 5.62 [+0.00] TEST SUBSECTION: Valid onlink commands # 5.62 [+0.00] # 5.62 [+0.00] ######################################### # 5.62 [+0.00] TEST SUBSECTION: default VRF - main table # 5.71 [+0.09] TEST: unicast connected [ OK ] # 5.80 [+0.09] TEST: unicast recursive [ OK ] # 5.80 [+0.00] # 5.80 [+0.00] ######################################### # 5.80 [+0.00] TEST SUBSECTION: VRF lisa # 5.89 [+0.08] TEST: unicast connected [ OK ] # 5.99 [+0.10] TEST: unicast recursive [ OK ] # 5.99 [+0.00] # 5.99 [+0.00] ######################################### # 6.00 [+0.00] TEST SUBSECTION: VRF device, PBR table # 6.10 [+0.10] TEST: unicast connected [ OK ] # 6.21 [+0.11] TEST: unicast recursive [ OK ] # 6.21 [+0.00] # 6.21 [+0.00] ######################################### # 6.21 [+0.00] TEST SUBSECTION: default VRF - main table - multipath # 6.31 [+0.10] TEST: unicast connected - multipath [ OK ] # 6.45 [+0.14] TEST: unicast recursive - multipath [ OK ] # 6.55 [+0.10] TEST: unicast connected - multipath onlink first only [ OK ] # 6.66 [+0.11] TEST: unicast connected - multipath onlink second only [ OK ] # 6.66 [+0.00] # 6.66 [+0.00] ######################################### # 6.66 [+0.00] TEST SUBSECTION: Invalid onlink commands # 6.76 [+0.10] TEST: Invalid gw - local unicast address [ OK ] # 6.86 [+0.10] TEST: Invalid gw - local unicast address, VRF [ OK ] # 6.96 [+0.10] TEST: No nexthop device given [ OK ] # 7.06 [+0.10] TEST: Gateway resolves to wrong nexthop device [ OK ] # 7.16 [+0.10] TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] # 7.17 [+0.00] # 7.17 [+0.00] ###################################################################### # 7.17 [+0.00] TEST SECTION: IPv6 onlink # 7.17 [+0.00] ###################################################################### # 7.17 [+0.00] # 7.17 [+0.00] ######################################### # 7.18 [+0.00] TEST SUBSECTION: Valid onlink commands # 7.18 [+0.00] # 7.18 [+0.00] ######################################### # 7.18 [+0.00] TEST SUBSECTION: default VRF - main table # 7.27 [+0.09] TEST: unicast connected [ OK ] # 7.37 [+0.10] TEST: unicast recursive [ OK ] # 7.46 [+0.09] TEST: v4-mapped [ OK ] # 7.47 [+0.00] # 7.47 [+0.00] ######################################### # 7.47 [+0.00] TEST SUBSECTION: VRF lisa # 7.57 [+0.11] TEST: unicast connected [ OK ] # 7.67 [+0.10] TEST: unicast recursive [ OK ] # 7.77 [+0.09] TEST: v4-mapped [ OK ] # 7.77 [+0.00] # 7.77 [+0.00] ######################################### # 7.77 [+0.00] TEST SUBSECTION: VRF device, PBR table # 7.87 [+0.10] TEST: unicast connected [ OK ] # 7.98 [+0.11] TEST: unicast recursive [ OK ] # 8.08 [+0.11] TEST: v4-mapped [ OK ] # 8.09 [+0.00] # 8.09 [+0.00] ######################################### # 8.09 [+0.00] TEST SUBSECTION: default VRF - main table - multipath # 8.18 [+0.09] TEST: unicast connected - multipath onlink [ OK ] # 8.28 [+0.10] TEST: unicast recursive - multipath onlink [ OK ] # 8.37 [+0.09] TEST: v4-mapped - multipath onlink [ OK ] # 8.50 [+0.13] TEST: unicast connected - multipath onlink both nexthops [ OK ] # 8.63 [+0.13] TEST: unicast connected - multipath onlink first only [ OK ] # 8.74 [+0.11] TEST: unicast connected - multipath onlink second only [ OK ] # 8.74 [+0.00] # 8.74 [+0.00] ######################################### # 8.74 [+0.00] TEST SUBSECTION: Invalid onlink commands # 8.99 [+0.25] TEST: Invalid gw - local unicast address [ OK ] # 9.09 [+0.10] TEST: Invalid gw - local linklocal address [ OK ] # 9.21 [+0.12] TEST: Invalid gw - multicast address [ OK ] # 9.46 [+0.25] TEST: Invalid gw - local unicast address, VRF [ OK ] # 9.55 [+0.09] TEST: Invalid gw - local linklocal address, VRF [ OK ] # 9.65 [+0.09] TEST: Invalid gw - multicast address, VRF [ OK ] # 9.76 [+0.11] TEST: No nexthop device given [ OK ] # 9.85 [+0.09] TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] # 11.87 [+2.03] # 11.87 [+0.00] Tests passed: 38 # 11.87 [+0.00] Tests failed: 0 ok 1 selftests: net: fib-onlink-tests.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak unreferenced object 0xffff88800ae58100 (size 256): comm "ip", pid 278, jiffies 4294680576 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): __kmalloc_node_noprof+0x35d/0x4a0 fib4_semantics_init+0x25/0xf0 fib_net_init+0x17e/0x340 ops_init+0x189/0x550 setup_net+0x189/0x750 copy_net_ns+0x238/0x4b0 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8a/0x1b0 ksys_unshare+0x2c4/0x6e0 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak DETECTED CRASH, lowering timeout unreferenced object 0xffff88800ae58100 (size 256): comm "ip", pid 278, jiffies 4294680576 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): __kmalloc_node_noprof+0x35d/0x4a0 fib4_semantics_init+0x25/0xf0 fib_net_init+0x17e/0x340 ops_init+0x189/0x550 setup_net+0x189/0x750 copy_net_ns+0x238/0x4b0 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8a/0x1b0 ksys_unshare+0x2c4/0x6e0 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f xx__->