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.66 [+9.66] # 9.66 [+0.00] Backup port # 9.66 [+0.00] ----------- # 10.74 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 11.01 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.26 [+0.25] TEST: swp1 carrier off [ OK ] # 11.74 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.01 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.25 [+0.24] TEST: swp1 carrier on [ OK ] # 12.42 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.88 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.15 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.38 [+0.23] TEST: swp1 carrier off [ OK ] # 13.87 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.14 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.39 [+0.25] TEST: swp1 carrier on [ OK ] # 14.89 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.35 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.83 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.11 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.37 [+0.26] TEST: swp1 carrier off [ OK ] # 16.87 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 17.16 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.59 [+10.43] # 27.59 [+0.00] Backup nexthop ID # 27.59 [+0.00] ----------------- # 29.17 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.68 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 29.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.20 [+0.25] TEST: swp1 carrier off [ OK ] # 30.69 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.98 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.24 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 31.52 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.75 [+0.24] TEST: swp1 carrier on [ OK ] # 31.94 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.43 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.68 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.91 [+0.23] TEST: swp1 carrier off [ OK ] # 33.40 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.68 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.95 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.22 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.44 [+0.22] TEST: swp1 carrier on [ OK ] # 34.91 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.16 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.42 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.67 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.85 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.32 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.85 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.13 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.34 [+0.21] TEST: swp1 carrier off [ OK ] # 37.83 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 38.11 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.39 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.66 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.09 [+10.44] # 49.09 [+0.00] Backup nexthop ID - invalid IDs # 49.10 [+0.00] ------------------------------- # 50.90 [+1.80] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.08 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.34 [+0.26] TEST: swp1 carrier off [ OK ] # 51.87 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 52.14 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.43 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 52.52 [+0.10] TEST: No Tx drop increase [ OK ] # 52.75 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.28 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 53.55 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.84 [+0.29] 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.68 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.96 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.21 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.31 [+0.11] TEST: Tx drop increased [ OK ] # 55.51 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.98 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.28 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 56.54 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.67 [+0.12] TEST: Tx drop increased [ OK ] # 57.18 [+0.52] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.68 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 58.00 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 58.29 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 58.42 [+0.13] TEST: Tx drop increased [ OK ] # 68.92 [+10.49] # 68.92 [+0.00] Backup nexthop ID - ping # 68.92 [+0.00] ------------------------ # 72.41 [+3.50] TEST: Ping with backup nexthop ID [ OK ] # 77.76 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.87 [+11.11] # 88.87 [+0.00] Backup nexthop ID - torture test # 88.87 [+0.00] -------------------------------- # 119.55 [+30.68] TEST: Torture test [ OK ] # 120.27 [+0.71] # 120.27 [+0.00] Tests passed: 83 # 120.27 [+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__->