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.72 [+11.72] # 11.73 [+0.00] Backup port # 11.73 [+0.00] ----------- # 13.07 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 13.37 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.68 [+0.31] TEST: swp1 carrier off [ OK ] # 14.27 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 14.59 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.96 [+0.36] TEST: swp1 carrier on [ OK ] # 15.20 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.82 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.14 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.46 [+0.32] TEST: swp1 carrier off [ OK ] # 17.03 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.39 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 17.71 [+0.32] TEST: swp1 carrier on [ OK ] # 18.30 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.61 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.92 [+0.31] TEST: swp1 administratively down [ OK ] # 19.54 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 19.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.18 [+0.32] TEST: swp1 administratively up [ OK ] # 20.76 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 21.09 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.33 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.88 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 22.22 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.52 [+0.31] TEST: swp1 carrier off [ OK ] # 23.11 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 23.43 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.21 [+12.78] # 36.21 [+0.00] Backup nexthop ID # 36.21 [+0.00] ----------------- # 38.32 [+2.11] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.90 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 39.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.56 [+0.32] TEST: swp1 carrier off [ OK ] # 40.12 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 40.45 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 40.77 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 41.10 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.42 [+0.31] TEST: swp1 carrier on [ OK ] # 41.65 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.27 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.58 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 42.91 [+0.33] TEST: swp1 carrier off [ OK ] # 43.50 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 43.84 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.18 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 44.50 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.83 [+0.33] TEST: swp1 carrier on [ OK ] # 45.42 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 45.79 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 46.08 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 46.39 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.62 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.25 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.57 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.89 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.26 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.55 [+0.29] TEST: swp1 carrier off [ OK ] # 49.14 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 49.45 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 49.76 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.12 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.95 [+12.83] # 62.95 [+0.00] Backup nexthop ID - invalid IDs # 62.95 [+0.00] ------------------------------- # 65.22 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.44 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 65.77 [+0.33] TEST: swp1 carrier off [ OK ] # 66.37 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.71 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.07 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 67.22 [+0.14] TEST: No Tx drop increase [ OK ] # 67.50 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.09 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 68.44 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.75 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 68.89 [+0.14] TEST: Tx drop increased [ OK ] # 69.21 [+0.33] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.81 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.14 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.47 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.63 [+0.16] TEST: Tx drop increased [ OK ] # 70.86 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.44 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.75 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.08 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.24 [+0.16] TEST: Tx drop increased [ OK ] # 72.85 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.46 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.76 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 74.11 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.24 [+0.14] TEST: Tx drop increased [ OK ] # 87.23 [+12.99] # 87.23 [+0.00] Backup nexthop ID - ping # 87.24 [+0.00] ------------------------ # 91.21 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 96.63 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.42 [+12.79] # 109.42 [+0.00] Backup nexthop ID - torture test # 109.42 [+0.00] -------------------------------- # 140.36 [+30.93] TEST: Torture test [ OK ] # 141.27 [+0.92] # 141.27 [+0.00] Tests passed: 89 # 141.27 [+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__->