==> Building on l ==> 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 898 bytes received 102 bytes 2,000.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 felix10 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] -> [felix10]...done ==> Making package: python-locket 1.0.0-1 (Wed Dec 28 18:58:47 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3487 0 3487 0 0 2182 0 --:--:-- 0:00:01 --:--:-- 2182 100 6541 0 6541 0 0 4090 0 --:--:-- 0:00:01 --:--:-- 2982k ==> Validating source files with sha256sums... python-locket-1.0.0.tar.gz ... Passed ==> Making package: python-locket 1.0.0-1 (Wed Dec 28 18:59:19 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.9-1 81.37 MiB Total Installed Size: 81.43 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 (32) New Version Net Change Download Size community/cython 0.29.32-2 7.52 MiB extra/libsodium 1.0.18-2 0.38 MiB extra/python-appdirs 1.4.4-7 0.07 MiB extra/python-attrs 22.2.0-1 0.44 MiB community/python-autocommand 2.2.2-1 0.07 MiB community/python-bcrypt 4.0.1-1 0.37 MiB 0.17 MiB extra/python-cffi 1.15.1-1 1.00 MiB extra/python-cryptography 38.0.4-1 3.57 MiB community/python-exceptiongroup 1.1.0-1 0.09 MiB community/python-inflect 6.0.2-1 0.28 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-jaraco.context 4.2.0-1 0.03 MiB community/python-jaraco.functools 3.5.2-1 0.05 MiB community/python-jaraco.text 3.11.0-1 0.07 MiB community/python-more-itertools 9.0.0-1 0.49 MiB extra/python-ordered-set 4.1.0-1 0.06 MiB extra/python-packaging 21.3-1 0.26 MiB community/python-paramiko 2.11.1-1 1.78 MiB 0.26 MiB community/python-pluggy 1.0.0-1 0.10 MiB extra/python-ply 3.11-10 0.31 MiB extra/python-pycparser 2.21-3 1.39 MiB community/python-pydantic 1.10.2-1 5.79 MiB community/python-pynacl 1.4.0-5 0.65 MiB 0.09 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB extra/python-six 1.16.0-6 0.09 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2022.12.22-1 0.11 MiB community/python-typing_extensions 4.4.0-1 0.22 MiB extra/python-validate-pyproject 0.10.1-1 0.41 MiB community/python-pytest 7.2.0-4 2.79 MiB extra/python-setuptools 1:65.6.3-1 3.31 MiB community/python-spur 0.3.22-5 0.09 MiB 0.03 MiB Total Download Size: 0.55 MiB Total Installed Size: 32.84 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-paramiko-2.11.1-1-any downloading... python-bcrypt-4.0.1-1-riscv64 downloading... python-pynacl-1.4.0-5-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-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing cython... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... 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-tomli... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-attrs... installing python-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-bcrypt... installing python-ply... installing python-pycparser... installing python-cffi... installing python-cryptography... installing libsodium... installing python-six... 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.9, pytest-7.2.0, pluggy-1.0.0 rootdir: /build/python-locket/src/locket.py-1.0.0, configfile: tox.ini collected 16 items tests/locket_tests.py ...........FFEFEFEFE [100%] ==================================== ERRORS ==================================== _ ERROR at teardown of test_lock_is_released_if_holding_process_is_brutally_killed _ @pytest.fixture(name="spawn_locker") def _fixture_spawn_locker(): lockers = [] def spawn_locker(*args, **kwargs): locker = _Locker(*args, **kwargs) lockers.append(locker) return locker try: yield spawn_locker finally: for locker in lockers: > locker.terminate() tests/locket_tests.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def terminate(self): > pid = int(self._stdout_lines()[0].strip()) E ValueError: invalid literal for int() with base 10: '' tests/locket_tests.py:304: ValueError _ ERROR at teardown of test_can_set_timeout_to_zero_to_raise_exception_if_lock_cannot_be_acquired _ @pytest.fixture(name="spawn_locker") def _fixture_spawn_locker(): lockers = [] def spawn_locker(*args, **kwargs): locker = _Locker(*args, **kwargs) lockers.append(locker) return locker try: yield spawn_locker finally: for locker in lockers: > locker.terminate() tests/locket_tests.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def terminate(self): > pid = int(self._stdout_lines()[0].strip()) E ValueError: invalid literal for int() with base 10: '' tests/locket_tests.py:304: ValueError _____ ERROR at teardown of test_error_is_raised_after_timeout_has_expired ______ @pytest.fixture(name="spawn_locker") def _fixture_spawn_locker(): lockers = [] def spawn_locker(*args, **kwargs): locker = _Locker(*args, **kwargs) lockers.append(locker) return locker try: yield spawn_locker finally: for locker in lockers: > locker.terminate() tests/locket_tests.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def terminate(self): > pid = int(self._stdout_lines()[0].strip()) E ValueError: invalid literal for int() with base 10: '' tests/locket_tests.py:304: ValueError _ ERROR at teardown of test_lock_is_acquired_if_available_before_timeout_expires _ @pytest.fixture(name="spawn_locker") def _fixture_spawn_locker(): lockers = [] def spawn_locker(*args, **kwargs): locker = _Locker(*args, **kwargs) lockers.append(locker) return locker try: yield spawn_locker finally: for locker in lockers: > locker.terminate() tests/locket_tests.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def terminate(self): > pid = int(self._stdout_lines()[0].strip()) E ValueError: invalid literal for int() with base 10: '' tests/locket_tests.py:304: ValueError =================================== FAILURES =================================== ________________ test_lock_file_blocks_until_lock_is_available _________________ lock_path = '/tmp/tmpqls4p255/some-lock' spawn_locker = .spawn_locker at 0x4004a2d3f0> def test_lock_file_blocks_until_lock_is_available(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:157: AssertionError _________ test_lock_is_released_if_holding_process_is_brutally_killed __________ lock_path = '/tmp/tmpdd3c7kvj/some-lock' spawn_locker = .spawn_locker at 0x4004a2d2d0> 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/tmphumn5qsx/some-lock' spawn_locker = .spawn_locker at 0x4004a2d360> 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/tmphu89wgzh/some-lock' spawn_locker = .spawn_locker at 0x4004a2f130> 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/tmp0tmdzy_w/some-lock' spawn_locker = .spawn_locker at 0x4004a2f400> 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_file_blocks_until_lock_is_available 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 ERROR tests/locket_tests.py::test_lock_is_released_if_holding_process_is_brutally_killed ERROR tests/locket_tests.py::test_can_set_timeout_to_zero_to_raise_exception_if_lock_cannot_be_acquired ERROR tests/locket_tests.py::test_error_is_raised_after_timeout_has_expired ERROR tests/locket_tests.py::test_lock_is_acquired_if_available_before_timeout_expires ==================== 5 failed, 11 passed, 4 errors in 5.28s ==================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix10/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,544 bytes 3,212.00 bytes/sec total size is 9,809 speedup is 6.11