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 1295363, close 184642, bind 90240, connect 133571, delroute 0 10.01 real 7.10 user 19.66 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1468177, close 56851, bind 645050, connect 0, delroute 0 10.01 real 6.94 user 22.88 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1566195, close 79263, bind 0, connect 99494, delroute 0 10.01 real 7.10 user 22.95 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1354976, close 179387, bind 441840, connect 208505, delroute 0 10.01 real 5.27 user 17.90 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 1207909, close 127838, bind 87783, connect 65903, delroute 0 10.52 real 4.68 user 19.69 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1302788, close 77099, bind 355027, connect 143284, delroute 0 10.01 real 4.80 user 16.87 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 1393334, close 103020, bind 50032, connect 146014, delroute 0 10.05 real 5.05 user 17.25 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 1362516, close 96503, bind 355735, connect 97327, delroute 0 10.04 real 4.59 user 16.45 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 1514815, close 72658, bind 0, connect 54708, delroute 72716 10.01 real 4.74 user 17.93 sys ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 892160, close 233065, bind 2323981, connect 0, delroute 0 10.02 real 3.80 user 18.59 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 933905, close 118793, bind 0, connect 1206429, delroute 0 10.04 real 3.76 user 16.23 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 826370, close 168965, bind 692580, connect 578902, delroute 0 10.01 real 3.76 user 15.22 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 145127, close 38796, bind 93111, connect 36022, delroute 0 10.97 real 0.81 user 12.00 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 833641, close 171471, bind 761428, connect 795432, delroute 0 10.01 real 3.83 user 15.49 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 744635, close 91665, bind 68011, connect 159384, delroute 0 10.05 real 3.77 user 15.65 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 749835, close 128361, bind 525956, connect 359339, delroute 0 10.02 real 3.54 user 15.88 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 765517, close 120869, bind 0, connect 322487, delroute 89267 10.01 real 3.43 user 15.89 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 1533678, close 146702, bind 295872, connect 0, delroute 0 10.01 real 2.71 user 15.71 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 1527309, close 103753, bind 0, connect 256754, delroute 0 10.01 real 5.34 user 17.39 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 1419469, close 76520, bind 146721, connect 72016, delroute 0 10.00 real 5.41 user 17.31 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 1148802, close 56631, bind 323470, connect 128136, delroute 0 10.55 real 4.32 user 15.16 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 1367179, close 86217, bind 292113, connect 74580, delroute 0 10.02 real 4.79 user 18.65 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 1331405, close 52241, bind 53980, connect 193086, delroute 0 10.02 real 5.16 user 14.69 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 1355863, close 73668, bind 171736, connect 103605, delroute 0 10.00 real 4.74 user 16.65 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 1313175, close 62035, bind 0, connect 225138, delroute 84767 10.03 real 4.07 user 15.90 sys ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1238292, close 137734, bind 814500, connect 0, delroute 0 10.01 real 4.53 user 16.44 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1307816, close 196177, bind 0, connect 189641, delroute 0 10.01 real 4.76 user 17.86 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1228106, close 126021, bind 367718, connect 107972, delroute 0 10.08 real 4.57 user 15.35 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 1085778, close 157220, bind 84574, connect 63763, delroute 0 10.63 real 3.68 user 18.01 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1238861, close 269807, bind 364564, connect 122617, delroute 0 10.33 real 4.45 user 16.99 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 1071039, close 139261, bind 128652, connect 141159, delroute 0 0m10.02s real 0m04.12s user 0m14.99s 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 1056630, close 160709, bind 407779, connect 177740, delroute 0 0m10.02s real 0m03.54s user 0m14.43s 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 697690, close 273516, bind 0, connect 170414, delroute 36912 10.03 real 2.61 user 18.19 sys ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 853192, close 281253, bind 1765824, connect 0, delroute 0 10.02 real 3.22 user 16.40 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 734748, close 162414, bind 0, connect 1206249, delroute 0 10.01 real 3.17 user 13.71 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 805641, close 198938, bind 706875, connect 465039, delroute 0 10.02 real 3.75 user 15.56 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 187892, close 56403, bind 105690, connect 39687, delroute 0 10.74 real 1.01 user 12.73 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 810327, close 141549, bind 726796, connect 390493, delroute 0 10.02 real 3.60 user 16.34 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 766018, close 92757, bind 206904, connect 1027249, delroute 0 0m10.06s real 0m03.87s user 0m15.25s 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 811363, close 201645, bind 667608, connect 653057, delroute 0 0m10.01s real 0m03.33s user 0m15.82s 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 315758, close 127511, bind 0, connect 558322, delroute 29922 10.01 real 2.49 user 16.70 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 1047518, close 106611, bind 532028, connect 0, delroute 0 10.01 real 4.21 user 15.70 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 1093564, close 32153, bind 0, connect 117317, delroute 0 10.00 real 5.44 user 15.73 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 1117613, close 147994, bind 165470, connect 128549, delroute 0 10.00 real 4.90 user 16.92 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 1043289, close 41570, bind 107535, connect 85439, delroute 0 10.51 real 3.74 user 16.66 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 1049264, close 95698, bind 329881, connect 138091, delroute 0 10.02 real 3.66 user 15.67 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 1077862, close 66937, bind 81171, connect 399647, delroute 0 10.05 real 5.73 user 17.17 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 1051889, close 71176, bind 197555, connect 98953, delroute 0 10.01 real 4.30 user 15.37 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 476371, close 148523, bind 0, connect 345842, delroute 46990 10.01 real 2.18 user 15.00 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 127714 1.00 real 0.14 user 0.80 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 7347 1.00 real 0.01 user 0.86 sys