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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 10.61 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.90 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.13 [+0.23] TEST: swp1 carrier off [ OK ] # 11.59 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.88 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.12 [+0.24] TEST: swp1 carrier on [ OK ] # 12.30 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.80 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.07 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.31 [+0.24] TEST: swp1 carrier off [ OK ] # 13.79 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.05 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.29 [+0.25] TEST: swp1 carrier on [ OK ] # 14.77 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.04 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.23 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.72 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.22 [+0.25] TEST: swp1 carrier off [ OK ] # 16.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.96 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.28 [+10.32] # 27.28 [+0.00] Backup nexthop ID # 27.28 [+0.00] ----------------- # 28.82 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.29 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.57 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.80 [+0.23] TEST: swp1 carrier off [ OK ] # 30.28 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.53 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 30.81 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.07 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.29 [+0.21] TEST: swp1 carrier on [ OK ] # 31.47 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.97 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.21 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.44 [+0.23] TEST: swp1 carrier off [ OK ] # 32.90 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.18 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.45 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.72 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.95 [+0.23] TEST: swp1 carrier on [ OK ] # 34.44 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.71 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.97 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.27 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.45 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.93 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.19 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.47 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.74 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.97 [+0.23] TEST: swp1 carrier off [ OK ] # 37.47 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 37.74 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.01 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.28 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.60 [+10.33] # 48.60 [+0.00] Backup nexthop ID - invalid IDs # 48.60 [+0.00] ------------------------------- # 50.24 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.43 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.66 [+0.23] TEST: swp1 carrier off [ OK ] # 51.14 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.40 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.69 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.79 [+0.10] TEST: No Tx drop increase [ OK ] # 51.97 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.44 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.70 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.98 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.07 [+0.10] TEST: Tx drop increased [ OK ] # 53.34 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.81 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.08 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.36 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.45 [+0.09] TEST: Tx drop increased [ OK ] # 54.64 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.12 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.41 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 55.67 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.77 [+0.10] TEST: Tx drop increased [ OK ] # 56.21 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.70 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.98 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.25 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.34 [+0.10] TEST: Tx drop increased [ OK ] # 67.66 [+10.32] # 67.66 [+0.00] Backup nexthop ID - ping # 67.67 [+0.00] ------------------------ # 71.12 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 76.45 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.71 [+10.25] # 86.71 [+0.00] Backup nexthop ID - torture test # 86.71 [+0.00] -------------------------------- # 117.41 [+30.70] TEST: Torture test [ OK ] # 118.08 [+0.66] # 118.08 [+0.00] Tests passed: 83 # 118.08 [+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__->