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.22 [+9.22] # 9.22 [+0.00] Backup port # 9.22 [+0.00] ----------- # 10.22 [+0.99] TEST: Forwarding out of swp1 [ OK ] # 10.48 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.70 [+0.22] TEST: swp1 carrier off [ OK ] # 11.16 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.43 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.66 [+0.23] TEST: swp1 carrier on [ OK ] # 11.83 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.27 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.52 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.74 [+0.22] TEST: swp1 carrier off [ OK ] # 13.19 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.44 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.66 [+0.22] TEST: swp1 carrier on [ OK ] # 14.12 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.38 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.56 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.02 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.26 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.48 [+0.22] TEST: swp1 carrier off [ OK ] # 15.94 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.21 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.18 [+9.97] # 26.18 [+0.00] Backup nexthop ID # 26.18 [+0.00] ----------------- # 27.68 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.12 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.39 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.61 [+0.23] TEST: swp1 carrier off [ OK ] # 29.07 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.59 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 29.86 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.07 [+0.21] TEST: swp1 carrier on [ OK ] # 30.23 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 31.17 [+0.20] TEST: swp1 carrier off [ OK ] # 31.64 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 31.91 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.18 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.43 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.64 [+0.21] TEST: swp1 carrier on [ OK ] # 33.09 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.34 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.58 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 33.86 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.02 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.51 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.02 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.27 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.47 [+0.21] TEST: swp1 carrier off [ OK ] # 35.95 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.21 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.50 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.74 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.82 [+10.09] # 46.83 [+0.00] Backup nexthop ID - invalid IDs # 46.83 [+0.00] ------------------------------- # 48.37 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.55 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 48.77 [+0.22] TEST: swp1 carrier off [ OK ] # 49.26 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.52 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 49.79 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 49.89 [+0.10] TEST: No Tx drop increase [ OK ] # 50.06 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.52 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.77 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.03 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.13 [+0.10] TEST: Tx drop increased [ OK ] # 51.37 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.11 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.39 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.47 [+0.08] TEST: Tx drop increased [ OK ] # 52.64 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.11 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.37 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.63 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.72 [+0.10] TEST: Tx drop increased [ OK ] # 54.14 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.59 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.84 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.10 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.18 [+0.08] TEST: Tx drop increased [ OK ] # 65.19 [+10.01] # 65.19 [+0.00] Backup nexthop ID - ping # 65.19 [+0.00] ------------------------ # 68.64 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 73.95 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.96 [+10.00] # 83.96 [+0.00] Backup nexthop ID - torture test # 83.96 [+0.00] -------------------------------- # 114.62 [+30.66] TEST: Torture test [ OK ] # 115.25 [+0.63] # 115.25 [+0.00] Tests passed: 83 # 115.25 [+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__->