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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.62 [+0.00] ----------- # 10.90 [+1.29] TEST: Forwarding out of swp1 [ OK ] # 11.15 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.37 [+0.22] TEST: swp1 carrier off [ OK ] # 11.84 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.10 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.32 [+0.22] TEST: swp1 carrier on [ OK ] # 12.50 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.96 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 13.23 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.46 [+0.22] TEST: swp1 carrier off [ OK ] # 13.92 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.18 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.40 [+0.22] TEST: swp1 carrier on [ OK ] # 14.88 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.15 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.32 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.77 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 16.03 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.24 [+0.21] TEST: swp1 carrier off [ OK ] # 16.72 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.16 [+10.18] # 27.16 [+0.00] Backup nexthop ID # 27.16 [+0.00] ----------------- # 28.65 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.11 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 29.36 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.60 [+0.24] TEST: swp1 carrier off [ OK ] # 30.07 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.60 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.86 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.07 [+0.22] TEST: swp1 carrier on [ OK ] # 31.24 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.69 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 31.94 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.15 [+0.21] TEST: swp1 carrier off [ OK ] # 32.61 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.87 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.11 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 33.38 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.61 [+0.23] TEST: swp1 carrier on [ OK ] # 34.07 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.59 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.83 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.99 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.46 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.70 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.95 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.24 [+0.29] 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.21 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.46 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.72 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.82 [+10.10] # 47.82 [+0.00] Backup nexthop ID - invalid IDs # 47.82 [+0.00] ------------------------------- # 49.30 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.46 [+0.15] TEST: Valid nexthop as backup nexthop [ OK ] # 49.68 [+0.22] TEST: swp1 carrier off [ OK ] # 50.16 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.41 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.68 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.77 [+0.09] TEST: No Tx drop increase [ OK ] # 50.94 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.44 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.69 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.95 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.05 [+0.10] TEST: Tx drop increased [ OK ] # 52.32 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.79 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.06 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.32 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.42 [+0.10] TEST: Tx drop increased [ OK ] # 53.59 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.04 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.30 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.57 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.67 [+0.10] TEST: Tx drop increased [ OK ] # 55.11 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.58 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.84 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.09 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.19 [+0.10] TEST: Tx drop increased [ OK ] # 66.29 [+10.09] # 66.29 [+0.00] Backup nexthop ID - ping # 66.29 [+0.00] ------------------------ # 69.65 [+3.36] TEST: Ping with backup nexthop ID [ OK ] # 74.96 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.07 [+10.11] # 85.07 [+0.00] Backup nexthop ID - torture test # 85.07 [+0.00] -------------------------------- # 115.74 [+30.67] TEST: Torture test [ OK ] # 116.40 [+0.66] # 116.40 [+0.00] Tests passed: 83 # 116.40 [+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__->