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.73 [+14.73] # 14.73 [+0.00] Backup port # 14.73 [+0.00] ----------- # 16.99 [+2.26] TEST: Forwarding out of swp1 [ OK ] # 17.40 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.86 [+0.45] TEST: swp1 carrier off [ OK ] # 18.70 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 19.12 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.56 [+0.44] TEST: swp1 carrier on [ OK ] # 19.88 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.66 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 21.07 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 21.52 [+0.45] TEST: swp1 carrier off [ OK ] # 22.29 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 22.69 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 23.11 [+0.43] TEST: swp1 carrier on [ OK ] # 23.91 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.30 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.62 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.43 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.84 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 26.31 [+0.47] TEST: swp1 carrier off [ OK ] # 27.10 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.48 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 43.44 [+15.96] # 43.44 [+0.00] Backup nexthop ID # 43.44 [+0.00] ----------------- # 46.46 [+3.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.27 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 47.70 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 48.20 [+0.50] TEST: swp1 carrier off [ OK ] # 49.03 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 49.42 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 50.23 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.67 [+0.45] TEST: swp1 carrier on [ OK ] # 50.98 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.77 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 52.17 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 52.63 [+0.46] TEST: swp1 carrier off [ OK ] # 53.43 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 53.82 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 54.22 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 54.62 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.06 [+0.44] TEST: swp1 carrier on [ OK ] # 55.83 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 56.22 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 56.63 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 57.05 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.36 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.17 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 58.64 [+0.47] TEST: No forwarding out of vx0 [ OK ] # 59.06 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 59.48 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.99 [+0.51] TEST: swp1 carrier off [ OK ] # 60.84 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 61.24 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 61.65 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 62.07 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.59 [+16.51] # 78.59 [+0.00] Backup nexthop ID - invalid IDs # 78.59 [+0.00] ------------------------------- # 81.49 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.82 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 82.26 [+0.45] TEST: swp1 carrier off [ OK ] # 83.09 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 83.49 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.91 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 84.08 [+0.18] TEST: No Tx drop increase [ OK ] # 84.42 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 85.22 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 85.62 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 86.02 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 86.19 [+0.17] TEST: Tx drop increased [ OK ] # 86.69 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.48 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.92 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 88.36 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 88.51 [+0.15] TEST: Tx drop increased [ OK ] # 88.83 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.67 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 90.09 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 90.51 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 90.68 [+0.18] TEST: Tx drop increased [ OK ] # 91.53 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.35 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 92.78 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 93.20 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 93.39 [+0.19] TEST: Tx drop increased [ OK ] # 109.38 [+15.99] # 109.38 [+0.00] Backup nexthop ID - ping # 109.38 [+0.00] ------------------------ # 114.38 [+5.00] TEST: Ping with backup nexthop ID [ OK ] # 120.00 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 135.82 [+15.82] # 135.82 [+0.00] Backup nexthop ID - torture test # 135.82 [+0.00] -------------------------------- # 167.13 [+31.31] TEST: Torture test [ OK ] # 168.44 [+1.31] # 168.44 [+0.00] Tests passed: 83 # 168.45 [+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__->