robsd-exec: timeout 3600s + . /usr/local/libexec/robsd/util-regress.sh + config_load + << "EOF" + _err=0 + _env=REGRESS_FAIL_EARLY=no + config_value regress-sys/netinet/bindconnect-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp LOCAL_NET=127.0.0.1/8 LOCAL_NET6=::1/128 + _make=make -C /home/src/regress/sys/netinet/bindconnect REGRESS_FAIL_EARLY=no GOCACHE=/tmp LOCAL_NET=127.0.0.1/8 LOCAL_NET6=::1/128 + config_value regress-sys/netinet/bindconnect-targets + regress_root sys/netinet/bindconnect + export SUDO + unpriv -c staff build exec make -C /home/src/regress/sys/netinet/bindconnect REGRESS_FAIL_EARLY=no GOCACHE=/tmp LOCAL_NET=127.0.0.1/8 LOCAL_NET6=::1/128 regress ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || doas -n sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/bindconnect/bindconnect.c cc -o bindconnect bindconnect.o -lpthread time ./bindconnect count: socket 1382212, close 188198, bind 53206, connect 82403, delroute 0 10.01 real 7.44 user 20.66 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1406846, close 125939, bind 1122322, connect 0, delroute 0 10.00 real 6.59 user 20.69 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1589165, close 45315, bind 0, connect 68731, delroute 0 10.01 real 6.84 user 21.94 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1605915, close 49008, bind 100565, connect 70151, delroute 0 10.00 real 7.32 user 22.83 sys ==== run-inet-udp-100000 ==== doas -n time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1348875, close 58435, bind 43987, connect 36979, delroute 0 10.57 real 6.70 user 23.02 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1480234, close 96185, bind 241498, connect 70539, delroute 0 10.01 real 5.95 user 19.63 sys ==== run-inet-udp-localnet-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 1516469, close 73307, bind 52337, connect 131282, delroute 0 10.01 real 6.19 user 20.46 sys ==== run-inet-udp-localnet-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 1541835, close 79093, bind 107135, connect 32858, delroute 0 10.01 real 6.05 user 21.03 sys ==== run-inet-udp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 1504108, close 47964, bind 0, connect 98375, delroute 52323 10.02 real 5.61 user 18.80 sys ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 971358, close 198096, bind 1819345, connect 0, delroute 0 10.03 real 3.67 user 18.53 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 935266, close 110265, bind 0, connect 1216363, delroute 0 10.00 real 3.93 user 16.10 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 910641, close 220847, bind 555657, connect 453535, delroute 0 10.01 real 3.47 user 15.80 sys ==== run-inet-tcp-100000 ==== doas -n time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 180332, close 42788, bind 99833, connect 41783, delroute 0 10.75 real 0.76 user 12.07 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 844518, close 220511, bind 747850, connect 554136, delroute 0 10.02 real 3.53 user 16.08 sys ==== run-inet-tcp-localnet-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 816211, close 102615, bind 58420, connect 304425, delroute 0 10.02 real 3.59 user 16.92 sys ==== run-inet-tcp-localnet-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 851430, close 93618, bind 308769, connect 138692, delroute 0 10.01 real 3.91 user 16.21 sys ==== run-inet-tcp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 848161, close 48867, bind 0, connect 162154, delroute 55350 10.01 real 3.67 user 17.38 sys ==== run-inet-any-bind ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1382839, close 117179, bind 517835, connect 0, delroute 0 10.01 real 5.81 user 18.15 sys ==== run-inet-any-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1432237, close 80832, bind 0, connect 254689, delroute 0 10.14 real 4.65 user 16.46 sys ==== run-inet-any-bind-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1675764, close 26529, bind 28179, connect 56564, delroute 0 10.03 real 4.57 user 18.13 sys ==== run-inet-any-100000 ==== doas -n time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1345958, close 28341, bind 157883, connect 78043, delroute 0 10.47 real 4.56 user 17.54 sys ==== run-inet-any-reuseport ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1453088, close 126283, bind 110263, connect 32891, delroute 0 10.05 real 4.13 user 16.24 sys ==== run-inet-any-localnet-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 1526572, close 46338, bind 17486, connect 257294, delroute 0 10.03 real 3.29 user 15.68 sys ==== run-inet-any-localnet-bind-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 1406591, close 111356, bind 322709, connect 76194, delroute 0 10.01 real 3.49 user 14.91 sys ==== run-inet-any-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 1541952, close 37805, bind 0, connect 119410, delroute 66045 10.08 real 5.40 user 18.48 sys ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1340388, close 114574, bind 718692, connect 0, delroute 0 10.02 real 4.95 user 16.70 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1281793, close 188938, bind 0, connect 162591, delroute 0 10.07 real 4.52 user 16.67 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1333359, close 91961, bind 261988, connect 73587, delroute 0 10.13 real 4.35 user 16.39 sys ==== run-inet6-udp-100000 ==== doas -n time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 943383, close 116131, bind 81293, connect 59403, delroute 0 10.56 real 3.71 user 15.45 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 978999, close 160757, bind 470216, connect 355503, delroute 0 10.06 real 3.92 user 14.09 sys ==== run-inet6-udp-localnet-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 1151980, close 131693, bind 58022, connect 223170, delroute 0 0m10.03s real 0m04.68s user 0m15.12s system ==== run-inet6-udp-localnet-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 1206396, close 152095, bind 288917, connect 148435, delroute 0 0m10.01s real 0m03.98s user 0m15.55s system ==== run-inet6-udp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 607130, close 294832, bind 0, connect 205918, delroute 33795 10.01 real 2.27 user 16.87 sys ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 898279, close 253784, bind 1830729, connect 0, delroute 0 10.00 real 3.49 user 18.72 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 837332, close 143931, bind 0, connect 1276778, delroute 0 10.01 real 3.36 user 15.53 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 920981, close 172637, bind 511161, connect 633302, delroute 0 10.01 real 3.85 user 16.05 sys ==== run-inet6-tcp-100000 ==== doas -n time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 154530, close 37167, bind 115742, connect 54766, delroute 0 10.68 real 0.87 user 11.92 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 823827, close 198104, bind 812685, connect 702768, delroute 0 10.05 real 3.52 user 16.11 sys ==== run-inet6-tcp-localnet-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 819548, close 100409, bind 260064, connect 945778, delroute 0 0m10.02s real 0m04.14s user 0m15.18s system ==== run-inet6-tcp-localnet-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 825264, close 169204, bind 791330, connect 747246, delroute 0 0m10.02s real 0m03.57s user 0m15.49s system ==== run-inet6-tcp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 408861, close 95794, bind 0, connect 545879, delroute 28834 10.01 real 2.58 user 16.51 sys ==== run-inet6-any-bind ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1169179, close 147051, bind 529249, connect 0, delroute 0 10.00 real 4.49 user 16.38 sys ==== run-inet6-any-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1174827, close 71135, bind 0, connect 210102, delroute 0 10.04 real 4.99 user 15.36 sys ==== run-inet6-any-bind-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1068198, close 63062, bind 191081, connect 150713, delroute 0 10.01 real 5.18 user 16.01 sys ==== run-inet6-any-100000 ==== doas -n time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1034358, close 34454, bind 115242, connect 43086, delroute 0 10.52 real 4.53 user 16.26 sys ==== run-inet6-any-reuseport ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1154371, close 80069, bind 184459, connect 99588, delroute 0 10.02 real 4.73 user 15.55 sys ==== run-inet6-any-localnet-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 1188900, close 66925, bind 25095, connect 223217, delroute 0 10.01 real 4.80 user 15.67 sys ==== run-inet6-any-localnet-bind-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 1176364, close 53297, bind 150649, connect 105418, delroute 0 10.01 real 4.95 user 16.66 sys ==== run-inet6-any-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 463423, close 154280, bind 0, connect 324530, delroute 49638 10.05 real 2.56 user 16.20 sys ==== cleanup-inet-delete ==== doas -n time ./bindconnect -f inet -s 0 -o 0 -b 0 -c 0 -d 1 -N 127.0.0.1/8 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 127069 1.01 real 0.13 user 0.86 sys ==== cleanup-inet6-delete ==== doas -n time ./bindconnect -f inet6 -s 0 -o 0 -b 0 -c 0 -d 1 -N ::1/128 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 7606 1.01 real 0.03 user 0.85 sys