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.53 [+9.53] # 9.53 [+0.00] Backup port # 9.53 [+0.00] ----------- # 10.60 [+1.06] TEST: Forwarding out of swp1 [ OK ] # 10.87 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.09 [+0.22] TEST: swp1 carrier off [ OK ] # 11.57 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.07 [+0.24] TEST: swp1 carrier on [ OK ] # 12.25 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.72 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.00 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.22 [+0.22] TEST: swp1 carrier off [ OK ] # 13.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.22 [+0.23] TEST: swp1 carrier on [ OK ] # 14.71 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 14.99 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.66 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.95 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.22 [+0.28] TEST: swp1 carrier off [ OK ] # 16.72 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.00 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 28.13 [+11.13] # 28.13 [+0.00] Backup nexthop ID # 28.13 [+0.00] ----------------- # 29.73 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.22 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.49 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.75 [+0.26] TEST: swp1 carrier off [ OK ] # 31.21 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 31.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.78 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 32.05 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.29 [+0.23] TEST: swp1 carrier on [ OK ] # 32.49 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.98 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 33.26 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.49 [+0.23] TEST: swp1 carrier off [ OK ] # 33.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 34.26 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.53 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.80 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.04 [+0.24] TEST: swp1 carrier on [ OK ] # 35.53 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.80 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.08 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.35 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.56 [+0.21] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.05 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 37.33 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.60 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.87 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.12 [+0.25] TEST: swp1 carrier off [ OK ] # 38.64 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 38.93 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 39.19 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 39.46 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.08 [+10.62] # 50.08 [+0.00] Backup nexthop ID - invalid IDs # 50.08 [+0.00] ------------------------------- # 51.81 [+1.73] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.98 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 52.22 [+0.24] TEST: swp1 carrier off [ OK ] # 52.75 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 53.01 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.29 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 53.39 [+0.11] TEST: No Tx drop increase [ OK ] # 53.58 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.05 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.33 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.61 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.71 [+0.10] TEST: Tx drop increased [ OK ] # 54.96 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.45 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.00 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.10 [+0.11] TEST: Tx drop increased [ OK ] # 56.28 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.76 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.29 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 57.38 [+0.09] TEST: Tx drop increased [ OK ] # 57.85 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.35 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 58.62 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.92 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 59.01 [+0.10] TEST: Tx drop increased [ OK ] # 69.43 [+10.42] # 69.43 [+0.00] Backup nexthop ID - ping # 69.43 [+0.00] ------------------------ # 72.95 [+3.52] TEST: Ping with backup nexthop ID [ OK ] # 78.26 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.68 [+10.42] # 88.68 [+0.00] Backup nexthop ID - torture test # 88.68 [+0.00] -------------------------------- # 119.38 [+30.70] TEST: Torture test [ OK ] # 119.99 [+0.61] # 119.99 [+0.00] Tests passed: 83 # 119.99 [+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__->