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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 10.92 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 11.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.40 [+0.23] TEST: swp1 carrier off [ OK ] # 11.87 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.18 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 12.40 [+0.22] TEST: swp1 carrier on [ OK ] # 12.60 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.06 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.33 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.57 [+0.24] TEST: swp1 carrier off [ OK ] # 14.05 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.32 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.55 [+0.23] TEST: swp1 carrier on [ OK ] # 15.05 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.31 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.98 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.48 [+0.22] TEST: swp1 carrier off [ OK ] # 16.96 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.69 [+10.47] # 27.69 [+0.00] Backup nexthop ID # 27.69 [+0.00] ----------------- # 29.26 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.76 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 30.02 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 30.25 [+0.24] TEST: swp1 carrier off [ OK ] # 30.75 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.01 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.31 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 31.57 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.82 [+0.26] TEST: swp1 carrier on [ OK ] # 31.99 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.49 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.76 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.00 [+0.24] TEST: swp1 carrier off [ OK ] # 33.47 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.74 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.99 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.26 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.49 [+0.23] TEST: swp1 carrier on [ OK ] # 34.98 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.26 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.52 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.80 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.00 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.49 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.76 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 37.05 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 37.32 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.56 [+0.24] TEST: swp1 carrier off [ OK ] # 38.06 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 38.35 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.62 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.90 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.51 [+10.61] # 49.51 [+0.00] Backup nexthop ID - invalid IDs # 49.51 [+0.00] ------------------------------- # 51.09 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.25 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.48 [+0.23] TEST: swp1 carrier off [ OK ] # 51.98 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.26 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.52 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.64 [+0.11] TEST: No Tx drop increase [ OK ] # 52.82 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.32 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.94 [+0.10] TEST: Tx drop increased [ OK ] # 54.21 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.72 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.96 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.33 [+0.11] TEST: Tx drop increased [ OK ] # 55.51 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.99 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.28 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 56.54 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.65 [+0.11] TEST: Tx drop increased [ OK ] # 57.08 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.55 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.83 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.11 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.22 [+0.11] TEST: Tx drop increased [ OK ] # 68.65 [+10.43] # 68.65 [+0.00] Backup nexthop ID - ping # 68.65 [+0.00] ------------------------ # 72.11 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 77.43 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.96 [+10.53] # 87.96 [+0.00] Backup nexthop ID - torture test # 87.96 [+0.00] -------------------------------- # 118.68 [+30.72] TEST: Torture test [ OK ] # 119.30 [+0.62] # 119.30 [+0.00] Tests passed: 83 # 119.30 [+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__->