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.60 [+9.60] # 9.60 [+0.00] Backup port # 9.60 [+0.00] ----------- # 10.91 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 11.16 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.40 [+0.24] TEST: swp1 carrier off [ OK ] # 11.87 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.18 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.39 [+0.21] TEST: swp1 carrier on [ OK ] # 12.58 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.07 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.34 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.56 [+0.22] TEST: swp1 carrier off [ OK ] # 14.06 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.32 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.55 [+0.24] TEST: swp1 carrier on [ OK ] # 15.03 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.30 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.49 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.97 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.24 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.47 [+0.23] TEST: swp1 carrier off [ OK ] # 16.97 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.24 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.58 [+10.33] # 27.58 [+0.00] Backup nexthop ID # 27.58 [+0.00] ----------------- # 29.13 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.59 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.88 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.13 [+0.25] TEST: swp1 carrier off [ OK ] # 30.63 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 30.89 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.20 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 31.47 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.70 [+0.23] TEST: swp1 carrier on [ OK ] # 31.90 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.42 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 32.69 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.93 [+0.25] TEST: swp1 carrier off [ OK ] # 33.43 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.70 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.97 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.23 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.46 [+0.23] TEST: swp1 carrier on [ OK ] # 34.96 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.49 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.76 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.95 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.46 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 36.74 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.01 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.29 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.52 [+0.23] TEST: swp1 carrier off [ OK ] # 37.99 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.26 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.52 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.80 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.12 [+10.32] # 49.12 [+0.00] Backup nexthop ID - invalid IDs # 49.12 [+0.00] ------------------------------- # 50.74 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.93 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.16 [+0.24] TEST: swp1 carrier off [ OK ] # 51.67 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.93 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.19 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.29 [+0.10] TEST: No Tx drop increase [ OK ] # 52.47 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.96 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.25 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 53.52 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.64 [+0.12] TEST: Tx drop increased [ OK ] # 53.91 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.42 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.69 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.98 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 55.09 [+0.11] TEST: Tx drop increased [ OK ] # 55.27 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.03 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.30 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.40 [+0.11] TEST: Tx drop increased [ OK ] # 56.85 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.32 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.87 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.98 [+0.11] TEST: Tx drop increased [ OK ] # 68.37 [+10.39] # 68.37 [+0.00] Backup nexthop ID - ping # 68.37 [+0.00] ------------------------ # 71.87 [+3.50] TEST: Ping with backup nexthop ID [ OK ] # 77.20 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.62 [+10.42] # 87.62 [+0.00] Backup nexthop ID - torture test # 87.63 [+0.00] -------------------------------- # 118.34 [+30.72] TEST: Torture test [ OK ] # 119.00 [+0.66] # 119.00 [+0.00] Tests passed: 83 # 119.00 [+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__->