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.48 [+1.19] TEST: Forwarding out of swp1 [ OK ] # 10.73 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.95 [+0.22] TEST: swp1 carrier off [ OK ] # 11.40 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.68 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.91 [+0.23] TEST: swp1 carrier on [ OK ] # 12.10 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.57 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.83 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.04 [+0.21] TEST: swp1 carrier off [ OK ] # 13.50 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.75 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 13.98 [+0.23] TEST: swp1 carrier on [ OK ] # 14.45 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.88 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.32 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.59 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.82 [+0.23] TEST: swp1 carrier off [ OK ] # 16.25 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 16.50 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.56 [+10.07] # 26.56 [+0.00] Backup nexthop ID # 26.56 [+0.00] ----------------- # 28.04 [+1.47] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.50 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.98 [+0.21] TEST: swp1 carrier off [ OK ] # 29.46 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 29.72 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.97 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.22 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.44 [+0.22] TEST: swp1 carrier on [ OK ] # 30.60 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.09 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 31.35 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.57 [+0.22] TEST: swp1 carrier off [ OK ] # 32.03 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.29 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.56 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.83 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.05 [+0.22] TEST: swp1 carrier on [ OK ] # 33.53 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.78 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.04 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.30 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.46 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.94 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.18 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 35.45 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.72 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.94 [+0.22] TEST: swp1 carrier off [ OK ] # 36.42 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.68 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.21 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.28 [+10.07] # 47.28 [+0.00] Backup nexthop ID - invalid IDs # 47.28 [+0.00] ------------------------------- # 48.80 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.96 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.17 [+0.21] TEST: swp1 carrier off [ OK ] # 49.66 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.20 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.30 [+0.10] TEST: No Tx drop increase [ OK ] # 50.47 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.94 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.20 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.48 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 51.58 [+0.10] TEST: Tx drop increased [ OK ] # 51.84 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.31 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.55 [+0.23] TEST: Forwarding out of vx0 [ OK ] # 52.82 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.93 [+0.11] TEST: Tx drop increased [ OK ] # 53.10 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.55 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 53.81 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.08 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.19 [+0.11] TEST: Tx drop increased [ OK ] # 54.61 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.08 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.33 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.58 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.68 [+0.10] TEST: Tx drop increased [ OK ] # 65.77 [+10.09] # 65.77 [+0.00] Backup nexthop ID - ping # 65.77 [+0.00] ------------------------ # 69.24 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 74.55 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.63 [+10.08] # 84.63 [+0.00] Backup nexthop ID - torture test # 84.64 [+0.00] -------------------------------- # 115.31 [+30.68] TEST: Torture test [ OK ] # 115.91 [+0.59] # 115.91 [+0.00] Tests passed: 83 # 115.91 [+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__->