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.49 [+9.49] # 9.49 [+0.00] Backup port # 9.49 [+0.00] ----------- # 10.56 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 10.85 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.09 [+0.24] TEST: swp1 carrier off [ OK ] # 11.56 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.82 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.04 [+0.23] TEST: swp1 carrier on [ OK ] # 12.22 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.71 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.97 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.19 [+0.23] TEST: swp1 carrier off [ OK ] # 13.68 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 13.94 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.16 [+0.22] TEST: swp1 carrier on [ OK ] # 14.66 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 14.91 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.08 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.54 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.81 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.03 [+0.22] TEST: swp1 carrier off [ OK ] # 16.53 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 16.80 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.19 [+10.39] # 27.19 [+0.00] Backup nexthop ID # 27.19 [+0.00] ----------------- # 28.79 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.24 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 29.53 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.77 [+0.24] TEST: swp1 carrier off [ OK ] # 30.23 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.52 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.80 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.07 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.31 [+0.23] TEST: swp1 carrier on [ OK ] # 31.48 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.97 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.27 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 32.48 [+0.22] TEST: swp1 carrier off [ OK ] # 32.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.26 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.52 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.76 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.00 [+0.24] TEST: swp1 carrier on [ OK ] # 34.48 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.74 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.04 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 35.30 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.47 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.98 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.24 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.52 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.77 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.00 [+0.23] TEST: swp1 carrier off [ OK ] # 37.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.01 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.26 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.73 [+10.47] # 48.73 [+0.00] Backup nexthop ID - invalid IDs # 48.73 [+0.00] ------------------------------- # 50.33 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.49 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.71 [+0.22] TEST: swp1 carrier off [ OK ] # 51.23 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.77 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.87 [+0.10] TEST: No Tx drop increase [ OK ] # 52.04 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.54 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.78 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.07 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.16 [+0.10] TEST: Tx drop increased [ OK ] # 53.43 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.91 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.18 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.43 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.53 [+0.10] TEST: Tx drop increased [ OK ] # 54.70 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.17 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.70 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.83 [+0.13] TEST: Tx drop increased [ OK ] # 56.39 [+0.57] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.95 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 57.27 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 57.58 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 57.70 [+0.11] TEST: Tx drop increased [ OK ] # 69.33 [+11.63] # 69.33 [+0.00] Backup nexthop ID - ping # 69.33 [+0.00] ------------------------ # 72.96 [+3.63] TEST: Ping with backup nexthop ID [ OK ] # 78.29 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.78 [+10.49] # 88.78 [+0.00] Backup nexthop ID - torture test # 88.78 [+0.00] -------------------------------- # 119.47 [+30.69] TEST: Torture test [ OK ] # 120.08 [+0.60] # 120.08 [+0.00] Tests passed: 83 # 120.08 [+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__->