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.29 [+9.29] # 9.29 [+0.00] Backup port # 9.29 [+0.00] ----------- # 10.50 [+1.21] TEST: Forwarding out of swp1 [ OK ] # 10.74 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 10.97 [+0.22] TEST: swp1 carrier off [ OK ] # 11.42 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.71 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.93 [+0.22] TEST: swp1 carrier on [ OK ] # 12.10 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.57 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.85 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.06 [+0.21] TEST: swp1 carrier off [ OK ] # 13.51 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.99 [+0.23] TEST: swp1 carrier on [ OK ] # 14.44 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 14.69 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.87 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.33 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.58 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.23] TEST: swp1 carrier off [ OK ] # 16.26 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.65 [+10.13] # 26.65 [+0.00] Backup nexthop ID # 26.65 [+0.00] ----------------- # 28.11 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.60 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 28.86 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.10 [+0.23] TEST: swp1 carrier off [ OK ] # 29.56 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.81 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.09 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.34 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.57 [+0.23] TEST: swp1 carrier on [ OK ] # 30.74 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.20 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.46 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.68 [+0.22] TEST: swp1 carrier off [ OK ] # 32.13 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.39 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.65 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.90 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.13 [+0.23] TEST: swp1 carrier on [ OK ] # 33.58 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.84 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.09 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.35 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.52 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.00 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.25 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.51 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.79 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.01 [+0.22] TEST: swp1 carrier off [ OK ] # 36.49 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.74 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.99 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.24 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.39 [+10.15] # 47.39 [+0.00] Backup nexthop ID - invalid IDs # 47.39 [+0.00] ------------------------------- # 48.89 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.06 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.29 [+0.23] TEST: swp1 carrier off [ OK ] # 49.77 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.29 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 50.39 [+0.11] TEST: No Tx drop increase [ OK ] # 50.56 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.01 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 51.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.63 [+0.10] TEST: Tx drop increased [ OK ] # 51.90 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.38 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.63 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.90 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.00 [+0.10] TEST: Tx drop increased [ OK ] # 53.17 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.66 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.92 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.18 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.28 [+0.10] TEST: Tx drop increased [ OK ] # 54.74 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.22 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.75 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.86 [+0.11] TEST: Tx drop increased [ OK ] # 65.94 [+10.08] # 65.94 [+0.00] Backup nexthop ID - ping # 65.94 [+0.00] ------------------------ # 69.36 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 74.67 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.80 [+10.12] # 84.80 [+0.00] Backup nexthop ID - torture test # 84.80 [+0.00] -------------------------------- # 115.49 [+30.69] TEST: Torture test [ OK ] # 116.10 [+0.62] # 116.10 [+0.00] Tests passed: 83 # 116.10 [+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__->