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.38 [+9.38] # 9.38 [+0.00] Backup port # 9.38 [+0.00] ----------- # 10.42 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.69 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.92 [+0.23] TEST: swp1 carrier off [ OK ] # 11.40 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.66 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.90 [+0.23] TEST: swp1 carrier on [ OK ] # 12.07 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.53 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.80 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.02 [+0.22] TEST: swp1 carrier off [ OK ] # 13.48 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.74 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.96 [+0.22] TEST: swp1 carrier on [ OK ] # 14.48 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.94 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.40 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.69 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.91 [+0.22] TEST: swp1 carrier off [ OK ] # 16.37 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.63 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.79 [+10.15] # 26.79 [+0.00] Backup nexthop ID # 26.79 [+0.00] ----------------- # 28.33 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.80 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.06 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.28 [+0.22] TEST: swp1 carrier off [ OK ] # 29.74 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.29 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.56 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.80 [+0.24] TEST: swp1 carrier on [ OK ] # 30.98 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.52 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 31.83 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 32.06 [+0.22] TEST: swp1 carrier off [ OK ] # 32.56 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 32.82 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.09 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.36 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.61 [+0.25] TEST: swp1 carrier on [ OK ] # 34.11 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.36 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.69 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 34.97 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.20 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.68 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.93 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.22 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.48 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.71 [+0.23] TEST: swp1 carrier off [ OK ] # 37.25 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 37.52 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.79 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.06 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.83 [+10.77] # 48.83 [+0.00] Backup nexthop ID - invalid IDs # 48.83 [+0.00] ------------------------------- # 50.68 [+1.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.87 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.13 [+0.26] TEST: swp1 carrier off [ OK ] # 51.66 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 51.93 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.20 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.30 [+0.10] TEST: No Tx drop increase [ OK ] # 52.52 [+0.21] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.03 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.29 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.55 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.65 [+0.09] TEST: Tx drop increased [ OK ] # 53.89 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.40 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.67 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.05 [+0.10] TEST: Tx drop increased [ OK ] # 55.23 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.72 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.01 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 56.30 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 56.41 [+0.12] TEST: Tx drop increased [ OK ] # 56.85 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.35 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.63 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.88 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 57.99 [+0.10] TEST: Tx drop increased [ OK ] # 68.32 [+10.33] # 68.32 [+0.00] Backup nexthop ID - ping # 68.32 [+0.00] ------------------------ # 71.80 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 77.10 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.22 [+10.12] # 87.22 [+0.00] Backup nexthop ID - torture test # 87.22 [+0.00] -------------------------------- # 117.93 [+30.71] TEST: Torture test [ OK ] # 118.58 [+0.64] # 118.58 [+0.00] Tests passed: 83 # 118.58 [+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__->