make -C tools/testing/selftests TARGETS="net" TEST_PROGS=vrf_strict_mode_ttest.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: vrf_strict_mode_test.sh # 1.24 [+1.24] # 1.24 [+0.00] ################################################################################ # 1.24 [+0.00] TEST SECTION: VRF strict_mode test on init network namespace # 1.24 [+0.00] ################################################################################ # 1.40 [+0.16] name: vrf # 1.40 [+0.00] filename: (builtin) # 1.41 [+0.01] version: 1.1 # 1.41 [+0.00] alias: rtnl-link-vrf # 1.41 [+0.00] license: GPL # 1.41 [+0.00] file: drivers/net/vrf # 1.41 [+0.00] description: Device driver to instantiate VRF domains # 1.42 [+0.00] author: Shrijeet Mukherjee, David Ahern # 1.53 [+0.11] # 1.53 [+0.00] TEST: init: net.vrf.strict_mode is available [ OK ] # 1.74 [+0.21] # 1.74 [+0.00] TEST: init: strict_mode=0 by default, 0 vrfs [ OK ] # 1.96 [+0.22] # 1.96 [+0.00] TEST: init: add vrf vrf100, 1 vrfs for table 100 [ OK ] # 2.11 [+0.15] # 2.11 [+0.00] TEST: init: vrf vrf100 up, addr 172.16.100.1/24 [ OK ] # 2.19 [+0.08] # 2.19 [+0.00] TEST: init: enable strict_mode (=1) [ OK ] # 2.47 [+0.28] # 2.47 [+0.00] TEST: init: CANNOT add vrf vrf101, 1 vrfs for table 100 [ OK ] # 2.54 [+0.07] # 2.54 [+0.00] TEST: init: disable strict_mode (=0) [ OK ] # 2.73 [+0.18] # 2.73 [+0.00] TEST: init: add vrf vrf101, 2 vrfs for table 100 [ OK ] # 2.88 [+0.15] # 2.88 [+0.00] TEST: init: vrf vrf101 up, addr 172.16.101.1/24 [ OK ] # 2.95 [+0.07] # 2.95 [+0.00] TEST: init: CANNOT enable strict_mode [ OK ] # 3.08 [+0.13] # 3.08 [+0.00] TEST: init: remove vrf vrf101 [ OK ] # 3.15 [+0.07] # 3.15 [+0.00] TEST: init: enable strict_mode (=1) [ OK ] # 3.35 [+0.20] # 3.35 [+0.00] TEST: init: add vrf vrf102, 1 vrfs for table 102 [ OK ] # 3.53 [+0.17] # 3.53 [+0.00] TEST: init: vrf vrf102 up, addr 172.16.102.1/24 [ OK ] # 3.53 [+0.00] # 3.53 [+0.00] ################################################################################ # 3.53 [+0.00] TEST SECTION: VRF strict_mode test on testns network namespace # 3.53 [+0.00] ################################################################################ # 3.70 [+0.17] name: vrf # 3.70 [+0.00] filename: (builtin) # 3.71 [+0.01] version: 1.1 # 3.72 [+0.00] alias: rtnl-link-vrf # 3.72 [+0.00] license: GPL # 3.72 [+0.00] file: drivers/net/vrf # 3.72 [+0.00] description: Device driver to instantiate VRF domains # 3.72 [+0.00] author: Shrijeet Mukherjee, David Ahern # 3.91 [+0.19] # 3.91 [+0.00] TEST: testns-7nv8GE: net.vrf.strict_mode is available [ OK ] # 4.20 [+0.29] # 4.20 [+0.00] TEST: testns-7nv8GE: strict_mode=0 by default, 0 vrfs [ OK ] # 4.34 [+0.13] # 4.34 [+0.00] TEST: testns-7nv8GE: enable strict_mode (=1) [ OK ] # 4.52 [+0.18] # 4.52 [+0.00] TEST: testns-7nv8GE: add vrf vrf100, 1 vrfs for table 100 [ OK ] # 4.68 [+0.16] # 4.68 [+0.00] TEST: testns-7nv8GE: vrf vrf100 up, addr 10.0.100.1/24 [ OK ] # 4.94 [+0.26] # 4.94 [+0.00] TEST: testns-7nv8GE: CANNOT add vrf vrf101, 1 vrfs for table 100 [ OK ] # 5.18 [+0.25] # 5.18 [+0.00] TEST: testns-7nv8GE: CANNOT add vrf vrf102, 1 vrfs for table 100 [ OK ] # 5.36 [+0.18] # 5.37 [+0.00] TEST: testns-7nv8GE: add vrf vrf200, 1 vrfs for table 200 [ OK ] # 5.51 [+0.14] # 5.51 [+0.00] TEST: testns-7nv8GE: disable strict_mode (=0) [ OK ] # 5.68 [+0.17] # 5.68 [+0.00] TEST: testns-7nv8GE: add vrf vrf101, 2 vrfs for table 100 [ OK ] # 5.87 [+0.19] # 5.87 [+0.00] TEST: testns-7nv8GE: add vrf vrf102, 3 vrfs for table 100 [ OK ] # 5.87 [+0.00] # 5.87 [+0.00] ################################################################################ # 5.87 [+0.00] TEST SECTION: VRF strict_mode test mixing init and testns network namespaces # 5.87 [+0.00] ################################################################################ # 5.99 [+0.12] # 5.99 [+0.00] TEST: init: check strict_mode=1 [ OK ] # 6.17 [+0.18] # 6.17 [+0.00] TEST: testns-7nv8GE: check strict_mode=0 [ OK ] # 6.31 [+0.14] # 6.31 [+0.00] TEST: testns-7nv8GE: remove vrf vrf101 [ OK ] # 6.44 [+0.13] # 6.44 [+0.00] TEST: testns-7nv8GE: remove vrf vrf102 [ OK ] # 6.51 [+0.07] # 6.51 [+0.00] TEST: init: disable strict_mode (=0) [ OK ] # 6.65 [+0.13] # 6.65 [+0.00] TEST: testns-7nv8GE: enable strict_mode (=1) [ OK ] # 6.71 [+0.06] # 6.71 [+0.00] TEST: init: enable strict_mode (=1) [ OK ] # 6.78 [+0.07] # 6.78 [+0.00] TEST: init: enable strict_mode (=1) [ OK ] # 6.90 [+0.13] # 6.90 [+0.00] TEST: testns-7nv8GE: disable strict_mode (=0) [ OK ] # 7.04 [+0.13] # 7.04 [+0.00] TEST: testns-7nv8GE: disable strict_mode (=0) [ OK ] # 7.16 [+0.12] # 7.16 [+0.00] TEST: init: check strict_mode=1 [ OK ] # 7.35 [+0.20] # 7.35 [+0.00] TEST: testns-7nv8GE: check strict_mode=0 [ OK ] # 7.94 [+0.59] # 7.94 [+0.00] Tests passed: 37 # 7.94 [+0.00] Tests failed: 0 ok 1 selftests: net: vrf_strict_mode_test.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 0x00042d20 (size 64): comm "swapper/0", pid 0, jiffies 4294667296 hex dump (first 32 bytes on cpu 3): 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): pcpu_alloc_noprof+0x4ad/0xab0 setup_zone_pageset+0x30/0x290 setup_per_cpu_pageset+0x6a/0x1f0 start_kernel+0x2a4/0x410 x86_64_start_reservations+0x18/0x30 x86_64_start_kernel+0xba/0x110 common_startup_64+0x12c/0x138 xx__->