>>> py3-asgiref: Building community/py3-asgiref 3.8.1-r1 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 15:23:22 +0000 >>> py3-asgiref: Validating /home/udu/aports/community/py3-asgiref/APKBUILD... >>> py3-asgiref: Analyzing dependencies... >>> py3-asgiref: Installing for build: build-base py3-gpep517 py3-setuptools py3-wheel py3-pytest py3-pytest-asyncio 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/23) Installing py3-installer-pyc (0.7.0-r2) (2/23) Installing py3-gpep517-pyc (19-r0) (3/23) Installing py3-installer (0.7.0-r2) (4/23) Installing py3-gpep517 (19-r0) (5/23) Installing py3-parsing (3.2.3-r0) (6/23) Installing py3-parsing-pyc (3.2.3-r0) (7/23) Installing py3-packaging (25.0-r0) (8/23) Installing py3-packaging-pyc (25.0-r0) (9/23) Installing py3-setuptools (80.9.0-r0) (10/23) Installing py3-setuptools-pyc (80.9.0-r0) (11/23) Installing py3-wheel (0.46.1-r0) (12/23) Installing py3-wheel-pyc (0.46.1-r0) (13/23) Installing py3-iniconfig (2.1.0-r0) (14/23) Installing py3-iniconfig-pyc (2.1.0-r0) (15/23) Installing py3-pluggy (1.5.0-r0) (16/23) Installing py3-pluggy-pyc (1.5.0-r0) (17/23) Installing py3-py (1.11.0-r4) (18/23) Installing py3-py-pyc (1.11.0-r4) (19/23) Installing py3-pytest (8.3.5-r0) (20/23) Installing py3-pytest-pyc (8.3.5-r0) (21/23) Installing py3-pytest-asyncio (0.25.0-r0) (22/23) Installing py3-pytest-asyncio-pyc (0.25.0-r0) (23/23) Installing .makedepends-py3-asgiref (20251012.152323) Executing busybox-1.37.0-r19.trigger OK: 310 MiB in 112 packages >>> py3-asgiref: Cleaning up srcdir >>> py3-asgiref: Cleaning up pkgdir >>> py3-asgiref: Cleaning up tmpdir >>> py3-asgiref: Fetching https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-3.8.1.tar.gz >>> py3-asgiref: Fetching https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-3.8.1.tar.gz >>> py3-asgiref: Checking sha512sums... asgiref-3.8.1.tar.gz: OK >>> py3-asgiref: Unpacking /var/cache/distfiles/asgiref-3.8.1.tar.gz... 2025-10-12 15:23:23,787 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-12 15:23:23,798 root INFO running bdist_wheel 2025-10-12 15:23:23,806 root INFO running build 2025-10-12 15:23:23,806 root INFO running build_py 2025-10-12 15:23:23,808 root INFO creating build/lib/asgiref 2025-10-12 15:23:23,808 root INFO copying asgiref/wsgi.py -> build/lib/asgiref 2025-10-12 15:23:23,808 root INFO copying asgiref/local.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/testing.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/current_thread_executor.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/sync.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/compatibility.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/server.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/timeout.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/typing.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO copying asgiref/__init__.py -> build/lib/asgiref 2025-10-12 15:23:23,809 root INFO running egg_info 2025-10-12 15:23:23,810 root INFO writing asgiref.egg-info/PKG-INFO 2025-10-12 15:23:23,811 root INFO writing dependency_links to asgiref.egg-info/dependency_links.txt 2025-10-12 15:23:23,811 root INFO writing requirements to asgiref.egg-info/requires.txt 2025-10-12 15:23:23,812 root INFO writing top-level names to asgiref.egg-info/top_level.txt 2025-10-12 15:23:23,813 root INFO reading manifest file 'asgiref.egg-info/SOURCES.txt' 2025-10-12 15:23:23,814 root INFO reading manifest template 'MANIFEST.in' 2025-10-12 15:23:23,814 root INFO adding license file 'LICENSE' 2025-10-12 15:23:23,814 root INFO writing manifest file 'asgiref.egg-info/SOURCES.txt' 2025-10-12 15:23:23,815 root INFO copying asgiref/py.typed -> build/lib/asgiref 2025-10-12 15:23:23,818 root INFO installing to build/bdist.linux-x86_64/wheel 2025-10-12 15:23:23,818 root INFO running install 2025-10-12 15:23:23,822 root INFO running install_lib 2025-10-12 15:23:23,824 root INFO creating build/bdist.linux-x86_64/wheel 2025-10-12 15:23:23,824 root INFO creating build/bdist.linux-x86_64/wheel/asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/wsgi.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/py.typed -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/local.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/testing.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/current_thread_executor.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/sync.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/compatibility.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/server.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/timeout.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/typing.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO copying build/lib/asgiref/__init__.py -> build/bdist.linux-x86_64/wheel/./asgiref 2025-10-12 15:23:23,825 root INFO running install_egg_info 2025-10-12 15:23:23,827 root INFO Copying asgiref.egg-info to build/bdist.linux-x86_64/wheel/./asgiref-3.8.1-py3.12.egg-info 2025-10-12 15:23:23,827 root INFO running install_scripts 2025-10-12 15:23:23,828 root INFO creating build/bdist.linux-x86_64/wheel/asgiref-3.8.1.dist-info/WHEEL 2025-10-12 15:23:23,828 wheel INFO creating '/home/udu/aports/community/py3-asgiref/src/asgiref-3.8.1/.dist/.tmp-04s9bs69/asgiref-3.8.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-10-12 15:23:23,828 wheel INFO adding 'asgiref/__init__.py' 2025-10-12 15:23:23,828 wheel INFO adding 'asgiref/compatibility.py' 2025-10-12 15:23:23,828 wheel INFO adding 'asgiref/current_thread_executor.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/local.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/py.typed' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/server.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/sync.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/testing.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/timeout.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/typing.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref/wsgi.py' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref-3.8.1.dist-info/licenses/LICENSE' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref-3.8.1.dist-info/METADATA' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref-3.8.1.dist-info/WHEEL' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref-3.8.1.dist-info/top_level.txt' 2025-10-12 15:23:23,829 wheel INFO adding 'asgiref-3.8.1.dist-info/RECORD' 2025-10-12 15:23:23,829 root INFO removing build/bdist.linux-x86_64/wheel 2025-10-12 15:23:23,830 gpep517 INFO The backend produced .dist/asgiref-3.8.1-py3-none-any.whl asgiref-3.8.1-py3-none-any.whl /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/py3-asgiref/src/asgiref-3.8.1 configfile: setup.cfg testpaths: tests plugins: asyncio-0.25.0 asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None collected 72 items tests/test_compatibility.py ... [ 4%] tests/test_local.py ............ [ 20%] tests/test_server.py .. [ 23%] tests/test_sync.py .................................F..xF..... [ 83%] tests/test_sync_contextvars.py ... [ 87%] tests/test_testing.py . [ 88%] tests/test_wsgi.py ........ [100%] ================================================================================================================================================== FAILURES ================================================================================================================================================== ____________________________________________________________________________________________________________________________________________ test_multiprocessing ____________________________________________________________________________________________________________________________________________ @pytest.mark.asyncio async def test_multiprocessing(): """ Tests that a forked process can use async_to_sync without it looking for the event loop from the parent process. """ > assert await sync_to_async(fork_first)() == 42 tests/test_sync.py:737: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ asgiref/sync.py:468: in __call__ ret = await asyncio.shield(exec_coro) /usr/lib/python3.12/concurrent/futures/thread.py:59: in run result = self.fn(*self.args, **self.kwargs) asgiref/sync.py:522: in thread_handler return func(*args, **kwargs) tests/test_sync.py:721: in fork_first queue = multiprocessing.Queue() /usr/lib/python3.12/multiprocessing/context.py:103: in Queue return Queue(maxsize, ctx=self.get_context()) /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_sync_to_async_with_blocker_non_thread_sensitive ____________________________________________________________________________________________________________________________ @pytest.mark.asyncio async def test_sync_to_async_with_blocker_non_thread_sensitive(): """ Tests sync_to_async running on a long-time blocker in a non_thread_sensitive context. """ delay = 1 # second > event = multiprocessing.Event() tests/test_sync.py:843: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/multiprocessing/context.py:93: in Event return Event(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:331: in __init__ self._cond = ctx.Condition(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 tests/test_sync.py::test_multiprocessing - PermissionError: [Errno 13] Permission denied FAILED tests/test_sync.py::test_sync_to_async_with_blocker_non_thread_sensitive - PermissionError: [Errno 13] Permission denied ================================================================================================================================== 2 failed, 69 passed, 1 xfailed in 9.46s =================================================================================================================================== >>> ERROR: py3-asgiref: check failed >>> py3-asgiref: Uninstalling dependencies... (1/23) Purging .makedepends-py3-asgiref (20251012.152323) (2/23) Purging py3-gpep517-pyc (19-r0) (3/23) Purging py3-gpep517 (19-r0) (4/23) Purging py3-installer-pyc (0.7.0-r2) (5/23) Purging py3-installer (0.7.0-r2) (6/23) Purging py3-setuptools-pyc (80.9.0-r0) (7/23) Purging py3-setuptools (80.9.0-r0) (8/23) Purging py3-wheel-pyc (0.46.1-r0) (9/23) Purging py3-wheel (0.46.1-r0) (10/23) Purging py3-pytest-asyncio-pyc (0.25.0-r0) (11/23) Purging py3-pytest-asyncio (0.25.0-r0) (12/23) Purging py3-pytest-pyc (8.3.5-r0) (13/23) Purging py3-pytest (8.3.5-r0) (14/23) Purging py3-iniconfig-pyc (2.1.0-r0) (15/23) Purging py3-iniconfig (2.1.0-r0) (16/23) Purging py3-packaging-pyc (25.0-r0) (17/23) Purging py3-packaging (25.0-r0) (18/23) Purging py3-parsing-pyc (3.2.3-r0) (19/23) Purging py3-parsing (3.2.3-r0) (20/23) Purging py3-pluggy-pyc (1.5.0-r0) (21/23) Purging py3-pluggy (1.5.0-r0) (22/23) Purging py3-py-pyc (1.11.0-r4) (23/23) Purging py3-py (1.11.0-r4) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages