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.54 [+9.54] # 9.54 [+0.00] Backup port # 9.54 [+0.00] ----------- # 10.84 [+1.29] TEST: Forwarding out of swp1 [ OK ] # 11.11 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.32 [+0.22] TEST: swp1 carrier off [ OK ] # 11.81 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.07 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.31 [+0.23] TEST: swp1 carrier on [ OK ] # 12.47 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.97 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.46 [+0.23] TEST: swp1 carrier off [ OK ] # 13.94 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.21 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.43 [+0.22] TEST: swp1 carrier on [ OK ] # 14.93 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.22 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 15.39 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.88 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.14 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.37 [+0.22] TEST: swp1 carrier off [ OK ] # 16.85 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.12 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.50 [+10.37] # 27.50 [+0.00] Backup nexthop ID # 27.50 [+0.00] ----------------- # 29.06 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.51 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.79 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.02 [+0.23] TEST: swp1 carrier off [ OK ] # 30.50 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.78 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.06 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.33 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.58 [+0.24] TEST: swp1 carrier on [ OK ] # 31.75 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.23 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.49 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.72 [+0.23] TEST: swp1 carrier off [ OK ] # 33.20 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.45 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.71 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.98 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.20 [+0.22] TEST: swp1 carrier on [ OK ] # 34.69 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.94 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.48 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.64 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.13 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.40 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.64 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 36.92 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.14 [+0.22] TEST: swp1 carrier off [ OK ] # 37.60 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.87 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.13 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.42 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.87 [+10.45] # 48.87 [+0.00] Backup nexthop ID - invalid IDs # 48.87 [+0.00] ------------------------------- # 50.40 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.58 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.80 [+0.22] TEST: swp1 carrier off [ OK ] # 51.28 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.54 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.80 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.91 [+0.11] TEST: No Tx drop increase [ OK ] # 52.08 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.55 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.79 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.06 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.17 [+0.11] TEST: Tx drop increased [ OK ] # 53.43 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.92 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.18 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.45 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.55 [+0.10] TEST: Tx drop increased [ OK ] # 54.73 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.22 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.75 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.86 [+0.10] TEST: Tx drop increased [ OK ] # 56.30 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.76 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.05 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 57.32 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.41 [+0.09] TEST: Tx drop increased [ OK ] # 67.70 [+10.28] # 67.70 [+0.00] Backup nexthop ID - ping # 67.70 [+0.00] ------------------------ # 71.15 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 76.46 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.84 [+10.39] # 86.84 [+0.00] Backup nexthop ID - torture test # 86.84 [+0.00] -------------------------------- # 117.53 [+30.69] TEST: Torture test [ OK ] # 118.17 [+0.64] # 118.17 [+0.00] Tests passed: 83 # 118.17 [+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__->