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.77 [+11.77] # 11.77 [+0.00] Backup port # 11.77 [+0.00] ----------- # 13.15 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 13.50 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 13.81 [+0.30] TEST: swp1 carrier off [ OK ] # 14.44 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.75 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 15.06 [+0.32] TEST: swp1 carrier on [ OK ] # 15.31 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.89 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.22 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.53 [+0.30] TEST: swp1 carrier off [ OK ] # 17.12 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.46 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.77 [+0.32] TEST: swp1 carrier on [ OK ] # 18.36 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.67 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 18.92 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.53 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.87 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.19 [+0.32] TEST: swp1 carrier off [ OK ] # 20.77 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 21.10 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 34.07 [+12.97] # 34.07 [+0.00] Backup nexthop ID # 34.07 [+0.00] ----------------- # 36.22 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.80 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 37.14 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.48 [+0.34] TEST: swp1 carrier off [ OK ] # 38.08 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 38.39 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 38.72 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 39.07 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.38 [+0.31] TEST: swp1 carrier on [ OK ] # 39.61 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.22 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 40.53 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.83 [+0.30] TEST: swp1 carrier off [ OK ] # 41.40 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 41.74 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.07 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 42.38 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.69 [+0.31] TEST: swp1 carrier on [ OK ] # 43.26 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.60 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.94 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 44.28 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.54 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.11 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 45.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.76 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 46.11 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.42 [+0.32] TEST: swp1 carrier off [ OK ] # 47.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 47.34 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.65 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.96 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.93 [+12.97] # 60.93 [+0.00] Backup nexthop ID - invalid IDs # 60.94 [+0.00] ------------------------------- # 63.09 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.34 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 63.68 [+0.33] TEST: swp1 carrier off [ OK ] # 64.35 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 64.67 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 64.97 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 65.12 [+0.15] TEST: No Tx drop increase [ OK ] # 65.37 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.97 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 66.29 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 66.65 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 66.81 [+0.16] TEST: Tx drop increased [ OK ] # 67.17 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.78 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 68.09 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.43 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.60 [+0.17] TEST: Tx drop increased [ OK ] # 68.84 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.41 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 69.72 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.04 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.18 [+0.14] TEST: Tx drop increased [ OK ] # 70.80 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.40 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 71.73 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.05 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.19 [+0.14] TEST: Tx drop increased [ OK ] # 85.14 [+12.96] # 85.15 [+0.00] Backup nexthop ID - ping # 85.15 [+0.00] ------------------------ # 89.30 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 94.73 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.72 [+12.99] # 107.72 [+0.00] Backup nexthop ID - torture test # 107.72 [+0.00] -------------------------------- # 138.68 [+30.96] TEST: Torture test [ OK ] # 139.59 [+0.91] # 139.59 [+0.00] Tests passed: 83 # 139.59 [+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__->