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.48 [+9.48] # 9.48 [+0.00] Backup port # 9.48 [+0.00] ----------- # 10.66 [+1.18] 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.61 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.91 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.16 [+0.25] TEST: swp1 carrier on [ OK ] # 12.34 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.81 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.10 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.33 [+0.23] TEST: swp1 carrier off [ OK ] # 13.80 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.06 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.29 [+0.23] TEST: swp1 carrier on [ OK ] # 14.76 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.02 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.23 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.19 [+0.22] TEST: swp1 carrier off [ OK ] # 16.66 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.93 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.35 [+10.42] # 27.35 [+0.00] Backup nexthop ID # 27.35 [+0.00] ----------------- # 29.44 [+2.09] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.96 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 30.24 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.49 [+0.25] TEST: swp1 carrier off [ OK ] # 31.00 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 31.27 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.55 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.82 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.06 [+0.24] TEST: swp1 carrier on [ OK ] # 32.24 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.72 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.00 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.24 [+0.25] TEST: swp1 carrier off [ OK ] # 33.82 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 34.11 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 34.44 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 34.78 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.17 [+0.39] TEST: swp1 carrier on [ OK ] # 35.77 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 36.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.46 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 36.81 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.02 [+0.22] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.64 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 38.24 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.57 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.87 [+0.30] TEST: swp1 carrier off [ OK ] # 39.47 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 39.76 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 40.08 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 40.39 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.90 [+10.50] # 50.90 [+0.00] Backup nexthop ID - invalid IDs # 50.90 [+0.00] ------------------------------- # 52.54 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.72 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 52.99 [+0.26] TEST: swp1 carrier off [ OK ] # 53.57 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 53.86 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.12 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 54.22 [+0.11] TEST: No Tx drop increase [ OK ] # 54.41 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.91 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.19 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.47 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.57 [+0.10] TEST: Tx drop increased [ OK ] # 55.83 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 56.30 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.59 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 56.84 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.95 [+0.11] TEST: Tx drop increased [ OK ] # 57.12 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.62 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.90 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.23 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 58.35 [+0.12] TEST: Tx drop increased [ OK ] # 58.90 [+0.55] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 59.50 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 59.80 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 60.08 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 60.18 [+0.10] TEST: Tx drop increased [ OK ] # 71.22 [+11.04] # 71.22 [+0.00] Backup nexthop ID - ping # 71.22 [+0.00] ------------------------ # 74.67 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 80.05 [+5.38] TEST: Ping after disabling backup nexthop ID [ OK ] # 91.95 [+11.90] # 91.95 [+0.00] Backup nexthop ID - torture test # 91.95 [+0.00] -------------------------------- # 122.78 [+30.83] TEST: Torture test [ OK ] # 123.43 [+0.66] # 123.43 [+0.00] Tests passed: 83 # 123.43 [+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__->