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.31 [+9.31] # 9.31 [+0.00] Backup port # 9.31 [+0.00] ----------- # 10.63 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 10.92 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.16 [+0.24] TEST: swp1 carrier off [ OK ] # 11.69 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 11.98 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.24 [+0.26] TEST: swp1 carrier on [ OK ] # 12.44 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.95 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.23 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.50 [+0.27] TEST: swp1 carrier off [ OK ] # 14.00 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.28 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.52 [+0.25] TEST: swp1 carrier on [ OK ] # 15.04 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.33 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.98 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.51 [+0.26] TEST: swp1 carrier off [ OK ] # 17.05 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 17.33 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 27.64 [+10.31] # 27.65 [+0.00] Backup nexthop ID # 27.65 [+0.00] ----------------- # 29.24 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.77 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 30.06 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.28 [+0.23] TEST: swp1 carrier off [ OK ] # 30.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.05 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.33 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.58 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.81 [+0.23] TEST: swp1 carrier on [ OK ] # 31.96 [+0.15] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.45 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.94 [+0.23] TEST: swp1 carrier off [ OK ] # 33.40 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.65 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.92 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.18 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.41 [+0.23] TEST: swp1 carrier on [ OK ] # 34.91 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.22 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 35.53 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 35.78 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.95 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.41 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.68 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.92 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 37.17 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.40 [+0.22] TEST: swp1 carrier off [ OK ] # 37.88 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 38.39 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.67 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.78 [+10.11] # 48.78 [+0.00] Backup nexthop ID - invalid IDs # 48.78 [+0.00] ------------------------------- # 50.36 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.54 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.76 [+0.22] TEST: swp1 carrier off [ OK ] # 51.22 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.48 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.74 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 51.83 [+0.09] TEST: No Tx drop increase [ OK ] # 52.00 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.47 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.73 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.98 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.08 [+0.09] TEST: Tx drop increased [ OK ] # 53.35 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.83 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.10 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.36 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.46 [+0.10] TEST: Tx drop increased [ OK ] # 54.61 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.08 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 55.32 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.60 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.72 [+0.13] TEST: Tx drop increased [ OK ] # 56.18 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.68 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.95 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 57.31 [+0.09] TEST: Tx drop increased [ OK ] # 67.94 [+10.63] # 67.94 [+0.00] Backup nexthop ID - ping # 67.94 [+0.00] ------------------------ # 71.61 [+3.67] TEST: Ping with backup nexthop ID [ OK ] # 77.01 [+5.39] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.98 [+10.98] # 87.98 [+0.00] Backup nexthop ID - torture test # 87.99 [+0.00] -------------------------------- # 118.69 [+30.70] TEST: Torture test [ OK ] # 119.31 [+0.62] # 119.31 [+0.00] Tests passed: 83 # 119.31 [+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__->