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.52 [+9.52] # 9.52 [+0.00] Backup port # 9.52 [+0.00] ----------- # 10.75 [+1.24] TEST: Forwarding out of swp1 [ OK ] # 11.00 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 11.24 [+0.24] TEST: swp1 carrier off [ OK ] # 11.74 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.02 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.30 [+0.28] TEST: swp1 carrier on [ OK ] # 12.49 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.95 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.24 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.47 [+0.23] TEST: swp1 carrier off [ OK ] # 13.93 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.20 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.43 [+0.23] TEST: swp1 carrier on [ OK ] # 14.92 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.18 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.35 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.85 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.13 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.36 [+0.23] TEST: swp1 carrier off [ OK ] # 16.85 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.11 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.40 [+10.29] # 27.40 [+0.00] Backup nexthop ID # 27.40 [+0.00] ----------------- # 29.15 [+1.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.68 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 29.96 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.23 [+0.27] TEST: swp1 carrier off [ OK ] # 30.76 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 31.03 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.36 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 31.66 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.05 [+0.39] TEST: swp1 carrier on [ OK ] # 32.35 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.09 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 33.47 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 33.79 [+0.32] TEST: swp1 carrier off [ OK ] # 34.52 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 34.82 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 35.11 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 35.39 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.68 [+0.28] TEST: swp1 carrier on [ OK ] # 36.22 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 36.56 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.85 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.18 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.37 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.97 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 38.23 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 38.50 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.76 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.00 [+0.24] TEST: swp1 carrier off [ OK ] # 39.53 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 39.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 40.09 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 40.36 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.93 [+10.57] # 50.93 [+0.00] Backup nexthop ID - invalid IDs # 50.93 [+0.00] ------------------------------- # 52.56 [+1.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.75 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 53.01 [+0.26] TEST: swp1 carrier off [ OK ] # 53.52 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.79 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.06 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 54.17 [+0.11] TEST: No Tx drop increase [ OK ] # 54.34 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.86 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 55.12 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.41 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.52 [+0.11] TEST: Tx drop increased [ OK ] # 55.79 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 56.30 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 56.59 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.85 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.96 [+0.11] TEST: Tx drop increased [ OK ] # 57.15 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.64 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 58.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.28 [+0.11] TEST: Tx drop increased [ OK ] # 58.76 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 59.29 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 59.60 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 59.90 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 60.02 [+0.12] TEST: Tx drop increased [ OK ] # 70.53 [+10.51] # 70.53 [+0.00] Backup nexthop ID - ping # 70.53 [+0.00] ------------------------ # 74.11 [+3.58] TEST: Ping with backup nexthop ID [ OK ] # 79.44 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 90.04 [+10.60] # 90.04 [+0.00] Backup nexthop ID - torture test # 90.04 [+0.00] -------------------------------- # 120.77 [+30.73] TEST: Torture test [ OK ] # 121.41 [+0.64] # 121.41 [+0.00] Tests passed: 83 # 121.41 [+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__->