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.27 [+14.27] # 14.27 [+0.00] Backup port # 14.27 [+0.00] ----------- # 16.08 [+1.81] TEST: Forwarding out of swp1 [ OK ] # 16.45 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.90 [+0.44] TEST: swp1 carrier off [ OK ] # 17.71 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.12 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 18.57 [+0.45] TEST: swp1 carrier on [ OK ] # 18.88 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.66 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.08 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 20.51 [+0.43] TEST: swp1 carrier off [ OK ] # 21.32 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 21.72 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.17 [+0.45] TEST: swp1 carrier on [ OK ] # 22.97 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.39 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 23.71 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.50 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.89 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 25.35 [+0.46] TEST: swp1 carrier off [ OK ] # 26.15 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 26.57 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 42.44 [+15.88] # 42.44 [+0.00] Backup nexthop ID # 42.44 [+0.00] ----------------- # 45.28 [+2.84] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.08 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 46.47 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 46.91 [+0.45] TEST: swp1 carrier off [ OK ] # 47.69 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 48.09 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 48.51 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 48.93 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.38 [+0.46] TEST: swp1 carrier on [ OK ] # 49.67 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.46 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 50.87 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 51.29 [+0.43] TEST: swp1 carrier off [ OK ] # 52.07 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 52.49 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 52.87 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 53.24 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.67 [+0.42] TEST: swp1 carrier on [ OK ] # 54.47 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 54.86 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 55.26 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.67 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.98 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.79 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 57.18 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 57.58 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 58.01 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.44 [+0.43] TEST: swp1 carrier off [ OK ] # 59.21 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 59.64 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 60.04 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.44 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.60 [+16.16] # 76.60 [+0.00] Backup nexthop ID - invalid IDs # 76.60 [+0.00] ------------------------------- # 79.45 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.76 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 80.19 [+0.43] TEST: swp1 carrier off [ OK ] # 81.00 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 81.41 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 81.81 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 81.99 [+0.18] TEST: No Tx drop increase [ OK ] # 82.30 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.09 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 83.48 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 83.87 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 84.06 [+0.19] TEST: Tx drop increased [ OK ] # 84.56 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.32 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 85.73 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 86.15 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 86.31 [+0.16] TEST: Tx drop increased [ OK ] # 86.61 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.40 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.79 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 88.21 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 88.40 [+0.19] TEST: Tx drop increased [ OK ] # 89.22 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.01 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 90.42 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 91.00 [+0.19] TEST: Tx drop increased [ OK ] # 106.80 [+15.80] # 106.80 [+0.00] Backup nexthop ID - ping # 106.80 [+0.00] ------------------------ # 111.80 [+5.00] TEST: Ping with backup nexthop ID [ OK ] # 117.43 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.16 [+15.73] # 133.16 [+0.00] Backup nexthop ID - torture test # 133.16 [+0.00] -------------------------------- # 164.45 [+31.29] TEST: Torture test [ OK ] # 165.77 [+1.32] # 165.77 [+0.00] Tests passed: 83 # 165.77 [+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__->