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.42 [+9.42] # 9.42 [+0.00] Backup port # 9.42 [+0.00] ----------- # 10.57 [+1.15] TEST: Forwarding out of swp1 [ OK ] # 10.83 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.04 [+0.21] TEST: swp1 carrier off [ OK ] # 11.50 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.80 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.02 [+0.22] TEST: swp1 carrier on [ OK ] # 12.19 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.68 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.96 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.19 [+0.23] TEST: swp1 carrier off [ OK ] # 13.64 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.89 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.12 [+0.23] TEST: swp1 carrier on [ OK ] # 14.60 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.85 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.04 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.50 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.76 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.98 [+0.22] TEST: swp1 carrier off [ OK ] # 16.44 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.70 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.87 [+10.17] # 26.87 [+0.00] Backup nexthop ID # 26.87 [+0.00] ----------------- # 28.40 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.85 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 29.13 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.37 [+0.23] TEST: swp1 carrier off [ OK ] # 29.83 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.39 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 30.68 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.90 [+0.22] TEST: swp1 carrier on [ OK ] # 31.08 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.57 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 31.84 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.06 [+0.22] TEST: swp1 carrier off [ OK ] # 32.53 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.81 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.07 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.35 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.57 [+0.22] TEST: swp1 carrier on [ OK ] # 34.04 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.32 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.59 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.86 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.04 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.52 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.80 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.06 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.35 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.58 [+0.23] TEST: swp1 carrier off [ OK ] # 37.06 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.32 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.61 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.90 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.32 [+10.43] # 48.32 [+0.00] Backup nexthop ID - invalid IDs # 48.32 [+0.00] ------------------------------- # 49.94 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.10 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.33 [+0.23] TEST: swp1 carrier off [ OK ] # 50.81 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.07 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.34 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.44 [+0.10] TEST: No Tx drop increase [ OK ] # 51.61 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.10 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.37 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.63 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.73 [+0.10] TEST: Tx drop increased [ OK ] # 52.98 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.46 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.73 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.97 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.08 [+0.10] TEST: Tx drop increased [ OK ] # 54.24 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.70 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.95 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.22 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.32 [+0.10] TEST: Tx drop increased [ OK ] # 55.76 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.25 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.50 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.75 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.87 [+0.12] TEST: Tx drop increased [ OK ] # 67.17 [+10.30] # 67.17 [+0.00] Backup nexthop ID - ping # 67.17 [+0.00] ------------------------ # 70.63 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 75.94 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.21 [+10.27] # 86.22 [+0.00] Backup nexthop ID - torture test # 86.22 [+0.00] -------------------------------- # 116.91 [+30.70] TEST: Torture test [ OK ] # 117.57 [+0.66] # 117.57 [+0.00] Tests passed: 83 # 117.57 [+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__->