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.53 [+9.53] # 9.53 [+0.00] Backup port # 9.53 [+0.00] ----------- # 10.80 [+1.27] TEST: Forwarding out of swp1 [ OK ] # 11.07 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.30 [+0.23] TEST: swp1 carrier off [ OK ] # 11.75 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 12.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.24 [+0.22] TEST: swp1 carrier on [ OK ] # 12.41 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.90 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.16 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.39 [+0.23] TEST: swp1 carrier off [ OK ] # 13.87 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.12 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.34 [+0.22] TEST: swp1 carrier on [ OK ] # 14.81 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.08 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.26 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.74 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.00 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.22 [+0.21] TEST: swp1 carrier off [ OK ] # 16.68 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.94 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.22 [+10.27] # 27.22 [+0.00] Backup nexthop ID # 27.22 [+0.00] ----------------- # 28.75 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.23 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.52 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.75 [+0.23] TEST: swp1 carrier off [ OK ] # 30.19 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 30.47 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.74 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.00 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.21 [+0.21] TEST: swp1 carrier on [ OK ] # 31.38 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.87 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.14 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.36 [+0.22] TEST: swp1 carrier off [ OK ] # 32.82 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.33 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 33.58 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.81 [+0.23] TEST: swp1 carrier on [ OK ] # 34.29 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.56 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.83 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.08 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.26 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.74 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.00 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.25 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.53 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.74 [+0.21] TEST: swp1 carrier off [ OK ] # 37.22 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.48 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.75 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.00 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.23 [+10.23] # 48.23 [+0.00] Backup nexthop ID - invalid IDs # 48.23 [+0.00] ------------------------------- # 49.73 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.89 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.12 [+0.23] TEST: swp1 carrier off [ OK ] # 50.62 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.88 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.13 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.23 [+0.10] TEST: No Tx drop increase [ OK ] # 51.41 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.89 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.17 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.42 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.53 [+0.10] TEST: Tx drop increased [ OK ] # 52.79 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.27 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.52 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.78 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.88 [+0.11] TEST: Tx drop increased [ OK ] # 54.05 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.53 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.81 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 55.06 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.17 [+0.11] TEST: Tx drop increased [ OK ] # 55.61 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.12 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.37 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.62 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.73 [+0.11] TEST: Tx drop increased [ OK ] # 66.88 [+10.15] # 66.88 [+0.00] Backup nexthop ID - ping # 66.88 [+0.00] ------------------------ # 70.35 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 75.69 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.09 [+10.40] # 86.09 [+0.00] Backup nexthop ID - torture test # 86.09 [+0.00] -------------------------------- # 116.84 [+30.75] TEST: Torture test [ OK ] # 117.45 [+0.60] # 117.45 [+0.00] Tests passed: 83 # 117.45 [+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__->