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.18 [+1.18] Error: ipv4: FIB table does not exist. # 1.19 [+0.00] Flush terminated # 1.27 [+0.08] Error: ipv6: FIB table does not exist. # 1.27 [+0.00] Flush terminated # 1.28 [+0.01] # 1.28 [+0.00] ######################################## # 1.28 [+0.00] Configuring interfaces # 4.82 [+3.54] # 4.82 [+0.00] ###################################################################### # 4.82 [+0.00] TEST SECTION: IPv4 onlink # 4.82 [+0.00] ###################################################################### # 4.82 [+0.00] # 4.82 [+0.00] ######################################### # 4.82 [+0.00] TEST SUBSECTION: Valid onlink commands # 4.82 [+0.00] # 4.82 [+0.00] ######################################### # 4.82 [+0.00] TEST SUBSECTION: default VRF - main table # 4.91 [+0.08] TEST: unicast connected [ OK ] # 4.99 [+0.09] TEST: unicast recursive [ OK ] # 5.00 [+0.00] # 5.00 [+0.00] ######################################### # 5.00 [+0.00] TEST SUBSECTION: VRF lisa # 5.09 [+0.09] TEST: unicast connected [ OK ] # 5.17 [+0.08] TEST: unicast recursive [ OK ] # 5.17 [+0.00] # 5.17 [+0.00] ######################################### # 5.17 [+0.00] TEST SUBSECTION: VRF device, PBR table # 5.25 [+0.09] TEST: unicast connected [ OK ] # 5.33 [+0.08] TEST: unicast recursive [ OK ] # 5.34 [+0.00] # 5.34 [+0.00] ######################################### # 5.34 [+0.00] TEST SUBSECTION: default VRF - main table - multipath # 5.42 [+0.08] TEST: unicast connected - multipath [ OK ] # 5.52 [+0.10] TEST: unicast recursive - multipath [ OK ] # 5.60 [+0.09] TEST: unicast connected - multipath onlink first only [ OK ] # 5.69 [+0.09] TEST: unicast connected - multipath onlink second only [ OK ] # 5.70 [+0.00] # 5.70 [+0.00] ######################################### # 5.70 [+0.00] TEST SUBSECTION: Invalid onlink commands # 5.78 [+0.08] TEST: Invalid gw - local unicast address [ OK ] # 5.87 [+0.09] TEST: Invalid gw - local unicast address, VRF [ OK ] # 5.95 [+0.08] TEST: No nexthop device given [ OK ] # 6.04 [+0.09] TEST: Gateway resolves to wrong nexthop device [ OK ] # 6.12 [+0.08] TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] # 6.12 [+0.00] # 6.12 [+0.00] ###################################################################### # 6.12 [+0.00] TEST SECTION: IPv6 onlink # 6.12 [+0.00] ###################################################################### # 6.12 [+0.00] # 6.12 [+0.00] ######################################### # 6.13 [+0.00] TEST SUBSECTION: Valid onlink commands # 6.13 [+0.00] # 6.13 [+0.00] ######################################### # 6.13 [+0.00] TEST SUBSECTION: default VRF - main table # 6.21 [+0.08] TEST: unicast connected [ OK ] # 6.29 [+0.08] TEST: unicast recursive [ OK ] # 6.37 [+0.08] TEST: v4-mapped [ OK ] # 6.37 [+0.00] # 6.37 [+0.00] ######################################### # 6.37 [+0.00] TEST SUBSECTION: VRF lisa # 6.46 [+0.09] TEST: unicast connected [ OK ] # 6.54 [+0.08] TEST: unicast recursive [ OK ] # 6.65 [+0.10] TEST: v4-mapped [ OK ] # 6.65 [+0.00] # 6.65 [+0.00] ######################################### # 6.65 [+0.00] TEST SUBSECTION: VRF device, PBR table # 6.73 [+0.08] TEST: unicast connected [ OK ] # 6.82 [+0.09] TEST: unicast recursive [ OK ] # 6.90 [+0.08] TEST: v4-mapped [ OK ] # 6.90 [+0.00] # 6.90 [+0.00] ######################################### # 6.91 [+0.00] TEST SUBSECTION: default VRF - main table - multipath # 7.00 [+0.09] TEST: unicast connected - multipath onlink [ OK ] # 7.08 [+0.08] TEST: unicast recursive - multipath onlink [ OK ] # 7.16 [+0.08] TEST: v4-mapped - multipath onlink [ OK ] # 7.25 [+0.09] TEST: unicast connected - multipath onlink both nexthops [ OK ] # 7.34 [+0.09] TEST: unicast connected - multipath onlink first only [ OK ] # 7.44 [+0.10] TEST: unicast connected - multipath onlink second only [ OK ] # 7.44 [+0.00] # 7.44 [+0.00] ######################################### # 7.45 [+0.00] TEST SUBSECTION: Invalid onlink commands # 7.65 [+0.20] TEST: Invalid gw - local unicast address [ OK ] # 7.74 [+0.09] TEST: Invalid gw - local linklocal address [ OK ] # 7.84 [+0.10] TEST: Invalid gw - multicast address [ OK ] # 8.07 [+0.23] TEST: Invalid gw - local unicast address, VRF [ OK ] # 8.17 [+0.10] TEST: Invalid gw - local linklocal address, VRF [ OK ] # 8.26 [+0.09] TEST: Invalid gw - multicast address, VRF [ OK ] # 8.35 [+0.09] TEST: No nexthop device given [ OK ] # 8.43 [+0.08] TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] # 10.34 [+1.91] # 10.34 [+0.00] Tests passed: 38 # 10.34 [+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 0xffff88800dd55300 (size 256): comm "ip", pid 274, jiffies 4294678108 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 DETECTED CRASH, lowering timeout xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak DETECTED CRASH, lowering timeout unreferenced object 0xffff88800dd55300 (size 256): comm "ip", pid 274, jiffies 4294678108 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__->