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.93 [+11.93] # 11.93 [+0.00] Backup port # 11.93 [+0.00] ----------- # 13.70 [+1.76] TEST: Forwarding out of swp1 [ OK ] # 14.04 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.39 [+0.36] TEST: swp1 carrier off [ OK ] # 14.98 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 15.32 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.64 [+0.32] TEST: swp1 carrier on [ OK ] # 15.88 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.49 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.79 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 17.11 [+0.32] TEST: swp1 carrier off [ OK ] # 17.68 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 18.02 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.37 [+0.35] TEST: swp1 carrier on [ OK ] # 18.98 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.31 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.63 [+0.32] TEST: swp1 administratively down [ OK ] # 20.25 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.55 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 20.85 [+0.30] TEST: swp1 administratively up [ OK ] # 21.46 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.79 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.00 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.73 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.11 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.47 [+0.35] TEST: swp1 carrier off [ OK ] # 24.05 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 24.37 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.28 [+12.91] # 37.28 [+0.00] Backup nexthop ID # 37.28 [+0.00] ----------------- # 39.42 [+2.13] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.99 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.31 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.64 [+0.33] TEST: swp1 carrier off [ OK ] # 41.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 41.56 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.87 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 42.19 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.48 [+0.29] TEST: swp1 carrier on [ OK ] # 42.70 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.31 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.67 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.96 [+0.29] TEST: swp1 carrier off [ OK ] # 44.53 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 44.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.17 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 45.48 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.79 [+0.32] TEST: swp1 carrier on [ OK ] # 46.38 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 46.69 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.99 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.34 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.57 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.14 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 48.47 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.83 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.16 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.44 [+0.28] TEST: swp1 carrier off [ OK ] # 50.03 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.35 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.67 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.98 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.80 [+12.82] # 63.80 [+0.00] Backup nexthop ID - invalid IDs # 63.80 [+0.00] ------------------------------- # 65.92 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.19 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 66.50 [+0.31] TEST: swp1 carrier off [ OK ] # 67.13 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.45 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.76 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.91 [+0.15] TEST: No Tx drop increase [ OK ] # 68.15 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 69.09 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.44 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.59 [+0.16] TEST: Tx drop increased [ OK ] # 69.93 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.53 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.86 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.21 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.35 [+0.14] TEST: Tx drop increased [ OK ] # 71.58 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.17 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 72.48 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.83 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.98 [+0.15] TEST: Tx drop increased [ OK ] # 73.59 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.17 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 74.46 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 74.80 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.95 [+0.15] TEST: Tx drop increased [ OK ] # 87.81 [+12.86] # 87.81 [+0.00] Backup nexthop ID - ping # 87.81 [+0.00] ------------------------ # 91.92 [+4.11] TEST: Ping with backup nexthop ID [ OK ] # 97.36 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.27 [+12.92] # 110.27 [+0.00] Backup nexthop ID - torture test # 110.28 [+0.00] -------------------------------- # 141.21 [+30.94] TEST: Torture test [ OK ] # 142.09 [+0.88] # 142.09 [+0.00] Tests passed: 89 # 142.09 [+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__->