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.07 [+12.07] # 12.07 [+0.00] Backup port # 12.07 [+0.00] ----------- # 13.53 [+1.46] TEST: Forwarding out of swp1 [ OK ] # 13.90 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 14.20 [+0.30] TEST: swp1 carrier off [ OK ] # 14.77 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 15.12 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.44 [+0.32] TEST: swp1 carrier on [ OK ] # 15.68 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.28 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.59 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.92 [+0.34] TEST: swp1 carrier off [ OK ] # 17.52 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.82 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 18.12 [+0.31] TEST: swp1 carrier on [ OK ] # 18.74 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.06 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.36 [+0.30] TEST: swp1 administratively down [ OK ] # 19.97 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.27 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 20.58 [+0.31] TEST: swp1 administratively up [ OK ] # 21.17 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.53 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.77 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.34 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 22.68 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.02 [+0.33] TEST: swp1 carrier off [ OK ] # 23.62 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 23.94 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.86 [+12.93] # 36.87 [+0.00] Backup nexthop ID # 36.87 [+0.00] ----------------- # 39.02 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.62 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 39.96 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.27 [+0.32] TEST: swp1 carrier off [ OK ] # 40.85 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 41.18 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.52 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.82 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.15 [+0.33] TEST: swp1 carrier on [ OK ] # 42.41 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.98 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.31 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.62 [+0.31] TEST: swp1 carrier off [ OK ] # 44.22 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.55 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.90 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 45.23 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.53 [+0.30] TEST: swp1 carrier on [ OK ] # 46.14 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.45 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 46.78 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.10 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.33 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.93 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 48.28 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.60 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.93 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.23 [+0.30] TEST: swp1 carrier off [ OK ] # 49.84 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 50.16 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.50 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 50.82 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.89 [+13.07] # 63.89 [+0.00] Backup nexthop ID - invalid IDs # 63.89 [+0.00] ------------------------------- # 66.26 [+2.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.48 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 66.83 [+0.36] TEST: swp1 carrier off [ OK ] # 67.45 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 67.79 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.16 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 68.32 [+0.16] TEST: No Tx drop increase [ OK ] # 68.55 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.16 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.51 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.83 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.97 [+0.14] TEST: Tx drop increased [ OK ] # 70.33 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.93 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.28 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.62 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.78 [+0.15] TEST: Tx drop increased [ OK ] # 72.02 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.60 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 72.96 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 73.31 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.44 [+0.13] TEST: Tx drop increased [ OK ] # 74.09 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.69 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 75.03 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.37 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 75.54 [+0.16] TEST: Tx drop increased [ OK ] # 88.75 [+13.22] # 88.75 [+0.00] Backup nexthop ID - ping # 88.75 [+0.00] ------------------------ # 92.78 [+4.02] TEST: Ping with backup nexthop ID [ OK ] # 98.21 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.23 [+13.02] # 111.23 [+0.00] Backup nexthop ID - torture test # 111.23 [+0.00] -------------------------------- # 142.21 [+30.98] TEST: Torture test [ OK ] # 143.49 [+1.28] # 143.50 [+0.00] Tests passed: 89 # 143.50 [+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__->