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.23 [+9.23] # 9.23 [+0.00] Backup port # 9.23 [+0.00] ----------- # 10.61 [+1.38] TEST: Forwarding out of swp1 [ OK ] # 10.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.09 [+0.21] TEST: swp1 carrier off [ OK ] # 11.55 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.84 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.04 [+0.20] TEST: swp1 carrier on [ OK ] # 12.19 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.62 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 12.90 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.11 [+0.21] TEST: swp1 carrier off [ OK ] # 13.55 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.81 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.02 [+0.21] TEST: swp1 carrier on [ OK ] # 14.50 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.92 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.39 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.87 [+0.22] TEST: swp1 carrier off [ OK ] # 16.31 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.53 [+9.95] # 26.53 [+0.00] Backup nexthop ID # 26.53 [+0.00] ----------------- # 28.01 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.47 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.73 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.94 [+0.21] TEST: swp1 carrier off [ OK ] # 29.39 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.65 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.90 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.16 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.38 [+0.22] TEST: swp1 carrier on [ OK ] # 30.55 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.01 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.25 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 31.47 [+0.22] TEST: swp1 carrier off [ OK ] # 31.94 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.20 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.47 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.71 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.92 [+0.21] TEST: swp1 carrier on [ OK ] # 33.38 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.63 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.88 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.13 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.29 [+0.15] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.76 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.02 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.28 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.56 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.76 [+0.20] TEST: swp1 carrier off [ OK ] # 36.23 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.99 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.88 [+9.89] # 46.88 [+0.00] Backup nexthop ID - invalid IDs # 46.88 [+0.00] ------------------------------- # 48.38 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.55 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.77 [+0.22] TEST: swp1 carrier off [ OK ] # 49.25 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.50 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 49.75 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 49.84 [+0.09] TEST: No Tx drop increase [ OK ] # 50.00 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.44 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 50.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.94 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 51.05 [+0.11] TEST: Tx drop increased [ OK ] # 51.29 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.74 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 51.99 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.25 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.33 [+0.09] TEST: Tx drop increased [ OK ] # 52.49 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 52.96 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.48 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.59 [+0.11] TEST: Tx drop increased [ OK ] # 53.99 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.44 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.68 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 54.93 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.03 [+0.09] TEST: Tx drop increased [ OK ] # 64.99 [+9.97] # 64.99 [+0.00] Backup nexthop ID - ping # 64.99 [+0.00] ------------------------ # 68.40 [+3.41] TEST: Ping with backup nexthop ID [ OK ] # 73.69 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.60 [+9.90] # 83.60 [+0.00] Backup nexthop ID - torture test # 83.60 [+0.00] -------------------------------- # 114.26 [+30.66] TEST: Torture test [ OK ] # 114.94 [+0.67] # 114.94 [+0.00] Tests passed: 83 # 114.94 [+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__->