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.44 [+9.44] # 9.44 [+0.00] Backup port # 9.44 [+0.00] ----------- # 10.73 [+1.28] TEST: Forwarding out of swp1 [ OK ] # 10.98 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.22 [+0.24] TEST: swp1 carrier off [ OK ] # 11.66 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 11.92 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.15 [+0.23] TEST: swp1 carrier on [ OK ] # 12.34 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.81 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.06 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 13.29 [+0.23] TEST: swp1 carrier off [ OK ] # 13.75 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.01 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.24 [+0.23] TEST: swp1 carrier on [ OK ] # 14.74 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.02 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.68 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.96 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.19 [+0.23] TEST: swp1 carrier off [ OK ] # 16.65 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.94 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.18 [+10.24] # 27.18 [+0.00] Backup nexthop ID # 27.18 [+0.00] ----------------- # 28.75 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.22 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.49 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.70 [+0.21] TEST: swp1 carrier off [ OK ] # 30.17 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.74 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 31.00 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.22 [+0.23] TEST: swp1 carrier on [ OK ] # 31.40 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.89 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.15 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.36 [+0.21] TEST: swp1 carrier off [ OK ] # 32.83 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.08 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.34 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.61 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.85 [+0.24] TEST: swp1 carrier on [ OK ] # 34.31 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.57 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.84 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.09 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.27 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.74 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.29 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.55 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.77 [+0.22] TEST: swp1 carrier off [ OK ] # 37.23 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.50 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.02 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.06 [+10.04] # 48.06 [+0.00] Backup nexthop ID - invalid IDs # 48.06 [+0.00] ------------------------------- # 49.58 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.75 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.97 [+0.22] TEST: swp1 carrier off [ OK ] # 50.45 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.70 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.97 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.07 [+0.10] TEST: No Tx drop increase [ OK ] # 51.23 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.73 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.98 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.23 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.33 [+0.09] TEST: Tx drop increased [ OK ] # 52.60 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.08 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.34 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.60 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.71 [+0.11] TEST: Tx drop increased [ OK ] # 53.86 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.35 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.60 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.85 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.96 [+0.11] TEST: Tx drop increased [ OK ] # 55.40 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.84 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 56.12 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.37 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.49 [+0.11] TEST: Tx drop increased [ OK ] # 66.55 [+10.06] # 66.55 [+0.00] Backup nexthop ID - ping # 66.55 [+0.00] ------------------------ # 70.09 [+3.54] TEST: Ping with backup nexthop ID [ OK ] # 75.40 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.51 [+10.11] # 85.51 [+0.00] Backup nexthop ID - torture test # 85.51 [+0.00] -------------------------------- # 116.18 [+30.67] TEST: Torture test [ OK ] # 116.81 [+0.63] # 116.81 [+0.00] Tests passed: 83 # 116.81 [+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__->