>>> py3-aiorpcx: Building community/py3-aiorpcx 0.22.1-r4 (using abuild 3.14.1-r3) started Fri, 22 Nov 2024 17:15:23 +0000 >>> py3-aiorpcx: Validating /home/buildozer/aports/community/py3-aiorpcx/APKBUILD... >>> py3-aiorpcx: Analyzing dependencies... >>> py3-aiorpcx: Installing for build: build-base python3 py3-websockets py3-setuptools py3-pytest py3-pytest-asyncio (1/30) Installing libbz2 (1.0.8-r6) (2/30) Installing libffi (3.4.6-r0) (3/30) Installing gdbm (1.24-r0) (4/30) Installing xz-libs (5.6.3-r0) (5/30) Installing mpdecimal (4.0.0-r0) (6/30) Installing libpanelw (6.5_p20241006-r3) (7/30) Installing sqlite-libs (3.47.0-r0) (8/30) Installing python3 (3.12.7-r1) (9/30) Installing python3-pycache-pyc0 (3.12.7-r1) (10/30) Installing pyc (3.12.7-r1) (11/30) Installing python3-pyc (3.12.7-r1) (12/30) Installing py3-websockets (14.1-r0) (13/30) Installing py3-websockets-pyc (14.1-r0) (14/30) Installing py3-parsing (3.1.4-r0) (15/30) Installing py3-parsing-pyc (3.1.4-r0) (16/30) Installing py3-packaging (24.2-r0) (17/30) Installing py3-packaging-pyc (24.2-r0) (18/30) Installing py3-setuptools (70.3.0-r0) (19/30) Installing py3-setuptools-pyc (70.3.0-r0) (20/30) Installing py3-iniconfig (2.0.0-r1) (21/30) Installing py3-iniconfig-pyc (2.0.0-r1) (22/30) Installing py3-pluggy (1.5.0-r0) (23/30) Installing py3-pluggy-pyc (1.5.0-r0) (24/30) Installing py3-py (1.11.0-r4) (25/30) Installing py3-py-pyc (1.11.0-r4) (26/30) Installing py3-pytest (8.3.3-r0) (27/30) Installing py3-pytest-pyc (8.3.3-r0) (28/30) Installing py3-pytest-asyncio (0.24.0-r0) (29/30) Installing py3-pytest-asyncio-pyc (0.24.0-r0) (30/30) Installing .makedepends-py3-aiorpcx (20241122.171534) Executing busybox-1.37.0-r8.trigger OK: 442 MiB in 131 packages >>> py3-aiorpcx: Cleaning up srcdir >>> py3-aiorpcx: Cleaning up pkgdir >>> py3-aiorpcx: Cleaning up tmpdir >>> py3-aiorpcx: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/py3-aiorcpx-0.22.1.tar.gz >>> py3-aiorpcx: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/py3-aiorcpx-0.22.1.tar.gz >>> py3-aiorpcx: Checking sha512sums... py3-aiorcpx-0.22.1.tar.gz: OK >>> py3-aiorpcx: Unpacking /var/cache/distfiles/v3.21/py3-aiorcpx-0.22.1.tar.gz... running build running build_py creating build creating build/lib creating build/lib/aiorpcx copying aiorpcx/curio.py -> build/lib/aiorpcx copying aiorpcx/util.py -> build/lib/aiorpcx copying aiorpcx/jsonrpc.py -> build/lib/aiorpcx copying aiorpcx/rawsocket.py -> build/lib/aiorpcx copying aiorpcx/socks.py -> build/lib/aiorpcx copying aiorpcx/websocket.py -> build/lib/aiorpcx copying aiorpcx/__init__.py -> build/lib/aiorpcx copying aiorpcx/framing.py -> build/lib/aiorpcx copying aiorpcx/session.py -> build/lib/aiorpcx /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: 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.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-aiorpcx/src/aiorpcX-0.22.1 plugins: asyncio-0.24.0 asyncio: mode=Mode.STRICT, default_loop_scope=None collected 675 items tests/test_curio.py .................................................... [ 7%] ................................. [ 12%] tests/test_framing.py ............ [ 14%] tests/test_jsonrpc.py .................................................. [ 21%] ........................ [ 25%] tests/test_session.py .................................................. [ 32%] ............... [ 34%] tests/test_socks.py .................................................... [ 42%] ........................................................................ [ 53%] ........................................................................ [ 64%] ........................................................................ [ 74%] .................................. [ 79%] tests/test_util.py ..................................................... [ 87%] ........................................................................ [ 98%] ......... [ 99%] tests/test_websocket.py EEE [100%] ==================================== ERRORS ==================================== __________ ERROR at setup of TestWSTransport.test_send_request[False] __________ unused_tcp_port = 48715 event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.fixture def ws_server(unused_tcp_port, event_loop): > coro = serve_ws(MyServerSession, 'localhost', unused_tcp_port, loop=event_loop) tests/test_websocket.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/aiorpcx/websocket.py:131: in serve_ws return websockets.serve(ws_handler, *args, **kwargs) /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:737: in __init__ self.server = Server( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = handler = functools.partial(>, ) def __init__( self, handler: Callable[[ServerConnection], Awaitable[None]], *, process_request: ( Callable[ [ServerConnection, Request], Awaitable[Response | None] | Response | None, ] | None ) = None, process_response: ( Callable[ [ServerConnection, Request, Response], Awaitable[Response | None] | Response | None, ] | None ) = None, server_header: str | None = SERVER, open_timeout: float | None = 10, logger: LoggerLike | None = None, ) -> None: > self.loop = asyncio.get_running_loop() E RuntimeError: no running event loop /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:281: RuntimeError _____________ ERROR at setup of TestWSTransport.test_basics[False] _____________ unused_tcp_port = 42313 event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.fixture def ws_server(unused_tcp_port, event_loop): > coro = serve_ws(MyServerSession, 'localhost', unused_tcp_port, loop=event_loop) tests/test_websocket.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/aiorpcx/websocket.py:131: in serve_ws return websockets.serve(ws_handler, *args, **kwargs) /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:737: in __init__ self.server = Server( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = handler = functools.partial(>, ) def __init__( self, handler: Callable[[ServerConnection], Awaitable[None]], *, process_request: ( Callable[ [ServerConnection, Request], Awaitable[Response | None] | Response | None, ] | None ) = None, process_response: ( Callable[ [ServerConnection, Request, Response], Awaitable[Response | None] | Response | None, ] | None ) = None, server_header: str | None = SERVER, open_timeout: float | None = 10, logger: LoggerLike | None = None, ) -> None: > self.loop = asyncio.get_running_loop() E RuntimeError: no running event loop /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:281: RuntimeError ___________ ERROR at setup of TestWSTransport.test_is_closing[False] ___________ unused_tcp_port = 58213 event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.fixture def ws_server(unused_tcp_port, event_loop): > coro = serve_ws(MyServerSession, 'localhost', unused_tcp_port, loop=event_loop) tests/test_websocket.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/aiorpcx/websocket.py:131: in serve_ws return websockets.serve(ws_handler, *args, **kwargs) /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:737: in __init__ self.server = Server( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = handler = functools.partial(>, ) def __init__( self, handler: Callable[[ServerConnection], Awaitable[None]], *, process_request: ( Callable[ [ServerConnection, Request], Awaitable[Response | None] | Response | None, ] | None ) = None, process_response: ( Callable[ [ServerConnection, Request, Response], Awaitable[Response | None] | Response | None, ] | None ) = None, server_header: str | None = SERVER, open_timeout: float | None = 10, logger: LoggerLike | None = None, ) -> None: > self.loop = asyncio.get_running_loop() E RuntimeError: no running event loop /usr/lib/python3.12/site-packages/websockets/asyncio/server.py:281: RuntimeError =============================== warnings summary =============================== tests/test_socks.py:480 /home/buildozer/aports/community/py3-aiorpcx/src/aiorpcX-0.22.1/tests/test_socks.py:480: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_websocket.py::TestWSTransport::test_send_request[False] - Ru... ERROR tests/test_websocket.py::TestWSTransport::test_basics[False] - RuntimeE... ERROR tests/test_websocket.py::TestWSTransport::test_is_closing[False] - Runt... =================== 672 passed, 1 warning, 3 errors in 4.00s =================== >>> ERROR: py3-aiorpcx: check failed >>> py3-aiorpcx: Uninstalling dependencies... (1/30) Purging .makedepends-py3-aiorpcx (20241122.171534) (2/30) Purging py3-websockets-pyc (14.1-r0) (3/30) Purging py3-websockets (14.1-r0) (4/30) Purging py3-setuptools-pyc (70.3.0-r0) (5/30) Purging py3-setuptools (70.3.0-r0) (6/30) Purging py3-pytest-asyncio-pyc (0.24.0-r0) (7/30) Purging py3-pytest-asyncio (0.24.0-r0) (8/30) Purging py3-pytest-pyc (8.3.3-r0) (9/30) Purging py3-pytest (8.3.3-r0) (10/30) Purging py3-iniconfig-pyc (2.0.0-r1) (11/30) Purging py3-iniconfig (2.0.0-r1) (12/30) Purging py3-packaging-pyc (24.2-r0) (13/30) Purging py3-packaging (24.2-r0) (14/30) Purging py3-parsing-pyc (3.1.4-r0) (15/30) Purging py3-parsing (3.1.4-r0) (16/30) Purging py3-pluggy-pyc (1.5.0-r0) (17/30) Purging py3-pluggy (1.5.0-r0) (18/30) Purging py3-py-pyc (1.11.0-r4) (19/30) Purging py3-py (1.11.0-r4) (20/30) Purging python3-pyc (3.12.7-r1) (21/30) Purging python3-pycache-pyc0 (3.12.7-r1) (22/30) Purging pyc (3.12.7-r1) (23/30) Purging python3 (3.12.7-r1) (24/30) Purging gdbm (1.24-r0) (25/30) Purging libbz2 (1.0.8-r6) (26/30) Purging libffi (3.4.6-r0) (27/30) Purging libpanelw (6.5_p20241006-r3) (28/30) Purging mpdecimal (4.0.0-r0) (29/30) Purging sqlite-libs (3.47.0-r0) (30/30) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r8.trigger OK: 395 MiB in 101 packages