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.45 [+9.45] # 9.45 [+0.00] Backup port # 9.45 [+0.00] ----------- # 10.62 [+1.16] TEST: Forwarding out of swp1 [ OK ] # 10.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.13 [+0.24] TEST: swp1 carrier off [ OK ] # 11.61 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.89 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.12 [+0.23] TEST: swp1 carrier on [ OK ] # 12.30 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.79 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.05 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.28 [+0.23] TEST: swp1 carrier off [ OK ] # 13.73 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 14.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.24 [+0.23] TEST: swp1 carrier on [ OK ] # 14.71 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.61 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.11 [+0.22] TEST: swp1 carrier off [ OK ] # 16.59 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.84 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.04 [+10.19] # 27.04 [+0.00] Backup nexthop ID # 27.04 [+0.00] ----------------- # 28.55 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.01 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.27 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.49 [+0.22] TEST: swp1 carrier off [ OK ] # 29.97 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.22 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.47 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.75 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.97 [+0.22] TEST: swp1 carrier on [ OK ] # 31.12 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.59 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.85 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.06 [+0.21] TEST: swp1 carrier off [ OK ] # 32.54 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.05 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.31 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.53 [+0.22] TEST: swp1 carrier on [ OK ] # 34.03 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.28 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.80 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.97 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.46 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.71 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.98 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.25 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.47 [+0.22] TEST: swp1 carrier off [ OK ] # 36.95 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.24 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 37.50 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.77 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.94 [+10.17] # 47.94 [+0.00] Backup nexthop ID - invalid IDs # 47.94 [+0.00] ------------------------------- # 49.47 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.64 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.86 [+0.22] TEST: swp1 carrier off [ OK ] # 50.36 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.62 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.91 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 51.00 [+0.09] TEST: No Tx drop increase [ OK ] # 51.16 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.64 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.91 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.18 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.28 [+0.10] TEST: Tx drop increased [ OK ] # 52.55 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.01 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 53.28 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.53 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.64 [+0.10] TEST: Tx drop increased [ OK ] # 53.80 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.29 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.54 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.81 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.90 [+0.10] TEST: Tx drop increased [ OK ] # 55.31 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.81 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.08 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.35 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.44 [+0.09] TEST: Tx drop increased [ OK ] # 66.59 [+10.15] # 66.59 [+0.00] Backup nexthop ID - ping # 66.59 [+0.00] ------------------------ # 69.97 [+3.38] TEST: Ping with backup nexthop ID [ OK ] # 75.28 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.36 [+10.08] # 85.36 [+0.00] Backup nexthop ID - torture test # 85.36 [+0.00] -------------------------------- # 116.03 [+30.67] TEST: Torture test [ OK ] # 116.65 [+0.62] # 116.65 [+0.00] Tests passed: 83 # 116.65 [+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__->