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 1276151, close 177066, bind 104479, connect 136469, delroute 0 10.01 real 6.78 user 19.38 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1547332, close 51220, bind 279687, connect 0, delroute 0 10.00 real 7.60 user 23.66 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1477677, close 148480, bind 0, connect 242588, delroute 0 10.01 real 5.52 user 21.21 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1352528, close 64517, bind 290059, connect 130854, delroute 0 10.01 real 4.80 user 17.78 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 1083886, close 83749, bind 59592, connect 52455, delroute 0 10.54 real 3.92 user 17.92 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1305951, close 154689, bind 477000, connect 226276, delroute 0 10.01 real 4.20 user 17.37 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 1335834, close 91991, bind 64439, connect 245019, delroute 0 10.01 real 4.69 user 16.29 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 1381322, close 114090, bind 288659, connect 161018, delroute 0 10.01 real 4.93 user 17.58 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 1510730, close 36592, bind 0, connect 61070, delroute 56169 10.02 real 4.61 user 18.05 sys ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 953239, close 231856, bind 1774993, connect 0, delroute 0 10.01 real 3.15 user 18.25 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 881562, close 143882, bind 0, connect 1465678, delroute 0 10.01 real 4.04 user 16.47 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 856590, close 185752, bind 766171, connect 583405, delroute 0 10.02 real 3.90 user 15.67 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 163398, close 36084, bind 76965, connect 39313, delroute 0 10.82 real 0.68 user 12.29 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 841374, close 177680, bind 845929, connect 499584, delroute 0 10.02 real 3.42 user 15.12 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 775289, close 74849, bind 79945, connect 247360, delroute 0 10.05 real 3.42 user 15.53 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 753638, close 266296, bind 531492, connect 228673, delroute 0 10.01 real 3.19 user 16.29 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 757066, close 104302, bind 0, connect 237158, delroute 77087 10.01 real 3.16 user 16.35 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 1355773, close 172926, bind 675712, connect 0, delroute 0 10.00 real 3.43 user 16.13 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 1486251, close 59897, bind 0, connect 158695, delroute 0 10.01 real 5.72 user 18.93 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 1488815, close 43796, bind 167035, connect 96190, delroute 0 10.11 real 4.42 user 17.78 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 1234898, close 36238, bind 158848, connect 114054, delroute 0 10.44 real 4.23 user 17.17 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 1279441, close 122137, bind 267000, connect 147235, delroute 0 10.01 real 4.44 user 14.63 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 1429393, close 59862, bind 39707, connect 148743, delroute 0 10.01 real 4.78 user 17.07 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 1339148, close 158085, bind 236761, connect 169117, delroute 0 10.01 real 4.97 user 16.07 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 1319323, close 78216, bind 0, connect 229661, delroute 89957 10.03 real 4.23 user 14.95 sys ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1302869, close 80080, bind 947094, connect 0, delroute 0 10.04 real 4.87 user 16.79 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1193734, close 127772, bind 0, connect 139339, delroute 0 10.01 real 4.55 user 16.45 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1342220, close 159884, bind 194620, connect 81770, delroute 0 10.02 real 5.07 user 16.81 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 976789, close 172663, bind 65681, connect 74743, delroute 0 10.64 real 3.07 user 17.99 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1094988, close 228075, bind 509813, connect 164912, delroute 0 10.01 real 4.68 user 14.81 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 1016274, close 142229, bind 109032, connect 273654, delroute 0 0m10.16s real 0m03.57s user 0m14.68s 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 1231498, close 172613, bind 295205, connect 173439, delroute 0 0m10.01s real 0m04.88s user 0m16.02s 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 787102, close 295640, bind 0, connect 177553, delroute 31280 10.02 real 2.29 user 18.02 sys ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 712635, close 447458, bind 2303067, connect 0, delroute 0 10.01 real 4.10 user 14.94 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 832363, close 167387, bind 0, connect 1304961, delroute 0 10.03 real 3.36 user 15.34 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 818369, close 176751, bind 752369, connect 637143, delroute 0 10.01 real 3.47 user 15.66 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 197950, close 53839, bind 105051, connect 46389, delroute 0 10.69 real 0.80 user 12.16 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 756973, close 184295, bind 675874, connect 445853, delroute 0 10.02 real 3.24 user 15.75 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 728150, close 106741, bind 164436, connect 855425, delroute 0 0m10.03s real 0m03.62s user 0m15.42s 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 791938, close 149287, bind 810904, connect 846646, delroute 0 0m10.02s real 0m03.71s user 0m15.03s 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 381046, close 155504, bind 0, connect 634868, delroute 28503 10.01 real 2.56 user 16.46 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 1210034, close 96942, bind 366278, connect 0, delroute 0 10.01 real 4.26 user 17.75 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 1240354, close 91971, bind 0, connect 116140, delroute 0 10.01 real 5.09 user 17.71 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 1120648, close 80433, bind 172166, connect 152627, delroute 0 10.01 real 4.30 user 15.93 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 1001034, close 36522, bind 183655, connect 110691, delroute 0 10.50 real 4.08 user 17.32 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 1034101, close 110006, bind 294920, connect 165740, delroute 0 10.01 real 3.96 user 14.92 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 1076530, close 96665, bind 66688, connect 282462, delroute 0 10.02 real 4.73 user 15.79 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 1177227, close 103276, bind 164669, connect 80556, delroute 0 10.02 real 4.55 user 16.80 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 511828, close 178634, bind 0, connect 311875, delroute 47012 10.01 real 2.44 user 16.34 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 118431 1.01 real 0.07 user 0.81 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 7902 1.01 real 0.00 user 0.93 sys