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.37 [+14.37] # 14.37 [+0.00] Backup port # 14.37 [+0.00] ----------- # 16.65 [+2.29] TEST: Forwarding out of swp1 [ OK ] # 17.05 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.49 [+0.44] TEST: swp1 carrier off [ OK ] # 18.26 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 18.64 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.08 [+0.44] TEST: swp1 carrier on [ OK ] # 19.39 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.18 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.58 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.04 [+0.46] TEST: swp1 carrier off [ OK ] # 21.85 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 22.27 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.70 [+0.43] TEST: swp1 carrier on [ OK ] # 23.50 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.90 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.21 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.98 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 25.38 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.82 [+0.45] TEST: swp1 carrier off [ OK ] # 26.61 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.02 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 42.65 [+15.63] # 42.65 [+0.00] Backup nexthop ID # 42.65 [+0.00] ----------------- # 45.50 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.27 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 46.70 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.14 [+0.44] TEST: swp1 carrier off [ OK ] # 47.94 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 48.34 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 48.73 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.13 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.56 [+0.43] TEST: swp1 carrier on [ OK ] # 49.86 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.65 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 51.06 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 51.51 [+0.45] TEST: swp1 carrier off [ OK ] # 52.29 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 52.68 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.07 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 53.46 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.90 [+0.44] TEST: swp1 carrier on [ OK ] # 54.67 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 55.04 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 55.44 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 55.85 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.17 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.92 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 57.37 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 57.75 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 58.18 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.61 [+0.43] TEST: swp1 carrier off [ OK ] # 59.35 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 59.75 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 60.14 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 60.53 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.25 [+15.72] # 76.25 [+0.00] Backup nexthop ID - invalid IDs # 76.25 [+0.00] ------------------------------- # 79.08 [+2.83] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.39 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 79.82 [+0.43] TEST: swp1 carrier off [ OK ] # 80.64 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 81.02 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 81.42 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 81.57 [+0.15] TEST: No Tx drop increase [ OK ] # 81.87 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.68 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 83.09 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 83.50 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 83.67 [+0.16] TEST: Tx drop increased [ OK ] # 84.15 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.94 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 85.36 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 85.75 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.92 [+0.17] TEST: Tx drop increased [ OK ] # 86.22 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.98 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 87.37 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 87.78 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.94 [+0.16] TEST: Tx drop increased [ OK ] # 88.78 [+0.84] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.55 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 89.94 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 90.33 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.51 [+0.18] TEST: Tx drop increased [ OK ] # 106.31 [+15.81] # 106.31 [+0.00] Backup nexthop ID - ping # 106.32 [+0.00] ------------------------ # 111.26 [+4.95] TEST: Ping with backup nexthop ID [ OK ] # 116.89 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.70 [+15.82] # 132.70 [+0.00] Backup nexthop ID - torture test # 132.71 [+0.00] -------------------------------- # 163.94 [+31.24] TEST: Torture test [ OK ] # 165.21 [+1.27] # 165.21 [+0.00] Tests passed: 83 # 165.21 [+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__->