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.59 [+9.59] # 9.59 [+0.00] Backup port # 9.59 [+0.00] ----------- # 10.66 [+1.07] TEST: Forwarding out of swp1 [ OK ] # 10.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.15 [+0.23] TEST: swp1 carrier off [ OK ] # 11.63 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.13 [+0.23] TEST: swp1 carrier on [ OK ] # 12.33 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.84 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.12 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.36 [+0.24] TEST: swp1 carrier off [ OK ] # 13.85 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.12 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.35 [+0.23] TEST: swp1 carrier on [ OK ] # 14.84 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.11 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.28 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.72 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 16.00 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.25 [+0.24] TEST: swp1 carrier off [ OK ] # 16.76 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 17.03 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.84 [+10.81] # 27.84 [+0.00] Backup nexthop ID # 27.84 [+0.00] ----------------- # 29.43 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.94 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 30.23 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.50 [+0.27] TEST: swp1 carrier off [ OK ] # 30.97 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.25 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.50 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.77 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.02 [+0.25] TEST: swp1 carrier on [ OK ] # 32.20 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.71 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 32.98 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.22 [+0.24] TEST: swp1 carrier off [ OK ] # 33.71 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.98 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.25 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.53 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.75 [+0.22] TEST: swp1 carrier on [ OK ] # 35.23 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.50 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.76 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.04 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.23 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.96 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 37.24 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.50 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.72 [+0.22] TEST: swp1 carrier off [ OK ] # 38.21 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 38.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.99 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.28 [+10.29] # 49.28 [+0.00] Backup nexthop ID - invalid IDs # 49.28 [+0.00] ------------------------------- # 50.94 [+1.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.12 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.35 [+0.23] TEST: swp1 carrier off [ OK ] # 51.83 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.36 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.47 [+0.11] TEST: No Tx drop increase [ OK ] # 52.65 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.13 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.40 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.68 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.80 [+0.12] TEST: Tx drop increased [ OK ] # 54.06 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.81 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.08 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.18 [+0.10] TEST: Tx drop increased [ OK ] # 55.37 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.12 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.39 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.50 [+0.11] TEST: Tx drop increased [ OK ] # 56.93 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.39 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 57.66 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.93 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 58.04 [+0.11] TEST: Tx drop increased [ OK ] # 68.41 [+10.37] # 68.41 [+0.00] Backup nexthop ID - ping # 68.41 [+0.00] ------------------------ # 72.05 [+3.64] TEST: Ping with backup nexthop ID [ OK ] # 77.36 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.66 [+10.30] # 87.66 [+0.00] Backup nexthop ID - torture test # 87.66 [+0.00] -------------------------------- # 118.37 [+30.71] TEST: Torture test [ OK ] # 119.01 [+0.64] # 119.01 [+0.00] Tests passed: 83 # 119.01 [+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__->