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.54 [+9.54] # 9.54 [+0.00] Backup port # 9.54 [+0.00] ----------- # 10.60 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 10.87 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.10 [+0.23] TEST: swp1 carrier off [ OK ] # 11.58 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.85 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.09 [+0.25] TEST: swp1 carrier on [ OK ] # 12.25 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.76 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.03 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.27 [+0.23] TEST: swp1 carrier off [ OK ] # 13.76 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.05 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.28 [+0.23] TEST: swp1 carrier on [ OK ] # 14.78 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.04 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.98 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.20 [+0.22] TEST: swp1 carrier off [ OK ] # 16.69 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.97 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.36 [+10.39] # 27.36 [+0.00] Backup nexthop ID # 27.36 [+0.00] ----------------- # 28.95 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.44 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 29.74 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.96 [+0.23] TEST: swp1 carrier off [ OK ] # 30.42 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.68 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.22 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.44 [+0.22] TEST: swp1 carrier on [ OK ] # 31.63 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.13 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.40 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.64 [+0.23] TEST: swp1 carrier off [ OK ] # 33.13 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.41 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.65 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.92 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.17 [+0.25] TEST: swp1 carrier on [ OK ] # 34.63 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.90 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.16 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.43 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.60 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.06 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.33 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.59 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.86 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.09 [+0.24] TEST: swp1 carrier off [ OK ] # 37.58 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.86 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.13 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.42 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.84 [+10.42] # 48.84 [+0.00] Backup nexthop ID - invalid IDs # 48.84 [+0.00] ------------------------------- # 50.45 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.61 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.85 [+0.24] TEST: swp1 carrier off [ OK ] # 51.34 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.60 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.88 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.99 [+0.11] TEST: No Tx drop increase [ OK ] # 52.16 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.66 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.92 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.21 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.30 [+0.10] TEST: Tx drop increased [ OK ] # 53.56 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.07 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.33 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.60 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.71 [+0.11] TEST: Tx drop increased [ OK ] # 54.88 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.37 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.62 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.89 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.01 [+0.12] TEST: Tx drop increased [ OK ] # 56.46 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.97 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 57.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.51 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.62 [+0.11] TEST: Tx drop increased [ OK ] # 68.06 [+10.44] # 68.06 [+0.00] Backup nexthop ID - ping # 68.06 [+0.00] ------------------------ # 71.69 [+3.63] TEST: Ping with backup nexthop ID [ OK ] # 77.02 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.42 [+10.39] # 87.42 [+0.00] Backup nexthop ID - torture test # 87.42 [+0.00] -------------------------------- # 118.15 [+30.73] TEST: Torture test [ OK ] # 118.79 [+0.64] # 118.79 [+0.00] Tests passed: 83 # 118.79 [+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__->