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.30 [+9.30] # 9.30 [+0.00] Backup port # 9.30 [+0.00] ----------- # 10.60 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 10.87 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.07 [+0.20] TEST: swp1 carrier off [ OK ] # 11.53 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.82 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.04 [+0.22] TEST: swp1 carrier on [ OK ] # 12.21 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.65 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.14 [+0.23] TEST: swp1 carrier off [ OK ] # 13.61 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.85 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.08 [+0.22] TEST: swp1 carrier on [ OK ] # 14.56 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 14.82 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.01 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.47 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.71 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.93 [+0.22] TEST: swp1 carrier off [ OK ] # 16.40 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.66 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.89 [+10.23] # 26.89 [+0.00] Backup nexthop ID # 26.89 [+0.00] ----------------- # 28.56 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.04 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.30 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.54 [+0.24] TEST: swp1 carrier off [ OK ] # 30.01 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.55 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 30.81 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.05 [+0.24] TEST: swp1 carrier on [ OK ] # 31.23 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.68 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.94 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.16 [+0.22] TEST: swp1 carrier off [ OK ] # 32.61 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.89 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.13 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 33.39 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.60 [+0.21] TEST: swp1 carrier on [ OK ] # 34.09 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.37 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.64 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.89 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.06 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.55 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.81 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.07 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.36 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.56 [+0.21] TEST: swp1 carrier off [ OK ] # 37.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.30 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.58 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.86 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.05 [+10.19] # 48.05 [+0.00] Backup nexthop ID - invalid IDs # 48.05 [+0.00] ------------------------------- # 49.57 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.75 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 49.98 [+0.23] TEST: swp1 carrier off [ OK ] # 50.44 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.96 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.05 [+0.09] TEST: No Tx drop increase [ OK ] # 51.22 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.72 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.25 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.35 [+0.10] TEST: Tx drop increased [ OK ] # 52.61 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.08 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.35 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.59 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.70 [+0.11] TEST: Tx drop increased [ OK ] # 53.87 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.35 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.61 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.89 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.99 [+0.10] TEST: Tx drop increased [ OK ] # 55.42 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.88 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.15 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.42 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.51 [+0.09] TEST: Tx drop increased [ OK ] # 66.82 [+10.32] # 66.82 [+0.00] Backup nexthop ID - ping # 66.82 [+0.00] ------------------------ # 70.38 [+3.55] TEST: Ping with backup nexthop ID [ OK ] # 75.69 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.08 [+10.39] # 86.08 [+0.00] Backup nexthop ID - torture test # 86.08 [+0.00] -------------------------------- # 116.79 [+30.70] TEST: Torture test [ OK ] # 117.39 [+0.61] # 117.39 [+0.00] Tests passed: 83 # 117.39 [+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__->