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.63 [+11.63] # 11.63 [+0.00] Backup port # 11.63 [+0.00] ----------- # 13.41 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 13.74 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.04 [+0.31] TEST: swp1 carrier off [ OK ] # 14.69 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.04 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.34 [+0.30] TEST: swp1 carrier on [ OK ] # 15.57 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.20 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.50 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 16.83 [+0.33] TEST: swp1 carrier off [ OK ] # 17.44 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.78 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.10 [+0.33] TEST: swp1 carrier on [ OK ] # 18.71 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.03 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.34 [+0.31] TEST: swp1 administratively down [ OK ] # 19.94 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 20.27 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.59 [+0.31] TEST: swp1 administratively up [ OK ] # 21.22 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.53 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.77 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.44 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 22.77 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 23.11 [+0.34] TEST: swp1 carrier off [ OK ] # 23.71 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 24.03 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.93 [+12.91] # 36.94 [+0.00] Backup nexthop ID # 36.94 [+0.00] ----------------- # 39.19 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.78 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 40.07 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 40.42 [+0.34] TEST: swp1 carrier off [ OK ] # 41.04 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 41.34 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.67 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.01 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.31 [+0.30] TEST: swp1 carrier on [ OK ] # 42.57 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.15 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.49 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.78 [+0.29] TEST: swp1 carrier off [ OK ] # 44.42 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 44.78 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.11 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 45.43 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.76 [+0.33] TEST: swp1 carrier on [ OK ] # 46.36 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 46.76 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.12 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 47.52 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.75 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.34 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 48.65 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 48.98 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 49.33 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.64 [+0.30] TEST: swp1 carrier off [ OK ] # 50.23 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 50.57 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.90 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 51.23 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.96 [+12.72] # 63.96 [+0.00] Backup nexthop ID - invalid IDs # 63.96 [+0.00] ------------------------------- # 66.18 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.42 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 66.74 [+0.32] TEST: swp1 carrier off [ OK ] # 67.41 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 67.76 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.09 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.26 [+0.17] TEST: No Tx drop increase [ OK ] # 68.50 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.10 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.43 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.77 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.92 [+0.15] TEST: Tx drop increased [ OK ] # 70.30 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.92 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.25 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.57 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.72 [+0.15] TEST: Tx drop increased [ OK ] # 71.99 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.68 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 72.98 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 73.32 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.45 [+0.13] TEST: Tx drop increased [ OK ] # 74.01 [+0.56] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.59 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 74.92 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.25 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.39 [+0.14] TEST: Tx drop increased [ OK ] # 88.23 [+12.84] # 88.23 [+0.00] Backup nexthop ID - ping # 88.23 [+0.00] ------------------------ # 92.25 [+4.02] TEST: Ping with backup nexthop ID [ OK ] # 97.67 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.59 [+12.91] # 110.59 [+0.00] Backup nexthop ID - torture test # 110.59 [+0.00] -------------------------------- # 141.55 [+30.96] TEST: Torture test [ OK ] # 142.41 [+0.86] # 142.41 [+0.00] Tests passed: 89 # 142.41 [+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__->