>>> libaio: Building main/libaio 0.3.113-r0 (using abuild 3.9.0-r5) started Wed, 24 Aug 2022 05:58:20 +0000 >>> libaio: Checking sanity of /home/buildozer/aports/main/libaio/APKBUILD... >>> libaio: Analyzing dependencies... >>> libaio: Installing for build: build-base bash (1/3) Installing readline (8.1.2-r0) (2/3) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (3/3) Installing .makedepends-libaio (20220824.055821) Executing busybox-1.35.0-r22.trigger OK: 401 MiB in 105 packages >>> libaio: Cleaning up srcdir >>> libaio: Cleaning up pkgdir >>> libaio: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libaio-0.3.113.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 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libaio: Fetching https://releases.pagure.org/libaio/libaio-0.3.113.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 100 49980 100 49980 0 0 88577 0 --:--:-- --:--:-- --:--:-- 88617 >>> libaio: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libaio-0.3.113.tar.gz >>> libaio: Checking sha512sums... libaio-0.3.113.tar.gz: OK libaio-cppflags.patch: OK libaio-errno.patch: OK test.patch: OK test-poll.patch: OK >>> libaio: Unpacking /var/cache/distfiles/edge/libaio-0.3.113.tar.gz... >>> libaio: libaio-cppflags.patch patching file src/Makefile >>> libaio: libaio-errno.patch patching file src/compat-0_1.c >>> libaio: test.patch patching file harness/cases/3.t >>> libaio: test-poll.patch patching file harness/cases/22.t make[1]: Entering directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_init.ol io_queue_init.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_release.ol io_queue_release.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_wait.ol io_queue_wait.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_run.ol io_queue_run.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_getevents.ol io_getevents.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_submit.ol io_submit.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_cancel.ol io_cancel.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_setup.ol io_setup.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_destroy.ol io_destroy.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_pgetevents.ol io_pgetevents.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o raw_syscall.ol raw_syscall.c gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o compat-0_1.ol compat-0_1.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_init.os io_queue_init.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_release.os io_queue_release.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_wait.os io_queue_wait.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_queue_run.os io_queue_run.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_getevents.os io_getevents.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_submit.os io_submit.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_cancel.os io_cancel.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_setup.os io_setup.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_destroy.os io_destroy.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o io_pgetevents.os io_pgetevents.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o raw_syscall.os raw_syscall.c gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c -o compat-0_1.os compat-0_1.c rm -f libaio.a gcc -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -c struct_offsets.c ar r libaio.a io_queue_init.ol io_queue_release.ol io_queue_wait.ol io_queue_run.ol io_getevents.ol io_submit.ol io_cancel.ol io_setup.ol io_destroy.ol io_pgetevents.ol raw_syscall.ol compat-0_1.ol ar: creating libaio.a ranlib libaio.a gcc -shared -Os -fomit-frame-pointer -I. -fPIC -Os -fomit-frame-pointer -Wl,--version-script=libaio.map -Wl,-soname=libaio.so.1 -o libaio.so.1.0.2 io_queue_init.os io_queue_release.os io_queue_wait.os io_queue_run.os io_getevents.os io_submit.os io_cancel.os io_setup.os io_destroy.os io_pgetevents.os raw_syscall.os compat-0_1.os -Wl,--as-needed,-O1,--sort-common make[1]: Leaving directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' make[1]: Entering directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' make[1]: Entering directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/harness' gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/2.t\" -o cases/2.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -Wno-stringop-overflow -DTEST_NAME=\"cases/3.t\" -o cases/3.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/4.t\" -o cases/4.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/5.t\" -o cases/5.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/6.t\" -o cases/6.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/7.t\" -o cases/7.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/11.t\" -o cases/11.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/12.t\" -o cases/12.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/13.t\" -o cases/13.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/14.t\" -o cases/14.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/15.t\" -o cases/15.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/16.t\" -o cases/16.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/17.t\" -o cases/17.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/18.t\" -o cases/18.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/19.t\" -o cases/19.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/20.t\" -o cases/20.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/21.t\" -o cases/21.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/22.t\" -o cases/22.p main.c ../src/libaio.a -lpthread gcc -Os -fomit-frame-pointer -Wall -Werror -I../src -g -O2 -DTEST_NAME=\"cases/23.t\" -o cases/23.p main.c ../src/libaio.a -lpthread mkdir testdir rm -f testdir/rofile rm -f testdir/rwfile rm -f testdir/wofile echo "test" >testdir/rofile echo "test" >testdir/rwfile echo "test" >testdir/wofile chmod 400 testdir/rofile chmod 600 testdir/rwfile chmod 200 testdir/wofile ./runtests.sh cases/2.p cases/3.p cases/4.p cases/5.p cases/6.p cases/7.p cases/11.p cases/12.p cases/13.p cases/14.p cases/15.p cases/16.p cases/17.p cases/18.p cases/19.p cases/20.p cases/21.p cases/22.p cases/23.p Test run starting at Wed Aug 24 05:58:23 UTC 2022 Starting cases/2.p expect -14: io_setup(-1000, 0xffffffff81000000) = -14 [Bad address] expect -14: io_setup( 1000, 0xffffffff81000000) = -14 [Bad address] expect -14: io_setup( 0, 0xffffffff81000000) = -14 [Bad address] expect -22: io_setup(-1000, 0x7ffc18fc1bf0) = -22 [Invalid argument] expect -22: io_setup( -1, 0x7ffc18fc1bf0) = -22 [Invalid argument] expect -22: io_setup( 0, 0x7ffc18fc1bf0) = -22 [Invalid argument] expect 0: io_setup( 1, 0x7ffc18fc1bf0) = 0 [No error information] expect -22: io_setup( 1, 0x7ffc18fc1bf0) = -22 [Invalid argument] test cases/2.t completed PASSED. Completed cases/2.p with 0. Starting cases/3.p expect -22: io_submit(0xffffffffffffffff, 1, 0x7ffed5846f70) = -22 [Invalid argument] expect 0: io_submit(0x7efcc0a30000, 0, 0x7ffed5846f70) = 0 [No error information] expect -14: io_submit(0x7efcc0a30000, 1, 0) = -14 [Bad address] expect -14: io_submit(0x7efcc0a30000, 2, 0x7ffed5846f80) = -14 [Bad address] expect -14: io_submit(0x7efcc0a30000, 2, 0x7ffed5846f90) = -14 [Bad address] expect -22: io_submit(0x7efcc0a30000, -1, 0x7ffed5846f70) = -22 [Invalid argument] test cases/3.t completed PASSED. Completed cases/3.p with 0. Starting cases/4.p expect -9: (w), res = sync_submit: io_submit res=-9 [Bad file descriptor] -9 [Bad file descriptor] expect -9: (r), res = sync_submit: io_submit res=-9 [Bad file descriptor] -9 [Bad file descriptor] expect 512: (w), res = 512 [Success] expect 512: (r), res = 512 [Success] expect -22: (r), res = sync_submit: io_submit res=-22 [Invalid argument] -22 [Invalid argument] expect -22: (w), res = sync_submit: io_submit res=-22 [Invalid argument] -22 [Invalid argument] expect 0: (r), res = 0 [No error information] expect 4: (w), res = 4 [Success] expect 4: (w), res = 4 [Success] expect 8: (r), res = 8 [Success] read after append: [12345678] expect -14: (r), res = sync_submit: io_submit res=-14 [Bad address] -14 [Bad address] expect -14: (w), res = sync_submit: io_submit res=-14 [Bad address] -14 [Bad address] expect -14: (w), res = -14 [Bad address] test cases/4.t completed PASSED. Completed cases/4.p with 0. Starting cases/5.p expect 512: (w), res = 512 [Success] expect 512: (r), res = 512 [Success] expect 512: (r), res = 512 [Success] expect 512: (w), res = 512 [Success] expect 512: (w), res = 512 [Success] expect -14: (r), res = -14 [Bad address] expect 512: (r), res = 512 [Success] expect 512: (w), res = 512 [Success] test cases/5.t completed PASSED. Completed cases/5.p with 0. Starting cases/6.p size = 65911300 expect 805306368: (w), res = 805306368 [Success] expect 805306368: (r), res = 805306368 [Success] test cases/6.t completed PASSED. Completed cases/6.p with 0. Starting cases/7.p Completed cases/7.p with 0. Starting cases/11.p completed 1000000 out of 1000000 writes completed 1000000 out of 1000000 reads test cases/11.t completed PASSED. Completed cases/11.p with 0. Starting cases/12.p expect 0: io_submit(0x7fab722ff000, 0, 0) = 0 [No error information] expect -22: io_submit(0x7fab722ff000, 0, 0) = -22 [Invalid argument] child exited with status 0 test cases/12.t completed PASSED. Completed cases/12.p with 0. Starting cases/13.p expect 8: io_submit(0x7f2142c9c000, 8, 0x7ffd52840aa0) = 8 [] event[0]: write[0] okay, returned: 1048576 [okay] event[1]: write[1] okay, returned: 1048576 [okay] event[2]: write[2] okay, returned: 1048576 [okay] event[3]: write[3] okay, returned: 1048576 [okay] event[4]: write[4] okay, returned: 1048576 [okay] event[5]: write[5] okay, returned: 1048576 [okay] event[6]: write[6] okay, returned: 1048576 [okay] event[7]: write[7] okay, returned: 1048576 [okay] test cases/13.t completed PASSED. Completed cases/13.p with 0. Starting cases/14.p expect 0: io_submit(0x7fd5acb2e000, 0, 0) = 0 [No error information] child exited with status 0 test cases/14.t completed PASSED. Completed cases/14.p with 0. Starting cases/15.p expect 5120: (>), res = 5120 [Success] Checking memory: [Success] expect 5120: (<), res = 5120 [Success] expect 4608: (>), res = 4608 [Success] Checking memory: [Success] expect 4608: (<), res = 4608 [Success] Checking memory: [Success] test cases/15.t completed PASSED. Completed cases/15.p with 0. Starting cases/16.p eventfd write test [SUCCESS] eventfd read test [SUCCESS] test cases/16.t completed PASSED. Completed cases/16.p with 0. Starting cases/17.p aio ring size: 639 MAX_IOS: 638, IO_GETEVENTS Submitting: 638 Submitted: 638 Completed: 638 Verifying... OK MAX_IOS: 639, IO_GETEVENTS Submitting: 639 Submitted: 638 Submitting: 1 Submitted too much, that's okay Completed: 638 Submitting: 1 Submitted: 1 Completed: 1 Verifying... OK MAX_IOS: 640, IO_GETEVENTS Submitting: 640 Submitted: 638 Submitting: 2 Submitted too much, that's okay Completed: 638 Submitting: 2 Submitted: 2 Completed: 2 Verifying... OK MAX_IOS: 1278, IO_GETEVENTS Submitting: 1278 Submitted: 638 Submitting: 640 Submitted too much, that's okay Completed: 638 Submitting: 640 Submitted: 638 Submitting: 2 Submitted too much, that's okay Completed: 638 Submitting: 2 Submitted: 2 Completed: 2 Verifying... OK MAX_IOS: 2556, IO_GETEVENTS Submitting: 2556 Submitted: 638 Submitting: 1918 Submitted too much, that's okay Completed: 638 Submitting: 1918 Submitted: 638 Submitting: 1280 Submitted too much, that's okay Completed: 638 Submitting: 1280 Submitted: 638 Submitting: 642 Submitted too much, that's okay Completed: 638 Submitting: 642 Submitted: 638 Submitting: 4 Submitted too much, that's okay Completed: 638 Submitting: 4 Submitted: 4 Completed: 4 Verifying... OK MAX_IOS: 638, USER_GETEVENTS Submitting: 638 Submitted: 638 Completed: 638 Verifying... OK MAX_IOS: 639, USER_GETEVENTS Submitting: 639 Submitted: 638 Submitting: 1 Submitted too much, that's okay Completed: 638 Submitting: 1 Submitted: 1 Completed: 1 Verifying... OK MAX_IOS: 640, USER_GETEVENTS Submitting: 640 Submitted: 638 Submitting: 2 Submitted too much, that's okay Completed: 638 Submitting: 2 Submitted: 2 Completed: 2 Verifying... OK MAX_IOS: 1278, USER_GETEVENTS Submitting: 1278 Submitted: 638 Submitting: 640 Submitted too much, that's okay Completed: 638 Submitting: 640 Submitted: 638 Submitting: 2 Submitted too much, that's okay Completed: 638 Submitting: 2 Submitted: 2 Completed: 2 Verifying... OK MAX_IOS: 2556, USER_GETEVENTS Submitting: 2556 Submitted: 638 Submitting: 1918 Submitted too much, that's okay Completed: 638 Submitting: 1918 Submitted: 638 Submitting: 1280 Submitted too much, that's okay Completed: 638 Submitting: 1280 Submitted: 638 Submitting: 642 Submitted too much, that's okay Completed: 638 Submitting: 642 Submitted: 638 Submitting: 4 Submitted too much, that's okay Completed: 638 Submitting: 4 Submitted: 4 Completed: 4 Verifying... OK test cases/17.t completed PASSED. Completed cases/17.p with 0. Starting cases/18.p test cases/18.t completed PASSED. Completed cases/18.p with 0. Starting cases/19.p test cases/19.t completed PASSED. Completed cases/19.p with 0. Starting cases/20.p aio_max_nr: 65536 Creating 65536 ioctx-s with 1 events each... Successfully created 65514 io_context-s Last io_setup call returned -12 (Out of memory) Creating 32768 ioctx-s with 2 events each... Successfully created 32768 io_context-s Creating 16384 ioctx-s with 4 events each... Successfully created 16384 io_context-s Creating 8192 ioctx-s with 8 events each... Successfully created 8192 io_context-s Creating 4096 ioctx-s with 16 events each... Successfully created 4096 io_context-s Creating 2048 ioctx-s with 32 events each... Successfully created 2048 io_context-s Creating 1024 ioctx-s with 64 events each... Successfully created 1024 io_context-s Creating 512 ioctx-s with 128 events each... Successfully created 512 io_context-s Creating 256 ioctx-s with 256 events each... Successfully created 256 io_context-s Creating 128 ioctx-s with 512 events each... Successfully created 128 io_context-s Creating 64 ioctx-s with 1024 events each... Successfully created 64 io_context-s Creating 32 ioctx-s with 2048 events each... Successfully created 32 io_context-s Creating 16 ioctx-s with 4096 events each... Successfully created 16 io_context-s Creating 8 ioctx-s with 8192 events each... Successfully created 8 io_context-s Creating 4 ioctx-s with 16384 events each... Successfully created 4 io_context-s Creating 2 ioctx-s with 32768 events each... Successfully created 2 io_context-s Creating 1 ioctx-s with 65536 events each... Successfully created 1 io_context-s test cases/20.t completed PASSED. Completed cases/20.p with 0. Starting cases/21.p test cases/21.t completed PASSED. Completed cases/21.p with 0. Starting cases/22.p test cases/22.t completed PASSED. Completed cases/22.p with 0. Starting cases/23.p test cases/23.t completed PASSED. Completed cases/23.p with 0. Pass: 19 Fail: 0 Skip: 0 Test run complete at Wed Aug 24 06:00:02 UTC 2022 make[1]: Leaving directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/harness' >>> libaio: Entering fakeroot... make[1]: Entering directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' install -D -m 644 libaio.h /home/buildozer/aports/main/libaio/pkg/libaio/usr/include/libaio.h install -D -m 644 libaio.a /home/buildozer/aports/main/libaio/pkg/libaio/usr/lib/libaio.a install -D -m 755 libaio.so.1.0.2 /home/buildozer/aports/main/libaio/pkg/libaio/usr/lib/libaio.so.1.0.2 ln -sf libaio.so.1.0.2 /home/buildozer/aports/main/libaio/pkg/libaio/usr/lib/libaio.so.1 ln -sf libaio.so.1.0.2 /home/buildozer/aports/main/libaio/pkg/libaio/usr/lib/libaio.so make[1]: Leaving directory '/home/buildozer/aports/main/libaio/src/libaio-0.3.113/src' >>> libaio-dev*: Running split function dev... >>> libaio-dev*: Preparing subpackage libaio-dev... >>> libaio-dev*: Stripping binaries >>> libaio-dev*: Running postcheck for libaio-dev >>> libaio-doc*: Running split function doc... >>> libaio-doc*: Preparing subpackage libaio-doc... >>> libaio-doc*: Running postcheck for libaio-doc >>> libaio*: Running postcheck for libaio >>> libaio*: Preparing package libaio... >>> libaio*: Stripping binaries >>> libaio-dev*: Scanning shared objects >>> libaio-doc*: Scanning shared objects >>> libaio*: Scanning shared objects >>> libaio-dev*: Tracing dependencies... libaio=0.3.113-r0 >>> libaio-dev*: Package size: 48.0 KB >>> libaio-dev*: Compressing data... >>> libaio-dev*: Create checksum... >>> libaio-dev*: Create libaio-dev-0.3.113-r0.apk >>> libaio-doc*: Tracing dependencies... >>> libaio-doc*: Package size: 72.0 KB >>> libaio-doc*: Compressing data... >>> libaio-doc*: Create checksum... >>> libaio-doc*: Create libaio-doc-0.3.113-r0.apk >>> libaio*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> libaio*: Package size: 28.0 KB >>> libaio*: Compressing data... >>> libaio*: Create checksum... >>> libaio*: Create libaio-0.3.113-r0.apk >>> libaio: Build complete at Wed, 24 Aug 2022 06:00:03 +0000 elapsed time 0h 1m 43s >>> libaio: Cleaning up srcdir >>> libaio: Cleaning up pkgdir >>> libaio: Uninstalling dependencies... (1/3) Purging .makedepends-libaio (20220824.055821) (2/3) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (3/3) Purging readline (8.1.2-r0) Executing busybox-1.35.0-r22.trigger OK: 399 MiB in 102 packages >>> libaio: Updating the main/x86_64 repository index... >>> libaio: Signing the index...