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.52 [+14.52] # 14.52 [+0.00] Backup port # 14.52 [+0.00] ----------- # 16.70 [+2.18] TEST: Forwarding out of swp1 [ OK ] # 17.12 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.57 [+0.45] TEST: swp1 carrier off [ OK ] # 18.34 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 18.73 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.15 [+0.42] TEST: swp1 carrier on [ OK ] # 19.47 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.23 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.63 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.07 [+0.44] TEST: swp1 carrier off [ OK ] # 21.86 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.26 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.70 [+0.44] TEST: swp1 carrier on [ OK ] # 23.52 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 23.94 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.26 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.06 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.46 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 25.91 [+0.45] TEST: swp1 carrier off [ OK ] # 26.72 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 27.12 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.08 [+15.97] # 43.08 [+0.00] Backup nexthop ID # 43.08 [+0.00] ----------------- # 45.95 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.73 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 47.14 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.58 [+0.44] TEST: swp1 carrier off [ OK ] # 48.37 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 48.75 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.16 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.55 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.98 [+0.43] TEST: swp1 carrier on [ OK ] # 50.31 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.07 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 51.45 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.89 [+0.44] TEST: swp1 carrier off [ OK ] # 52.69 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.10 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 53.51 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 53.90 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.35 [+0.45] TEST: swp1 carrier on [ OK ] # 55.18 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 55.64 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 56.12 [+0.49] TEST: No forwarding using backup nexthop ID [ OK ] # 56.51 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.83 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.61 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 58.01 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.41 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 58.81 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.25 [+0.45] TEST: swp1 carrier off [ OK ] # 60.02 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 60.43 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 60.83 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 61.24 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.24 [+16.00] # 77.24 [+0.00] Backup nexthop ID - invalid IDs # 77.24 [+0.00] ------------------------------- # 80.14 [+2.90] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.48 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 80.93 [+0.46] TEST: swp1 carrier off [ OK ] # 81.74 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 82.16 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 82.56 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 82.75 [+0.19] TEST: No Tx drop increase [ OK ] # 83.07 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.90 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 84.31 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 84.72 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 84.90 [+0.18] TEST: Tx drop increased [ OK ] # 85.40 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.21 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 86.63 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 87.06 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 87.26 [+0.20] TEST: Tx drop increased [ OK ] # 87.60 [+0.34] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.43 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 88.82 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 89.22 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 89.40 [+0.18] TEST: Tx drop increased [ OK ] # 90.26 [+0.87] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.08 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 91.51 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 91.92 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 92.11 [+0.19] TEST: Tx drop increased [ OK ] # 108.35 [+16.25] # 108.35 [+0.00] Backup nexthop ID - ping # 108.36 [+0.00] ------------------------ # 113.46 [+5.11] TEST: Ping with backup nexthop ID [ OK ] # 119.12 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 135.15 [+16.03] # 135.15 [+0.00] Backup nexthop ID - torture test # 135.15 [+0.00] -------------------------------- # 166.52 [+31.37] TEST: Torture test [ OK ] # 167.88 [+1.35] # 167.88 [+0.00] Tests passed: 83 # 167.88 [+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__->