==> Building on electivire ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 890 100% 0.00kB/s 0:00:00 890 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-zict-2.2.0-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 752 bytes received 69 bytes 328.40 bytes/sec total size is 1,087 speedup is 1.32 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root31 on remote host... [?25l:: Synchronizing package databases... core downloading... extra 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] -> [root31]...done ==> Making package: python-zict 2.2.0-2 (Fri Jun 30 02:42:56 2023) ==> Retrieving sources...  -> Found zict-2.2.0.tar.gz ==> Validating source files with sha256sums... zict-2.2.0.tar.gz ... Passed ==> Making package: python-zict 2.2.0-2 (Fri Jun 30 02:43:43 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-1 104.68 MiB extra/python-heapdict 1.0.1-6 0.02 MiB 0.01 MiB Total Download Size: 0.01 MiB Total Installed Size: 104.76 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-heapdict-1.0.1-6-any downloading... 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 installing python-heapdict... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (25) New Version Net Change Download Size extra/lmdb 0.9.29-1 0.39 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-cffi 1.15.1-3 1.39 MiB extra/python-fastjsonschema 2.17.1-1 0.29 MiB extra/python-inflect 6.0.4-2 0.38 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.7.0-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-platformdirs 3.5.1-1 0.20 MiB extra/python-pluggy 1.0.0-4 0.13 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pydantic 1.10.9-1 6.57 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.5.24-1 0.11 MiB extra/python-typing_extensions 4.7.0-1 0.37 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-lmdb 1.4.1-2 0.47 MiB 0.08 MiB extra/python-psutil 5.9.5-1 3.35 MiB extra/python-pytest 7.3.2-1 3.98 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB Total Download Size: 0.08 MiB Total Installed Size: 26.34 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-lmdb-1.4.1-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... 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-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-ply... installing python-pycparser... installing python-cffi... installing lmdb... installing python-lmdb... installing python-psutil... [?25h==> Retrieving sources...  -> Found zict-2.2.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting zict-2.2.0.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/zict copying zict/__init__.py -> build/lib/zict copying zict/buffer.py -> build/lib/zict copying zict/cache.py -> build/lib/zict copying zict/common.py -> build/lib/zict copying zict/file.py -> build/lib/zict copying zict/func.py -> build/lib/zict copying zict/lmdb.py -> build/lib/zict copying zict/lru.py -> build/lib/zict copying zict/sieve.py -> build/lib/zict copying zict/zip.py -> build/lib/zict running egg_info writing zict.egg-info/PKG-INFO writing dependency_links to zict.egg-info/dependency_links.txt writing requirements to zict.egg-info/requires.txt writing top-level names to zict.egg-info/top_level.txt reading manifest file 'zict.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' under directory 'docs' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE.txt' writing manifest file 'zict.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'zict.tests' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'zict.tests' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'zict.tests' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'zict.tests' to be distributed and are already explicitly excluding 'zict.tests' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying zict/py.typed -> build/lib/zict creating build/lib/zict/tests copying zict/tests/__init__.py -> build/lib/zict/tests copying zict/tests/test_buffer.py -> build/lib/zict/tests copying zict/tests/test_cache.py -> build/lib/zict/tests copying zict/tests/test_file.py -> build/lib/zict/tests copying zict/tests/test_func.py -> build/lib/zict/tests copying zict/tests/test_lmdb.py -> build/lib/zict/tests copying zict/tests/test_lru.py -> build/lib/zict/tests copying zict/tests/test_sieve.py -> build/lib/zict/tests copying zict/tests/test_zip.py -> build/lib/zict/tests copying zict/tests/utils_test.py -> build/lib/zict/tests ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-zict/src/zict-2.2.0 configfile: setup.cfg collecting ... collected 53 items zict/buffer.py::zict.buffer.Buffer PASSED [ 1%] zict/cache.py::zict.cache.Cache PASSED [ 3%] zict/file.py::zict.file.File SKIPPED (all tests skipped by +SKIP option) [ 5%] zict/func.py::zict.func.Func PASSED [ 7%] zict/lmdb.py::zict.lmdb.LMDB SKIPPED (all tests skipped by +SKIP option) [ 9%] zict/lru.py::zict.lru.LRU PASSED [ 11%] zict/sieve.py::zict.sieve.Sieve PASSED [ 13%] zict/zip.py::zict.zip.Zip SKIPPED (all tests skipped by +SKIP option) [ 15%] zict/tests/test_buffer.py::test_simple PASSED [ 16%] zict/tests/test_buffer.py::test_setitem_avoid_fast_slow_duplicate PASSED [ 18%] zict/tests/test_buffer.py::test_mapping PASSED [ 20%] zict/tests/test_buffer.py::test_callbacks PASSED [ 22%] zict/tests/test_buffer.py::test_callbacks_exception_catch PASSED [ 24%] zict/tests/test_cache.py::test_cache_get_set_del PASSED [ 26%] zict/tests/test_cache.py::test_do_not_read_from_data PASSED [ 28%] zict/tests/test_cache.py::test_no_update_on_set PASSED [ 30%] zict/tests/test_cache.py::test_slow_fails PASSED [ 32%] zict/tests/test_cache.py::test_weakvaluemapping PASSED [ 33%] zict/tests/test_file.py::test_mapping PASSED [ 35%] zict/tests/test_file.py::test_implementation PASSED [ 37%] zict/tests/test_file.py::test_memmap_implementation PASSED [ 39%] zict/tests/test_file.py::test_str PASSED [ 41%] zict/tests/test_file.py::test_setitem_typeerror PASSED [ 43%] zict/tests/test_file.py::test_contextmanager PASSED [ 45%] zict/tests/test_file.py::test_delitem PASSED [ 47%] zict/tests/test_file.py::test_missing_key PASSED [ 49%] zict/tests/test_file.py::test_arbitrary_chars PASSED [ 50%] zict/tests/test_file.py::test_write_list_of_bytes PASSED [ 52%] zict/tests/test_func.py::test_simple PASSED [ 54%] zict/tests/test_func.py::test_mapping PASSED [ 56%] zict/tests/test_func.py::test_update_descopes_early[MutableMapping] PASSED [ 58%] zict/tests/test_func.py::test_update_descopes_early[ZictBase] PASSED [ 60%] zict/tests/test_lmdb.py::test_mapping FAILED [ 62%] zict/tests/test_lmdb.py::test_reuse FAILED [ 64%] zict/tests/test_lmdb.py::test_creates_dir FAILED [ 66%] zict/tests/test_lmdb.py::test_file_descriptors_dont_leak FAILED [ 67%] zict/tests/test_lru.py::test_simple PASSED [ 69%] zict/tests/test_lru.py::test_str PASSED [ 71%] zict/tests/test_lru.py::test_mapping PASSED [ 73%] zict/tests/test_lru.py::test_overwrite PASSED [ 75%] zict/tests/test_lru.py::test_callbacks PASSED [ 77%] zict/tests/test_lru.py::test_cb_exception_keep_on_lru PASSED [ 79%] zict/tests/test_lru.py::test_cb_exception_keep_on_lru_weights PASSED [ 81%] zict/tests/test_lru.py::test_weight PASSED [ 83%] zict/tests/test_lru.py::test_explicit_evict PASSED [ 84%] zict/tests/test_sieve.py::test_simple PASSED [ 86%] zict/tests/test_sieve.py::test_mapping PASSED [ 88%] zict/tests/test_zip.py::test_simple PASSED [ 90%] zict/tests/test_zip.py::test_setitem_typeerror PASSED [ 92%] zict/tests/test_zip.py::test_contextmanager PASSED [ 94%] zict/tests/test_zip.py::test_missing_key PASSED [ 96%] zict/tests/test_zip.py::test_close PASSED [ 98%] zict/tests/test_zip.py::test_bytearray PASSED [100%] =================================== FAILURES =================================== _________________________________ test_mapping _________________________________ fn = '/tmp/test_lmdb-s13pnzzo' def test_mapping(fn): """ Test mapping interface for LMDB(). """ > z = LMDB(fn) zict/tests/test_lmdb.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-s13pnzzo' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space map_size = 1 << 40 if sys.maxsize >= 2**32 else 1 << 28 # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-s13pnzzo: Operation not supported zict/lmdb.py:43: Error __________________________________ test_reuse __________________________________ fn = '/tmp/test_lmdb-qr8lpwqi' def test_reuse(fn): """ Test persistence of a LMDB() mapping. """ > with LMDB(fn) as z: zict/tests/test_lmdb.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-qr8lpwqi' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space map_size = 1 << 40 if sys.maxsize >= 2**32 else 1 << 28 # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-qr8lpwqi: Operation not supported zict/lmdb.py:43: Error _______________________________ test_creates_dir _______________________________ fn = '/tmp/test_lmdb-j53b4gm2' def test_creates_dir(fn): > with LMDB(fn): zict/tests/test_lmdb.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-j53b4gm2' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space map_size = 1 << 40 if sys.maxsize >= 2**32 else 1 << 28 # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-j53b4gm2: Operation not supported zict/lmdb.py:43: Error _______________________ test_file_descriptors_dont_leak ________________________ fn = '/tmp/test_lmdb-sfepfnw8' def test_file_descriptors_dont_leak(fn): psutil = pytest.importorskip("psutil") proc = psutil.Process() before = proc.num_fds() > z = LMDB(fn) zict/tests/test_lmdb.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-sfepfnw8' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space map_size = 1 << 40 if sys.maxsize >= 2**32 else 1 << 28 # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-sfepfnw8: Operation not supported zict/lmdb.py:43: Error =========================== short test summary info ============================ FAILED zict/tests/test_lmdb.py::test_mapping - lmdb.Error: /tmp/test_lmdb-s13pnzzo: Operation not supported FAILED zict/tests/test_lmdb.py::test_reuse - lmdb.Error: /tmp/test_lmdb-qr8lpwqi: Operation not supported FAILED zict/tests/test_lmdb.py::test_creates_dir - lmdb.Error: /tmp/test_lmdb-j53b4gm2: Operation not supported FAILED zict/tests/test_lmdb.py::test_file_descriptors_dont_leak - lmdb.Error: /tmp/test_lmdb-sfepfnw8: Operation not supported =================== 4 failed, 46 passed, 3 skipped in 11.26s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root31/build receiving incremental file list python-zict-2.2.0-2-riscv64-build.log python-zict-2.2.0-2-riscv64-check.log sent 62 bytes received 3,249 bytes 1,324.40 bytes/sec total size is 14,680 speedup is 4.43