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.61 [+0.00] ----------- # 10.96 [+1.35] TEST: Forwarding out of swp1 [ OK ] # 11.26 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 11.50 [+0.25] TEST: swp1 carrier off [ OK ] # 11.99 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.27 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.49 [+0.22] TEST: swp1 carrier on [ OK ] # 12.68 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.18 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.44 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.68 [+0.24] TEST: swp1 carrier off [ OK ] # 14.17 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.43 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.66 [+0.23] TEST: swp1 carrier on [ OK ] # 15.17 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.61 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.09 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.36 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.59 [+0.23] TEST: swp1 carrier off [ OK ] # 17.08 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.34 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.71 [+10.37] # 27.71 [+0.00] Backup nexthop ID # 27.71 [+0.00] ----------------- # 29.23 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.71 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.99 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.22 [+0.23] TEST: swp1 carrier off [ OK ] # 30.68 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.21 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.46 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.70 [+0.24] TEST: swp1 carrier on [ OK ] # 31.87 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.33 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 32.58 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.82 [+0.23] TEST: swp1 carrier off [ OK ] # 33.29 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.56 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.81 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.07 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.31 [+0.24] TEST: swp1 carrier on [ OK ] # 34.79 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.03 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 35.29 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.55 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.74 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.22 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.47 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.75 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.01 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.23 [+0.23] TEST: swp1 carrier off [ OK ] # 37.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.95 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 38.22 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.48 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.76 [+10.27] # 48.76 [+0.00] Backup nexthop ID - invalid IDs # 48.76 [+0.00] ------------------------------- # 50.37 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.56 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.80 [+0.24] TEST: swp1 carrier off [ OK ] # 51.31 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.56 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.83 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.93 [+0.10] TEST: No Tx drop increase [ OK ] # 52.09 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.60 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.13 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.22 [+0.08] TEST: Tx drop increased [ OK ] # 53.50 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.00 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.29 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.56 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.64 [+0.08] TEST: Tx drop increased [ OK ] # 54.81 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.29 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.54 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.81 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.92 [+0.11] TEST: Tx drop increased [ OK ] # 56.35 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.82 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.46 [+0.10] TEST: Tx drop increased [ OK ] # 67.59 [+10.13] # 67.59 [+0.00] Backup nexthop ID - ping # 67.59 [+0.00] ------------------------ # 71.03 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 76.36 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.60 [+10.24] # 86.60 [+0.00] Backup nexthop ID - torture test # 86.60 [+0.00] -------------------------------- # 117.27 [+30.67] TEST: Torture test [ OK ] # 117.89 [+0.62] # 117.89 [+0.00] Tests passed: 83 # 117.89 [+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__->