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.56 [+14.56] # 14.56 [+0.00] Backup port # 14.56 [+0.00] ----------- # 17.03 [+2.47] TEST: Forwarding out of swp1 [ OK ] # 17.45 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.90 [+0.45] TEST: swp1 carrier off [ OK ] # 18.69 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 19.11 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.57 [+0.46] TEST: swp1 carrier on [ OK ] # 19.88 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.66 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 21.06 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 21.49 [+0.43] TEST: swp1 carrier off [ OK ] # 22.28 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.67 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 23.11 [+0.44] TEST: swp1 carrier on [ OK ] # 23.90 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.33 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 24.62 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.36 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 25.80 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 26.23 [+0.43] TEST: swp1 carrier off [ OK ] # 27.01 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 27.42 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 43.23 [+15.81] # 43.23 [+0.00] Backup nexthop ID # 43.23 [+0.00] ----------------- # 46.15 [+2.92] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.90 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 47.31 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.73 [+0.42] TEST: swp1 carrier off [ OK ] # 48.54 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 48.94 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.35 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.74 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.19 [+0.45] TEST: swp1 carrier on [ OK ] # 50.50 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.29 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.70 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 52.19 [+0.48] TEST: swp1 carrier off [ OK ] # 52.97 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 53.38 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 53.78 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 54.19 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.63 [+0.44] TEST: swp1 carrier on [ OK ] # 55.44 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 55.86 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 56.27 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.66 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.00 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.80 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 58.23 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 58.64 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 59.13 [+0.49] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.56 [+0.43] TEST: swp1 carrier off [ OK ] # 60.32 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 60.73 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 61.14 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 61.53 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.19 [+15.66] # 77.19 [+0.00] Backup nexthop ID - invalid IDs # 77.19 [+0.00] ------------------------------- # 79.99 [+2.80] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.31 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 80.76 [+0.45] TEST: swp1 carrier off [ OK ] # 81.54 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 81.94 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.34 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 82.50 [+0.15] TEST: No Tx drop increase [ OK ] # 82.81 [+0.31] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.61 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.00 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 84.38 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 84.55 [+0.16] TEST: Tx drop increased [ OK ] # 85.06 [+0.51] TEST: Blackhole nexthop as backup nexthop [ OK ] # 85.82 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 86.22 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 86.60 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 86.73 [+0.13] TEST: Tx drop increased [ OK ] # 87.06 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 87.86 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 88.28 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 88.66 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 88.83 [+0.17] TEST: Tx drop increased [ OK ] # 89.64 [+0.81] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.43 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 90.82 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 91.21 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 91.38 [+0.17] TEST: Tx drop increased [ OK ] # 107.04 [+15.66] # 107.04 [+0.00] Backup nexthop ID - ping # 107.04 [+0.00] ------------------------ # 112.05 [+5.01] TEST: Ping with backup nexthop ID [ OK ] # 117.69 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.48 [+15.79] # 133.48 [+0.00] Backup nexthop ID - torture test # 133.48 [+0.00] -------------------------------- # 164.77 [+31.29] TEST: Torture test [ OK ] # 166.04 [+1.27] # 166.04 [+0.00] Tests passed: 83 # 166.04 [+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__->