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.69 [+11.69] # 11.69 [+0.00] Backup port # 11.69 [+0.00] ----------- # 13.06 [+1.36] TEST: Forwarding out of swp1 [ OK ] # 13.38 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.67 [+0.29] TEST: swp1 carrier off [ OK ] # 14.27 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.63 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.98 [+0.36] TEST: swp1 carrier on [ OK ] # 15.21 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.80 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.10 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 16.42 [+0.32] TEST: swp1 carrier off [ OK ] # 17.02 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.38 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 17.70 [+0.33] TEST: swp1 carrier on [ OK ] # 18.32 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 18.61 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 18.86 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.42 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 19.73 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 20.05 [+0.32] TEST: swp1 carrier off [ OK ] # 20.63 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 20.93 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 33.64 [+12.71] # 33.64 [+0.00] Backup nexthop ID # 33.64 [+0.00] ----------------- # 35.75 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.34 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 36.67 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.98 [+0.31] TEST: swp1 carrier off [ OK ] # 37.58 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 37.92 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 38.26 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 38.57 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.86 [+0.29] TEST: swp1 carrier on [ OK ] # 39.09 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.71 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.06 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.39 [+0.33] TEST: swp1 carrier off [ OK ] # 41.01 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 41.32 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.64 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 41.96 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.29 [+0.33] TEST: swp1 carrier on [ OK ] # 42.88 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.21 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.57 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 43.91 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.12 [+0.21] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.72 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 45.03 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 45.35 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.67 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.98 [+0.30] TEST: swp1 carrier off [ OK ] # 46.60 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 46.93 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 47.25 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.62 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.33 [+12.70] # 60.33 [+0.00] Backup nexthop ID - invalid IDs # 60.33 [+0.00] ------------------------------- # 62.56 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.81 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 63.10 [+0.29] TEST: swp1 carrier off [ OK ] # 63.72 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 64.05 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 64.41 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 64.56 [+0.15] TEST: No Tx drop increase [ OK ] # 64.78 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.36 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 65.67 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 66.01 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 66.15 [+0.14] TEST: Tx drop increased [ OK ] # 66.47 [+0.32] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.08 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.39 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.71 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 67.87 [+0.15] TEST: Tx drop increased [ OK ] # 68.11 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.69 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 68.99 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 69.31 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.45 [+0.14] TEST: Tx drop increased [ OK ] # 70.04 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 70.63 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.97 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.26 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 71.42 [+0.17] TEST: Tx drop increased [ OK ] # 84.10 [+12.68] # 84.10 [+0.00] Backup nexthop ID - ping # 84.10 [+0.00] ------------------------ # 88.02 [+3.92] TEST: Ping with backup nexthop ID [ OK ] # 93.45 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 106.45 [+13.00] # 106.46 [+0.00] Backup nexthop ID - torture test # 106.46 [+0.00] -------------------------------- # 137.44 [+30.98] TEST: Torture test [ OK ] # 138.29 [+0.86] # 138.30 [+0.00] Tests passed: 83 # 138.30 [+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__->