>>> py3-opt_einsum: Building community/py3-opt_einsum 3.4.0-r1 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 22:42:54 +0000 >>> py3-opt_einsum: Validating /home/udu/aports/community/py3-opt_einsum/APKBUILD... >>> py3-opt_einsum: Analyzing dependencies... >>> py3-opt_einsum: Installing for build: build-base py3-numpy py3-gpep517 py3-hatch-fancy-pypi-readme py3-hatch-vcs py3-hatchling py3-wheel py3-pytest-cov py3-pytest-xdist WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/49) Installing libquadmath (14.2.0-r6) (2/49) Installing libgfortran (14.2.0-r6) (3/49) Installing openblas (0.3.28-r0) (4/49) Installing py3-numpy-pyc (2.2.4-r1) (5/49) Installing py3-numpy (2.2.4-r1) (6/49) Installing py3-numpy-tests (2.2.4-r1) (7/49) Installing py3-installer (0.7.0-r2) (8/49) Installing py3-installer-pyc (0.7.0-r2) (9/49) Installing py3-gpep517 (19-r0) (10/49) Installing py3-gpep517-pyc (19-r0) (11/49) Installing py3-hatch-fancy-pypi-readme (24.1.0-r1) (12/49) Installing py3-hatch-fancy-pypi-readme-pyc (24.1.0-r1) (13/49) Installing py3-editables (0.5-r2) (14/49) Installing py3-editables-pyc (0.5-r2) (15/49) Installing py3-parsing (3.2.3-r0) (16/49) Installing py3-parsing-pyc (3.2.3-r0) (17/49) Installing py3-packaging (25.0-r0) (18/49) Installing py3-packaging-pyc (25.0-r0) (19/49) Installing py3-pathspec (0.12.1-r2) (20/49) Installing py3-pathspec-pyc (0.12.1-r2) (21/49) Installing py3-pluggy (1.5.0-r0) (22/49) Installing py3-pluggy-pyc (1.5.0-r0) (23/49) Installing py3-trove-classifiers (2025.9.11.17-r0) (24/49) Installing py3-trove-classifiers-pyc (2025.9.11.17-r0) (25/49) Installing py3-hatchling (1.27.0-r0) (26/49) Installing py3-hatchling-pyc (1.27.0-r0) (27/49) Installing py3-setuptools (80.9.0-r0) (28/49) Installing py3-setuptools-pyc (80.9.0-r0) (29/49) Installing py3-setuptools_scm (8.3.1-r0) (30/49) Installing py3-setuptools_scm-pyc (8.3.1-r0) (31/49) Installing py3-hatch-vcs (0.4.0-r2) (32/49) Installing py3-hatch-vcs-pyc (0.4.0-r2) (33/49) Installing py3-wheel (0.46.1-r0) (34/49) Installing py3-wheel-pyc (0.46.1-r0) (35/49) Installing py3-iniconfig (2.1.0-r0) (36/49) Installing py3-iniconfig-pyc (2.1.0-r0) (37/49) Installing py3-py (1.11.0-r4) (38/49) Installing py3-py-pyc (1.11.0-r4) (39/49) Installing py3-pytest (8.3.5-r0) (40/49) Installing py3-pytest-pyc (8.3.5-r0) (41/49) Installing py3-coverage (7.8.2-r0) (42/49) Installing py3-coverage-pyc (7.8.2-r0) (43/49) Installing py3-pytest-cov (5.0.0-r0) (44/49) Installing py3-pytest-cov-pyc (5.0.0-r0) (45/49) Installing py3-execnet (2.1.1-r0) (46/49) Installing py3-execnet-pyc (2.1.1-r0) (47/49) Installing py3-pytest-xdist (3.6.1-r0) (48/49) Installing py3-pytest-xdist-pyc (3.6.1-r0) (49/49) Installing .makedepends-py3-opt_einsum (20251012.224255) Executing busybox-1.37.0-r19.trigger OK: 386 MiB in 138 packages >>> py3-opt_einsum: Cleaning up srcdir >>> py3-opt_einsum: Cleaning up pkgdir >>> py3-opt_einsum: Cleaning up tmpdir >>> py3-opt_einsum: Fetching https://github.com/dgasmith/opt_einsum/archive/v3.4.0/opt_einsum-3.4.0.tar.gz >>> py3-opt_einsum: Fetching https://github.com/dgasmith/opt_einsum/archive/v3.4.0/opt_einsum-3.4.0.tar.gz >>> py3-opt_einsum: Checking sha512sums... opt_einsum-3.4.0.tar.gz: OK >>> py3-opt_einsum: Unpacking /var/cache/distfiles/opt_einsum-3.4.0.tar.gz... 2025-10-12 22:42:57,369 gpep517 INFO Building wheel via backend hatchling.build 2025-10-12 22:42:57,576 gpep517 INFO The backend produced .dist/opt_einsum-3.4.0-py3-none-any.whl opt_einsum-3.4.0-py3-none-any.whl ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/py3-opt_einsum/src/opt_einsum-3.4.0 configfile: pyproject.toml plugins: xdist-3.6.1, cov-5.0.0 created: 20/20 workers 20 workers [7891 items] s.s.....sss............................................s..........s..................s......................................................sss....................................................................................................................................................... [ 3%] .......................................................................................................................................................................sss.................................................................................sssss...................................... [ 7%] ...................................................................sssssssss........................................................................................sss............................................................................ssss............................................... [ 11%] ............................................................s.................................................s..............................................ssssssss................................................................................................................................. [ 14%] .......................ssss.........................................s................................................ss..........ssss......................................................................sssssssss.................................................................................. [ 18%] ...................................................ssssssssssss......................................ssss.................................................ssssssss.................................................................................................................................... [ 22%] ...................................................................................................................................................................................................................................................................................................... [ 26%] ...................................................................................................................................................................................................................................................................................................... [ 29%] ...................................................................................................................................................................................................................................................................................................... [ 33%] ...................................................................................................................................................................................................................................................................................................... [ 37%] ...................................................................................................................................................................................................................................................................................................... [ 40%] ...................................................................................................................................................................................................................................................................................................... [ 44%] ...................................................................................................................................................................................................................................................................................................... [ 48%] ...................................................................................................................................................................................................................................................................................................... [ 52%] ...................................................................................................................................................................................................................................................................................................... [ 55%] ...................................................................................................................................................................................................................................................................................................... [ 59%] ...................................................................................................................................................................................................................................................................................................... [ 63%] ...................................................................................................................................................................................................................................................................................................... [ 67%] ...................................................................................................................................................................................................................................................................................................... [ 70%] ...................................................................................................................................................................................................................................................................................................... [ 74%] ...................................................................................................................................................................................................................................................................................................... [ 78%] ...................................................................................................................................................................................................................................................................................................... [ 81%] ...................................................................................................................................................................................................................................................................................................... [ 85%] ...................................................................................................................................................................................................................................................................................................... [ 89%] ...................................................................................................................................................................................................................................................................................................... [ 93%] ...................................................................................................................................................................................................................................................................................................... [ 96%] .........................................................................................................................................s....ss.....sssssssss..sssss..sss..sss.s...sss.ss...s..ss.ssssssss.s.sss..ssssss.ssss.sss..s...sss..ssss..FsF. [100%] ================================================================================================================================================== FAILURES ================================================================================================================================================== ________________________________________________________________________________________________________________________________________ test_parallel_random_greedy _________________________________________________________________________________________________________________________________________ [gw4] linux -- Python 3.12.11 /home/udu/aports/community/py3-opt_einsum/src/opt_einsum-3.4.0/.testenv/bin/python3 def test_parallel_random_greedy() -> None: np = pytest.importorskip("numpy") > pool = ProcessPoolExecutor(2) opt_einsum/tests/test_paths.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/concurrent/futures/process.py:747: in __init__ self._call_queue = _SafeQueue( /usr/lib/python3.12/concurrent/futures/process.py:177: in __init__ super().__init__(max_size, ctx=ctx) /usr/lib/python3.12/multiprocessing/queues.py:43: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError _________________________________________________________________________________________________________________________________________ test_multithreaded_sharing _________________________________________________________________________________________________________________________________________ [gw12] linux -- Python 3.12.11 /home/udu/aports/community/py3-opt_einsum/src/opt_einsum-3.4.0/.testenv/bin/python3 def test_multithreaded_sharing() -> None: from multiprocessing.pool import ThreadPool def fn(): x, y, z = build_views("ab,bc,cd") with shared_intermediates(): contract("ab,bc,cd->a", x, y, z) contract("ab,bc,cd->b", x, y, z) return len(get_sharing_cache()) expected = fn() > pool = ThreadPool(8) opt_einsum/tests/test_sharing.py:386: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/multiprocessing/pool.py:930: in __init__ Pool.__init__(self, processes, initializer, initargs) /usr/lib/python3.12/multiprocessing/pool.py:196: in __init__ self._change_notifier = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ========================================================================================================================================== short test summary info =========================================================================================================================================== FAILED opt_einsum/tests/test_paths.py::test_parallel_random_greedy - PermissionError: [Errno 13] Permission denied FAILED opt_einsum/tests/test_sharing.py::test_multithreaded_sharing - PermissionError: [Errno 13] Permission denied ================================================================================================================================ 2 failed, 7734 passed, 155 skipped in 13.37s ================================================================================================================================ >>> ERROR: py3-opt_einsum: check failed >>> py3-opt_einsum: Uninstalling dependencies... (1/49) Purging .makedepends-py3-opt_einsum (20251012.224255) (2/49) Purging py3-numpy-tests (2.2.4-r1) (3/49) Purging py3-numpy-pyc (2.2.4-r1) (4/49) Purging py3-numpy (2.2.4-r1) (5/49) Purging openblas (0.3.28-r0) (6/49) Purging py3-gpep517-pyc (19-r0) (7/49) Purging py3-gpep517 (19-r0) (8/49) Purging py3-installer-pyc (0.7.0-r2) (9/49) Purging py3-installer (0.7.0-r2) (10/49) Purging py3-hatch-fancy-pypi-readme-pyc (24.1.0-r1) (11/49) Purging py3-hatch-fancy-pypi-readme (24.1.0-r1) (12/49) Purging py3-hatch-vcs-pyc (0.4.0-r2) (13/49) Purging py3-hatch-vcs (0.4.0-r2) (14/49) Purging py3-setuptools_scm-pyc (8.3.1-r0) (15/49) Purging py3-setuptools_scm (8.3.1-r0) (16/49) Purging py3-setuptools-pyc (80.9.0-r0) (17/49) Purging py3-setuptools (80.9.0-r0) (18/49) Purging py3-hatchling-pyc (1.27.0-r0) (19/49) Purging py3-hatchling (1.27.0-r0) (20/49) Purging py3-editables-pyc (0.5-r2) (21/49) Purging py3-editables (0.5-r2) (22/49) Purging py3-pathspec-pyc (0.12.1-r2) (23/49) Purging py3-pathspec (0.12.1-r2) (24/49) Purging py3-trove-classifiers-pyc (2025.9.11.17-r0) (25/49) Purging py3-trove-classifiers (2025.9.11.17-r0) (26/49) Purging py3-wheel-pyc (0.46.1-r0) (27/49) Purging py3-wheel (0.46.1-r0) (28/49) Purging py3-pytest-cov-pyc (5.0.0-r0) (29/49) Purging py3-pytest-cov (5.0.0-r0) (30/49) Purging py3-coverage-pyc (7.8.2-r0) (31/49) Purging py3-coverage (7.8.2-r0) (32/49) Purging py3-pytest-xdist-pyc (3.6.1-r0) (33/49) Purging py3-pytest-xdist (3.6.1-r0) (34/49) Purging py3-execnet-pyc (2.1.1-r0) (35/49) Purging py3-execnet (2.1.1-r0) (36/49) Purging py3-pytest-pyc (8.3.5-r0) (37/49) Purging py3-pytest (8.3.5-r0) (38/49) Purging py3-iniconfig-pyc (2.1.0-r0) (39/49) Purging py3-iniconfig (2.1.0-r0) (40/49) Purging py3-packaging-pyc (25.0-r0) (41/49) Purging py3-packaging (25.0-r0) (42/49) Purging py3-parsing-pyc (3.2.3-r0) (43/49) Purging py3-parsing (3.2.3-r0) (44/49) Purging py3-pluggy-pyc (1.5.0-r0) (45/49) Purging py3-pluggy (1.5.0-r0) (46/49) Purging py3-py-pyc (1.11.0-r4) (47/49) Purging py3-py (1.11.0-r4) (48/49) Purging libgfortran (14.2.0-r6) (49/49) Purging libquadmath (14.2.0-r6) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages