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.23 [+9.23] # 9.23 [+0.00] Backup port # 9.23 [+0.00] ----------- # 10.22 [+0.98] TEST: Forwarding out of swp1 [ OK ] # 10.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.69 [+0.22] TEST: swp1 carrier off [ OK ] # 11.14 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.41 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.62 [+0.21] TEST: swp1 carrier on [ OK ] # 11.79 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.26 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.50 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 12.71 [+0.21] TEST: swp1 carrier off [ OK ] # 13.15 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.40 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.61 [+0.21] TEST: swp1 carrier on [ OK ] # 14.07 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 14.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.50 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 14.95 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.19 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.40 [+0.21] TEST: swp1 carrier off [ OK ] # 15.86 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.11 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.02 [+9.91] # 26.02 [+0.00] Backup nexthop ID # 26.02 [+0.00] ----------------- # 27.50 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 27.95 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.43 [+0.22] TEST: swp1 carrier off [ OK ] # 28.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.15 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.42 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 29.67 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 29.88 [+0.21] TEST: swp1 carrier on [ OK ] # 30.04 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.49 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 30.75 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 30.95 [+0.20] TEST: swp1 carrier off [ OK ] # 31.39 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 31.66 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.92 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.18 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.38 [+0.20] TEST: swp1 carrier on [ OK ] # 32.84 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.08 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 33.33 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 33.59 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.75 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.21 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.46 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 34.72 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.97 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.19 [+0.22] TEST: swp1 carrier off [ OK ] # 35.63 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 35.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.13 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 36.38 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.32 [+9.94] # 46.32 [+0.00] Backup nexthop ID - invalid IDs # 46.32 [+0.00] ------------------------------- # 48.01 [+1.68] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.18 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.42 [+0.24] TEST: swp1 carrier off [ OK ] # 48.97 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 49.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 49.54 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 49.67 [+0.12] TEST: No Tx drop increase [ OK ] # 49.86 [+0.20] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.38 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 50.67 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 50.95 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 51.06 [+0.10] TEST: Tx drop increased [ OK ] # 51.35 [+0.30] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.91 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 52.20 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 52.49 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.61 [+0.12] TEST: Tx drop increased [ OK ] # 52.83 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.41 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 53.68 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.03 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 54.15 [+0.11] TEST: Tx drop increased [ OK ] # 54.64 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.15 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 55.42 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.72 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 55.83 [+0.11] TEST: Tx drop increased [ OK ] # 66.28 [+10.45] # 66.28 [+0.00] Backup nexthop ID - ping # 66.28 [+0.00] ------------------------ # 69.75 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 75.07 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.04 [+9.97] # 85.04 [+0.00] Backup nexthop ID - torture test # 85.04 [+0.00] -------------------------------- # 115.71 [+30.67] TEST: Torture test [ OK ] # 116.35 [+0.64] # 116.35 [+0.00] Tests passed: 83 # 116.35 [+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__->