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.62 [+14.62] # 14.62 [+0.00] Backup port # 14.62 [+0.00] ----------- # 16.67 [+2.05] TEST: Forwarding out of swp1 [ OK ] # 17.11 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 17.59 [+0.48] TEST: swp1 carrier off [ OK ] # 18.40 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.81 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.27 [+0.46] TEST: swp1 carrier on [ OK ] # 19.60 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.41 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 20.81 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.25 [+0.43] TEST: swp1 carrier off [ OK ] # 22.04 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 22.48 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 22.93 [+0.45] TEST: swp1 carrier on [ OK ] # 23.75 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 24.13 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 24.43 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.25 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 25.65 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 26.11 [+0.45] TEST: swp1 carrier off [ OK ] # 26.94 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 27.36 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.50 [+16.14] # 43.50 [+0.00] Backup nexthop ID # 43.50 [+0.00] ----------------- # 46.43 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.25 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 47.68 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 48.10 [+0.43] TEST: swp1 carrier off [ OK ] # 48.91 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 49.32 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.72 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 50.12 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.57 [+0.45] TEST: swp1 carrier on [ OK ] # 50.91 [+0.34] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.69 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 52.10 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 52.63 [+0.52] TEST: swp1 carrier off [ OK ] # 53.60 [+0.98] TEST: No forwarding out of swp1 [ OK ] # 54.01 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 54.40 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 54.81 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.24 [+0.43] TEST: swp1 carrier on [ OK ] # 56.03 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 56.42 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 56.83 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 57.25 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.58 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.36 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 58.77 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 59.18 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 59.60 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.04 [+0.45] TEST: swp1 carrier off [ OK ] # 60.82 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 61.22 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 61.61 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 62.02 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.83 [+15.81] # 77.83 [+0.00] Backup nexthop ID - invalid IDs # 77.83 [+0.00] ------------------------------- # 80.76 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.06 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 81.53 [+0.47] TEST: swp1 carrier off [ OK ] # 82.33 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 82.71 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 83.13 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 83.30 [+0.16] TEST: No Tx drop increase [ OK ] # 83.59 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.38 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 84.77 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.17 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 85.34 [+0.17] TEST: Tx drop increased [ OK ] # 85.82 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.62 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.04 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 87.45 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.61 [+0.17] TEST: Tx drop increased [ OK ] # 87.92 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.67 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 89.10 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 89.49 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 89.68 [+0.19] TEST: Tx drop increased [ OK ] # 90.51 [+0.83] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.29 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 91.67 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 92.08 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 92.26 [+0.18] TEST: Tx drop increased [ OK ] # 108.03 [+15.76] # 108.03 [+0.00] Backup nexthop ID - ping # 108.03 [+0.00] ------------------------ # 113.05 [+5.03] TEST: Ping with backup nexthop ID [ OK ] # 118.69 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.46 [+15.76] # 134.46 [+0.00] Backup nexthop ID - torture test # 134.46 [+0.00] -------------------------------- # 165.75 [+31.29] TEST: Torture test [ OK ] # 166.98 [+1.24] # 166.98 [+0.00] Tests passed: 83 # 166.98 [+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__->