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 1286516, close 87986, bind 90250, connect 136967, delroute 0 10.01 real 7.20 user 19.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1515767, close 77995, bind 533411, connect 0, delroute 0 10.01 real 6.77 user 22.33 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1586434, close 54223, bind 0, connect 119355, delroute 0 10.01 real 7.05 user 22.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 1283760, close 129137, bind 354818, connect 169146, delroute 0 10.02 real 4.90 user 16.73 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 1282342, close 90911, bind 62360, connect 49010, delroute 0 10.60 real 4.98 user 19.31 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1321831, close 125591, bind 309030, connect 218913, delroute 0 10.01 real 5.26 user 16.72 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 1371518, close 47158, bind 87388, connect 126502, delroute 0 10.09 real 4.62 user 16.65 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 1471057, close 83625, bind 271752, connect 100727, delroute 0 10.01 real 5.34 user 17.59 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 1390555, close 68992, bind 0, connect 189518, delroute 79598 10.07 real 4.23 user 16.07 sys ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 886225, close 203128, bind 2108472, connect 0, delroute 0 10.01 real 4.36 user 17.46 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 876721, close 106034, bind 0, connect 1114886, delroute 0 10.00 real 3.97 user 15.56 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 910070, close 146424, bind 550629, connect 510865, delroute 0 10.03 real 3.55 user 16.96 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 156269, close 32013, bind 95550, connect 37457, delroute 0 10.90 real 0.82 user 12.20 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 816134, close 173387, bind 717726, connect 511633, delroute 0 10.01 real 3.19 user 15.46 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 787012, close 61249, bind 92593, connect 198590, delroute 0 10.01 real 3.61 user 16.06 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 846132, close 133611, bind 511109, connect 219936, delroute 0 10.02 real 3.43 user 16.16 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 744397, close 93804, bind 0, connect 331507, delroute 67988 10.01 real 3.28 user 15.55 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 1462719, close 64749, bind 303714, connect 0, delroute 0 10.03 real 3.65 user 15.66 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 1491757, close 35856, bind 0, connect 156354, delroute 0 10.01 real 4.17 user 15.70 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 1519833, close 46818, bind 120112, connect 93661, delroute 0 10.03 real 5.13 user 16.95 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 1331336, close 18395, bind 82407, connect 58671, delroute 0 10.46 real 5.95 user 18.87 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 1327051, close 90955, bind 180679, connect 69041, delroute 0 10.01 real 4.97 user 16.20 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 1381596, close 46044, bind 45202, connect 214785, delroute 0 10.01 real 4.65 user 15.98 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 1259386, close 81547, bind 284173, connect 169670, delroute 0 10.01 real 4.47 user 14.92 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 1295917, close 105947, bind 0, connect 190253, delroute 98380 10.03 real 4.61 user 17.04 sys ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1196324, close 139575, bind 880985, connect 0, delroute 0 10.04 real 4.64 user 16.37 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1142388, close 142385, bind 0, connect 182699, delroute 0 10.01 real 4.15 user 15.13 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1321967, close 70266, bind 185137, connect 82740, delroute 0 10.02 real 5.05 user 16.47 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 1079697, close 142118, bind 47219, connect 59136, delroute 0 10.62 real 3.87 user 17.68 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1187848, close 164019, bind 220297, connect 146256, delroute 0 10.06 real 4.65 user 16.06 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 1102328, close 93948, bind 46790, connect 176974, delroute 0 0m10.08s real 0m04.35s user 0m15.41s 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 1142823, close 147423, bind 231083, connect 92274, delroute 0 0m10.01s real 0m04.28s user 0m15.36s 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 803611, close 253600, bind 0, connect 121013, delroute 34207 10.01 real 2.71 user 17.99 sys ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 799446, close 214780, bind 1647452, connect 0, delroute 0 10.05 real 3.02 user 15.35 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 815654, close 132758, bind 0, connect 1316427, delroute 0 10.01 real 3.61 user 14.91 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 853152, close 166417, bind 688672, connect 471893, delroute 0 10.02 real 3.17 user 16.32 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 178510, close 49778, bind 116913, connect 54980, delroute 0 10.75 real 0.85 user 12.89 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 737529, close 171697, bind 707523, connect 302483, delroute 0 10.01 real 3.43 user 15.45 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 808830, close 95377, bind 128643, connect 940416, delroute 0 0m10.01s real 0m03.60s user 0m14.97s 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 851427, close 123951, bind 654689, connect 404733, delroute 0 0m10.01s real 0m03.43s user 0m15.60s 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 461373, close 120011, bind 0, connect 651500, delroute 27277 10.02 real 2.64 user 16.61 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 1088669, close 93490, bind 561209, connect 0, delroute 0 10.01 real 3.91 user 16.00 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 1249633, close 60362, bind 0, connect 138351, delroute 0 10.00 real 4.61 user 16.93 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 1175100, close 65884, bind 157721, connect 131308, delroute 0 10.01 real 5.13 user 17.52 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 1059607, close 33438, bind 126072, connect 60737, delroute 0 10.51 real 5.09 user 17.38 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 1155282, close 34837, bind 115792, connect 67123, delroute 0 10.01 real 4.94 user 16.83 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 1066825, close 53337, bind 54116, connect 285325, delroute 0 10.02 real 4.70 user 15.55 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 1090031, close 119441, bind 305485, connect 161622, delroute 0 10.01 real 4.13 user 16.19 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 505312, close 188165, bind 0, connect 400995, delroute 43252 10.00 real 2.47 user 15.16 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 113964 1.01 real 0.13 user 0.75 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 7530 1.01 real 0.02 user 0.83 sys