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.54 [+14.54] # 14.54 [+0.00] Backup port # 14.54 [+0.00] ----------- # 16.96 [+2.42] TEST: Forwarding out of swp1 [ OK ] # 17.37 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.83 [+0.46] TEST: swp1 carrier off [ OK ] # 18.61 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 19.01 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.46 [+0.45] TEST: swp1 carrier on [ OK ] # 19.80 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.57 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.99 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 21.45 [+0.46] TEST: swp1 carrier off [ OK ] # 22.24 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.63 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 23.09 [+0.45] TEST: swp1 carrier on [ OK ] # 23.87 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.28 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.59 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.39 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.78 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 26.24 [+0.46] TEST: swp1 carrier off [ OK ] # 27.04 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 27.43 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 43.19 [+15.76] # 43.19 [+0.00] Backup nexthop ID # 43.19 [+0.00] ----------------- # 46.05 [+2.86] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.84 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 47.25 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.70 [+0.45] TEST: swp1 carrier off [ OK ] # 48.49 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 48.89 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.29 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 49.70 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.17 [+0.47] TEST: swp1 carrier on [ OK ] # 50.53 [+0.36] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.47 [+0.94] TEST: Forwarding out of swp1 [ OK ] # 51.89 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 52.36 [+0.47] TEST: swp1 carrier off [ OK ] # 53.17 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 54.02 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 54.45 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.93 [+0.48] TEST: swp1 carrier on [ OK ] # 55.72 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 56.19 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 56.63 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 57.04 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.41 [+0.37] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.23 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 58.64 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 59.03 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 59.42 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.87 [+0.44] TEST: swp1 carrier off [ OK ] # 60.68 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 61.07 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 61.46 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 61.86 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.91 [+16.05] # 77.91 [+0.00] Backup nexthop ID - invalid IDs # 77.91 [+0.00] ------------------------------- # 80.95 [+3.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.28 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 81.75 [+0.47] TEST: swp1 carrier off [ OK ] # 82.57 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 82.99 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 83.40 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 83.57 [+0.16] TEST: No Tx drop increase [ OK ] # 83.90 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.69 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 85.08 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.50 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 85.67 [+0.16] TEST: Tx drop increased [ OK ] # 86.14 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.95 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 87.33 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 87.72 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 87.88 [+0.16] TEST: Tx drop increased [ OK ] # 88.21 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.02 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 89.45 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 89.87 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 90.04 [+0.17] TEST: Tx drop increased [ OK ] # 90.87 [+0.84] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.71 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 92.13 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 92.53 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 92.69 [+0.17] TEST: Tx drop increased [ OK ] # 108.80 [+16.11] # 108.80 [+0.00] Backup nexthop ID - ping # 108.80 [+0.00] ------------------------ # 113.74 [+4.94] TEST: Ping with backup nexthop ID [ OK ] # 119.36 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.85 [+15.49] # 134.85 [+0.00] Backup nexthop ID - torture test # 134.85 [+0.00] -------------------------------- # 166.17 [+31.32] TEST: Torture test [ OK ] # 167.43 [+1.26] # 167.43 [+0.00] Tests passed: 83 # 167.44 [+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__->