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.50 [+9.50] # 9.50 [+0.00] Backup port # 9.50 [+0.00] ----------- # 10.55 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 10.85 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 11.07 [+0.22] TEST: swp1 carrier off [ OK ] # 11.56 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.84 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.08 [+0.23] TEST: swp1 carrier on [ OK ] # 12.24 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.73 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.99 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 13.21 [+0.23] TEST: swp1 carrier off [ OK ] # 13.70 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.22 [+0.23] TEST: swp1 carrier on [ OK ] # 14.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.98 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.66 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.16 [+0.24] TEST: swp1 carrier off [ OK ] # 16.65 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.39 [+10.45] # 27.39 [+0.00] Backup nexthop ID # 27.39 [+0.00] ----------------- # 28.97 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.47 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 29.72 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.95 [+0.22] TEST: swp1 carrier off [ OK ] # 30.45 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 30.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.00 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.28 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.50 [+0.22] TEST: swp1 carrier on [ OK ] # 31.67 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.19 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.44 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.67 [+0.24] TEST: swp1 carrier off [ OK ] # 33.15 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.42 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.68 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.94 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.18 [+0.24] TEST: swp1 carrier on [ OK ] # 34.68 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.97 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 35.21 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 35.48 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.66 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.15 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.43 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.71 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.00 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.23 [+0.24] TEST: swp1 carrier off [ OK ] # 37.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.97 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.49 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.81 [+10.32] # 48.81 [+0.00] Backup nexthop ID - invalid IDs # 48.81 [+0.00] ------------------------------- # 50.48 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.66 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.89 [+0.23] TEST: swp1 carrier off [ OK ] # 51.39 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.68 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 51.95 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.05 [+0.10] TEST: No Tx drop increase [ OK ] # 52.24 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.26 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.36 [+0.10] TEST: Tx drop increased [ OK ] # 53.64 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.10 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.35 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.62 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.72 [+0.10] TEST: Tx drop increased [ OK ] # 54.91 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.41 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.66 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.94 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.05 [+0.11] TEST: Tx drop increased [ OK ] # 56.50 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.97 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.23 [+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 ] # 67.83 [+10.21] # 67.83 [+0.00] Backup nexthop ID - ping # 67.84 [+0.00] ------------------------ # 71.40 [+3.57] TEST: Ping with backup nexthop ID [ OK ] # 76.74 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.06 [+10.31] # 87.06 [+0.00] Backup nexthop ID - torture test # 87.06 [+0.00] -------------------------------- # 117.78 [+30.72] TEST: Torture test [ OK ] # 118.40 [+0.62] # 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__->