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.96 [+11.96] # 11.96 [+0.00] Backup port # 11.96 [+0.00] ----------- # 13.33 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 13.64 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.93 [+0.30] TEST: swp1 carrier off [ OK ] # 14.51 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 14.83 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.34] TEST: swp1 carrier on [ OK ] # 15.39 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.99 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.32 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.65 [+0.33] TEST: swp1 carrier off [ OK ] # 17.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.55 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.86 [+0.30] TEST: swp1 carrier on [ OK ] # 18.44 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.79 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.02 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.62 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.95 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.25 [+0.30] TEST: swp1 carrier off [ OK ] # 20.81 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 21.15 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 34.00 [+12.85] # 34.01 [+0.00] Backup nexthop ID # 34.01 [+0.00] ----------------- # 36.12 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.68 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 37.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.34 [+0.31] TEST: swp1 carrier off [ OK ] # 37.96 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 38.27 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 38.60 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 38.91 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.22 [+0.32] TEST: swp1 carrier on [ OK ] # 39.45 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.06 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.37 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.68 [+0.32] TEST: swp1 carrier off [ OK ] # 41.27 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.57 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.88 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 42.19 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.50 [+0.30] TEST: swp1 carrier on [ OK ] # 43.08 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.41 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.72 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 44.04 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.27 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.86 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 45.18 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.50 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.84 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.13 [+0.29] TEST: swp1 carrier off [ OK ] # 46.70 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 47.04 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 47.38 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.69 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.46 [+12.77] # 60.46 [+0.00] Backup nexthop ID - invalid IDs # 60.46 [+0.00] ------------------------------- # 62.80 [+2.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.04 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 63.37 [+0.33] TEST: swp1 carrier off [ OK ] # 64.00 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 64.33 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 64.69 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 64.85 [+0.16] TEST: No Tx drop increase [ OK ] # 65.09 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.68 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.01 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.34 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 66.49 [+0.15] TEST: Tx drop increased [ OK ] # 66.83 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.44 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.76 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.07 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 68.21 [+0.14] TEST: Tx drop increased [ OK ] # 68.44 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.03 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 69.36 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.70 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.85 [+0.15] TEST: Tx drop increased [ OK ] # 70.42 [+0.57] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.31 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.65 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.79 [+0.14] TEST: Tx drop increased [ OK ] # 84.75 [+12.96] # 84.75 [+0.00] Backup nexthop ID - ping # 84.75 [+0.00] ------------------------ # 88.90 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 94.34 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.13 [+12.79] # 107.13 [+0.00] Backup nexthop ID - torture test # 107.14 [+0.00] -------------------------------- # 138.03 [+30.90] TEST: Torture test [ OK ] # 138.84 [+0.81] # 138.84 [+0.00] Tests passed: 83 # 138.84 [+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__->