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.39 [+14.39] # 14.40 [+0.00] Backup port # 14.40 [+0.00] ----------- # 16.58 [+2.18] TEST: Forwarding out of swp1 [ OK ] # 16.99 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.42 [+0.44] TEST: swp1 carrier off [ OK ] # 18.24 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 18.63 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.06 [+0.43] TEST: swp1 carrier on [ OK ] # 19.40 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.18 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.57 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.04 [+0.46] TEST: swp1 carrier off [ OK ] # 21.83 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.25 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.68 [+0.43] TEST: swp1 carrier on [ OK ] # 23.44 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 23.86 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.16 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.93 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 25.34 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 25.78 [+0.43] TEST: swp1 carrier off [ OK ] # 26.55 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 26.94 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.51 [+15.57] # 42.51 [+0.00] Backup nexthop ID # 42.51 [+0.00] ----------------- # 45.34 [+2.83] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.14 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 46.53 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 46.98 [+0.45] TEST: swp1 carrier off [ OK ] # 47.80 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 48.20 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 48.59 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 49.02 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.47 [+0.46] TEST: swp1 carrier on [ OK ] # 49.77 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.56 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 50.96 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 51.39 [+0.43] TEST: swp1 carrier off [ OK ] # 52.21 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 52.59 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 53.00 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 53.46 [+0.46] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.01 [+0.55] TEST: swp1 carrier on [ OK ] # 54.84 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 55.24 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 55.64 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.02 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.37 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.14 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 57.54 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 57.98 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 58.38 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.81 [+0.43] TEST: swp1 carrier off [ OK ] # 59.60 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 59.98 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 60.38 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.78 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.51 [+15.73] # 76.51 [+0.00] Backup nexthop ID - invalid IDs # 76.51 [+0.00] ------------------------------- # 79.27 [+2.76] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.57 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 80.01 [+0.44] TEST: swp1 carrier off [ OK ] # 80.81 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 81.24 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 81.61 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 81.79 [+0.18] TEST: No Tx drop increase [ OK ] # 82.14 [+0.35] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.91 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 83.33 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 83.73 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 83.91 [+0.18] TEST: Tx drop increased [ OK ] # 84.39 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.17 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 85.56 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.99 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 86.17 [+0.18] TEST: Tx drop increased [ OK ] # 86.50 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.27 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 87.65 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 88.07 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 88.24 [+0.17] TEST: Tx drop increased [ OK ] # 89.04 [+0.79] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.85 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 90.25 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 90.65 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 90.80 [+0.15] TEST: Tx drop increased [ OK ] # 106.66 [+15.85] # 106.66 [+0.00] Backup nexthop ID - ping # 106.66 [+0.00] ------------------------ # 111.56 [+4.90] TEST: Ping with backup nexthop ID [ OK ] # 117.19 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.94 [+15.75] # 132.94 [+0.00] Backup nexthop ID - torture test # 132.94 [+0.00] -------------------------------- # 164.23 [+31.30] TEST: Torture test [ OK ] # 165.50 [+1.27] # 165.50 [+0.00] Tests passed: 83 # 165.50 [+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__->