==> Building on darmanitan ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,423 100% 0.00kB/s 0:00:00 1,423 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) libaio-0.3.113-2.log 209 100% 204.10kB/s 0:00:00 209 100% 204.10kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,157 bytes received 75 bytes 821.33 bytes/sec total size is 1,620 speedup is 1.31 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 451 100% 0.00kB/s 0:00:00 451 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 400 bytes received 44 bytes 888.00 bytes/sec total size is 451 speedup is 1.02 patching file PKGBUILD Hunk #1 succeeded at 23 (offset -1 lines). ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root1]...done ==> Making package: libaio 0.3.113-2 (Tue Mar 28 17:25:18 2023) ==> Retrieving sources...  -> Found libaio-libaio-0.3.113.tar.gz ==> Validating source files with sha512sums... libaio-libaio-0.3.113.tar.gz ... Passed ==> Validating source files with b2sums... libaio-libaio-0.3.113.tar.gz ... Passed ==> Making package: libaio 0.3.113-2 (Tue Mar 28 17:26:10 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Found libaio-libaio-0.3.113.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting libaio-libaio-0.3.113.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... make: Entering directory '/build/libaio/src/libaio-libaio-0.3.113' make[1]: Entering directory '/build/libaio/src/libaio-libaio-0.3.113/src' cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_init.ol io_queue_init.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_release.ol io_queue_release.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_wait.ol io_queue_wait.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_run.ol io_queue_run.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_getevents.ol io_getevents.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_submit.ol io_submit.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_cancel.ol io_cancel.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_setup.ol io_setup.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_destroy.ol io_destroy.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_pgetevents.ol io_pgetevents.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o raw_syscall.ol raw_syscall.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o compat-0_1.ol compat-0_1.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_init.os io_queue_init.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_release.os io_queue_release.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_wait.os io_queue_wait.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_queue_run.os io_queue_run.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_getevents.os io_getevents.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_submit.os io_submit.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_cancel.os io_cancel.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_setup.os io_setup.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_destroy.os io_destroy.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o io_pgetevents.os io_pgetevents.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o raw_syscall.os raw_syscall.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c -o compat-0_1.os compat-0_1.c rm -f libaio.a 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 cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -c struct_offsets.c cc -shared -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I. -fPIC -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,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto make[1]: Leaving directory '/build/libaio/src/libaio-libaio-0.3.113/src' make: Leaving directory '/build/libaio/src/libaio-libaio-0.3.113' ==> Starting check()... make: Entering directory '/build/libaio/src/libaio-libaio-0.3.113' make[1]: Entering directory '/build/libaio/src/libaio-libaio-0.3.113/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/libaio/src/libaio-libaio-0.3.113/src' make[1]: Entering directory '/build/libaio/src/libaio-libaio-0.3.113/harness' cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/2.t\" -o cases/2.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -Wno-stringop-overflow -DTEST_NAME=\"cases/3.t\" -o cases/3.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/4.t\" -o cases/4.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/5.t\" -o cases/5.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/6.t\" -o cases/6.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/7.t\" -o cases/7.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/11.t\" -o cases/11.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/12.t\" -o cases/12.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/13.t\" -o cases/13.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/14.t\" -o cases/14.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/15.t\" -o cases/15.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/16.t\" -o cases/16.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/17.t\" -o cases/17.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/18.t\" -o cases/18.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/19.t\" -o cases/19.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/20.t\" -o cases/20.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/21.t\" -o cases/21.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -I../src -g -O2 -DTEST_NAME=\"cases/22.t\" -o cases/22.p main.c ../src/libaio.a -lpthread cc -march=rv64gc -mabi=lp64d -O2 -pipe -Wall -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 echo "test" >testdir/rofile chmod 400 testdir/rofile rm -f testdir/rwfile echo "test" >testdir/rwfile chmod 600 testdir/rwfile rm -f testdir/wofile echo "test" >testdir/wofile 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 Tue Mar 28 17:26:34 EEST 2023 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, 0x3ff9bef630) = -22 [Invalid argument] expect -22: io_setup( -1, 0x3ff9bef630) = -22 [Invalid argument] expect -22: io_setup( 0, 0x3ff9bef630) = -22 [Invalid argument] expect 0: io_setup( 1, 0x3ff9bef630) = 0 [Success] expect -22: io_setup( 1, 0x3ff9bef630) = -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, 0x3fd4e645f8) = -22 [Invalid argument] expect 0: io_submit(0x3f8faf6000, 0, 0x3fd4e645f8) = 0 [Success] expect -14: io_submit(0x3f8faf6000, 1, (nil)) = -14 [Bad address] expect -14: io_submit(0x3f8faf6000, 1, 0xffffffffffffffff) = -14 [Bad address] expect -14: io_submit(0x3f8faf6000, 2, 0x3fd4e64608) = -14 [Bad address] expect -14: io_submit(0x3f8faf6000, 2, 0x3fd4e64618) = -14 [Bad address] expect -22: io_submit(0x3f8faf6000, -1, 0x3fd4e645f8) = -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 [Success] 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 -14: (w), res = 512 [Success] -- FAILED test cases/5.t completed FAILED. Completed cases/5.p with 1 -- FAILED. Starting cases/6.p size = 7347080 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 expect 512: (w), res = 512 [Success] expect 512: (r), res = 512 [Success] expect 511: (w), res = 511 [Success] expect 511: (r), res = 511 [Success] expect -27: (w), res = -27 [File too large] expect 0: (r), res = 0 [Success] expect 0: (w), res = 0 [Success] test cases/7.t completed PASSED. 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(0x3f8af0c000, 0, (nil)) = 0 [Success] expect -22: io_submit(0x3f8af0c000, 0, (nil)) = -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(0x3f9731d000, 8, 0x3ffda713a8) = 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(0x3faabc1000, 0, (nil)) = 0 [Success] 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: 127 MAX_IOS: 126, IO_GETEVENTS Submitting: 126 Submitted: 120 Submitting: 6 Submitted too much, that's okay Completed: 120 Submitting: 6 Submitted: 6 Completed: 6 Verifying... OK MAX_IOS: 127, IO_GETEVENTS Submitting: 127 Submitted: 120 Submitting: 7 Submitted too much, that's okay Completed: 120 Submitting: 7 Submitted: 7 Completed: 7 Verifying... OK MAX_IOS: 128, IO_GETEVENTS Submitting: 128 Submitted: 120 Submitting: 8 Submitted too much, that's okay Completed: 120 Submitting: 8 Submitted: 8 Completed: 8 Verifying... OK MAX_IOS: 254, IO_GETEVENTS Submitting: 254 Submitted: 120 Submitting: 134 Submitted too much, that's okay Completed: 120 Submitting: 134 Submitted: 120 Submitting: 14 Submitted too much, that's okay Completed: 120 Submitting: 14 Submitted: 14 Completed: 14 Verifying... OK MAX_IOS: 508, IO_GETEVENTS Submitting: 508 Submitted: 120 Submitting: 388 Submitted too much, that's okay Completed: 120 Submitting: 388 Submitted: 120 Submitting: 268 Submitted too much, that's okay Completed: 120 Submitting: 268 Submitted: 120 Submitting: 148 Submitted too much, that's okay Completed: 120 Submitting: 148 Submitted: 120 Submitting: 28 Submitted too much, that's okay Completed: 120 Submitting: 28 Submitted: 28 Completed: 28 Verifying... OK MAX_IOS: 126, USER_GETEVENTS Submitting: 126 Submitted: 120 Submitting: 6 Submitted too much, that's okay Completed: 120 Submitting: 6 Submitted: 6 Completed: 6 Verifying... OK MAX_IOS: 127, USER_GETEVENTS Submitting: 127 Submitted: 120 Submitting: 7 Submitted too much, that's okay Completed: 120 Submitting: 7 Submitted: 7 Completed: 7 Verifying... OK MAX_IOS: 128, USER_GETEVENTS Submitting: 128 Submitted: 120 Submitting: 8 Submitted too much, that's okay Completed: 120 Submitting: 8 Submitted: 8 Completed: 8 Verifying... OK MAX_IOS: 254, USER_GETEVENTS Submitting: 254 Submitted: 120 Submitting: 134 Submitted too much, that's okay Completed: 120 Submitting: 134 Submitted: 120 Submitting: 14 Submitted too much, that's okay Completed: 120 Submitting: 14 Submitted: 14 Completed: 14 Verifying... OK MAX_IOS: 508, USER_GETEVENTS Submitting: 508 Submitted: 120 Submitting: 388 Submitted too much, that's okay Completed: 120 Submitting: 388 Submitted: 120 Submitting: 268 Submitted too much, that's okay Completed: 120 Submitting: 268 Submitted: 120 Submitting: 148 Submitted too much, that's okay Completed: 120 Submitting: 148 Submitted: 120 Submitting: 28 Submitted too much, that's okay Completed: 120 Submitting: 28 Submitted: 28 Completed: 28 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: 1048576 Creating 1048576 ioctx-s with 1 events each... Successfully created 65516 io_context-s Last io_setup call returned -12 (Cannot allocate memory) Creating 524288 ioctx-s with 2 events each... Successfully created 65516 io_context-s Last io_setup call returned -12 (Cannot allocate memory) Creating 262144 ioctx-s with 4 events each... Successfully created 65516 io_context-s Last io_setup call returned -12 (Cannot allocate memory) Creating 131072 ioctx-s with 8 events each... Successfully created 65516 io_context-s Last io_setup call returned -12 (Cannot allocate memory) Creating 65536 ioctx-s with 16 events each... Successfully created 65516 io_context-s Last io_setup call returned -12 (Cannot allocate memory) Creating 32768 ioctx-s with 32 events each... Successfully created 32768 io_context-s Creating 16384 ioctx-s with 64 events each... Successfully created 16384 io_context-s Creating 8192 ioctx-s with 128 events each... Successfully created 8192 io_context-s Creating 4096 ioctx-s with 256 events each... Successfully created 4096 io_context-s Creating 2048 ioctx-s with 512 events each... Successfully created 2048 io_context-s Creating 1024 ioctx-s with 1024 events each... Successfully created 1024 io_context-s Creating 512 ioctx-s with 2048 events each... Successfully created 512 io_context-s Creating 256 ioctx-s with 4096 events each... Successfully created 256 io_context-s Creating 128 ioctx-s with 8192 events each... Successfully created 128 io_context-s Creating 64 ioctx-s with 16384 events each... Successfully created 64 io_context-s Creating 32 ioctx-s with 32768 events each... Successfully created 32 io_context-s Creating 16 ioctx-s with 65536 events each... Successfully created 16 io_context-s Creating 8 ioctx-s with 131072 events each... Successfully created 8 io_context-s Creating 4 ioctx-s with 262144 events each... Successfully created 4 io_context-s Creating 2 ioctx-s with 524288 events each... Successfully created 2 io_context-s Creating 1 ioctx-s with 1048576 events each... Successfully created 1 io_context-s test cases/20.t completed PASSED. Completed cases/20.p with 0. Starting cases/21.p Expected 4096, got 18446744073709551605 test cases/21.t completed FAILED. Completed cases/21.p with 1 -- FAILED. 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: 17 Fail: 2 Skip: 0 Test run complete at Tue Mar 28 17:33:07 EEST 2023 make[1]: *** [Makefile:53: partcheck] Error 2 make[1]: Leaving directory '/build/libaio/src/libaio-libaio-0.3.113/harness' make: *** [Makefile:23: partcheck] Error 2 make: Leaving directory '/build/libaio/src/libaio-libaio-0.3.113' ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root1/build receiving incremental file list libaio-0.3.113-2-riscv64-build.log libaio-0.3.113-2-riscv64-check.log libaio-0.3.113-2-riscv64-prepare.log sent 81 bytes received 2,960 bytes 2,027.33 bytes/sec total size is 17,128 speedup is 5.63