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.70 [+14.70] # 14.71 [+0.00] Backup port # 14.71 [+0.00] ----------- # 16.94 [+2.24] TEST: Forwarding out of swp1 [ OK ] # 17.36 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.79 [+0.43] TEST: swp1 carrier off [ OK ] # 18.57 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.95 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.40 [+0.45] TEST: swp1 carrier on [ OK ] # 19.73 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.50 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.93 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.40 [+0.47] TEST: swp1 carrier off [ OK ] # 22.23 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 22.65 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 23.11 [+0.46] TEST: swp1 carrier on [ OK ] # 23.90 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.30 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 24.62 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.41 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 25.83 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.28 [+0.45] TEST: swp1 carrier off [ OK ] # 27.10 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 27.51 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.60 [+16.09] # 43.60 [+0.00] Backup nexthop ID # 43.60 [+0.00] ----------------- # 46.57 [+2.97] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.38 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 47.76 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.19 [+0.43] TEST: swp1 carrier off [ OK ] # 49.00 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 49.43 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 49.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 50.21 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.65 [+0.45] TEST: swp1 carrier on [ OK ] # 50.96 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.74 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 52.14 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 52.56 [+0.42] TEST: swp1 carrier off [ OK ] # 53.35 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 53.73 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 54.15 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 54.54 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.97 [+0.44] TEST: swp1 carrier on [ OK ] # 55.73 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 56.13 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 56.55 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.93 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.25 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.05 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 58.45 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.85 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 59.26 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.70 [+0.44] TEST: swp1 carrier off [ OK ] # 60.50 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 60.89 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 61.29 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.70 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.46 [+15.76] # 77.46 [+0.00] Backup nexthop ID - invalid IDs # 77.46 [+0.00] ------------------------------- # 80.30 [+2.84] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.63 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 81.12 [+0.50] TEST: swp1 carrier off [ OK ] # 81.96 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 82.37 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 82.77 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 82.94 [+0.17] TEST: No Tx drop increase [ OK ] # 83.27 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.02 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 84.43 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 84.86 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 85.02 [+0.16] TEST: Tx drop increased [ OK ] # 85.49 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.27 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 86.66 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 87.05 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 87.22 [+0.17] TEST: Tx drop increased [ OK ] # 87.53 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.30 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 88.73 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 89.12 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 89.30 [+0.18] TEST: Tx drop increased [ OK ] # 90.12 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 90.93 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 91.34 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 91.76 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 91.94 [+0.18] TEST: Tx drop increased [ OK ] # 107.85 [+15.91] # 107.85 [+0.00] Backup nexthop ID - ping # 107.86 [+0.00] ------------------------ # 113.00 [+5.14] TEST: Ping with backup nexthop ID [ OK ] # 118.65 [+5.65] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.99 [+16.33] # 134.99 [+0.00] Backup nexthop ID - torture test # 134.99 [+0.00] -------------------------------- # 166.34 [+31.35] TEST: Torture test [ OK ] # 167.57 [+1.23] # 167.57 [+0.00] Tests passed: 83 # 167.57 [+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__->