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.55 [+9.55] # 9.55 [+0.00] Backup port # 9.55 [+0.00] ----------- # 10.75 [+1.20] TEST: Forwarding out of swp1 [ OK ] # 11.04 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.27 [+0.23] TEST: swp1 carrier off [ OK ] # 11.78 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 12.05 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.30 [+0.25] TEST: swp1 carrier on [ OK ] # 12.46 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.95 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.45 [+0.23] TEST: swp1 carrier off [ OK ] # 13.95 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.22 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.44 [+0.23] TEST: swp1 carrier on [ OK ] # 14.95 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.39 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.87 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.15 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.39 [+0.24] TEST: swp1 carrier off [ OK ] # 16.84 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 17.12 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.50 [+10.38] # 27.50 [+0.00] Backup nexthop ID # 27.50 [+0.00] ----------------- # 29.08 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.55 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.82 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.05 [+0.23] TEST: swp1 carrier off [ OK ] # 30.55 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 30.83 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.12 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.37 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.60 [+0.23] TEST: swp1 carrier on [ OK ] # 31.78 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.27 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.54 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 32.76 [+0.22] TEST: swp1 carrier off [ OK ] # 33.28 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 33.55 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.79 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.05 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.27 [+0.22] TEST: swp1 carrier on [ OK ] # 34.77 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.04 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.30 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.58 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.75 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.24 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.51 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.76 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.01 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.23 [+0.22] TEST: swp1 carrier off [ OK ] # 37.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.02 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.27 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.53 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.90 [+10.37] # 48.90 [+0.00] Backup nexthop ID - invalid IDs # 48.90 [+0.00] ------------------------------- # 50.51 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.69 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.93 [+0.24] TEST: swp1 carrier off [ OK ] # 51.43 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.71 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.97 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.09 [+0.11] TEST: No Tx drop increase [ OK ] # 52.27 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.75 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.30 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.41 [+0.11] TEST: Tx drop increased [ OK ] # 53.68 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.20 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.46 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.72 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.83 [+0.11] TEST: Tx drop increased [ OK ] # 55.00 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.48 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.74 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.01 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.12 [+0.10] TEST: Tx drop increased [ OK ] # 56.57 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.08 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 57.36 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 57.65 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 57.76 [+0.11] TEST: Tx drop increased [ OK ] # 68.14 [+10.38] # 68.14 [+0.00] Backup nexthop ID - ping # 68.14 [+0.00] ------------------------ # 71.61 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 76.93 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.22 [+10.29] # 87.22 [+0.00] Backup nexthop ID - torture test # 87.22 [+0.00] -------------------------------- # 117.94 [+30.71] TEST: Torture test [ OK ] # 118.60 [+0.66] # 118.60 [+0.00] Tests passed: 83 # 118.60 [+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__->