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 # 13.98 [+13.98] # 13.98 [+0.00] Backup port # 13.98 [+0.00] ----------- # 16.12 [+2.14] TEST: Forwarding out of swp1 [ OK ] # 16.51 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.95 [+0.44] TEST: swp1 carrier off [ OK ] # 17.70 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 18.11 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.55 [+0.45] TEST: swp1 carrier on [ OK ] # 18.84 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.61 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.00 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 20.42 [+0.42] TEST: swp1 carrier off [ OK ] # 21.18 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 21.58 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.00 [+0.42] TEST: swp1 carrier on [ OK ] # 22.78 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 23.16 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.45 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.22 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 24.61 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.05 [+0.44] TEST: swp1 carrier off [ OK ] # 25.86 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 26.24 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 41.92 [+15.68] # 41.92 [+0.00] Backup nexthop ID # 41.92 [+0.00] ----------------- # 44.77 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.56 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 45.98 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 46.43 [+0.44] TEST: swp1 carrier off [ OK ] # 47.17 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 47.57 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 47.98 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 48.37 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.83 [+0.45] TEST: swp1 carrier on [ OK ] # 49.12 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.90 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 50.28 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.72 [+0.43] TEST: swp1 carrier off [ OK ] # 51.52 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 51.90 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 52.30 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 52.70 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.12 [+0.43] TEST: swp1 carrier on [ OK ] # 53.93 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 54.31 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 54.74 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 55.13 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.43 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.21 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 56.61 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 57.00 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 57.39 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.84 [+0.44] TEST: swp1 carrier off [ OK ] # 58.63 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 59.00 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 59.41 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 59.80 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 75.48 [+15.68] # 75.48 [+0.00] Backup nexthop ID - invalid IDs # 75.49 [+0.00] ------------------------------- # 78.28 [+2.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 78.60 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.11 [+0.51] TEST: swp1 carrier off [ OK ] # 79.85 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 80.25 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 80.64 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 80.80 [+0.16] TEST: No Tx drop increase [ OK ] # 81.09 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 81.92 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 82.32 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 82.72 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 82.88 [+0.16] TEST: Tx drop increased [ OK ] # 83.36 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.10 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 84.50 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 84.90 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 85.08 [+0.18] TEST: Tx drop increased [ OK ] # 85.36 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.12 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 86.52 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 86.98 [+0.46] TEST: No forwarding using backup nexthop ID [ OK ] # 87.14 [+0.16] TEST: Tx drop increased [ OK ] # 87.92 [+0.77] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 88.70 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 89.12 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 89.50 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 89.67 [+0.17] TEST: Tx drop increased [ OK ] # 105.27 [+15.60] # 105.27 [+0.00] Backup nexthop ID - ping # 105.28 [+0.00] ------------------------ # 110.25 [+4.97] TEST: Ping with backup nexthop ID [ OK ] # 115.88 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 131.36 [+15.49] # 131.36 [+0.00] Backup nexthop ID - torture test # 131.36 [+0.00] -------------------------------- # 162.58 [+31.22] TEST: Torture test [ OK ] # 163.83 [+1.25] # 163.83 [+0.00] Tests passed: 83 # 163.83 [+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__->