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.35 [+9.35] # 9.35 [+0.00] Backup port # 9.35 [+0.00] ----------- # 10.69 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 10.96 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.18 [+0.22] TEST: swp1 carrier off [ OK ] # 11.65 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.14 [+0.21] TEST: swp1 carrier on [ OK ] # 12.31 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.77 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.06 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.29 [+0.23] TEST: swp1 carrier off [ OK ] # 13.74 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.20 [+0.21] TEST: swp1 carrier on [ OK ] # 14.67 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.09 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.54 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.80 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.01 [+0.21] TEST: swp1 carrier off [ OK ] # 16.47 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.73 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.25 [+10.52] # 27.25 [+0.00] Backup nexthop ID # 27.25 [+0.00] ----------------- # 28.78 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.23 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.49 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.72 [+0.24] TEST: swp1 carrier off [ OK ] # 30.22 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 30.50 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.75 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.01 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.25 [+0.24] TEST: swp1 carrier on [ OK ] # 31.44 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.93 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.18 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.41 [+0.23] TEST: swp1 carrier off [ OK ] # 32.88 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.15 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.42 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.69 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.92 [+0.23] TEST: swp1 carrier on [ OK ] # 34.40 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.67 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.95 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.22 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.38 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.88 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.13 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.40 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.67 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.89 [+0.23] TEST: swp1 carrier off [ OK ] # 37.36 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.63 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.91 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.18 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.35 [+10.16] # 48.35 [+0.00] Backup nexthop ID - invalid IDs # 48.35 [+0.00] ------------------------------- # 49.84 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.00 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.22 [+0.21] TEST: swp1 carrier off [ OK ] # 50.70 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.97 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.21 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 51.31 [+0.10] TEST: No Tx drop increase [ OK ] # 51.47 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.97 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.24 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.50 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.60 [+0.09] TEST: Tx drop increased [ OK ] # 52.85 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.33 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.85 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.96 [+0.11] TEST: Tx drop increased [ OK ] # 54.12 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.59 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.10 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.21 [+0.10] TEST: Tx drop increased [ OK ] # 55.67 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.15 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.43 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.74 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 56.86 [+0.12] TEST: Tx drop increased [ OK ] # 67.32 [+10.46] # 67.32 [+0.00] Backup nexthop ID - ping # 67.32 [+0.00] ------------------------ # 70.92 [+3.60] TEST: Ping with backup nexthop ID [ OK ] # 76.24 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.21 [+9.97] # 86.21 [+0.00] Backup nexthop ID - torture test # 86.22 [+0.00] -------------------------------- # 116.88 [+30.67] TEST: Torture test [ OK ] # 117.49 [+0.61] # 117.49 [+0.00] Tests passed: 83 # 117.49 [+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__->