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.53 [+14.53] # 14.53 [+0.00] Backup port # 14.53 [+0.00] ----------- # 16.80 [+2.28] TEST: Forwarding out of swp1 [ OK ] # 17.21 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.65 [+0.43] TEST: swp1 carrier off [ OK ] # 18.44 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 18.82 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.26 [+0.44] TEST: swp1 carrier on [ OK ] # 19.57 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.32 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 20.72 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.18 [+0.46] TEST: swp1 carrier off [ OK ] # 21.94 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 22.33 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.76 [+0.43] TEST: swp1 carrier on [ OK ] # 23.54 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 23.95 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.26 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.07 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.48 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 25.91 [+0.42] TEST: swp1 carrier off [ OK ] # 26.68 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 27.10 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 42.95 [+15.85] # 42.95 [+0.00] Backup nexthop ID # 42.95 [+0.00] ----------------- # 45.81 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.59 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 46.98 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.46 [+0.47] TEST: swp1 carrier off [ OK ] # 48.27 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 48.64 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.06 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.46 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.88 [+0.42] TEST: swp1 carrier on [ OK ] # 50.19 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.98 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.36 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.79 [+0.43] TEST: swp1 carrier off [ OK ] # 52.60 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 52.99 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.36 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 53.75 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.19 [+0.44] TEST: swp1 carrier on [ OK ] # 55.00 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 55.41 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 55.80 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 56.23 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.51 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.28 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 57.71 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 58.12 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.53 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.98 [+0.45] TEST: swp1 carrier off [ OK ] # 59.76 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.16 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 60.59 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 60.98 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.64 [+15.65] # 76.64 [+0.00] Backup nexthop ID - invalid IDs # 76.64 [+0.00] ------------------------------- # 79.43 [+2.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.78 [+0.35] TEST: Valid nexthop as backup nexthop [ OK ] # 80.23 [+0.45] TEST: swp1 carrier off [ OK ] # 81.02 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 81.44 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 81.85 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 82.00 [+0.15] TEST: No Tx drop increase [ OK ] # 82.32 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.08 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 83.52 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 83.90 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.07 [+0.17] TEST: Tx drop increased [ OK ] # 84.56 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.36 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 85.77 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 86.17 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 86.36 [+0.19] TEST: Tx drop increased [ OK ] # 86.67 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.47 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.87 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 88.27 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 88.45 [+0.18] TEST: Tx drop increased [ OK ] # 89.26 [+0.81] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.04 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 90.45 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.85 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 91.02 [+0.17] TEST: Tx drop increased [ OK ] # 106.76 [+15.74] # 106.76 [+0.00] Backup nexthop ID - ping # 106.76 [+0.00] ------------------------ # 111.84 [+5.08] TEST: Ping with backup nexthop ID [ OK ] # 117.47 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.35 [+15.87] # 133.35 [+0.00] Backup nexthop ID - torture test # 133.35 [+0.00] -------------------------------- # 164.67 [+31.32] TEST: Torture test [ OK ] # 165.91 [+1.24] # 165.91 [+0.00] Tests passed: 83 # 165.91 [+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__->