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.60 [+9.60] # 9.60 [+0.00] Backup port # 9.60 [+0.00] ----------- # 10.69 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 11.03 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 11.27 [+0.23] TEST: swp1 carrier off [ OK ] # 11.77 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.06 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.31 [+0.25] TEST: swp1 carrier on [ OK ] # 12.50 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.97 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.26 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.49 [+0.23] TEST: swp1 carrier off [ OK ] # 13.96 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.44 [+0.23] TEST: swp1 carrier on [ OK ] # 14.92 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.20 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.37 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.83 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 16.09 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.32 [+0.23] TEST: swp1 carrier off [ OK ] # 16.82 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.09 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.50 [+10.41] # 27.50 [+0.00] Backup nexthop ID # 27.50 [+0.00] ----------------- # 29.12 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.61 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.13 [+0.24] TEST: swp1 carrier off [ OK ] # 30.61 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.89 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.18 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.43 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.66 [+0.24] TEST: swp1 carrier on [ OK ] # 31.85 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.32 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.57 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.80 [+0.23] TEST: swp1 carrier off [ OK ] # 33.29 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.57 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.81 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.09 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.31 [+0.22] TEST: swp1 carrier on [ OK ] # 34.79 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.05 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.33 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.60 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.76 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.25 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.52 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.81 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.06 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.29 [+0.23] TEST: swp1 carrier off [ OK ] # 37.80 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.06 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.33 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.58 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.93 [+10.35] # 48.93 [+0.00] Backup nexthop ID - invalid IDs # 48.93 [+0.00] ------------------------------- # 50.57 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.77 [+0.20] TEST: Valid nexthop as backup nexthop [ OK ] # 51.01 [+0.23] TEST: swp1 carrier off [ OK ] # 51.52 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.78 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.06 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.17 [+0.11] TEST: No Tx drop increase [ OK ] # 52.35 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.84 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.11 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.37 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.48 [+0.10] TEST: Tx drop increased [ OK ] # 53.77 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.25 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.52 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.79 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.90 [+0.11] TEST: Tx drop increased [ OK ] # 55.06 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.81 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.09 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.18 [+0.09] TEST: Tx drop increased [ OK ] # 56.64 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.10 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.37 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.65 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.76 [+0.11] TEST: Tx drop increased [ OK ] # 68.24 [+10.48] # 68.24 [+0.00] Backup nexthop ID - ping # 68.24 [+0.00] ------------------------ # 71.87 [+3.63] TEST: Ping with backup nexthop ID [ OK ] # 77.21 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.92 [+10.71] # 87.92 [+0.00] Backup nexthop ID - torture test # 87.92 [+0.00] -------------------------------- # 118.65 [+30.73] TEST: Torture test [ OK ] # 119.28 [+0.63] # 119.28 [+0.00] Tests passed: 83 # 119.28 [+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__->