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.93 [+14.93] # 14.93 [+0.00] Backup port # 14.93 [+0.00] ----------- # 17.36 [+2.43] TEST: Forwarding out of swp1 [ OK ] # 17.80 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 18.25 [+0.45] TEST: swp1 carrier off [ OK ] # 19.10 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 19.55 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 20.04 [+0.49] TEST: swp1 carrier on [ OK ] # 20.38 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.20 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 21.63 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 22.15 [+0.52] TEST: swp1 carrier off [ OK ] # 22.97 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 23.44 [+0.47] TEST: Forwarding out of vx0 [ OK ] # 23.90 [+0.46] TEST: swp1 carrier on [ OK ] # 24.68 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.09 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 25.41 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.19 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 26.63 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 27.10 [+0.47] TEST: swp1 carrier off [ OK ] # 27.89 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 28.30 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 44.72 [+16.42] # 44.72 [+0.00] Backup nexthop ID # 44.72 [+0.00] ----------------- # 47.68 [+2.96] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.46 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 48.85 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 49.30 [+0.45] TEST: swp1 carrier off [ OK ] # 50.09 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 50.51 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 50.91 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 51.32 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.79 [+0.47] TEST: swp1 carrier on [ OK ] # 52.12 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 52.92 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 53.32 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 53.75 [+0.43] TEST: swp1 carrier off [ OK ] # 54.57 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 54.97 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 55.37 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 55.78 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.22 [+0.43] TEST: swp1 carrier on [ OK ] # 57.02 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 57.41 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 57.82 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.22 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.58 [+0.36] TEST: No backup nexthop ID configured for swp1 [ OK ] # 59.41 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 59.81 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 60.22 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.69 [+0.47] TEST: No forwarding using VXLAN FDB entry [ OK ] # 61.13 [+0.44] TEST: swp1 carrier off [ OK ] # 61.99 [+0.86] TEST: No forwarding out of swp1 [ OK ] # 62.45 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 62.85 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 63.27 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 79.69 [+16.42] # 79.69 [+0.00] Backup nexthop ID - invalid IDs # 79.70 [+0.00] ------------------------------- # 82.90 [+3.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 83.24 [+0.35] TEST: Valid nexthop as backup nexthop [ OK ] # 83.69 [+0.45] TEST: swp1 carrier off [ OK ] # 84.50 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 84.92 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 85.33 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 85.50 [+0.17] TEST: No Tx drop increase [ OK ] # 85.83 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 86.65 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 87.08 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 87.49 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.68 [+0.19] TEST: Tx drop increased [ OK ] # 88.18 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 89.01 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 89.40 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 89.80 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 89.96 [+0.16] TEST: Tx drop increased [ OK ] # 90.28 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 91.07 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 91.50 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 91.88 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 92.04 [+0.16] TEST: Tx drop increased [ OK ] # 92.90 [+0.86] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 93.75 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 94.18 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 94.59 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 94.76 [+0.17] TEST: Tx drop increased [ OK ] # 111.15 [+16.39] # 111.15 [+0.00] Backup nexthop ID - ping # 111.15 [+0.00] ------------------------ # 116.28 [+5.13] TEST: Ping with backup nexthop ID [ OK ] # 121.96 [+5.67] TEST: Ping after disabling backup nexthop ID [ OK ] # 138.00 [+16.04] # 138.00 [+0.00] Backup nexthop ID - torture test # 138.00 [+0.00] -------------------------------- # 169.25 [+31.25] TEST: Torture test [ OK ] # 170.55 [+1.30] # 170.55 [+0.00] Tests passed: 83 # 170.55 [+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__->