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.38 [+9.38] # 9.38 [+0.00] Backup port # 9.38 [+0.00] ----------- # 10.60 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.89 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.10 [+0.21] TEST: swp1 carrier off [ OK ] # 11.55 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.83 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.06 [+0.23] TEST: swp1 carrier on [ OK ] # 12.23 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.69 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.93 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 13.15 [+0.22] TEST: swp1 carrier off [ OK ] # 13.59 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.08 [+0.24] TEST: swp1 carrier on [ OK ] # 14.57 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.01 [+0.17] 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.92 [+0.21] TEST: swp1 carrier off [ OK ] # 16.37 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.62 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.58 [+9.96] # 26.58 [+0.00] Backup nexthop ID # 26.58 [+0.00] ----------------- # 28.04 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.51 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.79 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.00 [+0.22] TEST: swp1 carrier off [ OK ] # 29.46 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.71 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.96 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.23 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.46 [+0.23] TEST: swp1 carrier on [ OK ] # 30.63 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.06 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 31.31 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.52 [+0.21] TEST: swp1 carrier off [ OK ] # 31.98 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.50 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.75 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.96 [+0.21] TEST: swp1 carrier on [ OK ] # 33.42 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.68 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.93 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.18 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.34 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.81 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.08 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.60 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.82 [+0.22] TEST: swp1 carrier off [ OK ] # 36.30 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.55 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.80 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.05 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.00 [+9.95] # 47.00 [+0.00] Backup nexthop ID - invalid IDs # 47.00 [+0.00] ------------------------------- # 48.48 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.66 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.87 [+0.21] TEST: swp1 carrier off [ OK ] # 49.35 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.61 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 49.87 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 49.98 [+0.11] TEST: No Tx drop increase [ OK ] # 50.16 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.64 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.90 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.17 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.26 [+0.09] TEST: Tx drop increased [ OK ] # 51.50 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.96 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.46 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 52.56 [+0.09] TEST: Tx drop increased [ OK ] # 52.71 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.18 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 53.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.68 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 53.78 [+0.10] TEST: Tx drop increased [ OK ] # 54.19 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.65 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.89 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.14 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.24 [+0.10] TEST: Tx drop increased [ OK ] # 65.27 [+10.03] # 65.27 [+0.00] Backup nexthop ID - ping # 65.27 [+0.00] ------------------------ # 68.69 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 73.99 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.97 [+9.99] # 83.97 [+0.00] Backup nexthop ID - torture test # 83.98 [+0.00] -------------------------------- # 114.62 [+30.64] TEST: Torture test [ OK ] # 115.24 [+0.62] # 115.24 [+0.00] Tests passed: 83 # 115.24 [+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__->