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.67 [+9.67] # 9.67 [+0.00] Backup port # 9.67 [+0.00] ----------- # 10.75 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 11.02 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.25 [+0.23] TEST: swp1 carrier off [ OK ] # 11.75 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.24 [+0.22] TEST: swp1 carrier on [ OK ] # 12.41 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.90 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.14 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 13.38 [+0.24] TEST: swp1 carrier off [ OK ] # 13.92 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 14.19 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.43 [+0.24] TEST: swp1 carrier on [ OK ] # 14.94 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.26 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.42 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.90 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.18 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.43 [+0.25] TEST: swp1 carrier off [ OK ] # 16.91 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.22 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 27.76 [+10.54] # 27.76 [+0.00] Backup nexthop ID # 27.76 [+0.00] ----------------- # 29.35 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.86 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 30.17 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 30.40 [+0.23] TEST: swp1 carrier off [ OK ] # 30.94 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 31.23 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.51 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.80 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.04 [+0.25] TEST: swp1 carrier on [ OK ] # 32.21 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.75 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 33.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.25 [+0.24] TEST: swp1 carrier off [ OK ] # 33.75 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 34.02 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.30 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.57 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.80 [+0.23] TEST: swp1 carrier on [ OK ] # 35.31 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.86 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.14 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.32 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.81 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 37.09 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.38 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.64 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.89 [+0.25] TEST: swp1 carrier off [ OK ] # 38.40 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.66 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.92 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 39.18 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.59 [+10.41] # 49.59 [+0.00] Backup nexthop ID - invalid IDs # 49.59 [+0.00] ------------------------------- # 51.33 [+1.74] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.51 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.77 [+0.26] TEST: swp1 carrier off [ OK ] # 52.29 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 52.54 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 52.82 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.92 [+0.10] TEST: No Tx drop increase [ OK ] # 53.10 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.61 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.88 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.18 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 54.29 [+0.10] TEST: Tx drop increased [ OK ] # 54.56 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.06 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.32 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.61 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 55.70 [+0.09] TEST: Tx drop increased [ OK ] # 55.90 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.41 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 56.67 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.94 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 57.04 [+0.10] TEST: Tx drop increased [ OK ] # 57.49 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 58.27 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 58.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 58.63 [+0.11] TEST: Tx drop increased [ OK ] # 69.00 [+10.36] # 69.00 [+0.00] Backup nexthop ID - ping # 69.00 [+0.00] ------------------------ # 72.61 [+3.61] TEST: Ping with backup nexthop ID [ OK ] # 77.93 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.28 [+10.35] # 88.28 [+0.00] Backup nexthop ID - torture test # 88.28 [+0.00] -------------------------------- # 119.00 [+30.72] TEST: Torture test [ OK ] # 119.65 [+0.65] # 119.65 [+0.00] Tests passed: 83 # 119.65 [+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__->