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 # 12.00 [+12.00] # 12.00 [+0.00] Backup port # 12.00 [+0.00] ----------- # 13.67 [+1.66] TEST: Forwarding out of swp1 [ OK ] # 13.99 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.32 [+0.33] TEST: swp1 carrier off [ OK ] # 14.93 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.28 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.60 [+0.32] TEST: swp1 carrier on [ OK ] # 15.82 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.42 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.75 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.06 [+0.31] TEST: swp1 carrier off [ OK ] # 17.68 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 18.01 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.34 [+0.33] TEST: swp1 carrier on [ OK ] # 18.98 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.32 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.63 [+0.31] TEST: swp1 administratively down [ OK ] # 20.24 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 20.58 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.89 [+0.31] TEST: swp1 administratively up [ OK ] # 21.50 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.82 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.05 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.63 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.98 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 23.27 [+0.29] TEST: swp1 carrier off [ OK ] # 23.86 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 24.20 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.11 [+12.91] # 37.11 [+0.00] Backup nexthop ID # 37.11 [+0.00] ----------------- # 39.21 [+2.10] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.79 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 40.10 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.43 [+0.32] TEST: swp1 carrier off [ OK ] # 41.01 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.32 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.64 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.96 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.27 [+0.31] TEST: swp1 carrier on [ OK ] # 42.50 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.10 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.43 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.75 [+0.31] TEST: swp1 carrier off [ OK ] # 44.36 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 44.68 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.01 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.33 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.63 [+0.30] TEST: swp1 carrier on [ OK ] # 46.25 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.56 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.89 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.20 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.44 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.02 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.34 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 48.66 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.00 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.31 [+0.31] TEST: swp1 carrier off [ OK ] # 49.91 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.24 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.55 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.86 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.80 [+12.94] # 63.80 [+0.00] Backup nexthop ID - invalid IDs # 63.80 [+0.00] ------------------------------- # 65.96 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.23 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 66.56 [+0.33] TEST: swp1 carrier off [ OK ] # 67.24 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 67.60 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 67.91 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 68.08 [+0.17] TEST: No Tx drop increase [ OK ] # 68.37 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.03 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 69.37 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.69 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.86 [+0.16] TEST: Tx drop increased [ OK ] # 70.23 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.85 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.22 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 71.57 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.73 [+0.15] TEST: Tx drop increased [ OK ] # 71.96 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.60 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 72.92 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 73.22 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 73.39 [+0.17] TEST: Tx drop increased [ OK ] # 74.03 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.65 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.96 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 75.28 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.43 [+0.15] TEST: Tx drop increased [ OK ] # 88.46 [+13.03] # 88.46 [+0.00] Backup nexthop ID - ping # 88.46 [+0.00] ------------------------ # 92.49 [+4.03] TEST: Ping with backup nexthop ID [ OK ] # 97.91 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.24 [+13.33] # 111.24 [+0.00] Backup nexthop ID - torture test # 111.24 [+0.00] -------------------------------- # 142.18 [+30.94] TEST: Torture test [ OK ] # 143.03 [+0.85] # 143.03 [+0.00] Tests passed: 89 # 143.03 [+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__->