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 # 9.56 [+9.56] # 9.56 [+0.00] Backup port # 9.56 [+0.00] ----------- # 10.64 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 10.92 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.15 [+0.23] TEST: swp1 carrier off [ OK ] # 11.64 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.92 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.17 [+0.25] TEST: swp1 carrier on [ OK ] # 12.35 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.83 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.09 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.33 [+0.25] TEST: swp1 carrier off [ OK ] # 13.84 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 14.11 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.35 [+0.24] TEST: swp1 carrier on [ OK ] # 14.82 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.09 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.30 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.76 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.02 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.25 [+0.23] TEST: swp1 carrier off [ OK ] # 16.74 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.02 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.41 [+10.39] # 27.41 [+0.00] Backup nexthop ID # 27.41 [+0.00] ----------------- # 28.96 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.44 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.73 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.98 [+0.25] TEST: swp1 carrier off [ OK ] # 30.47 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.77 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 31.04 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.32 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.57 [+0.24] TEST: swp1 carrier on [ OK ] # 31.75 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.24 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.51 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.75 [+0.24] TEST: swp1 carrier off [ OK ] # 33.22 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.51 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 33.79 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.06 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.28 [+0.22] TEST: swp1 carrier on [ OK ] # 34.76 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.02 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.31 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.59 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.78 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.27 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.53 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.79 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.05 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.29 [+0.24] TEST: swp1 carrier off [ OK ] # 37.79 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 38.08 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.34 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 38.61 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.00 [+10.38] # 49.00 [+0.00] Backup nexthop ID - invalid IDs # 49.00 [+0.00] ------------------------------- # 50.62 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.81 [+0.20] TEST: Valid nexthop as backup nexthop [ OK ] # 51.04 [+0.22] TEST: swp1 carrier off [ OK ] # 51.53 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.07 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 52.18 [+0.11] TEST: No Tx drop increase [ OK ] # 52.35 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.86 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.13 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.40 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.52 [+0.12] TEST: Tx drop increased [ OK ] # 53.78 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.28 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.56 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.83 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.93 [+0.10] TEST: Tx drop increased [ OK ] # 55.09 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.59 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.86 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.13 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.23 [+0.10] TEST: Tx drop increased [ OK ] # 56.68 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.19 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.70 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.81 [+0.10] TEST: Tx drop increased [ OK ] # 68.26 [+10.45] # 68.26 [+0.00] Backup nexthop ID - ping # 68.26 [+0.00] ------------------------ # 71.80 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 77.15 [+5.35] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.70 [+10.55] # 87.70 [+0.00] Backup nexthop ID - torture test # 87.70 [+0.00] -------------------------------- # 118.39 [+30.68] TEST: Torture test [ OK ] # 119.02 [+0.63] # 119.02 [+0.00] Tests passed: 83 # 119.02 [+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__->