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.28 [+12.28] # 12.28 [+0.00] Backup port # 12.28 [+0.00] ----------- # 13.89 [+1.61] TEST: Forwarding out of swp1 [ OK ] # 14.24 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.55 [+0.31] TEST: swp1 carrier off [ OK ] # 15.11 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 15.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.35] TEST: swp1 carrier on [ OK ] # 16.02 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.61 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.94 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.23 [+0.30] TEST: swp1 carrier off [ OK ] # 17.83 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 18.18 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.46 [+0.29] TEST: swp1 carrier on [ OK ] # 19.05 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 19.39 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.68 [+0.29] TEST: swp1 administratively down [ OK ] # 20.25 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 20.58 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.90 [+0.32] TEST: swp1 administratively up [ OK ] # 21.49 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.82 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.06 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.65 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.96 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 23.25 [+0.29] TEST: swp1 carrier off [ OK ] # 23.87 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 24.24 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 37.47 [+13.23] # 37.47 [+0.00] Backup nexthop ID # 37.47 [+0.00] ----------------- # 39.62 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.24 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.55 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.86 [+0.31] TEST: swp1 carrier off [ OK ] # 41.46 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 41.80 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.13 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 42.46 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.77 [+0.30] TEST: swp1 carrier on [ OK ] # 43.02 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.60 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.93 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.24 [+0.31] TEST: swp1 carrier off [ OK ] # 44.81 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 45.15 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.49 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 45.83 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.15 [+0.32] TEST: swp1 carrier on [ OK ] # 46.76 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 47.08 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.40 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.73 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.00 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.59 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 48.90 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 49.25 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 49.58 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.89 [+0.31] TEST: swp1 carrier off [ OK ] # 50.48 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.83 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 51.16 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.49 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.47 [+12.98] # 64.47 [+0.00] Backup nexthop ID - invalid IDs # 64.47 [+0.00] ------------------------------- # 66.61 [+2.13] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.86 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.17 [+0.31] TEST: swp1 carrier off [ OK ] # 67.79 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.13 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.46 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 68.60 [+0.14] TEST: No Tx drop increase [ OK ] # 68.83 [+0.22] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.42 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 69.76 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.10 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.23 [+0.14] TEST: Tx drop increased [ OK ] # 70.60 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.20 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 71.55 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.87 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.02 [+0.14] TEST: Tx drop increased [ OK ] # 72.26 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.83 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 73.17 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.50 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.64 [+0.14] TEST: Tx drop increased [ OK ] # 74.25 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.84 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 75.14 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 75.47 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.63 [+0.16] TEST: Tx drop increased [ OK ] # 89.21 [+13.57] # 89.21 [+0.00] Backup nexthop ID - ping # 89.21 [+0.00] ------------------------ # 93.30 [+4.09] TEST: Ping with backup nexthop ID [ OK ] # 98.79 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.01 [+13.22] # 112.01 [+0.00] Backup nexthop ID - torture test # 112.01 [+0.00] -------------------------------- # 143.06 [+31.04] TEST: Torture test [ OK ] # 143.96 [+0.91] # 143.97 [+0.00] Tests passed: 89 # 143.97 [+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__->