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.62 [+14.62] # 14.62 [+0.00] Backup port # 14.62 [+0.00] ----------- # 16.50 [+1.88] TEST: Forwarding out of swp1 [ OK ] # 16.91 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.35 [+0.44] TEST: swp1 carrier off [ OK ] # 18.18 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 18.62 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 19.12 [+0.50] TEST: swp1 carrier on [ OK ] # 19.43 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.20 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.61 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.04 [+0.43] TEST: swp1 carrier off [ OK ] # 21.83 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.25 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.69 [+0.44] TEST: swp1 carrier on [ OK ] # 23.48 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.95 [+0.46] TEST: No forwarding out of vx0 [ OK ] # 24.23 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.00 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 25.40 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 25.82 [+0.41] TEST: swp1 carrier off [ OK ] # 26.59 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 27.00 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.03 [+16.03] # 43.04 [+0.00] Backup nexthop ID # 43.04 [+0.00] ----------------- # 45.90 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.69 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 47.10 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.54 [+0.44] TEST: swp1 carrier off [ OK ] # 48.32 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 48.72 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.10 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 49.51 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.95 [+0.44] TEST: swp1 carrier on [ OK ] # 50.28 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.09 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 51.52 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 51.96 [+0.45] TEST: swp1 carrier off [ OK ] # 52.73 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 53.13 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.53 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 53.94 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.37 [+0.44] TEST: swp1 carrier on [ OK ] # 55.17 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 55.59 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 55.99 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.39 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.70 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.48 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 57.89 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 58.27 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 58.71 [+0.44] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.13 [+0.42] TEST: swp1 carrier off [ OK ] # 59.91 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.32 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 60.75 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 61.13 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.80 [+15.67] # 76.80 [+0.00] Backup nexthop ID - invalid IDs # 76.80 [+0.00] ------------------------------- # 79.62 [+2.82] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.92 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 80.35 [+0.43] TEST: swp1 carrier off [ OK ] # 81.14 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 81.51 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.93 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 82.08 [+0.15] TEST: No Tx drop increase [ OK ] # 82.41 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.18 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 83.58 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 83.99 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 84.15 [+0.17] TEST: Tx drop increased [ OK ] # 84.63 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.40 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 85.79 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 86.18 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 86.36 [+0.17] TEST: Tx drop increased [ OK ] # 86.67 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.44 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 87.82 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 88.21 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 88.37 [+0.15] TEST: Tx drop increased [ OK ] # 89.16 [+0.80] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.96 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 90.37 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.76 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.92 [+0.16] TEST: Tx drop increased [ OK ] # 106.59 [+15.67] # 106.59 [+0.00] Backup nexthop ID - ping # 106.59 [+0.00] ------------------------ # 111.54 [+4.96] TEST: Ping with backup nexthop ID [ OK ] # 117.17 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.04 [+15.87] # 133.04 [+0.00] Backup nexthop ID - torture test # 133.05 [+0.00] -------------------------------- # 164.33 [+31.28] TEST: Torture test [ OK ] # 165.66 [+1.33] # 165.66 [+0.00] Tests passed: 83 # 165.66 [+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__->