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.60 [+9.60] # 9.60 [+0.00] Backup port # 9.60 [+0.00] ----------- # 10.78 [+1.18] TEST: Forwarding out of swp1 [ OK ] # 11.04 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.27 [+0.23] TEST: swp1 carrier off [ OK ] # 11.72 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.99 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.23 [+0.24] TEST: swp1 carrier on [ OK ] # 12.42 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.89 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.20 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.41 [+0.21] TEST: swp1 carrier off [ OK ] # 13.89 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.16 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.39 [+0.23] TEST: swp1 carrier on [ OK ] # 14.85 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.12 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.31 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.88 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.21 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.44 [+0.23] TEST: swp1 carrier off [ OK ] # 16.91 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 17.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.59 [+10.42] # 27.59 [+0.00] Backup nexthop ID # 27.59 [+0.00] ----------------- # 29.23 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.76 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 30.07 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 30.32 [+0.24] TEST: swp1 carrier off [ OK ] # 30.81 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.08 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.35 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.62 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.85 [+0.24] TEST: swp1 carrier on [ OK ] # 32.02 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.53 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.78 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.01 [+0.23] TEST: swp1 carrier off [ OK ] # 33.50 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.78 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.07 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 34.35 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.58 [+0.23] TEST: swp1 carrier on [ OK ] # 35.07 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.59 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.87 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.04 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.52 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 37.08 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.33 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.55 [+0.22] TEST: swp1 carrier off [ OK ] # 38.03 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 38.31 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.57 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.84 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.35 [+10.51] # 49.35 [+0.00] Backup nexthop ID - invalid IDs # 49.35 [+0.00] ------------------------------- # 51.01 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.20 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.44 [+0.23] TEST: swp1 carrier off [ OK ] # 51.98 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 52.26 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.51 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 52.63 [+0.12] TEST: No Tx drop increase [ OK ] # 52.80 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.31 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.85 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.97 [+0.12] TEST: Tx drop increased [ OK ] # 54.23 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.72 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.00 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.26 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.36 [+0.10] TEST: Tx drop increased [ OK ] # 55.53 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.02 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.28 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.65 [+0.12] TEST: Tx drop increased [ OK ] # 57.08 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.58 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.84 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 58.11 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 58.22 [+0.10] TEST: Tx drop increased [ OK ] # 68.59 [+10.37] # 68.59 [+0.00] Backup nexthop ID - ping # 68.59 [+0.00] ------------------------ # 72.35 [+3.76] TEST: Ping with backup nexthop ID [ OK ] # 77.67 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.14 [+10.47] # 88.14 [+0.00] Backup nexthop ID - torture test # 88.14 [+0.00] -------------------------------- # 118.86 [+30.71] TEST: Torture test [ OK ] # 119.52 [+0.66] # 119.52 [+0.00] Tests passed: 83 # 119.52 [+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__->