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.32 [+9.32] # 9.32 [+0.00] Backup port # 9.32 [+0.00] ----------- # 10.31 [+1.00] TEST: Forwarding out of swp1 [ OK ] # 10.59 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 10.80 [+0.21] TEST: swp1 carrier off [ OK ] # 11.24 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 11.48 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 11.70 [+0.22] TEST: swp1 carrier on [ OK ] # 11.89 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.36 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.61 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.82 [+0.21] TEST: swp1 carrier off [ OK ] # 13.27 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.53 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.75 [+0.22] TEST: swp1 carrier on [ OK ] # 14.20 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 14.45 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.62 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.06 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.54 [+0.21] TEST: swp1 carrier off [ OK ] # 15.99 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.25 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.17 [+9.92] # 26.17 [+0.00] Backup nexthop ID # 26.17 [+0.00] ----------------- # 27.63 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.08 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.33 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 28.55 [+0.22] TEST: swp1 carrier off [ OK ] # 28.97 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 29.24 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 29.49 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 29.75 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 29.96 [+0.21] TEST: swp1 carrier on [ OK ] # 30.11 [+0.15] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.58 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.84 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.05 [+0.21] TEST: swp1 carrier off [ OK ] # 31.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.07 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.30 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.51 [+0.20] TEST: swp1 carrier on [ OK ] # 32.95 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.46 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 33.72 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.93 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.42 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.69 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.25 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.50 [+0.25] TEST: swp1 carrier off [ OK ] # 36.00 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 36.29 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 36.57 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.84 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.70 [+10.86] # 47.70 [+0.00] Backup nexthop ID - invalid IDs # 47.70 [+0.00] ------------------------------- # 49.45 [+1.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.61 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.83 [+0.22] TEST: swp1 carrier off [ OK ] # 50.33 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.60 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.88 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 50.97 [+0.10] TEST: No Tx drop increase [ OK ] # 51.14 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.63 [+0.49] 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.27 [+0.10] TEST: Tx drop increased [ OK ] # 52.55 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.02 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.26 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.53 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.63 [+0.10] TEST: Tx drop increased [ OK ] # 53.79 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.24 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.49 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.75 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.85 [+0.11] TEST: Tx drop increased [ OK ] # 55.30 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.79 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.05 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.33 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.44 [+0.11] TEST: Tx drop increased [ OK ] # 66.69 [+10.25] # 66.69 [+0.00] Backup nexthop ID - ping # 66.69 [+0.00] ------------------------ # 70.17 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 75.48 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.60 [+10.12] # 85.60 [+0.00] Backup nexthop ID - torture test # 85.60 [+0.00] -------------------------------- # 116.29 [+30.69] TEST: Torture test [ OK ] # 116.93 [+0.64] # 116.93 [+0.00] Tests passed: 83 # 116.93 [+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__->