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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.28 [+14.28] # 14.28 [+0.00] Backup port # 14.28 [+0.00] ----------- # 16.21 [+1.93] TEST: Forwarding out of swp1 [ OK ] # 16.61 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.03 [+0.41] TEST: swp1 carrier off [ OK ] # 17.78 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 18.16 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 18.51 [+0.35] TEST: swp1 carrier on [ OK ] # 18.77 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.50 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 19.91 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 20.35 [+0.44] TEST: swp1 carrier off [ OK ] # 21.12 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 21.61 [+0.49] TEST: Forwarding out of vx0 [ OK ] # 22.06 [+0.45] TEST: swp1 carrier on [ OK ] # 22.88 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 23.38 [+0.50] TEST: No forwarding out of vx0 [ OK ] # 23.70 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.55 [+0.85] TEST: Forwarding out of swp1 [ OK ] # 24.97 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 25.41 [+0.45] TEST: swp1 carrier off [ OK ] # 26.16 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 26.71 [+0.55] TEST: No forwarding out of vx0 [ OK ] # 42.91 [+16.20] # 42.91 [+0.00] Backup nexthop ID # 42.91 [+0.00] ----------------- # 45.84 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.54 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 46.98 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 47.41 [+0.43] TEST: swp1 carrier off [ OK ] # 48.12 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 48.52 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 48.93 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.33 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.74 [+0.41] TEST: swp1 carrier on [ OK ] # 50.04 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.80 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 51.29 [+0.49] TEST: No forwarding out of vx0 [ OK ] # 51.74 [+0.46] TEST: swp1 carrier off [ OK ] # 52.53 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 52.93 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.34 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 53.80 [+0.46] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.21 [+0.41] TEST: swp1 carrier on [ OK ] # 55.04 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 55.44 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 55.81 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 56.25 [+0.44] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.56 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.31 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 57.72 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 58.11 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 58.49 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.95 [+0.46] TEST: swp1 carrier off [ OK ] # 59.67 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 60.11 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 60.55 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 60.97 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.08 [+15.11] # 76.08 [+0.00] Backup nexthop ID - invalid IDs # 76.08 [+0.00] ------------------------------- # 79.00 [+2.92] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.34 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 79.74 [+0.40] TEST: swp1 carrier off [ OK ] # 80.55 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 80.94 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 81.38 [+0.44] TEST: Forwarding using backup nexthop ID [ OK ] # 81.56 [+0.18] TEST: No Tx drop increase [ OK ] # 81.90 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.66 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 83.10 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 83.47 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 83.65 [+0.18] TEST: Tx drop increased [ OK ] # 84.11 [+0.46] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.83 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 85.21 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 85.63 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 85.81 [+0.18] TEST: Tx drop increased [ OK ] # 86.10 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.86 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 87.30 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 87.68 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 87.91 [+0.23] TEST: Tx drop increased [ OK ] # 88.71 [+0.80] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.52 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 89.96 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 90.36 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.59 [+0.23] TEST: Tx drop increased [ OK ] # 106.35 [+15.76] # 106.35 [+0.00] Backup nexthop ID - ping # 106.35 [+0.00] ------------------------ # 111.14 [+4.78] TEST: Ping with backup nexthop ID [ OK ] # 116.75 [+5.61] TEST: Ping after disabling backup nexthop ID [ OK ] # 133.36 [+16.61] # 133.36 [+0.00] Backup nexthop ID - torture test # 133.36 [+0.00] -------------------------------- # 164.67 [+31.31] TEST: Torture test [ OK ] # 165.92 [+1.24] # 165.92 [+0.00] Tests passed: 83 # 165.92 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->