>>> tcpbench: Building testing/tcpbench 3.00-r0 (using abuild 3.15.0-r2) started Mon, 28 Jul 2025 16:38:54 +0000 >>> tcpbench: Validating /home/buildozer/aports/testing/tcpbench/APKBUILD... >>> tcpbench: Analyzing dependencies... >>> tcpbench: Installing for build: build-base libbsd-dev libevent-dev libmd-dev libretls-dev ( 1/23) Installing bsd-compat-headers (0.7.2-r6) ( 2/23) Installing linux-headers (6.15.8-r0) ( 3/23) Installing libmd (1.1.0-r0) ( 4/23) Installing libmd-dev (1.1.0-r0) ( 5/23) Installing libbsd (0.12.2-r0) ( 6/23) Installing libbsd-dev (0.12.2-r0) ( 7/23) Installing libbz2 (1.0.8-r6) ( 8/23) Installing libffi (3.5.1-r0) ( 9/23) Installing gdbm (1.24-r0) (10/23) Installing xz-libs (5.8.1-r0) (11/23) Installing mpdecimal (4.0.1-r0) (12/23) Installing libpanelw (6.5_p20250705-r0) (13/23) Installing sqlite-libs (3.50.3-r0) (14/23) Installing python3 (3.12.11-r0) (15/23) Installing python3-pycache-pyc0 (3.12.11-r0) (16/23) Installing pyc (3.12.11-r0) (17/23) Installing python3-pyc (3.12.11-r0) (18/23) Installing libevent (2.1.12-r8) (19/23) Installing libevent-dev (2.1.12-r8) (20/23) Installing openssl-dev (3.5.1-r0) (21/23) Installing libretls (3.7.0-r2) (22/23) Installing libretls-dev (3.7.0-r2) (23/23) Installing .makedepends-tcpbench (20250728.163855) busybox-1.37.0-r21.trigger: Executing script... OK: 317 MiB in 127 packages >>> tcpbench: Cleaning up srcdir >>> tcpbench: Cleaning up pkgdir >>> tcpbench: Cleaning up tmpdir >>> tcpbench: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tcpbench-3.00.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tcpbench: Fetching https://github.com/bluhm/tcpbench-portable/releases/download/v3.00/tcpbench-3.00.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15305 100 15305 0 0 69823 0 --:--:-- --:--:-- --:--:-- 69823 >>> tcpbench: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tcpbench-3.00.tar.gz >>> tcpbench: Checking sha512sums... tcpbench-3.00.tar.gz: OK >>> tcpbench: Unpacking /var/cache/distfiles/tcpbench-3.00.tar.gz... cc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -I. -isystem /usr/include/bsd -DLIBBSD_OVERLAY tcpbench.c -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -levent -lm -ltls -lcrypto -lbsd -ltls -o tcpbench In file included from /usr/include/bsd/sys/cdefs.h:50, from /usr/include/bsd/sys/time.h:36, from tcpbench.c:21: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ /usr/lib/gcc/loongarch64-alpine-linux-musl/15.1.1/../../../../loongarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/loongarch64-alpine-linux-musl/15.1.1/../../../../lib/libc.so: warning: The fgetln() function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008. ==== test-localhost ==== ./tcpbench -s -4 >out & \ trap "kill -TERM $!" EXIT; \ sleep 1; \ ./tcpbench -t2 127.0.0.1 || exit 1; \ true elapsed_ms bytes mbps bwidth 1000 2120482816 16963.863 100.00% Conn: 1 Mbps: 16963.863 Peak Mbps: 16963.863 Avg Mbps: 16963.863 2000 2136211456 17089.692 100.00% Conn: 1 Mbps: 17089.692 Peak Mbps: 17089.692 Avg Mbps: 17089.692 --- 127.0.0.1 tcpbench statistics --- 6382682112 bytes sent over 2.996 seconds bandwidth min/avg/max/std-dev = 16963.863/17026.777/17089.692/62.915 Mbps tcpbench: Terminated by signal 15 grep '^Conn:' out Conn: 1 Mbps: 16958.881 Peak Mbps: 16958.881 Avg Mbps: 16958.881 Conn: 1 Mbps: 17089.692 Peak Mbps: 17089.692 Avg Mbps: 17089.692 ==== test-localhost6 ==== ./tcpbench -s -6 >out & \ trap "kill -TERM $!" EXIT; \ sleep 1; \ ./tcpbench -t2 ::1 || exit 1; \ true elapsed_ms bytes mbps bwidth 996 3005743104 24142.515 100.00% Conn: 1 Mbps: 24142.515 Peak Mbps: 24142.515 Avg Mbps: 24142.515 1996 3018326016 24146.608 100.00% Conn: 1 Mbps: 24146.608 Peak Mbps: 24146.608 Avg Mbps: 24146.608 --- ::1 tcpbench statistics --- 9038462976 bytes sent over 2.996 seconds bandwidth min/avg/max/std-dev = 24142.515/24144.562/24146.608/2.047 Mbps tcpbench: Terminated by signal 15 grep '^Conn:' out Conn: 1 Mbps: 24139.881 Peak Mbps: 24139.881 Avg Mbps: 24139.881 Conn: 1 Mbps: 24170.779 Peak Mbps: 24170.779 Avg Mbps: 24170.779 Conn: 1 Mbps: 24114.103 Peak Mbps: 24170.779 Avg Mbps: 24114.103 openssl req -batch -new \ -subj /L=OpenBSD/O=tcpbench-regress/OU=ca/CN=root/ \ -nodes -newkey rsa -keyout ca.key -x509 \ -out ca.crt ........+..+.+.........+++++++++++++++++++++++++++++++++++++++*.+..........+..+.+........+..........+++++++++++++++++++++++++++++++++++++++*...............+........+.......+..+................+........+.+........+.+.....+..........+......+...+..+.+..+...+.......+......+.....+......+.+..+.+..............+......+.+..............+.+......+..+......+..........++++++ ..........+...+......+....+++++++++++++++++++++++++++++++++++++++*....+.....+...+......+......+++++++++++++++++++++++++++++++++++++++*..++++++ ----- openssl req -batch -new \ -subj /L=OpenBSD/O=tcpbench-regress/OU=server/CN=localhost/ \ -nodes -newkey rsa -keyout server.key \ -out server.req ....+++++++++++++++++++++++++++++++++++++++*......+...+...+.........+..+......+...+++++++++++++++++++++++++++++++++++++++*...+.....+...+.......+..+....+......+...........+.............+......+.....+.+...+......+........+...+...+.+...+...........+.......+.....++++++ ..+++++++++++++++++++++++++++++++++++++++*.......+........+...+.+.....+....+.....+.+..............+.+...+...+..+..........+...+...............+..+++++++++++++++++++++++++++++++++++++++*.....+.....+......+.......+..+.+...........+.+...+...............+.....+....+........+....+...........+...............+.........+...+.+..+.......+...........+....+..+.+........+......+.+..+..........+...+..+......+.+......+.....+.......+.....+...+.........+...+.+......+...........+.......+..+.+...............+...+..+...+.......+........+.+...+......+..+...+....+..+...+.+.........+...........+....+......+......+......+..+.......+.....+.+..+...++++++ ----- openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt \ -req -in server.req \ -out server.crt Certificate request self-signature ok subject=L=OpenBSD, O=tcpbench-regress, OU=server, CN=localhost \n==== test-tls ==== ./tcpbench -c -C server.crt -K server.key -s -4 >out & \ trap "kill -TERM $!" EXIT; \ sleep 1; \ ./tcpbench -c -t2 127.0.0.1 || exit 1; \ true elapsed_ms bytes mbps bwidth 999 67682304 542.000 100.00% Conn: 1 Mbps: 542.000 Peak Mbps: 542.000 Avg Mbps: 542.000 2000 67715072 541.721 100.00% Conn: 1 Mbps: 541.721 Peak Mbps: 542.000 Avg Mbps: 541.721 --- 127.0.0.1 tcpbench statistics --- 202276864 bytes sent over 2.987 seconds bandwidth min/avg/max/std-dev = 541.721/541.861/542.000/0.140 Mbps tcpbench: tls_read: read failed: Connection reset by peer: No error information grep '^Conn:' out Conn: 1 Mbps: 537.198 Peak Mbps: 537.198 Avg Mbps: 537.198 Conn: 1 Mbps: 542.132 Peak Mbps: 542.132 Avg Mbps: 542.132 Conn: 1 Mbps: 542.132 Peak Mbps: 542.132 Avg Mbps: 542.132 \n==== test-ciphers ==== ./tcpbench -T ciphers=AES128-GCM-SHA256 \ -c -C server.crt -K server.key -s -4 >out & \ trap "kill -TERM $!" EXIT; \ sleep 1; \ ./tcpbench -T ciphers=AES128-GCM-SHA256 \ -c -t2 127.0.0.1 || exit 1; \ true elapsed_ms bytes mbps bwidth 997 68993024 553.605 100.00% Conn: 1 Mbps: 553.605 Peak Mbps: 553.605 Avg Mbps: 553.605 1997 69844992 559.319 100.00% Conn: 1 Mbps: 559.319 Peak Mbps: 559.319 Avg Mbps: 559.319 --- 127.0.0.1 tcpbench statistics --- 207519744 bytes sent over 2.990 seconds bandwidth min/avg/max/std-dev = 553.605/556.462/559.319/2.857 Mbps tcpbench: tls_read: read failed: Connection reset by peer: No error information grep '^Conn:' out Conn: 1 Mbps: 548.609 Peak Mbps: 548.609 Avg Mbps: 548.609 Conn: 1 Mbps: 558.629 Peak Mbps: 558.629 Avg Mbps: 558.629 Conn: 1 Mbps: 554.596 Peak Mbps: 558.629 Avg Mbps: 554.596 >>> tcpbench: Entering fakeroot... install -c -m 555 -s tcpbench -D -t /home/buildozer/aports/testing/tcpbench/pkg/tcpbench/usr/bin install -c -m 444 tcpbench.1 -D -t /home/buildozer/aports/testing/tcpbench/pkg/tcpbench/usr/share/man/man1 >>> tcpbench-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/testing/tcpbench/pkg/tcpbench-doc/usr/share/man' 'usr/share/licenses' -> '/home/buildozer/aports/testing/tcpbench/pkg/tcpbench-doc/usr/share/licenses' >>> tcpbench-doc*: Preparing subpackage tcpbench-doc... >>> tcpbench-doc*: Running postcheck for tcpbench-doc >>> tcpbench*: Running postcheck for tcpbench >>> tcpbench*: Preparing package tcpbench... >>> tcpbench*: Stripping binaries >>> tcpbench-doc*: Scanning shared objects >>> tcpbench*: Scanning shared objects >>> tcpbench-doc*: Tracing dependencies... >>> tcpbench-doc*: Package size: 3.6 KB >>> tcpbench-doc*: Compressing data... >>> tcpbench-doc*: Create checksum... >>> tcpbench-doc*: Create tcpbench-doc-3.00-r0.apk >>> tcpbench*: Tracing dependencies... so:libbsd.so.0 so:libc.musl-loongarch64.so.1 so:libevent-2.1.so.7 so:libtls.so.8 >>> tcpbench*: Package size: 66.0 KB >>> tcpbench*: Compressing data... >>> tcpbench*: Create checksum... >>> tcpbench*: Create tcpbench-3.00-r0.apk >>> tcpbench: Build complete at Mon, 28 Jul 2025 16:39:14 +0000 elapsed time 0h 0m 20s >>> tcpbench: Cleaning up srcdir >>> tcpbench: Cleaning up pkgdir >>> tcpbench: Uninstalling dependencies... ( 1/23) Purging .makedepends-tcpbench (20250728.163855) ( 2/23) Purging libbsd-dev (0.12.2-r0) ( 3/23) Purging bsd-compat-headers (0.7.2-r6) ( 4/23) Purging linux-headers (6.15.8-r0) ( 5/23) Purging libbsd (0.12.2-r0) ( 6/23) Purging libevent-dev (2.1.12-r8) ( 7/23) Purging python3-pyc (3.12.11-r0) ( 8/23) Purging python3-pycache-pyc0 (3.12.11-r0) ( 9/23) Purging pyc (3.12.11-r0) (10/23) Purging python3 (3.12.11-r0) (11/23) Purging libevent (2.1.12-r8) (12/23) Purging libmd-dev (1.1.0-r0) (13/23) Purging libmd (1.1.0-r0) (14/23) Purging libretls-dev (3.7.0-r2) (15/23) Purging openssl-dev (3.5.1-r0) (16/23) Purging libretls (3.7.0-r2) (17/23) Purging gdbm (1.24-r0) (18/23) Purging libbz2 (1.0.8-r6) (19/23) Purging libffi (3.5.1-r0) (20/23) Purging libpanelw (6.5_p20250705-r0) (21/23) Purging mpdecimal (4.0.1-r0) (22/23) Purging sqlite-libs (3.50.3-r0) (23/23) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r21.trigger: Executing script... OK: 268 MiB in 104 packages >>> tcpbench: Updating the testing/loongarch64 repository index... >>> tcpbench: Signing the index...