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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 10.66 [+1.07] TEST: Forwarding out of swp1 [ OK ] # 10.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.15 [+0.24] TEST: swp1 carrier off [ OK ] # 11.65 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.94 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.18 [+0.23] TEST: swp1 carrier on [ OK ] # 12.36 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.88 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 13.15 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.37 [+0.23] TEST: swp1 carrier off [ OK ] # 13.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.14 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.37 [+0.23] TEST: swp1 carrier on [ OK ] # 14.84 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.12 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.29 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.78 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.05 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.29 [+0.24] TEST: swp1 carrier off [ OK ] # 16.79 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.05 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.40 [+10.35] # 27.40 [+0.00] Backup nexthop ID # 27.40 [+0.00] ----------------- # 28.97 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.43 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.73 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.95 [+0.22] TEST: swp1 carrier off [ OK ] # 30.44 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.72 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.00 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.26 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.49 [+0.23] TEST: swp1 carrier on [ OK ] # 31.66 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.14 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.40 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.64 [+0.24] TEST: swp1 carrier off [ OK ] # 33.14 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.42 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.69 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.96 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.20 [+0.24] TEST: swp1 carrier on [ OK ] # 34.68 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.93 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.50 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.69 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.18 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.44 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.71 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.99 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.22 [+0.23] TEST: swp1 carrier off [ OK ] # 37.71 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.99 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.25 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.51 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.93 [+10.42] # 48.93 [+0.00] Backup nexthop ID - invalid IDs # 48.93 [+0.00] ------------------------------- # 50.55 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.73 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.95 [+0.22] TEST: swp1 carrier off [ OK ] # 51.49 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 51.76 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.03 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.15 [+0.12] TEST: No Tx drop increase [ OK ] # 52.33 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.82 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.34 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.44 [+0.10] TEST: Tx drop increased [ OK ] # 53.72 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.22 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.87 [+0.11] TEST: Tx drop increased [ OK ] # 55.04 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.51 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.79 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.14 [+0.09] TEST: Tx drop increased [ OK ] # 56.61 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.09 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.36 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.63 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.73 [+0.10] TEST: Tx drop increased [ OK ] # 68.16 [+10.44] # 68.16 [+0.00] Backup nexthop ID - ping # 68.17 [+0.00] ------------------------ # 71.66 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 76.98 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.36 [+10.37] # 87.36 [+0.00] Backup nexthop ID - torture test # 87.36 [+0.00] -------------------------------- # 118.08 [+30.72] TEST: Torture test [ OK ] # 118.71 [+0.63] # 118.71 [+0.00] Tests passed: 83 # 118.71 [+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__->