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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.92 [+9.92] # 9.92 [+0.00] Backup port # 9.92 [+0.00] ----------- # 11.21 [+1.29] TEST: Forwarding out of swp1 [ OK ] # 11.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.69 [+0.23] TEST: swp1 carrier off [ OK ] # 12.17 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.47 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.69 [+0.22] TEST: swp1 carrier on [ OK ] # 12.87 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.35 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.64 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.87 [+0.23] TEST: swp1 carrier off [ OK ] # 14.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.81 [+0.22] TEST: swp1 carrier on [ OK ] # 15.31 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.74 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.27 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 16.54 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.77 [+0.23] TEST: swp1 carrier off [ OK ] # 17.25 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.56 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 28.46 [+10.90] # 28.46 [+0.00] Backup nexthop ID # 28.46 [+0.00] ----------------- # 30.02 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.50 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.77 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 31.00 [+0.23] TEST: swp1 carrier off [ OK ] # 31.48 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.02 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 32.29 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.55 [+0.26] TEST: swp1 carrier on [ OK ] # 32.73 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.27 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 33.55 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 33.77 [+0.21] TEST: swp1 carrier off [ OK ] # 34.28 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 34.54 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 34.81 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 35.07 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.31 [+0.23] TEST: swp1 carrier on [ OK ] # 35.78 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.05 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.32 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.58 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.79 [+0.21] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.31 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 37.60 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 37.87 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.14 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.37 [+0.23] TEST: swp1 carrier off [ OK ] # 38.87 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 39.13 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 39.40 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.69 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.20 [+10.51] # 50.20 [+0.00] Backup nexthop ID - invalid IDs # 50.20 [+0.00] ------------------------------- # 51.81 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.00 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 52.23 [+0.24] TEST: swp1 carrier off [ OK ] # 52.72 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.97 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.24 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 53.35 [+0.10] TEST: No Tx drop increase [ OK ] # 53.55 [+0.21] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.06 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.35 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.63 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.74 [+0.11] TEST: Tx drop increased [ OK ] # 55.01 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.50 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.78 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.16 [+0.11] TEST: Tx drop increased [ OK ] # 56.34 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.84 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.11 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.39 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.51 [+0.13] TEST: Tx drop increased [ OK ] # 57.99 [+0.48] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.49 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 58.74 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 59.00 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 59.11 [+0.11] TEST: Tx drop increased [ OK ] # 69.74 [+10.63] # 69.74 [+0.00] Backup nexthop ID - ping # 69.74 [+0.00] ------------------------ # 73.19 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 78.51 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.01 [+10.50] # 89.01 [+0.00] Backup nexthop ID - torture test # 89.01 [+0.00] -------------------------------- # 119.70 [+30.69] TEST: Torture test [ OK ] # 120.32 [+0.62] # 120.32 [+0.00] Tests passed: 83 # 120.32 [+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__->