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.68 [+14.68] # 14.68 [+0.00] Backup port # 14.68 [+0.00] ----------- # 16.91 [+2.23] TEST: Forwarding out of swp1 [ OK ] # 17.31 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.74 [+0.43] TEST: swp1 carrier off [ OK ] # 18.53 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 18.95 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.40 [+0.45] TEST: swp1 carrier on [ OK ] # 19.72 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.49 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.88 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.32 [+0.44] TEST: swp1 carrier off [ OK ] # 22.08 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 22.47 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.90 [+0.42] TEST: swp1 carrier on [ OK ] # 23.73 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 24.13 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.45 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.28 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 25.70 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.16 [+0.46] TEST: swp1 carrier off [ OK ] # 26.99 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 27.41 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.40 [+15.99] # 43.40 [+0.00] Backup nexthop ID # 43.40 [+0.00] ----------------- # 46.33 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.17 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 47.69 [+0.53] TEST: No forwarding out of vx0 [ OK ] # 48.23 [+0.53] TEST: swp1 carrier off [ OK ] # 49.07 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 49.48 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 49.89 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 50.30 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.73 [+0.43] TEST: swp1 carrier on [ OK ] # 51.06 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.84 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 52.26 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 52.71 [+0.45] TEST: swp1 carrier off [ OK ] # 53.52 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.90 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 54.34 [+0.44] TEST: Forwarding using backup nexthop ID [ OK ] # 54.73 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.22 [+0.49] TEST: swp1 carrier on [ OK ] # 56.03 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 56.43 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 56.84 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 57.24 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.57 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.39 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 58.80 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 59.20 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 59.61 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.05 [+0.44] TEST: swp1 carrier off [ OK ] # 60.84 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 61.23 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 61.66 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 62.07 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.30 [+16.23] # 78.30 [+0.00] Backup nexthop ID - invalid IDs # 78.30 [+0.00] ------------------------------- # 81.33 [+3.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.70 [+0.37] TEST: Valid nexthop as backup nexthop [ OK ] # 82.13 [+0.44] TEST: swp1 carrier off [ OK ] # 82.92 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 83.35 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 83.78 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 83.95 [+0.18] TEST: No Tx drop increase [ OK ] # 84.29 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 85.12 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 85.53 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 85.92 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 86.10 [+0.18] TEST: Tx drop increased [ OK ] # 86.61 [+0.51] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.42 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 87.84 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 88.25 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 88.43 [+0.18] TEST: Tx drop increased [ OK ] # 88.80 [+0.37] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.67 [+0.87] TEST: No forwarding out of swp1 [ OK ] # 90.12 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 90.50 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 90.69 [+0.18] TEST: Tx drop increased [ OK ] # 91.60 [+0.91] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.44 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 92.85 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 93.26 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 93.43 [+0.17] TEST: Tx drop increased [ OK ] # 109.38 [+15.94] # 109.38 [+0.00] Backup nexthop ID - ping # 109.38 [+0.00] ------------------------ # 114.30 [+4.92] TEST: Ping with backup nexthop ID [ OK ] # 119.98 [+5.68] TEST: Ping after disabling backup nexthop ID [ OK ] # 136.00 [+16.02] # 136.00 [+0.00] Backup nexthop ID - torture test # 136.00 [+0.00] -------------------------------- # 167.28 [+31.29] TEST: Torture test [ OK ] # 168.58 [+1.30] # 168.58 [+0.00] Tests passed: 83 # 168.58 [+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__->