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.78 [+11.78] # 11.78 [+0.00] Backup port # 11.78 [+0.00] ----------- # 13.17 [+1.39] TEST: Forwarding out of swp1 [ OK ] # 13.50 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.81 [+0.31] TEST: swp1 carrier off [ OK ] # 14.39 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.73 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.04 [+0.31] TEST: swp1 carrier on [ OK ] # 15.29 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.86 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.19 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.52 [+0.33] TEST: swp1 carrier off [ OK ] # 17.08 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 17.40 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.70 [+0.30] TEST: swp1 carrier on [ OK ] # 18.31 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 18.63 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.85 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.45 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.74 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 20.05 [+0.31] TEST: swp1 carrier off [ OK ] # 20.64 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 20.99 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 33.89 [+12.91] # 33.89 [+0.00] Backup nexthop ID # 33.89 [+0.00] ----------------- # 36.01 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.60 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 36.91 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 37.23 [+0.33] TEST: swp1 carrier off [ OK ] # 37.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 38.14 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 38.50 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 38.80 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.11 [+0.31] TEST: swp1 carrier on [ OK ] # 39.36 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.96 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 40.27 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.59 [+0.32] TEST: swp1 carrier off [ OK ] # 41.16 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 41.50 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.82 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 42.13 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.45 [+0.32] TEST: swp1 carrier on [ OK ] # 43.07 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 43.39 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.73 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 44.03 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.27 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.84 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 45.14 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 45.49 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 45.83 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.11 [+0.29] TEST: swp1 carrier off [ OK ] # 46.73 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 47.08 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 47.38 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.69 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.61 [+12.92] # 60.61 [+0.00] Backup nexthop ID - invalid IDs # 60.61 [+0.00] ------------------------------- # 62.87 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.09 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 63.40 [+0.31] TEST: swp1 carrier off [ OK ] # 64.06 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 64.38 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 64.74 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 64.88 [+0.14] TEST: No Tx drop increase [ OK ] # 65.15 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.74 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 66.07 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.41 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 66.58 [+0.17] TEST: Tx drop increased [ OK ] # 66.92 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.53 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 67.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.20 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.35 [+0.15] TEST: Tx drop increased [ OK ] # 68.60 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.18 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 69.52 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.85 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.01 [+0.16] TEST: Tx drop increased [ OK ] # 70.62 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.22 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.53 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.87 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.03 [+0.16] TEST: Tx drop increased [ OK ] # 84.95 [+12.92] # 84.95 [+0.00] Backup nexthop ID - ping # 84.95 [+0.00] ------------------------ # 88.92 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 94.34 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.34 [+13.00] # 107.34 [+0.00] Backup nexthop ID - torture test # 107.34 [+0.00] -------------------------------- # 138.32 [+30.97] TEST: Torture test [ OK ] # 139.12 [+0.81] # 139.12 [+0.00] Tests passed: 83 # 139.12 [+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__->