==> Building on R ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-locket ./ PKGBUILD 945 100% 0.00kB/s 0:00:00 945 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-locket-1.0.0-1.log 241 100% 235.35kB/s 0:00:00 241 100% 235.35kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 897 bytes received 102 bytes 1,998.00 bytes/sec total size is 1,133 speedup is 1.13 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix4 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] -> [felix4]...done ==> Making package: python-locket 1.0.0-1 (Fri Jun 17 04:20:53 2022) ==> Retrieving sources...  -> Downloading python-locket-1.0.0.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 6541 0 6541 0 0 10658 0 --:--:-- --:--:-- --:--:-- 10658 ==> Validating source files with sha256sums... python-locket-1.0.0.tar.gz ... Passed ==> Making package: python-locket 1.0.0-1 (Fri Jun 17 04:21:03 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.1-2 79.11 MiB Total Installed Size: 79.17 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (23) New Version Net Change Download Size extra/libsodium 1.0.18-2 0.38 MiB community/python-apipkg 2.1.1-1 0.03 MiB extra/python-appdirs 1.4.4-6 0.07 MiB extra/python-attrs 21.4.0-1 0.45 MiB community/python-bcrypt 3.2.1-1 0.05 MiB 0.03 MiB extra/python-cffi 1.15.0-3 1.00 MiB extra/python-cryptography 37.0.2-1 3.57 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-more-itertools 8.13.0-1 0.48 MiB extra/python-ordered-set 4.0.2-6 0.06 MiB extra/python-packaging 21.3-1 0.26 MiB community/python-paramiko 2.11.0-1 1.78 MiB community/python-pluggy 1.0.0-1 0.10 MiB extra/python-ply 3.11-10 0.31 MiB community/python-py 1.11.0-1 0.71 MiB extra/python-pycparser 2.21-3 1.39 MiB community/python-pynacl 1.4.0-5 0.65 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB extra/python-six 1.16.0-5 0.09 MiB extra/python-tomli 2.0.1-1 0.08 MiB community/python-pytest 7.1.2-1 2.62 MiB extra/python-setuptools 1:59.5.0-1 2.96 MiB community/python-spur 0.3.22-5 0.09 MiB 0.03 MiB Total Download Size: 0.05 MiB Total Installed Size: 18.10 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-bcrypt-3.2.1-1-riscv64 downloading... python-spur-0.3.22-5-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-appdirs... installing python-more-itertools... installing python-ordered-set... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-setuptools... installing python-attrs... installing python-iniconfig... installing python-pluggy... installing python-apipkg... installing python-py... installing python-tomli... installing python-pytest... installing python-ply... installing python-pycparser... installing python-cffi... installing python-six... installing python-bcrypt... installing python-cryptography... installing libsodium... installing python-pynacl... installing python-paramiko... installing python-spur... [?25h==> Retrieving sources...  -> Found python-locket-1.0.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-locket-1.0.0.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/locket copying locket/__init__.py -> build/lib/locket ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-7.1.2, pluggy-1.0.0 rootdir: /build/python-locket/src/locket.py-1.0.0, configfile: tox.ini collected 16 items tests/locket_tests.py ............FFFF [100%] =================================== FAILURES =================================== _________ test_lock_is_released_if_holding_process_is_brutally_killed __________ lock_path = '/tmp/tmp_itk1ryq/some-lock' spawn_locker = .spawn_locker at 0x40038efd90> def test_lock_is_released_if_holding_process_is_brutally_killed(lock_path, spawn_locker): locker_1 = spawn_locker(lock_path) locker_2 = spawn_locker(lock_path) assert not locker_1.has_lock() assert not locker_2.has_lock() locker_1.acquire() time.sleep(0.1) locker_2.acquire() time.sleep(0.1) > assert locker_1.has_lock() E assert False E + where False = >() E + where > = .has_lock tests/locket_tests.py:185: AssertionError __ test_can_set_timeout_to_zero_to_raise_exception_if_lock_cannot_be_acquired __ lock_path = '/tmp/tmp749a6x1j/some-lock' spawn_locker = .spawn_locker at 0x40039516c0> def test_can_set_timeout_to_zero_to_raise_exception_if_lock_cannot_be_acquired(lock_path, spawn_locker): locker_1 = spawn_locker(lock_path) locker_2 = spawn_locker(lock_path, timeout=0) assert not locker_1.has_lock() assert not locker_2.has_lock() locker_1.acquire() time.sleep(0.1) locker_2.acquire() time.sleep(0.1) > assert locker_1.has_lock() E assert False E + where False = >() E + where > = .has_lock tests/locket_tests.py:207: AssertionError ________________ test_error_is_raised_after_timeout_has_expired ________________ lock_path = '/tmp/tmp52scqhcb/some-lock' spawn_locker = .spawn_locker at 0x4003951510> def test_error_is_raised_after_timeout_has_expired(lock_path, spawn_locker): locker_1 = spawn_locker(lock_path) locker_2 = spawn_locker(lock_path, timeout=0.5) assert not locker_1.has_lock() assert not locker_2.has_lock() locker_1.acquire() time.sleep(0.1) locker_2.acquire() time.sleep(0.1) > assert locker_1.has_lock() E assert False E + where False = >() E + where > = .has_lock tests/locket_tests.py:230: AssertionError __________ test_lock_is_acquired_if_available_before_timeout_expires ___________ lock_path = '/tmp/tmp_oydc7i7/some-lock' spawn_locker = .spawn_locker at 0x400265c550> def test_lock_is_acquired_if_available_before_timeout_expires(lock_path, spawn_locker): locker_1 = spawn_locker(lock_path) locker_2 = spawn_locker(lock_path, timeout=2) assert not locker_1.has_lock() assert not locker_2.has_lock() locker_1.acquire() time.sleep(0.1) locker_2.acquire() time.sleep(0.1) > assert locker_1.has_lock() E assert False E + where False = >() E + where > = .has_lock tests/locket_tests.py:255: AssertionError =========================== short test summary info ============================ FAILED tests/locket_tests.py::test_lock_is_released_if_holding_process_is_brutally_killed FAILED tests/locket_tests.py::test_can_set_timeout_to_zero_to_raise_exception_if_lock_cannot_be_acquired FAILED tests/locket_tests.py::test_error_is_raised_after_timeout_has_expired FAILED tests/locket_tests.py::test_lock_is_acquired_if_available_before_timeout_expires ========================= 4 failed, 12 passed in 2.13s ========================= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix4/build receiving incremental file list python-locket-1.0.0-1-riscv64-build.log python-locket-1.0.0-1-riscv64-check.log sent 62 bytes received 1,155 bytes 811.33 bytes/sec total size is 5,052 speedup is 4.15