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.37 [+9.37] # 9.37 [+0.00] Backup port # 9.37 [+0.00] ----------- # 10.59 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.85 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.07 [+0.22] TEST: swp1 carrier off [ OK ] # 11.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.82 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.05 [+0.24] TEST: swp1 carrier on [ OK ] # 12.22 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.68 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.95 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.16 [+0.21] TEST: swp1 carrier off [ OK ] # 13.63 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.88 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 14.11 [+0.24] TEST: swp1 carrier on [ OK ] # 14.59 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.86 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.03 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.49 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.77 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.99 [+0.22] TEST: swp1 carrier off [ OK ] # 16.44 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.69 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 26.80 [+10.11] # 26.80 [+0.00] Backup nexthop ID # 26.80 [+0.00] ----------------- # 28.32 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.77 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 29.02 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 29.25 [+0.22] TEST: swp1 carrier off [ OK ] # 29.70 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.96 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.23 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.48 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.70 [+0.23] TEST: swp1 carrier on [ OK ] # 30.88 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.37 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 31.63 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.85 [+0.22] TEST: swp1 carrier off [ OK ] # 32.30 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.58 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.85 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.10 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.33 [+0.23] TEST: swp1 carrier on [ OK ] # 33.78 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 34.07 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 34.33 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.60 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.78 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.26 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.52 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.81 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.08 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.30 [+0.22] TEST: swp1 carrier off [ OK ] # 36.78 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.06 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.30 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.57 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.26 [+12.69] # 50.26 [+0.00] Backup nexthop ID - invalid IDs # 50.26 [+0.00] ------------------------------- # 51.96 [+1.69] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.15 [+0.20] TEST: Valid nexthop as backup nexthop [ OK ] # 52.39 [+0.24] TEST: swp1 carrier off [ OK ] # 52.90 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.20 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 53.47 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 53.60 [+0.13] TEST: No Tx drop increase [ OK ] # 53.80 [+0.20] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.30 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.61 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 54.88 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.99 [+0.11] TEST: Tx drop increased [ OK ] # 55.28 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.78 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.05 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.33 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.45 [+0.12] TEST: Tx drop increased [ OK ] # 56.62 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.11 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.38 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.66 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 57.77 [+0.10] TEST: Tx drop increased [ OK ] # 58.22 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.70 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 58.97 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 59.24 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 59.35 [+0.11] TEST: Tx drop increased [ OK ] # 69.82 [+10.47] # 69.83 [+0.00] Backup nexthop ID - ping # 69.83 [+0.00] ------------------------ # 73.29 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 78.60 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.97 [+10.37] # 88.97 [+0.00] Backup nexthop ID - torture test # 88.98 [+0.00] -------------------------------- # 119.99 [+31.01] TEST: Torture test [ OK ] # 120.63 [+0.65] # 120.63 [+0.00] Tests passed: 83 # 120.64 [+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__->