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.63 [+9.63] # 9.63 [+0.00] Backup port # 9.63 [+0.00] ----------- # 10.92 [+1.29] TEST: Forwarding out of swp1 [ OK ] # 11.19 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.42 [+0.23] TEST: swp1 carrier off [ OK ] # 11.90 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.19 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.43 [+0.24] TEST: swp1 carrier on [ OK ] # 12.61 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.12 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.41 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.65 [+0.24] TEST: swp1 carrier off [ OK ] # 14.11 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.41 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.63 [+0.23] TEST: swp1 carrier on [ OK ] # 15.09 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.38 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.58 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.09 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 16.39 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.63 [+0.25] TEST: swp1 carrier off [ OK ] # 17.13 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.43 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 28.09 [+10.66] # 28.09 [+0.00] Backup nexthop ID # 28.09 [+0.00] ----------------- # 29.71 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.46 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.72 [+0.26] TEST: swp1 carrier off [ OK ] # 31.20 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.50 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 31.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 32.06 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.30 [+0.24] TEST: swp1 carrier on [ OK ] # 32.48 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.98 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 33.26 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.50 [+0.24] TEST: swp1 carrier off [ OK ] # 34.01 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 34.28 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.55 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.83 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.08 [+0.25] TEST: swp1 carrier on [ OK ] # 35.54 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.82 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.11 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 36.37 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.55 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.03 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 37.31 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.58 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.86 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.09 [+0.23] TEST: swp1 carrier off [ OK ] # 38.60 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 38.88 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 39.15 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.41 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.96 [+10.54] # 49.96 [+0.00] Backup nexthop ID - invalid IDs # 49.96 [+0.00] ------------------------------- # 51.74 [+1.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.94 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 52.18 [+0.24] TEST: swp1 carrier off [ OK ] # 52.70 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.22 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 53.35 [+0.13] TEST: No Tx drop increase [ OK ] # 53.56 [+0.21] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.09 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 54.37 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.68 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 54.79 [+0.11] TEST: Tx drop increased [ OK ] # 55.09 [+0.31] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.66 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 55.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.22 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 56.32 [+0.10] TEST: Tx drop increased [ OK ] # 56.55 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.04 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.29 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.56 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.67 [+0.11] TEST: Tx drop increased [ OK ] # 58.16 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.65 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 58.96 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 59.22 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 59.32 [+0.10] TEST: Tx drop increased [ OK ] # 69.91 [+10.59] # 69.91 [+0.00] Backup nexthop ID - ping # 69.91 [+0.00] ------------------------ # 73.48 [+3.57] TEST: Ping with backup nexthop ID [ OK ] # 78.81 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.72 [+10.91] # 89.72 [+0.00] Backup nexthop ID - torture test # 89.72 [+0.00] -------------------------------- # 120.48 [+30.76] TEST: Torture test [ OK ] # 121.18 [+0.70] # 121.18 [+0.00] Tests passed: 83 # 121.18 [+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__->