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.63 [+14.63] # 14.63 [+0.00] Backup port # 14.63 [+0.00] ----------- # 16.81 [+2.18] TEST: Forwarding out of swp1 [ OK ] # 17.23 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.66 [+0.43] TEST: swp1 carrier off [ OK ] # 18.47 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.90 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 19.37 [+0.47] TEST: swp1 carrier on [ OK ] # 19.68 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.48 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 20.88 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.29 [+0.41] TEST: swp1 carrier off [ OK ] # 22.06 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 22.48 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.92 [+0.44] TEST: swp1 carrier on [ OK ] # 23.69 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 24.09 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.42 [+0.33] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.22 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.64 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.09 [+0.45] TEST: swp1 carrier off [ OK ] # 26.87 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.28 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.13 [+15.85] # 43.13 [+0.00] Backup nexthop ID # 43.13 [+0.00] ----------------- # 46.00 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.79 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 47.20 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.67 [+0.47] TEST: swp1 carrier off [ OK ] # 48.45 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 48.85 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.24 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.65 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.08 [+0.43] TEST: swp1 carrier on [ OK ] # 50.37 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.14 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 51.53 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 51.96 [+0.43] TEST: swp1 carrier off [ OK ] # 52.75 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 53.16 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.55 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 53.94 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.38 [+0.44] TEST: swp1 carrier on [ OK ] # 55.15 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 55.55 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 55.94 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 56.33 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.65 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.41 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 57.81 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.20 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 58.59 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.02 [+0.42] TEST: swp1 carrier off [ OK ] # 59.80 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.23 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 60.64 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 61.02 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.77 [+15.74] # 76.77 [+0.00] Backup nexthop ID - invalid IDs # 76.77 [+0.00] ------------------------------- # 79.56 [+2.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.86 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 80.29 [+0.43] TEST: swp1 carrier off [ OK ] # 81.08 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 81.45 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.84 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 82.00 [+0.16] TEST: No Tx drop increase [ OK ] # 82.33 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.12 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 83.51 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.91 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 84.09 [+0.18] TEST: Tx drop increased [ OK ] # 84.56 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.37 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 85.76 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 86.19 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 86.37 [+0.18] TEST: Tx drop increased [ OK ] # 86.70 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.48 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 87.85 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 88.26 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 88.42 [+0.16] TEST: Tx drop increased [ OK ] # 89.23 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.00 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 90.43 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 90.82 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 90.97 [+0.15] TEST: Tx drop increased [ OK ] # 106.75 [+15.78] # 106.75 [+0.00] Backup nexthop ID - ping # 106.75 [+0.00] ------------------------ # 111.72 [+4.97] TEST: Ping with backup nexthop ID [ OK ] # 117.36 [+5.65] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.28 [+15.91] # 133.28 [+0.00] Backup nexthop ID - torture test # 133.28 [+0.00] -------------------------------- # 164.65 [+31.37] TEST: Torture test [ OK ] # 165.96 [+1.31] # 165.96 [+0.00] Tests passed: 83 # 165.96 [+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__->