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.28 [+14.28] # 14.28 [+0.00] Backup port # 14.28 [+0.00] ----------- # 16.49 [+2.21] TEST: Forwarding out of swp1 [ OK ] # 16.88 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.33 [+0.45] TEST: swp1 carrier off [ OK ] # 18.09 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 18.49 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.93 [+0.43] TEST: swp1 carrier on [ OK ] # 19.23 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.02 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.40 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 20.82 [+0.41] TEST: swp1 carrier off [ OK ] # 21.59 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 21.99 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.42 [+0.43] TEST: swp1 carrier on [ OK ] # 23.18 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 23.58 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 23.88 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.65 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 25.04 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.47 [+0.43] TEST: swp1 carrier off [ OK ] # 26.23 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 26.61 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 42.03 [+15.41] # 42.03 [+0.00] Backup nexthop ID # 42.03 [+0.00] ----------------- # 44.78 [+2.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.54 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 45.94 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 46.37 [+0.43] TEST: swp1 carrier off [ OK ] # 47.14 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 47.54 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 47.96 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 48.34 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.79 [+0.45] TEST: swp1 carrier on [ OK ] # 49.10 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.86 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 50.24 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.67 [+0.43] TEST: swp1 carrier off [ OK ] # 51.44 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 51.84 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 52.25 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 52.64 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.08 [+0.44] TEST: swp1 carrier on [ OK ] # 53.84 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 54.22 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 54.62 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 55.03 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.34 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.12 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 56.51 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 56.87 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 57.26 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.69 [+0.42] TEST: swp1 carrier off [ OK ] # 58.46 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 58.85 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 59.27 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 59.66 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 75.23 [+15.57] # 75.23 [+0.00] Backup nexthop ID - invalid IDs # 75.24 [+0.00] ------------------------------- # 78.04 [+2.80] TEST: vx0 configured as backup port of swp1 [ OK ] # 78.34 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 78.78 [+0.45] TEST: swp1 carrier off [ OK ] # 79.58 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 79.98 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 80.37 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 80.54 [+0.16] TEST: No Tx drop increase [ OK ] # 80.83 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 81.64 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 82.03 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.44 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 82.62 [+0.18] TEST: Tx drop increased [ OK ] # 83.10 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 83.90 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 84.27 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 84.65 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.81 [+0.15] TEST: Tx drop increased [ OK ] # 85.10 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 85.89 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 86.28 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 86.69 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 86.85 [+0.16] TEST: Tx drop increased [ OK ] # 87.66 [+0.80] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 88.43 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 88.84 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 89.25 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 89.40 [+0.16] TEST: Tx drop increased [ OK ] # 105.45 [+16.05] # 105.45 [+0.00] Backup nexthop ID - ping # 105.45 [+0.00] ------------------------ # 110.74 [+5.29] TEST: Ping with backup nexthop ID [ OK ] # 116.41 [+5.67] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.74 [+16.34] # 132.74 [+0.00] Backup nexthop ID - torture test # 132.74 [+0.00] -------------------------------- # 164.02 [+31.27] TEST: Torture test [ OK ] # 165.26 [+1.25] # 165.27 [+0.00] Tests passed: 83 # 165.27 [+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__->