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 # 14.94 [+14.94] # 14.94 [+0.00] Backup port # 14.94 [+0.00] ----------- # 17.30 [+2.36] TEST: Forwarding out of swp1 [ OK ] # 17.70 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.15 [+0.45] TEST: swp1 carrier off [ OK ] # 18.98 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 19.39 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.87 [+0.48] TEST: swp1 carrier on [ OK ] # 20.24 [+0.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.15 [+0.91] TEST: Forwarding out of swp1 [ OK ] # 21.55 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 22.01 [+0.46] TEST: swp1 carrier off [ OK ] # 22.80 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 23.22 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 23.66 [+0.44] TEST: swp1 carrier on [ OK ] # 24.46 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 24.89 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 25.21 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.01 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 26.41 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 26.87 [+0.45] TEST: swp1 carrier off [ OK ] # 27.72 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 28.15 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 44.94 [+16.79] # 44.94 [+0.00] Backup nexthop ID # 44.94 [+0.00] ----------------- # 47.93 [+3.00] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.74 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 49.16 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 49.68 [+0.52] TEST: swp1 carrier off [ OK ] # 50.60 [+0.92] TEST: No forwarding out of swp1 [ OK ] # 51.02 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 51.45 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 51.92 [+0.47] TEST: Forwarding using VXLAN FDB entry [ OK ] # 52.39 [+0.47] TEST: swp1 carrier on [ OK ] # 52.75 [+0.36] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 53.61 [+0.86] TEST: Forwarding out of swp1 [ OK ] # 54.00 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 54.43 [+0.43] TEST: swp1 carrier off [ OK ] # 55.22 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 55.62 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 55.99 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 56.38 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.82 [+0.44] TEST: swp1 carrier on [ OK ] # 57.61 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 58.03 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 58.53 [+0.49] TEST: No forwarding using backup nexthop ID [ OK ] # 59.01 [+0.48] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.30 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 60.09 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 60.49 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 60.92 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 61.32 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 61.81 [+0.48] TEST: swp1 carrier off [ OK ] # 62.62 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 63.06 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 63.50 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 63.94 [+0.44] TEST: Forwarding using VXLAN FDB entry [ OK ] # 81.91 [+17.97] # 81.91 [+0.00] Backup nexthop ID - invalid IDs # 81.91 [+0.00] ------------------------------- # 85.23 [+3.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 85.59 [+0.37] TEST: Valid nexthop as backup nexthop [ OK ] # 86.13 [+0.54] TEST: swp1 carrier off [ OK ] # 87.10 [+0.97] TEST: No forwarding out of swp1 [ OK ] # 87.56 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 88.07 [+0.51] TEST: Forwarding using backup nexthop ID [ OK ] # 88.28 [+0.21] TEST: No Tx drop increase [ OK ] # 88.68 [+0.40] TEST: Non-existent nexthop as backup nexthop [ OK ] # 89.65 [+0.97] TEST: No forwarding out of swp1 [ OK ] # 90.11 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 90.60 [+0.50] TEST: No forwarding using backup nexthop ID [ OK ] # 90.82 [+0.22] TEST: Tx drop increased [ OK ] # 91.41 [+0.59] TEST: Blackhole nexthop as backup nexthop [ OK ] # 92.40 [+0.98] TEST: No forwarding out of swp1 [ OK ] # 92.88 [+0.48] TEST: Forwarding out of vx0 [ OK ] # 93.32 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 93.52 [+0.20] TEST: Tx drop increased [ OK ] # 93.98 [+0.46] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 94.98 [+1.00] TEST: No forwarding out of swp1 [ OK ] # 95.51 [+0.53] TEST: Forwarding out of vx0 [ OK ] # 95.98 [+0.47] TEST: No forwarding using backup nexthop ID [ OK ] # 96.20 [+0.21] TEST: Tx drop increased [ OK ] # 97.13 [+0.93] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 98.03 [+0.91] TEST: No forwarding out of swp1 [ OK ] # 98.48 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 98.97 [+0.49] TEST: No forwarding using backup nexthop ID [ OK ] # 99.22 [+0.24] TEST: Tx drop increased [ OK ] # 117.03 [+17.81] # 117.03 [+0.00] Backup nexthop ID - ping # 117.03 [+0.00] ------------------------ # 122.18 [+5.15] TEST: Ping with backup nexthop ID [ OK ] # 127.83 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 143.77 [+15.94] # 143.77 [+0.00] Backup nexthop ID - torture test # 143.78 [+0.00] -------------------------------- # 175.02 [+31.24] TEST: Torture test [ OK ] # 176.32 [+1.30] # 176.32 [+0.00] Tests passed: 83 # 176.32 [+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__->