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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 11.64 [+11.64] # 11.64 [+0.00] Backup port # 11.64 [+0.00] ----------- # 12.96 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 13.30 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 13.61 [+0.31] TEST: swp1 carrier off [ OK ] # 14.19 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.53 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.83 [+0.31] TEST: swp1 carrier on [ OK ] # 15.05 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.67 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 15.98 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.29 [+0.31] TEST: swp1 carrier off [ OK ] # 16.87 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.20 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 17.51 [+0.31] TEST: swp1 carrier on [ OK ] # 18.10 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.44 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.69 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.28 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 19.60 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.88 [+0.28] TEST: swp1 carrier off [ OK ] # 20.46 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 20.79 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 33.44 [+12.66] # 33.44 [+0.00] Backup nexthop ID # 33.44 [+0.00] ----------------- # 35.51 [+2.06] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.08 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 36.42 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.77 [+0.35] TEST: swp1 carrier off [ OK ] # 37.35 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 37.69 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 38.01 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 38.34 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.64 [+0.31] TEST: swp1 carrier on [ OK ] # 38.87 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.44 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 39.78 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.07 [+0.29] TEST: swp1 carrier off [ OK ] # 40.64 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 40.96 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.27 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 41.59 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 41.87 [+0.28] TEST: swp1 carrier on [ OK ] # 42.48 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.81 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.14 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 43.43 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.66 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.25 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.57 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 44.87 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 45.19 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.50 [+0.31] TEST: swp1 carrier off [ OK ] # 46.10 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 46.40 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 46.71 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.05 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 59.82 [+12.77] # 59.82 [+0.00] Backup nexthop ID - invalid IDs # 59.83 [+0.00] ------------------------------- # 62.18 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.45 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 62.78 [+0.33] TEST: swp1 carrier off [ OK ] # 63.39 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 63.72 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 64.06 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 64.21 [+0.15] TEST: No Tx drop increase [ OK ] # 64.46 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.10 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 65.45 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 65.77 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 65.93 [+0.15] TEST: Tx drop increased [ OK ] # 66.31 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 66.90 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 67.22 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 67.53 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 67.67 [+0.14] TEST: Tx drop increased [ OK ] # 67.91 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.50 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.13 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 69.27 [+0.14] TEST: Tx drop increased [ OK ] # 69.88 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 70.48 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.81 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.16 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.29 [+0.13] TEST: Tx drop increased [ OK ] # 84.28 [+12.99] # 84.28 [+0.00] Backup nexthop ID - ping # 84.28 [+0.00] ------------------------ # 88.25 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 93.69 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 106.74 [+13.05] # 106.74 [+0.00] Backup nexthop ID - torture test # 106.74 [+0.00] -------------------------------- # 137.71 [+30.97] TEST: Torture test [ OK ] # 138.57 [+0.86] # 138.57 [+0.00] Tests passed: 83 # 138.57 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->