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.40 [+9.40] # 9.40 [+0.00] Backup port # 9.40 [+0.00] ----------- # 10.68 [+1.27] TEST: Forwarding out of swp1 [ OK ] # 10.95 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.18 [+0.23] TEST: swp1 carrier off [ OK ] # 11.64 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.91 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.14 [+0.23] TEST: swp1 carrier on [ OK ] # 12.29 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.78 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.06 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.29 [+0.23] TEST: swp1 carrier off [ OK ] # 13.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.05 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.28 [+0.23] TEST: swp1 carrier on [ OK ] # 14.78 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.05 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.25 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.74 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.02 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.24 [+0.23] TEST: swp1 carrier off [ OK ] # 16.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.98 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.11 [+10.13] # 27.11 [+0.00] Backup nexthop ID # 27.11 [+0.00] ----------------- # 28.60 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.05 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 29.34 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.55 [+0.22] TEST: swp1 carrier off [ OK ] # 30.02 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.28 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.83 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.04 [+0.21] TEST: swp1 carrier on [ OK ] # 31.23 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.69 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.95 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.17 [+0.22] TEST: swp1 carrier off [ OK ] # 32.66 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.93 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.19 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.45 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.67 [+0.22] TEST: swp1 carrier on [ OK ] # 34.13 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 34.40 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.66 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.92 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.09 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.57 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.09 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.37 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.58 [+0.21] TEST: swp1 carrier off [ OK ] # 37.05 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.30 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.57 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.86 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.96 [+10.10] # 47.96 [+0.00] Backup nexthop ID - invalid IDs # 47.96 [+0.00] ------------------------------- # 49.47 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.64 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.85 [+0.21] TEST: swp1 carrier off [ OK ] # 50.35 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.61 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.86 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.95 [+0.10] TEST: No Tx drop increase [ OK ] # 51.12 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.61 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.88 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.14 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.25 [+0.11] TEST: Tx drop increased [ OK ] # 52.51 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.98 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.26 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.54 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.66 [+0.11] TEST: Tx drop increased [ OK ] # 53.84 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.32 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.60 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.86 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.97 [+0.11] TEST: Tx drop increased [ OK ] # 55.39 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.88 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.14 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.38 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.50 [+0.11] TEST: Tx drop increased [ OK ] # 66.62 [+10.12] # 66.62 [+0.00] Backup nexthop ID - ping # 66.62 [+0.00] ------------------------ # 70.14 [+3.52] TEST: Ping with backup nexthop ID [ OK ] # 75.45 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.60 [+10.15] # 85.60 [+0.00] Backup nexthop ID - torture test # 85.60 [+0.00] -------------------------------- # 116.28 [+30.68] TEST: Torture test [ OK ] # 116.91 [+0.64] # 116.91 [+0.00] Tests passed: 83 # 116.91 [+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__->