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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.62 [+0.00] ----------- # 10.72 [+1.10] TEST: Forwarding out of swp1 [ OK ] # 10.99 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.22 [+0.23] TEST: swp1 carrier off [ OK ] # 11.71 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.95 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.21 [+0.26] TEST: swp1 carrier on [ OK ] # 12.37 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.87 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.16 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.39 [+0.23] TEST: swp1 carrier off [ OK ] # 13.87 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.14 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.39 [+0.24] TEST: swp1 carrier on [ OK ] # 14.86 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.14 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.32 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.78 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 16.05 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.28 [+0.23] TEST: swp1 carrier off [ OK ] # 16.75 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 17.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.38 [+10.37] # 27.38 [+0.00] Backup nexthop ID # 27.38 [+0.00] ----------------- # 28.94 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.42 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.70 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.95 [+0.25] TEST: swp1 carrier off [ OK ] # 30.41 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.70 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 30.98 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.26 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.48 [+0.22] TEST: swp1 carrier on [ OK ] # 31.67 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.15 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.43 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 32.67 [+0.24] TEST: swp1 carrier off [ OK ] # 33.13 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.40 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.69 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.94 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.16 [+0.22] TEST: swp1 carrier on [ OK ] # 34.66 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.19 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.45 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.62 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.10 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.62 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.92 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.16 [+0.23] TEST: swp1 carrier off [ OK ] # 37.64 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.92 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.19 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.47 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.84 [+10.37] # 48.84 [+0.00] Backup nexthop ID - invalid IDs # 48.84 [+0.00] ------------------------------- # 50.50 [+1.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.69 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.92 [+0.23] TEST: swp1 carrier off [ OK ] # 51.39 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.69 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 51.96 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.08 [+0.13] TEST: No Tx drop increase [ OK ] # 52.25 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.73 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.99 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.27 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.36 [+0.09] TEST: Tx drop increased [ OK ] # 53.63 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.10 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.39 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.66 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.77 [+0.11] TEST: Tx drop increased [ OK ] # 54.94 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.43 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.68 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.94 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.03 [+0.09] TEST: Tx drop increased [ OK ] # 56.49 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.51 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.61 [+0.10] TEST: Tx drop increased [ OK ] # 68.01 [+10.40] # 68.02 [+0.00] Backup nexthop ID - ping # 68.02 [+0.00] ------------------------ # 71.60 [+3.58] TEST: Ping with backup nexthop ID [ OK ] # 76.92 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.28 [+10.36] # 87.28 [+0.00] Backup nexthop ID - torture test # 87.28 [+0.00] -------------------------------- # 117.99 [+30.70] TEST: Torture test [ OK ] # 118.60 [+0.61] # 118.60 [+0.00] Tests passed: 83 # 118.60 [+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__->