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.67 [+14.67] # 14.67 [+0.00] Backup port # 14.67 [+0.00] ----------- # 16.55 [+1.88] TEST: Forwarding out of swp1 [ OK ] # 16.94 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.41 [+0.46] TEST: swp1 carrier off [ OK ] # 18.17 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 18.57 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.02 [+0.44] TEST: swp1 carrier on [ OK ] # 19.34 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.12 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.53 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 20.97 [+0.45] TEST: swp1 carrier off [ OK ] # 21.74 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 22.17 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.63 [+0.46] TEST: swp1 carrier on [ OK ] # 23.44 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 23.85 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.17 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.98 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.41 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 25.85 [+0.44] TEST: swp1 carrier off [ OK ] # 26.65 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.05 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 42.88 [+15.82] # 42.88 [+0.00] Backup nexthop ID # 42.88 [+0.00] ----------------- # 45.72 [+2.84] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.52 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 46.90 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 47.31 [+0.41] TEST: swp1 carrier off [ OK ] # 48.09 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 48.48 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 48.88 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.27 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.79 [+0.51] TEST: swp1 carrier on [ OK ] # 50.14 [+0.36] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.06 [+0.92] TEST: Forwarding out of swp1 [ OK ] # 51.44 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.89 [+0.45] TEST: swp1 carrier off [ OK ] # 52.68 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 53.09 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 53.50 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 53.90 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.34 [+0.44] TEST: swp1 carrier on [ OK ] # 55.11 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 55.52 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 55.91 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 56.31 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.62 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.39 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 57.77 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 58.18 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.59 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.03 [+0.44] TEST: swp1 carrier off [ OK ] # 59.85 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 60.25 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 60.65 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.08 [+0.43] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.78 [+15.69] # 76.78 [+0.00] Backup nexthop ID - invalid IDs # 76.78 [+0.00] ------------------------------- # 79.72 [+2.94] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.04 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 80.47 [+0.43] TEST: swp1 carrier off [ OK ] # 81.26 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 81.65 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.07 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 82.24 [+0.18] TEST: No Tx drop increase [ OK ] # 82.55 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.35 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 83.75 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 84.15 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 84.34 [+0.19] TEST: Tx drop increased [ OK ] # 84.80 [+0.46] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.57 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 85.98 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 86.39 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 86.57 [+0.18] TEST: Tx drop increased [ OK ] # 86.87 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.67 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 88.08 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 88.49 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 88.67 [+0.19] TEST: Tx drop increased [ OK ] # 89.52 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.34 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 90.77 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 91.17 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 91.34 [+0.17] TEST: Tx drop increased [ OK ] # 106.98 [+15.64] # 106.98 [+0.00] Backup nexthop ID - ping # 106.98 [+0.00] ------------------------ # 111.98 [+5.00] TEST: Ping with backup nexthop ID [ OK ] # 117.61 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.13 [+15.52] # 133.13 [+0.00] Backup nexthop ID - torture test # 133.13 [+0.00] -------------------------------- # 164.41 [+31.28] TEST: Torture test [ OK ] # 165.68 [+1.26] # 165.68 [+0.00] Tests passed: 83 # 165.68 [+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__->