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.71 [+11.71] # 11.71 [+0.00] Backup port # 11.71 [+0.00] ----------- # 13.14 [+1.44] TEST: Forwarding out of swp1 [ OK ] # 13.51 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 13.82 [+0.31] TEST: swp1 carrier off [ OK ] # 14.44 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 14.74 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 15.07 [+0.33] TEST: swp1 carrier on [ OK ] # 15.29 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.89 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.20 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.49 [+0.30] TEST: swp1 carrier off [ OK ] # 17.06 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.39 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 17.69 [+0.31] TEST: swp1 carrier on [ OK ] # 18.29 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.63 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 18.86 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.46 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.76 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.05 [+0.29] TEST: swp1 carrier off [ OK ] # 20.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.97 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 33.85 [+12.88] # 33.85 [+0.00] Backup nexthop ID # 33.85 [+0.00] ----------------- # 35.99 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.60 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 36.92 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.24 [+0.32] TEST: swp1 carrier off [ OK ] # 37.85 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 38.20 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 38.57 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 38.89 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.20 [+0.32] TEST: swp1 carrier on [ OK ] # 39.46 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.06 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 40.36 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 40.68 [+0.32] TEST: swp1 carrier off [ OK ] # 41.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 41.61 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.95 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 42.27 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.59 [+0.31] TEST: swp1 carrier on [ OK ] # 43.18 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.48 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 43.83 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 44.16 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.39 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.98 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 45.31 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.67 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 45.96 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.30 [+0.34] TEST: swp1 carrier off [ OK ] # 46.91 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 47.25 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.58 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.93 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.92 [+12.99] # 60.92 [+0.00] Backup nexthop ID - invalid IDs # 60.93 [+0.00] ------------------------------- # 63.20 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.44 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 63.76 [+0.32] TEST: swp1 carrier off [ OK ] # 64.35 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 64.65 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 64.96 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 65.11 [+0.15] TEST: No Tx drop increase [ OK ] # 65.37 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.97 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.30 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 66.65 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 66.80 [+0.15] TEST: Tx drop increased [ OK ] # 67.14 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.09 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.40 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 68.55 [+0.15] TEST: Tx drop increased [ OK ] # 68.78 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.41 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 69.74 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.09 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.21 [+0.13] TEST: Tx drop increased [ OK ] # 70.81 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.43 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.76 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.10 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.25 [+0.14] TEST: Tx drop increased [ OK ] # 85.10 [+12.85] # 85.10 [+0.00] Backup nexthop ID - ping # 85.10 [+0.00] ------------------------ # 89.11 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 94.55 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.47 [+12.92] # 107.47 [+0.00] Backup nexthop ID - torture test # 107.47 [+0.00] -------------------------------- # 138.41 [+30.94] TEST: Torture test [ OK ] # 139.24 [+0.83] # 139.24 [+0.00] Tests passed: 83 # 139.24 [+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__->