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.08 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 13.38 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.69 [+0.31] TEST: swp1 carrier off [ OK ] # 14.28 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.61 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.93 [+0.32] TEST: swp1 carrier on [ OK ] # 15.19 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.75 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.09 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.40 [+0.31] TEST: swp1 carrier off [ OK ] # 16.97 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.31 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.60 [+0.30] TEST: swp1 carrier on [ OK ] # 18.20 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.53 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.76 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.34 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 19.66 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.96 [+0.30] TEST: swp1 carrier off [ OK ] # 20.53 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 20.86 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 33.76 [+12.91] # 33.76 [+0.00] Backup nexthop ID # 33.76 [+0.00] ----------------- # 35.91 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.49 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 36.85 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 37.17 [+0.32] TEST: swp1 carrier off [ OK ] # 37.77 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 38.12 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 38.47 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 38.82 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.11 [+0.29] TEST: swp1 carrier on [ OK ] # 39.33 [+0.22] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.91 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.22 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.54 [+0.33] TEST: swp1 carrier off [ OK ] # 41.13 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.48 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 41.80 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 42.11 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.44 [+0.32] TEST: swp1 carrier on [ OK ] # 43.01 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.33 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 43.64 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 43.95 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.19 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 45.11 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.46 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.80 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.11 [+0.31] TEST: swp1 carrier off [ OK ] # 46.72 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 47.02 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 47.34 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.67 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.52 [+12.84] # 60.52 [+0.00] Backup nexthop ID - invalid IDs # 60.52 [+0.00] ------------------------------- # 62.79 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.05 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 63.35 [+0.30] TEST: swp1 carrier off [ OK ] # 63.98 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 64.33 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 64.64 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 64.80 [+0.16] TEST: No Tx drop increase [ OK ] # 65.06 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.64 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 65.96 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 66.28 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 66.43 [+0.15] TEST: Tx drop increased [ OK ] # 66.81 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.40 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 67.73 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.21 [+0.15] TEST: Tx drop increased [ OK ] # 68.46 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.03 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 69.34 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.64 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 69.81 [+0.17] TEST: Tx drop increased [ OK ] # 70.42 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.03 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 71.33 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 71.64 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 71.79 [+0.16] TEST: Tx drop increased [ OK ] # 84.68 [+12.89] # 84.68 [+0.00] Backup nexthop ID - ping # 84.69 [+0.00] ------------------------ # 88.64 [+3.96] TEST: Ping with backup nexthop ID [ OK ] # 94.18 [+5.54] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.06 [+12.89] # 107.06 [+0.00] Backup nexthop ID - torture test # 107.06 [+0.00] -------------------------------- # 137.98 [+30.92] TEST: Torture test [ OK ] # 138.80 [+0.82] # 138.80 [+0.00] Tests passed: 83 # 138.80 [+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__->