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.49 [+14.49] # 14.49 [+0.00] Backup port # 14.49 [+0.00] ----------- # 16.76 [+2.27] TEST: Forwarding out of swp1 [ OK ] # 17.13 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.57 [+0.43] TEST: swp1 carrier off [ OK ] # 18.34 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 18.76 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.19 [+0.43] TEST: swp1 carrier on [ OK ] # 19.53 [+0.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.30 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.72 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 21.16 [+0.44] TEST: swp1 carrier off [ OK ] # 21.97 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 22.35 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 22.79 [+0.44] TEST: swp1 carrier on [ OK ] # 23.57 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 23.95 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 24.26 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.06 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.49 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 25.95 [+0.46] TEST: swp1 carrier off [ OK ] # 26.75 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 27.15 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.09 [+15.94] # 43.09 [+0.00] Backup nexthop ID # 43.09 [+0.00] ----------------- # 45.91 [+2.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.69 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 47.09 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.52 [+0.43] TEST: swp1 carrier off [ OK ] # 48.29 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 48.70 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 49.09 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.50 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.94 [+0.44] TEST: swp1 carrier on [ OK ] # 50.24 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.03 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.44 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 51.87 [+0.44] TEST: swp1 carrier off [ OK ] # 52.66 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 53.04 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.46 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 53.86 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.30 [+0.44] TEST: swp1 carrier on [ OK ] # 55.06 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 55.49 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 55.91 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 56.31 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.63 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.42 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 57.84 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 58.24 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 58.66 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.11 [+0.45] TEST: swp1 carrier off [ OK ] # 59.89 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.30 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 60.70 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.09 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.99 [+15.90] # 76.99 [+0.00] Backup nexthop ID - invalid IDs # 76.99 [+0.00] ------------------------------- # 79.89 [+2.90] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.21 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 80.63 [+0.43] TEST: swp1 carrier off [ OK ] # 81.41 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 81.80 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.21 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 82.37 [+0.16] TEST: No Tx drop increase [ OK ] # 82.67 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.47 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 83.86 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 84.27 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 84.44 [+0.17] TEST: Tx drop increased [ OK ] # 84.93 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.70 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 86.12 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 86.55 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 86.71 [+0.16] TEST: Tx drop increased [ OK ] # 87.02 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.79 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 88.18 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 88.58 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 88.76 [+0.18] TEST: Tx drop increased [ OK ] # 89.59 [+0.83] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.36 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 90.76 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 91.14 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 91.32 [+0.18] TEST: Tx drop increased [ OK ] # 107.27 [+15.95] # 107.27 [+0.00] Backup nexthop ID - ping # 107.27 [+0.00] ------------------------ # 112.32 [+5.05] TEST: Ping with backup nexthop ID [ OK ] # 117.98 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.77 [+15.79] # 133.77 [+0.00] Backup nexthop ID - torture test # 133.77 [+0.00] -------------------------------- # 165.03 [+31.27] TEST: Torture test [ OK ] # 166.27 [+1.23] # 166.27 [+0.00] Tests passed: 83 # 166.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__->