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.42 [+9.42] # 9.42 [+0.00] Backup port # 9.42 [+0.00] ----------- # 10.73 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 10.99 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.23 [+0.24] TEST: swp1 carrier off [ OK ] # 11.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 12.01 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.23 [+0.22] TEST: swp1 carrier on [ OK ] # 12.40 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.91 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.17 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.40 [+0.24] TEST: swp1 carrier off [ OK ] # 13.86 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.14 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.35 [+0.21] TEST: swp1 carrier on [ OK ] # 14.82 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.08 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.25 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.69 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.95 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.19 [+0.24] TEST: swp1 carrier off [ OK ] # 16.65 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.93 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.33 [+10.40] # 27.33 [+0.00] Backup nexthop ID # 27.33 [+0.00] ----------------- # 28.88 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.37 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.87 [+0.23] TEST: swp1 carrier off [ OK ] # 30.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.61 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.88 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.14 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.36 [+0.23] TEST: swp1 carrier on [ OK ] # 31.54 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.01 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.27 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.48 [+0.22] TEST: swp1 carrier off [ OK ] # 32.94 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.23 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.47 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 33.73 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.95 [+0.22] TEST: swp1 carrier on [ OK ] # 34.42 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.69 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.95 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.20 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.38 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.86 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.12 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.40 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.65 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.87 [+0.22] TEST: swp1 carrier off [ OK ] # 37.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.58 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.87 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 38.13 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.29 [+10.17] # 48.29 [+0.00] Backup nexthop ID - invalid IDs # 48.29 [+0.00] ------------------------------- # 49.82 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.00 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.22 [+0.23] TEST: swp1 carrier off [ OK ] # 50.72 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.95 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 51.21 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.30 [+0.09] TEST: No Tx drop increase [ OK ] # 51.48 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.96 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.47 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.57 [+0.10] TEST: Tx drop increased [ OK ] # 52.83 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.56 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.83 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.93 [+0.10] TEST: Tx drop increased [ OK ] # 54.09 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.57 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.84 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.11 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.21 [+0.11] TEST: Tx drop increased [ OK ] # 55.65 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.11 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.37 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.65 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.75 [+0.10] TEST: Tx drop increased [ OK ] # 66.85 [+10.11] # 66.85 [+0.00] Backup nexthop ID - ping # 66.86 [+0.00] ------------------------ # 70.34 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 75.65 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.76 [+10.11] # 85.76 [+0.00] Backup nexthop ID - torture test # 85.76 [+0.00] -------------------------------- # 116.45 [+30.69] TEST: Torture test [ OK ] # 117.06 [+0.61] # 117.06 [+0.00] Tests passed: 83 # 117.06 [+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__->