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.50 [+9.50] # 9.50 [+0.00] Backup port # 9.51 [+0.00] ----------- # 10.56 [+1.06] TEST: Forwarding out of swp1 [ OK ] # 10.86 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 11.08 [+0.22] TEST: swp1 carrier off [ OK ] # 11.57 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.05 [+0.22] TEST: swp1 carrier on [ OK ] # 12.25 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.72 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.01 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.23 [+0.22] TEST: swp1 carrier off [ OK ] # 13.72 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.22 [+0.23] TEST: swp1 carrier on [ OK ] # 14.68 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.97 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.63 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.90 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.11 [+0.21] TEST: swp1 carrier off [ OK ] # 16.60 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.86 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.29 [+10.42] # 27.29 [+0.00] Backup nexthop ID # 27.29 [+0.00] ----------------- # 28.83 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.31 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.82 [+0.24] TEST: swp1 carrier off [ OK ] # 30.30 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.57 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.84 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.11 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.33 [+0.22] TEST: swp1 carrier on [ OK ] # 31.51 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.00 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.28 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.50 [+0.22] TEST: swp1 carrier off [ OK ] # 33.00 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.26 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.54 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.81 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.03 [+0.22] TEST: swp1 carrier on [ OK ] # 34.53 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.80 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.07 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.34 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.52 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.01 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.28 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.82 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.06 [+0.24] TEST: swp1 carrier off [ OK ] # 37.56 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 37.83 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.11 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 38.38 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.77 [+10.40] # 48.77 [+0.00] Backup nexthop ID - invalid IDs # 48.77 [+0.00] ------------------------------- # 50.41 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.59 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.83 [+0.24] TEST: swp1 carrier off [ OK ] # 51.30 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.87 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 51.98 [+0.11] TEST: No Tx drop increase [ OK ] # 52.15 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.64 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.91 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.17 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.28 [+0.11] TEST: Tx drop increased [ OK ] # 53.55 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.29 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.57 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.66 [+0.09] TEST: Tx drop increased [ OK ] # 54.82 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.83 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.94 [+0.11] TEST: Tx drop increased [ OK ] # 56.39 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.88 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.15 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.43 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.53 [+0.09] TEST: Tx drop increased [ OK ] # 67.76 [+10.23] # 67.76 [+0.00] Backup nexthop ID - ping # 67.76 [+0.00] ------------------------ # 71.24 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.57 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.96 [+10.39] # 86.96 [+0.00] Backup nexthop ID - torture test # 86.96 [+0.00] -------------------------------- # 117.65 [+30.69] TEST: Torture test [ OK ] # 118.25 [+0.60] # 118.25 [+0.00] Tests passed: 83 # 118.25 [+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__->