make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.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: test_bridge_backup_port.sh # 14.45 [+14.45] # 14.45 [+0.00] Backup port # 14.45 [+0.00] ----------- # 16.29 [+1.84] TEST: Forwarding out of swp1 [ OK ] # 16.71 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.14 [+0.42] TEST: swp1 carrier off [ OK ] # 17.93 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 18.33 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.79 [+0.46] TEST: swp1 carrier on [ OK ] # 19.12 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.93 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 20.37 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 20.86 [+0.49] TEST: swp1 carrier off [ OK ] # 21.66 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 22.07 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 22.53 [+0.46] TEST: swp1 carrier on [ OK ] # 23.33 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.78 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 24.09 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.95 [+0.85] TEST: Forwarding out of swp1 [ OK ] # 25.35 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 25.79 [+0.44] TEST: swp1 carrier off [ OK ] # 26.58 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.00 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.04 [+16.04] # 43.04 [+0.00] Backup nexthop ID # 43.05 [+0.00] ----------------- # 45.92 [+2.87] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.71 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 47.12 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.54 [+0.43] TEST: swp1 carrier off [ OK ] # 48.34 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 48.73 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.13 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 49.48 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.93 [+0.45] TEST: swp1 carrier on [ OK ] # 50.22 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.00 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 51.38 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.83 [+0.45] TEST: swp1 carrier off [ OK ] # 52.60 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 53.00 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.40 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 53.80 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.26 [+0.46] TEST: swp1 carrier on [ OK ] # 55.04 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 55.46 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 55.87 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.29 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.62 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.40 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 57.81 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.21 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.61 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.08 [+0.46] TEST: swp1 carrier off [ OK ] # 59.89 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 60.30 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 60.73 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 61.13 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.17 [+16.04] # 77.17 [+0.00] Backup nexthop ID - invalid IDs # 77.17 [+0.00] ------------------------------- # 80.11 [+2.94] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.44 [+0.33] TEST: Valid nexthop as backup nexthop [ OK ] # 80.90 [+0.46] TEST: swp1 carrier off [ OK ] # 81.77 [+0.87] TEST: No forwarding out of swp1 [ OK ] # 82.25 [+0.48] TEST: Forwarding out of vx0 [ OK ] # 82.75 [+0.50] TEST: Forwarding using backup nexthop ID [ OK ] # 83.01 [+0.26] TEST: No Tx drop increase [ OK ] # 83.34 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.15 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 84.58 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 85.00 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 85.18 [+0.18] TEST: Tx drop increased [ OK ] # 85.68 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.48 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 86.88 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 87.29 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.46 [+0.18] TEST: Tx drop increased [ OK ] # 87.81 [+0.34] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.60 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 89.01 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 89.43 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 89.62 [+0.19] TEST: Tx drop increased [ OK ] # 90.45 [+0.83] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.23 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 91.67 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 92.06 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 92.24 [+0.18] TEST: Tx drop increased [ OK ] # 108.25 [+16.01] # 108.25 [+0.00] Backup nexthop ID - ping # 108.25 [+0.00] ------------------------ # 113.34 [+5.09] TEST: Ping with backup nexthop ID [ OK ] # 118.98 [+5.65] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.79 [+15.80] # 134.79 [+0.00] Backup nexthop ID - torture test # 134.79 [+0.00] -------------------------------- # 166.11 [+31.32] TEST: Torture test [ OK ] # 167.46 [+1.35] # 167.46 [+0.00] Tests passed: 83 # 167.46 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.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 xx__->