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.83 [+14.83] # 14.83 [+0.00] Backup port # 14.83 [+0.00] ----------- # 17.12 [+2.29] TEST: Forwarding out of swp1 [ OK ] # 17.53 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.97 [+0.44] TEST: swp1 carrier off [ OK ] # 18.81 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 19.24 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.72 [+0.49] TEST: swp1 carrier on [ OK ] # 20.05 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.92 [+0.87] TEST: Forwarding out of swp1 [ OK ] # 21.34 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 21.85 [+0.52] TEST: swp1 carrier off [ OK ] # 22.68 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 23.14 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 23.58 [+0.44] TEST: swp1 carrier on [ OK ] # 24.40 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 24.82 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 25.16 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.96 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 26.38 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.84 [+0.46] TEST: swp1 carrier off [ OK ] # 27.62 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 28.02 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 44.20 [+16.18] # 44.20 [+0.00] Backup nexthop ID # 44.20 [+0.00] ----------------- # 47.29 [+3.08] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.10 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 48.52 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 49.00 [+0.48] TEST: swp1 carrier off [ OK ] # 49.82 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 50.24 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 50.63 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 51.06 [+0.44] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.52 [+0.46] TEST: swp1 carrier on [ OK ] # 51.83 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 52.62 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 53.04 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 53.49 [+0.44] TEST: swp1 carrier off [ OK ] # 54.29 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 54.70 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 55.11 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 55.51 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.95 [+0.44] TEST: swp1 carrier on [ OK ] # 56.74 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 57.14 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 57.57 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 57.99 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.32 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 59.09 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 59.49 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 59.89 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.31 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.77 [+0.46] TEST: swp1 carrier off [ OK ] # 61.57 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 61.99 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 62.39 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 62.79 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 79.04 [+16.26] # 79.04 [+0.00] Backup nexthop ID - invalid IDs # 79.04 [+0.00] ------------------------------- # 81.87 [+2.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 82.20 [+0.33] TEST: Valid nexthop as backup nexthop [ OK ] # 82.64 [+0.44] TEST: swp1 carrier off [ OK ] # 83.45 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 83.87 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 84.29 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 84.48 [+0.19] TEST: No Tx drop increase [ OK ] # 84.80 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 85.60 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 86.02 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 86.43 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 86.62 [+0.18] TEST: Tx drop increased [ OK ] # 87.11 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.91 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 88.31 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 88.71 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 88.89 [+0.18] TEST: Tx drop increased [ OK ] # 89.20 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 90.03 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 90.46 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 90.85 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 91.02 [+0.17] TEST: Tx drop increased [ OK ] # 91.87 [+0.84] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.68 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 93.10 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 93.54 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 93.71 [+0.16] TEST: Tx drop increased [ OK ] # 109.70 [+15.99] # 109.70 [+0.00] Backup nexthop ID - ping # 109.70 [+0.00] ------------------------ # 114.72 [+5.02] TEST: Ping with backup nexthop ID [ OK ] # 120.37 [+5.65] TEST: Ping after disabling backup nexthop ID [ OK ] # 136.43 [+16.07] # 136.43 [+0.00] Backup nexthop ID - torture test # 136.44 [+0.00] -------------------------------- # 167.78 [+31.35] TEST: Torture test [ OK ] # 169.15 [+1.37] # 169.15 [+0.00] Tests passed: 83 # 169.15 [+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__->