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.61 [+14.61] # 14.61 [+0.00] Backup port # 14.61 [+0.00] ----------- # 16.91 [+2.30] TEST: Forwarding out of swp1 [ OK ] # 17.33 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.77 [+0.44] TEST: swp1 carrier off [ OK ] # 18.57 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 18.99 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.42 [+0.43] TEST: swp1 carrier on [ OK ] # 19.74 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.51 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.90 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.33 [+0.43] TEST: swp1 carrier off [ OK ] # 22.16 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 22.57 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 23.01 [+0.44] TEST: swp1 carrier on [ OK ] # 23.81 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 24.22 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.56 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.35 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 25.74 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 26.18 [+0.44] TEST: swp1 carrier off [ OK ] # 26.96 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 27.34 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 43.17 [+15.83] # 43.17 [+0.00] Backup nexthop ID # 43.17 [+0.00] ----------------- # 46.05 [+2.87] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.86 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 47.24 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 47.71 [+0.47] TEST: swp1 carrier off [ OK ] # 48.52 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 48.93 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 49.34 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.76 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.20 [+0.45] TEST: swp1 carrier on [ OK ] # 50.53 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.32 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 51.70 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 52.14 [+0.44] TEST: swp1 carrier off [ OK ] # 52.91 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 53.33 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 53.76 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 54.15 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.61 [+0.45] TEST: swp1 carrier on [ OK ] # 55.42 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 55.82 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 56.22 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.63 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.96 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.74 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 58.15 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 58.57 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 58.97 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.42 [+0.45] TEST: swp1 carrier off [ OK ] # 60.19 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.60 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 61.01 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.43 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.50 [+16.08] # 77.50 [+0.00] Backup nexthop ID - invalid IDs # 77.50 [+0.00] ------------------------------- # 80.51 [+3.00] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.85 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 81.32 [+0.47] TEST: swp1 carrier off [ OK ] # 82.12 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 82.54 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 82.94 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 83.10 [+0.16] TEST: No Tx drop increase [ OK ] # 83.44 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.26 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 84.69 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 85.09 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.28 [+0.19] TEST: Tx drop increased [ OK ] # 85.80 [+0.52] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.63 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 87.06 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 87.45 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 87.60 [+0.14] TEST: Tx drop increased [ OK ] # 87.93 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.71 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 89.14 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 89.55 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 89.73 [+0.18] TEST: Tx drop increased [ OK ] # 90.60 [+0.87] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.41 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 91.83 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 92.25 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 92.41 [+0.16] TEST: Tx drop increased [ OK ] # 108.34 [+15.93] # 108.34 [+0.00] Backup nexthop ID - ping # 108.35 [+0.00] ------------------------ # 113.46 [+5.12] TEST: Ping with backup nexthop ID [ OK ] # 119.13 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.85 [+15.73] # 134.85 [+0.00] Backup nexthop ID - torture test # 134.85 [+0.00] -------------------------------- # 166.12 [+31.27] TEST: Torture test [ OK ] # 167.38 [+1.26] # 167.38 [+0.00] Tests passed: 83 # 167.38 [+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__->