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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.61 [+0.00] ----------- # 10.87 [+1.26] TEST: Forwarding out of swp1 [ OK ] # 11.14 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.37 [+0.23] TEST: swp1 carrier off [ OK ] # 11.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.14 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.37 [+0.22] TEST: swp1 carrier on [ OK ] # 12.54 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.02 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.29 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.53 [+0.24] TEST: swp1 carrier off [ OK ] # 14.00 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.28 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.52 [+0.24] TEST: swp1 carrier on [ OK ] # 15.00 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.27 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.45 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.95 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 16.21 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.45 [+0.25] TEST: swp1 carrier off [ OK ] # 16.93 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.20 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.59 [+10.39] # 27.59 [+0.00] Backup nexthop ID # 27.59 [+0.00] ----------------- # 29.15 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.61 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.89 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.12 [+0.23] TEST: swp1 carrier off [ OK ] # 30.61 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.90 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.18 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.45 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.68 [+0.23] TEST: swp1 carrier on [ OK ] # 31.85 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.33 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.60 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.82 [+0.23] TEST: swp1 carrier off [ OK ] # 33.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.58 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.84 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.10 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.33 [+0.23] TEST: swp1 carrier on [ OK ] # 34.81 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.08 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.37 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.64 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.81 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.29 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.58 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 36.85 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.11 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.36 [+0.26] TEST: swp1 carrier off [ OK ] # 37.86 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 38.14 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.42 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.66 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.08 [+10.42] # 49.08 [+0.00] Backup nexthop ID - invalid IDs # 49.08 [+0.00] ------------------------------- # 50.63 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.80 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.02 [+0.22] TEST: swp1 carrier off [ OK ] # 51.53 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.06 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.15 [+0.09] TEST: No Tx drop increase [ OK ] # 52.33 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.81 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.45 [+0.11] TEST: Tx drop increased [ OK ] # 53.73 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.49 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.87 [+0.10] TEST: Tx drop increased [ OK ] # 55.04 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.53 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.06 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.16 [+0.10] TEST: Tx drop increased [ OK ] # 56.59 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.08 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.37 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.66 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 57.77 [+0.10] TEST: Tx drop increased [ OK ] # 68.06 [+10.29] # 68.06 [+0.00] Backup nexthop ID - ping # 68.06 [+0.00] ------------------------ # 71.51 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 76.83 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.09 [+10.26] # 87.09 [+0.00] Backup nexthop ID - torture test # 87.09 [+0.00] -------------------------------- # 117.77 [+30.68] TEST: Torture test [ OK ] # 118.40 [+0.63] # 118.40 [+0.00] Tests passed: 83 # 118.40 [+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__->