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.35 [+14.35] # 14.35 [+0.00] Backup port # 14.35 [+0.00] ----------- # 16.63 [+2.28] TEST: Forwarding out of swp1 [ OK ] # 17.03 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.47 [+0.44] TEST: swp1 carrier off [ OK ] # 18.25 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.65 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.08 [+0.43] TEST: swp1 carrier on [ OK ] # 19.39 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.16 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.58 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 20.99 [+0.41] TEST: swp1 carrier off [ OK ] # 21.77 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.18 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 22.65 [+0.47] TEST: swp1 carrier on [ OK ] # 23.41 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 23.81 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.12 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.92 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.35 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 25.76 [+0.41] TEST: swp1 carrier off [ OK ] # 26.54 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 26.94 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.46 [+15.52] # 42.46 [+0.00] Backup nexthop ID # 42.46 [+0.00] ----------------- # 45.28 [+2.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.09 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 46.50 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 46.95 [+0.45] TEST: swp1 carrier off [ OK ] # 47.72 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 48.09 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 48.49 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 48.89 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.32 [+0.43] TEST: swp1 carrier on [ OK ] # 49.62 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.43 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 50.79 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.21 [+0.42] TEST: swp1 carrier off [ OK ] # 51.99 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 52.41 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 52.81 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 53.19 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.64 [+0.45] TEST: swp1 carrier on [ OK ] # 54.45 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 54.88 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 55.26 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.65 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.99 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.75 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 57.17 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 57.58 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.00 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.42 [+0.42] TEST: swp1 carrier off [ OK ] # 59.21 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 59.65 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 60.05 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 60.45 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.30 [+15.85] # 76.30 [+0.00] Backup nexthop ID - invalid IDs # 76.30 [+0.00] ------------------------------- # 79.15 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.47 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.92 [+0.45] TEST: swp1 carrier off [ OK ] # 80.71 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 81.11 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 81.51 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 81.67 [+0.16] TEST: No Tx drop increase [ OK ] # 81.99 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.76 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 83.14 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 83.55 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 83.72 [+0.17] TEST: Tx drop increased [ OK ] # 84.20 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.96 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 85.38 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 85.76 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.94 [+0.18] TEST: Tx drop increased [ OK ] # 86.25 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.03 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 87.43 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 87.81 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 88.00 [+0.18] TEST: Tx drop increased [ OK ] # 88.79 [+0.79] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.57 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 89.98 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.36 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.53 [+0.17] TEST: Tx drop increased [ OK ] # 106.10 [+15.57] # 106.10 [+0.00] Backup nexthop ID - ping # 106.10 [+0.00] ------------------------ # 111.07 [+4.97] TEST: Ping with backup nexthop ID [ OK ] # 116.67 [+5.61] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.39 [+15.72] # 132.39 [+0.00] Backup nexthop ID - torture test # 132.39 [+0.00] -------------------------------- # 163.72 [+31.32] TEST: Torture test [ OK ] # 164.92 [+1.21] # 164.92 [+0.00] Tests passed: 83 # 164.93 [+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__->