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.51 [+14.51] # 14.51 [+0.00] Backup port # 14.52 [+0.00] ----------- # 16.33 [+1.82] TEST: Forwarding out of swp1 [ OK ] # 16.74 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.18 [+0.44] TEST: swp1 carrier off [ OK ] # 17.96 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.37 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 18.81 [+0.43] TEST: swp1 carrier on [ OK ] # 19.13 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.87 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 20.28 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 20.74 [+0.46] TEST: swp1 carrier off [ OK ] # 21.57 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 21.96 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 22.43 [+0.47] TEST: swp1 carrier on [ OK ] # 23.23 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.64 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 23.94 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.70 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 25.10 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 25.54 [+0.44] TEST: swp1 carrier off [ OK ] # 26.32 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 26.71 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.45 [+15.73] # 42.45 [+0.00] Backup nexthop ID # 42.45 [+0.00] ----------------- # 45.30 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.11 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 46.52 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 46.97 [+0.45] TEST: swp1 carrier off [ OK ] # 47.75 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 48.13 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 48.52 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 48.91 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.36 [+0.45] TEST: swp1 carrier on [ OK ] # 49.65 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.43 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 50.84 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 51.28 [+0.45] TEST: swp1 carrier off [ OK ] # 52.06 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 52.45 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 52.86 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 53.24 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.68 [+0.44] TEST: swp1 carrier on [ OK ] # 54.47 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 54.89 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 55.27 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 55.68 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.98 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.79 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 57.17 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 57.55 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 57.93 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.34 [+0.41] TEST: swp1 carrier off [ OK ] # 59.10 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 59.50 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 59.90 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.26 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 75.75 [+15.49] # 75.75 [+0.00] Backup nexthop ID - invalid IDs # 75.76 [+0.00] ------------------------------- # 78.68 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.00 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.44 [+0.44] TEST: swp1 carrier off [ OK ] # 80.21 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 80.60 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.00 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 81.18 [+0.18] TEST: No Tx drop increase [ OK ] # 81.49 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.22 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 82.61 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 83.00 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 83.19 [+0.19] TEST: Tx drop increased [ OK ] # 83.68 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.43 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 84.80 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 85.19 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.35 [+0.16] TEST: Tx drop increased [ OK ] # 85.66 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.43 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 86.79 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 87.18 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 87.36 [+0.18] TEST: Tx drop increased [ OK ] # 88.18 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 88.96 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 89.36 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 89.77 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 89.93 [+0.16] TEST: Tx drop increased [ OK ] # 105.30 [+15.38] # 105.30 [+0.00] Backup nexthop ID - ping # 105.30 [+0.00] ------------------------ # 110.19 [+4.89] TEST: Ping with backup nexthop ID [ OK ] # 115.81 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 131.32 [+15.52] # 131.32 [+0.00] Backup nexthop ID - torture test # 131.32 [+0.00] -------------------------------- # 162.57 [+31.24] TEST: Torture test [ OK ] # 163.78 [+1.21] # 163.78 [+0.00] Tests passed: 83 # 163.79 [+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__->