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.66 [+11.66] # 11.67 [+0.00] Backup port # 11.67 [+0.00] ----------- # 13.47 [+1.81] TEST: Forwarding out of swp1 [ OK ] # 13.78 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.10 [+0.31] TEST: swp1 carrier off [ OK ] # 14.69 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.36 [+0.32] TEST: swp1 carrier on [ OK ] # 15.59 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.21 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.54 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.82 [+0.29] TEST: swp1 carrier off [ OK ] # 17.43 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.74 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 18.04 [+0.30] TEST: swp1 carrier on [ OK ] # 18.63 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.17 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.77 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.05 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 20.37 [+0.32] TEST: swp1 carrier off [ OK ] # 20.96 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 21.29 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 33.92 [+12.63] # 33.92 [+0.00] Backup nexthop ID # 33.92 [+0.00] ----------------- # 35.99 [+2.07] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.56 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 36.90 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.20 [+0.31] TEST: swp1 carrier off [ OK ] # 37.76 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 38.07 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 38.38 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 38.68 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.99 [+0.32] TEST: swp1 carrier on [ OK ] # 39.21 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.78 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 40.10 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.40 [+0.31] TEST: swp1 carrier off [ OK ] # 40.98 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.33 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.64 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 41.96 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.25 [+0.29] TEST: swp1 carrier on [ OK ] # 42.81 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 43.11 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 43.43 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 43.73 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.98 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.54 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 44.87 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.19 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.51 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.81 [+0.29] TEST: swp1 carrier off [ OK ] # 46.40 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 46.72 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 47.04 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.33 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.02 [+12.69] # 60.02 [+0.00] Backup nexthop ID - invalid IDs # 60.03 [+0.00] ------------------------------- # 62.06 [+2.04] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.29 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 62.58 [+0.28] TEST: swp1 carrier off [ OK ] # 63.17 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 63.49 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 63.83 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 63.95 [+0.12] TEST: No Tx drop increase [ OK ] # 64.18 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 64.78 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 65.09 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 65.42 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 65.53 [+0.11] TEST: Tx drop increased [ OK ] # 65.88 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 66.44 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 66.75 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 67.06 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 67.20 [+0.14] TEST: Tx drop increased [ OK ] # 67.44 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.00 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 68.34 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.64 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 68.77 [+0.13] TEST: Tx drop increased [ OK ] # 69.37 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 69.94 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 70.25 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.59 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.70 [+0.11] TEST: Tx drop increased [ OK ] # 83.31 [+12.61] # 83.31 [+0.00] Backup nexthop ID - ping # 83.31 [+0.00] ------------------------ # 87.25 [+3.93] TEST: Ping with backup nexthop ID [ OK ] # 92.70 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 105.46 [+12.76] # 105.46 [+0.00] Backup nexthop ID - torture test # 105.47 [+0.00] -------------------------------- # 136.38 [+30.92] TEST: Torture test [ OK ] # 137.25 [+0.86] # 137.25 [+0.00] Tests passed: 83 # 137.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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->