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.75 [+14.75] # 14.75 [+0.00] Backup port # 14.75 [+0.00] ----------- # 17.09 [+2.34] TEST: Forwarding out of swp1 [ OK ] # 17.49 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.95 [+0.46] TEST: swp1 carrier off [ OK ] # 18.75 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 19.15 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.60 [+0.45] TEST: swp1 carrier on [ OK ] # 19.93 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.70 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 21.10 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.54 [+0.43] TEST: swp1 carrier off [ OK ] # 22.33 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.74 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 23.18 [+0.43] TEST: swp1 carrier on [ OK ] # 24.01 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 24.42 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.75 [+0.33] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.53 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.92 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 26.36 [+0.44] TEST: swp1 carrier off [ OK ] # 27.16 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.55 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.12 [+15.57] # 43.13 [+0.00] Backup nexthop ID # 43.13 [+0.00] ----------------- # 45.99 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.76 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 47.18 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.61 [+0.43] TEST: swp1 carrier off [ OK ] # 48.40 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 48.79 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.19 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.61 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.06 [+0.44] TEST: swp1 carrier on [ OK ] # 50.36 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.13 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 51.52 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 51.95 [+0.43] TEST: swp1 carrier off [ OK ] # 52.76 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.15 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.57 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 53.94 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.36 [+0.43] TEST: swp1 carrier on [ OK ] # 55.13 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 55.53 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 55.93 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.33 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.64 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.44 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 57.83 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.23 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 58.64 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.05 [+0.42] TEST: swp1 carrier off [ OK ] # 59.82 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 60.22 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 60.63 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 61.02 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.62 [+15.60] # 76.62 [+0.00] Backup nexthop ID - invalid IDs # 76.62 [+0.00] ------------------------------- # 79.39 [+2.77] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.70 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 80.14 [+0.44] TEST: swp1 carrier off [ OK ] # 80.94 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 81.33 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 81.72 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 81.88 [+0.16] TEST: No Tx drop increase [ OK ] # 82.17 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.96 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 83.35 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 83.73 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 83.91 [+0.18] TEST: Tx drop increased [ OK ] # 84.39 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.19 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 85.58 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.98 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 86.14 [+0.16] TEST: Tx drop increased [ OK ] # 86.46 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.25 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.65 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 88.04 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 88.21 [+0.17] TEST: Tx drop increased [ OK ] # 89.01 [+0.79] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.78 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 90.17 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 90.57 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 90.73 [+0.16] TEST: Tx drop increased [ OK ] # 106.52 [+15.79] # 106.52 [+0.00] Backup nexthop ID - ping # 106.52 [+0.00] ------------------------ # 111.51 [+4.99] TEST: Ping with backup nexthop ID [ OK ] # 117.15 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.11 [+15.96] # 133.11 [+0.00] Backup nexthop ID - torture test # 133.11 [+0.00] -------------------------------- # 164.40 [+31.29] TEST: Torture test [ OK ] # 165.67 [+1.28] # 165.67 [+0.00] Tests passed: 83 # 165.67 [+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__->