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.35 [+9.35] # 9.35 [+0.00] Backup port # 9.35 [+0.00] ----------- # 10.40 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.69 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 10.90 [+0.21] TEST: swp1 carrier off [ OK ] # 11.39 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.63 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.87 [+0.23] TEST: swp1 carrier on [ OK ] # 12.05 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.52 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.79 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.02 [+0.22] TEST: swp1 carrier off [ OK ] # 13.46 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.74 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.00 [+0.25] TEST: swp1 carrier on [ OK ] # 14.46 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.72 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.91 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.36 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.85 [+0.23] TEST: swp1 carrier off [ OK ] # 16.34 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.59 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.88 [+10.29] # 26.88 [+0.00] Backup nexthop ID # 26.88 [+0.00] ----------------- # 28.40 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.86 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.13 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.36 [+0.23] TEST: swp1 carrier off [ OK ] # 29.83 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.09 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.37 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 30.64 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.87 [+0.23] TEST: swp1 carrier on [ OK ] # 31.04 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.51 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.78 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.00 [+0.23] TEST: swp1 carrier off [ OK ] # 32.46 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.74 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.00 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.25 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.48 [+0.23] TEST: swp1 carrier on [ OK ] # 33.93 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 34.21 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.48 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.75 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.92 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.39 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.71 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.00 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.28 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.52 [+0.24] TEST: swp1 carrier off [ OK ] # 37.04 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 37.32 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.58 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.87 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.06 [+10.19] # 48.06 [+0.00] Backup nexthop ID - invalid IDs # 48.06 [+0.00] ------------------------------- # 49.79 [+1.73] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.99 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.28 [+0.29] TEST: swp1 carrier off [ OK ] # 50.83 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 51.15 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 51.42 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 51.51 [+0.09] TEST: No Tx drop increase [ OK ] # 51.68 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.15 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.42 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.68 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.77 [+0.09] TEST: Tx drop increased [ OK ] # 53.03 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.60 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 53.87 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.16 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.25 [+0.09] TEST: Tx drop increased [ OK ] # 54.44 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.91 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.20 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.45 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.55 [+0.10] TEST: Tx drop increased [ OK ] # 56.04 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.54 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.79 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.07 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.20 [+0.13] TEST: Tx drop increased [ OK ] # 67.64 [+10.44] # 67.64 [+0.00] Backup nexthop ID - ping # 67.64 [+0.00] ------------------------ # 71.20 [+3.56] TEST: Ping with backup nexthop ID [ OK ] # 76.52 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.54 [+10.02] # 86.54 [+0.00] Backup nexthop ID - torture test # 86.54 [+0.00] -------------------------------- # 117.26 [+30.71] TEST: Torture test [ OK ] # 117.86 [+0.60] # 117.86 [+0.00] Tests passed: 83 # 117.86 [+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__->