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.58 [+14.58] # 14.58 [+0.00] Backup port # 14.58 [+0.00] ----------- # 16.85 [+2.26] TEST: Forwarding out of swp1 [ OK ] # 17.24 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.69 [+0.45] TEST: swp1 carrier off [ OK ] # 18.47 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.86 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.32 [+0.47] TEST: swp1 carrier on [ OK ] # 19.67 [+0.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.46 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.86 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.31 [+0.45] TEST: swp1 carrier off [ OK ] # 22.10 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.49 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 22.93 [+0.44] TEST: swp1 carrier on [ OK ] # 23.71 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 24.12 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.42 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.20 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 25.60 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 26.05 [+0.45] TEST: swp1 carrier off [ OK ] # 26.82 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 27.23 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.88 [+15.66] # 42.88 [+0.00] Backup nexthop ID # 42.88 [+0.00] ----------------- # 45.75 [+2.87] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.53 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 46.95 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.40 [+0.44] TEST: swp1 carrier off [ OK ] # 48.19 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 48.60 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 49.01 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.42 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.86 [+0.44] TEST: swp1 carrier on [ OK ] # 50.19 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.98 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.38 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 51.84 [+0.46] TEST: swp1 carrier off [ OK ] # 52.64 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 53.04 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.47 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 53.90 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.35 [+0.44] TEST: swp1 carrier on [ OK ] # 55.15 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 55.54 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 55.94 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.34 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.67 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.47 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 57.88 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 58.27 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 58.66 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.14 [+0.47] TEST: swp1 carrier off [ OK ] # 59.93 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 60.32 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 60.70 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 61.09 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.28 [+16.19] # 77.28 [+0.00] Backup nexthop ID - invalid IDs # 77.28 [+0.00] ------------------------------- # 80.23 [+2.95] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.54 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 80.96 [+0.43] TEST: swp1 carrier off [ OK ] # 81.79 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 82.21 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 82.62 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 82.78 [+0.16] TEST: No Tx drop increase [ OK ] # 83.10 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 83.89 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.29 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 84.68 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 84.85 [+0.17] TEST: Tx drop increased [ OK ] # 85.34 [+0.49] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.15 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 86.58 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 86.99 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 87.15 [+0.16] TEST: Tx drop increased [ OK ] # 87.50 [+0.35] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.33 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 88.72 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 89.15 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 89.32 [+0.16] TEST: Tx drop increased [ OK ] # 90.20 [+0.89] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.00 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 91.42 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 91.86 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 92.05 [+0.19] TEST: Tx drop increased [ OK ] # 107.86 [+15.81] # 107.86 [+0.00] Backup nexthop ID - ping # 107.86 [+0.00] ------------------------ # 112.84 [+4.98] TEST: Ping with backup nexthop ID [ OK ] # 118.57 [+5.73] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.44 [+15.87] # 134.44 [+0.00] Backup nexthop ID - torture test # 134.44 [+0.00] -------------------------------- # 165.73 [+31.28] TEST: Torture test [ OK ] # 167.01 [+1.28] # 167.01 [+0.00] Tests passed: 83 # 167.01 [+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__->