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.84 [+1.26] TEST: Forwarding out of swp1 [ OK ] # 11.10 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.33 [+0.23] TEST: swp1 carrier off [ OK ] # 11.81 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.11 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.34 [+0.23] TEST: swp1 carrier on [ OK ] # 12.50 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.97 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.25 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.47 [+0.22] TEST: swp1 carrier off [ OK ] # 13.94 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.19 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.45 [+0.25] TEST: swp1 carrier on [ OK ] # 14.91 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.35 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.83 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.10 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.34 [+0.24] TEST: swp1 carrier off [ OK ] # 16.83 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.09 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.37 [+10.28] # 27.37 [+0.00] Backup nexthop ID # 27.37 [+0.00] ----------------- # 28.91 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.39 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.88 [+0.23] TEST: swp1 carrier off [ OK ] # 30.36 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.62 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.89 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.16 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.39 [+0.23] TEST: swp1 carrier on [ OK ] # 31.55 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.04 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.32 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.54 [+0.22] TEST: swp1 carrier off [ OK ] # 33.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.27 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.55 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.82 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.06 [+0.24] TEST: swp1 carrier on [ OK ] # 34.52 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.77 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.04 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.29 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.47 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.99 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 36.27 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.52 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.78 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.02 [+0.23] TEST: swp1 carrier off [ OK ] # 37.49 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.01 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.26 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.47 [+10.21] # 48.47 [+0.00] Backup nexthop ID - invalid IDs # 48.47 [+0.00] ------------------------------- # 49.97 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.13 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.36 [+0.23] TEST: swp1 carrier off [ OK ] # 50.87 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.39 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.50 [+0.10] TEST: No Tx drop increase [ OK ] # 51.67 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.16 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.44 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.70 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.81 [+0.11] TEST: Tx drop increased [ OK ] # 53.07 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.55 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.84 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.10 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.20 [+0.10] TEST: Tx drop increased [ OK ] # 54.35 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.84 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.10 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.35 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.46 [+0.11] TEST: Tx drop increased [ OK ] # 55.90 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.37 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.65 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.89 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 56.99 [+0.10] TEST: Tx drop increased [ OK ] # 67.27 [+10.28] # 67.27 [+0.00] Backup nexthop ID - ping # 67.27 [+0.00] ------------------------ # 70.71 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 76.03 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.28 [+10.25] # 86.28 [+0.00] Backup nexthop ID - torture test # 86.28 [+0.00] -------------------------------- # 116.99 [+30.71] TEST: Torture test [ OK ] # 117.63 [+0.64] # 117.63 [+0.00] Tests passed: 83 # 117.63 [+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__->