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.44 [+9.44] # 9.44 [+0.00] Backup port # 9.44 [+0.00] ----------- # 10.48 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.75 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.98 [+0.23] TEST: swp1 carrier off [ OK ] # 11.46 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.73 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.97 [+0.24] TEST: swp1 carrier on [ OK ] # 12.15 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.65 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 12.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.16 [+0.23] TEST: swp1 carrier off [ OK ] # 13.63 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.14 [+0.25] TEST: swp1 carrier on [ OK ] # 14.61 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.87 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.06 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.55 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.83 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.06 [+0.23] TEST: swp1 carrier off [ OK ] # 16.52 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.15 [+10.36] # 27.15 [+0.00] Backup nexthop ID # 27.15 [+0.00] ----------------- # 28.73 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.20 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.50 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 29.74 [+0.24] TEST: swp1 carrier off [ OK ] # 30.22 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.75 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.00 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.23 [+0.23] TEST: swp1 carrier on [ OK ] # 31.39 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.88 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.15 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.38 [+0.23] TEST: swp1 carrier off [ OK ] # 32.83 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 33.11 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.37 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.64 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.86 [+0.22] TEST: swp1 carrier on [ OK ] # 34.35 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.61 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.88 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.14 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.31 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.81 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.09 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.64 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.87 [+0.23] TEST: swp1 carrier off [ OK ] # 37.37 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 37.63 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.93 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 38.19 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.61 [+10.42] # 48.61 [+0.00] Backup nexthop ID - invalid IDs # 48.61 [+0.00] ------------------------------- # 50.31 [+1.70] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.49 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.71 [+0.22] TEST: swp1 carrier off [ OK ] # 51.20 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.48 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.74 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.86 [+0.12] TEST: No Tx drop increase [ OK ] # 52.04 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.52 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.77 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.15 [+0.10] TEST: Tx drop increased [ OK ] # 53.42 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.90 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.16 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.42 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.52 [+0.11] TEST: Tx drop increased [ OK ] # 54.71 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.19 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.44 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.71 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.81 [+0.10] TEST: Tx drop increased [ OK ] # 56.25 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.74 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.28 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.38 [+0.10] TEST: Tx drop increased [ OK ] # 68.04 [+10.66] # 68.04 [+0.00] Backup nexthop ID - ping # 68.04 [+0.00] ------------------------ # 71.52 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.84 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.37 [+10.53] # 87.37 [+0.00] Backup nexthop ID - torture test # 87.37 [+0.00] -------------------------------- # 118.07 [+30.69] TEST: Torture test [ OK ] # 118.72 [+0.65] # 118.72 [+0.00] Tests passed: 83 # 118.72 [+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__->