>>> py3-websockets: Building community/py3-websockets 10.4-r3 (using abuild 3.11.0_rc13-r0) started Sat, 22 Apr 2023 16:50:51 +0000 >>> py3-websockets: Checking sanity of /home/buildozer/aports/community/py3-websockets/APKBUILD... >>> py3-websockets: Analyzing dependencies... >>> py3-websockets: Installing for build: build-base python3-dev py3-setuptools (1/20) Installing libbz2 (1.0.8-r5) (2/20) Installing libffi (3.4.4-r2) (3/20) Installing gdbm (1.23-r1) (4/20) Installing xz-libs (5.4.2-r1) (5/20) Installing mpdecimal (2.5.1-r2) (6/20) Installing libpanelw (6.4_p20230401-r5) (7/20) Installing readline (8.2.1-r1) (8/20) Installing sqlite-libs (3.41.2-r2) (9/20) Installing python3 (3.11.3-r10) (10/20) Installing python3-pycache-pyc0 (3.11.3-r10) (11/20) Installing pyc (0.1-r0) (12/20) Installing python3-pyc (3.11.3-r10) (13/20) Installing python3-dev (3.11.3-r10) (14/20) Installing py3-parsing (3.0.9-r2) (15/20) Installing py3-parsing-pyc (3.0.9-r2) (16/20) Installing py3-packaging (23.1-r1) (17/20) Installing py3-packaging-pyc (23.1-r1) (18/20) Installing py3-setuptools (67.7.1-r0) (19/20) Installing py3-setuptools-pyc (67.7.1-r0) (20/20) Installing .makedepends-py3-websockets (20230422.165052) Executing busybox-1.36.0-r7.trigger OK: 470 MiB in 118 packages >>> py3-websockets: Cleaning up srcdir >>> py3-websockets: Cleaning up pkgdir >>> py3-websockets: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/py3-websockets-10.4.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 100 302k 100 302k 0 0 2658k 0 --:--:-- --:--:-- --:--:-- 2675k >>> py3-websockets: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/py3-websockets-10.4.tar.gz >>> py3-websockets: Checking sha512sums... py3-websockets-10.4.tar.gz: OK skip-reconnect-test.patch: OK >>> py3-websockets: Unpacking /var/cache/distfiles/v3.18/py3-websockets-10.4.tar.gz... >>> py3-websockets: skip-reconnect-test.patch patching file tests/legacy/test_client_server.py Hunk #1 succeeded at 1535 (offset 61 lines). /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running build running build_py creating build creating build/lib.linux-i686-cpython-311 creating build/lib.linux-i686-cpython-311/websockets copying src/websockets/utils.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/datastructures.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/typing.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/imports.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/__init__.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/version.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/streams.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/__main__.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/http.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/uri.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/frames.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/http11.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/connection.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/client.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/server.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/headers.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/exceptions.py -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/auth.py -> build/lib.linux-i686-cpython-311/websockets creating build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/handshake.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/framing.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/__init__.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/http.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/protocol.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/client.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/server.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/compatibility.py -> build/lib.linux-i686-cpython-311/websockets/legacy copying src/websockets/legacy/auth.py -> build/lib.linux-i686-cpython-311/websockets/legacy creating build/lib.linux-i686-cpython-311/websockets/extensions copying src/websockets/extensions/__init__.py -> build/lib.linux-i686-cpython-311/websockets/extensions copying src/websockets/extensions/base.py -> build/lib.linux-i686-cpython-311/websockets/extensions copying src/websockets/extensions/permessage_deflate.py -> build/lib.linux-i686-cpython-311/websockets/extensions running egg_info creating src/websockets.egg-info writing src/websockets.egg-info/PKG-INFO writing dependency_links to src/websockets.egg-info/dependency_links.txt writing top-level names to src/websockets.egg-info/top_level.txt writing manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/websockets.egg-info/SOURCES.txt' copying src/websockets/py.typed -> build/lib.linux-i686-cpython-311/websockets copying src/websockets/speedups.c -> build/lib.linux-i686-cpython-311/websockets running build_ext building 'websockets.speedups' extension creating build/temp.linux-i686-cpython-311 creating build/temp.linux-i686-cpython-311/src creating build/temp.linux-i686-cpython-311/src/websockets gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security -fPIC -I/usr/include/python3.11 -c src/websockets/speedups.c -o build/temp.linux-i686-cpython-311/src/websockets/speedups.o gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security build/temp.linux-i686-cpython-311/src/websockets/speedups.o -L/usr/lib -o build/lib.linux-i686-cpython-311/websockets/speedups.cpython-311-i386-linux-musl.so /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.11/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) WARNING: The wheel package is not available. /usr/lib/python3.11/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) WARNING: The wheel package is not available. /usr/lib/python3.11/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( WARNING: The wheel package is not available. running egg_info writing src/websockets.egg-info/PKG-INFO writing dependency_links to src/websockets.egg-info/dependency_links.txt writing top-level names to src/websockets.egg-info/top_level.txt reading manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/websockets.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-i686-cpython-311/websockets/speedups.cpython-311-i386-linux-musl.so -> src/websockets test_enable_client_permessage_deflate (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_enable_client_permessage_deflate) ... ok test_get_request_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_get_request_params) ... ok test_init (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_name) ... ok test_process_response_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_compress_settings (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_compress_settings) ... ok test_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_context_takeover) ... ok test_decompress_max_size (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_decompress_max_size) ... ok test_encode_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_binary_frame) ... ok test_encode_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_binary_frame) ... ok test_encode_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_text_frame) ... ok test_encode_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_text_frame) ... ok test_local_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_local_no_context_takeover) ... ok test_name (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_name) ... ok test_no_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_binary_frame) ... ok test_no_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_binary_frame) ... ok test_no_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_text_frame) ... ok test_no_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_text_frame) ... ok test_no_encode_decode_close_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_close_frame) ... ok test_no_encode_decode_ping_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_ping_frame) ... ok test_no_encode_decode_pong_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_pong_frame) ... ok test_remote_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_remote_no_context_takeover) ... ok test_repr (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_repr) ... ok test_enable_server_permessage_deflate (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_enable_server_permessage_deflate) ... ok test_init (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_name) ... ok test_process_request_params (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_request_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_basic_auth (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth) ... server listening on 127.0.0.1:46581 connection open connection closed server closing server closed ok test_basic_auth_bad_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_bad_multiple_credentials) ... ok test_basic_auth_check_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_check_credentials) ... server listening on 127.0.0.1:34885 connection open connection closed server closing server closed ok test_basic_auth_custom_protocol (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol) ... server listening on 127.0.0.1:43155 connection open connection closed server closing server closed ok test_basic_auth_custom_protocol_subclass (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol_subclass) ... server listening on 127.0.0.1:45873 connection open connection closed server closing server closed ok test_basic_auth_defaults_to_deny_all (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_defaults_to_deny_all) ... server listening on 127.0.0.1:45111 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_invalid_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_credentials_details) ... server listening on 127.0.0.1:43571 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_invalid_password (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_password) ... server listening on 127.0.0.1:34909 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_invalid_username (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_username) ... server listening on 127.0.0.1:34225 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_missing_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials) ... server listening on 127.0.0.1:45743 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_missing_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials_details) ... server listening on 127.0.0.1:41531 connection failed (401 Unauthorized) server closing connection closed server closed ok test_basic_auth_server_bad_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_bad_credentials) ... ok test_basic_auth_server_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_multiple_credentials) ... server listening on 127.0.0.1:43967 connection open connection closed server closing server closed ok test_basic_auth_server_no_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_no_credentials) ... ok test_basic_auth_unsupported_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials) ... server listening on 127.0.0.1:38003 connection failed (401 Unauthorized) connection closed server closing server closed ok test_basic_auth_unsupported_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials_details) ... server listening on 127.0.0.1:46557 connection failed (401 Unauthorized) server closing connection closed server closed ok test_is_credentials (tests.legacy.test_auth.AuthTests.test_is_credentials) ... ok test_is_not_credentials (tests.legacy.test_auth.AuthTests.test_is_not_credentials) ... ok test_client (tests.legacy.test_client_server.AsyncAwaitTests.test_client) ... server listening on 127.0.0.1:38175 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 953, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedOK: received 1000 (OK); then sent 1000 (OK) connection closed server closing server closed ok test_server (tests.legacy.test_client_server.AsyncAwaitTests.test_server) ... server listening on 127.0.0.1:40873 server closing server closed ok test_iterate_on_messages (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages) ... server listening on 127.0.0.1:46227 connection open connection closed server closing server closed ok test_iterate_on_messages_going_away_exit_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_going_away_exit_ok) ... server listening on 127.0.0.1:41431 connection open connection closed server closing server closed ok test_iterate_on_messages_internal_error_exit_not_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_internal_error_exit_not_ok) ... server listening on 127.0.0.1:39369 connection open connection closed server closing server closed ok test_checking_lack_of_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds) ... server listening on 127.0.0.1:34467 connection open connection closed server closing server closed ok test_checking_lack_of_origin_succeeds_backwards_compatibility (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds_backwards_compatibility) ... server listening on 127.0.0.1:45591 connection open connection closed server closing server closed ok test_checking_origin_fails (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_fails) ... server listening on 127.0.0.1:33071 connection failed (403 Forbidden) connection closed server closing server closed ok test_checking_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_succeeds) ... server listening on 127.0.0.1:37037 connection open connection closed server closing server closed ok test_checking_origins_fails_with_multiple_headers (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origins_fails_with_multiple_headers) ... server listening on 127.0.0.1:34671 connection failed (400 Bad Request) connection closed server closing server closed ok test_basic (tests.legacy.test_client_server.ClientServerTests.test_basic) ... server listening on 127.0.0.1:43999 connection open connection closed server closing server closed ok test_client_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout) ... server listening on 127.0.0.1:37477 connection open connection closed server closing server closed ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout_over_timeout) ... server listening on 127.0.0.1:36547 connection open connection closed server closing server closed ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_closes_connection_before_handshake) ... server listening on 127.0.0.1:41785 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 944, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_client_connect_canceled_during_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_connect_canceled_during_handshake) ... server listening on 127.0.0.1:42197 server closing connection closed server closed Task exception was never retrieved future: exception=AttributeError("'SlowOpeningHandshakeProtocol' object has no attribute 'transfer_data_task'")> Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 790, in close self.transfer_data_task, ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SlowOpeningHandshakeProtocol' object has no attribute 'transfer_data_task' ok test_client_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol) ... server listening on 127.0.0.1:42413 connection open connection closed server closing server closed ok test_client_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_function) ... server listening on 127.0.0.1:44433 connection open connection closed server closing server closed ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_over_klass) ... server listening on 127.0.0.1:38841 connection open connection closed server closing server closed ok test_client_klass (tests.legacy.test_client_server.ClientServerTests.test_client_klass) ... server listening on 127.0.0.1:35733 connection open connection closed server closing server closed ok test_client_receives_malformed_response (tests.legacy.test_client_server.ClientServerTests.test_client_receives_malformed_response) ... server listening on 127.0.0.1:34799 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 944, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.ClientServerTests.test_client_sends_invalid_handshake_request) ... server listening on 127.0.0.1:45997 connection failed (426 Upgrade Required) connection closed server closing server closed ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_client_timeout_backwards_compatibility) ... server listening on 127.0.0.1:46279 connection open connection closed server closing server closed ok test_compression_deflate (tests.legacy.test_client_server.ClientServerTests.test_compression_deflate) ... server listening on 127.0.0.1:46541 connection open connection closed server closing server closed ok test_compression_unsupported_client (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_client) ... server listening on 127.0.0.1:33303 server closing server closed ok test_compression_unsupported_server (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_closing_handshake) ... server listening on 127.0.0.1:36625 connection open connection closed server closing server closed ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_opening_handshake) ... server listening on 127.0.0.1:42415 connection closed server closing server closed ok test_explicit_host_port (tests.legacy.test_client_server.ClientServerTests.test_explicit_host_port) ... server listening on 127.0.0.1:41773 connection open connection closed server closing server closed ok test_explicit_socket (tests.legacy.test_client_server.ClientServerTests.test_explicit_socket) ... server listening on 127.0.0.1:38525 connection open connection closed server closing server closed ok test_extension (tests.legacy.test_client_server.ClientServerTests.test_extension) ... server listening on 127.0.0.1:45567 connection open connection closed server closing server closed ok test_extension_client_rejection (tests.legacy.test_client_server.ClientServerTests.test_extension_client_rejection) ... server listening on 127.0.0.1:32923 connection open connection closed server closing server closed ok test_extension_mismatch (tests.legacy.test_client_server.ClientServerTests.test_extension_mismatch) ... server listening on 127.0.0.1:34319 connection open connection closed server closing server closed ok test_extension_no_match_then_match (tests.legacy.test_client_server.ClientServerTests.test_extension_no_match_then_match) ... server listening on 127.0.0.1:45127 connection open connection closed server closing server closed ok test_extension_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_extension_not_accepted) ... server listening on 127.0.0.1:45433 connection open connection closed server closing server closed ok test_extension_not_requested (tests.legacy.test_client_server.ClientServerTests.test_extension_not_requested) ... server listening on 127.0.0.1:39919 connection open connection closed server closing server closed ok test_extension_order (tests.legacy.test_client_server.ClientServerTests.test_extension_order) ... server listening on 127.0.0.1:38953 connection open connection closed server closing server closed ok test_extensions_error (tests.legacy.test_client_server.ClientServerTests.test_extensions_error) ... server listening on 127.0.0.1:43899 connection open connection closed server closing server closed ok test_extensions_error_no_extensions (tests.legacy.test_client_server.ClientServerTests.test_extensions_error_no_extensions) ... server listening on 127.0.0.1:37581 connection open connection closed server closing server closed ok test_http_request_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_custom_server_header) ... server listening on 127.0.0.1:33591 connection failed (200 OK) server closing connection closed server closed ok test_http_request_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_http_endpoint) ... server listening on 127.0.0.1:37445 connection failed (200 OK) server closing connection closed server closed ok test_http_request_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_no_server_header) ... server listening on 127.0.0.1:35467 connection failed (200 OK) connection closed server closing server closed ok test_http_request_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_ws_endpoint) ... server listening on 127.0.0.1:46653 connection failed (426 Upgrade Required) server closing connection closed server closed ok test_infinite_redirect (tests.legacy.test_client_server.ClientServerTests.test_infinite_redirect) ... server listening on 127.0.0.1:36205 connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed server closing server closed ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.ClientServerTests.test_invalid_status_error_during_client_connect) ... server listening on 127.0.0.1:46723 connection failed (403 Forbidden) connection closed server closing server closed ok test_invalid_subprotocol_client (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_client) ... server listening on 127.0.0.1:34207 server closing server closed ok test_invalid_subprotocol_server (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_loop_backwards_compatibility) ... server listening on 127.0.0.1:38637 connection open connection closed server closing server closed ok test_no_extension (tests.legacy.test_client_server.ClientServerTests.test_no_extension) ... server listening on 127.0.0.1:46725 connection open connection closed server closing server closed ok test_no_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_no_subprotocol) ... server listening on 127.0.0.1:46429 connection open connection closed server closing server closed ok test_process_request_argument (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument) ... server listening on 127.0.0.1:39071 connection failed (200 OK) connection closed server closing server closed ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument_backwards_compatibility) ... server listening on 127.0.0.1:35093 connection failed (200 OK) connection closed server closing server closed ok test_process_request_override (tests.legacy.test_client_server.ClientServerTests.test_process_request_override) ... server listening on 127.0.0.1:46595 connection failed (200 OK) server closing connection closed server closed ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_override_backwards_compatibility) ... server listening on 127.0.0.1:46621 connection failed (200 OK) server closing connection closed server closed ok test_protocol_custom_request_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_request_headers) ... server listening on 127.0.0.1:38399 connection open connection closed server closing server closed ok test_protocol_custom_response_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers) ... server listening on 127.0.0.1:37607 connection open connection closed server closing server closed ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable) ... server listening on 127.0.0.1:36233 connection open connection closed server closing server closed ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable_none) ... server listening on 127.0.0.1:32937 connection open connection closed server closing server closed ok test_protocol_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header) ... server listening on 127.0.0.1:43077 connection open connection closed server closing server closed ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header_legacy) ... server listening on 127.0.0.1:45949 connection open connection closed server closing server closed ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header) ... server listening on 127.0.0.1:44257 connection open connection closed server closing server closed ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header_legacy) ... server listening on 127.0.0.1:44381 connection open connection closed server closing server closed ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.ClientServerTests.test_protocol_deprecated_attributes) ... server listening on 127.0.0.1:36027 connection open connection closed server closing server closed ok test_protocol_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_headers) ... server listening on 127.0.0.1:39145 connection open connection closed server closing server closed ok test_protocol_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_server_header) ... server listening on 127.0.0.1:35567 connection open connection closed server closing server closed ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_user_agent_header) ... server listening on 127.0.0.1:44375 connection open connection closed server closing server closed ok test_protocol_path (tests.legacy.test_client_server.ClientServerTests.test_protocol_path) ... server listening on 127.0.0.1:46711 connection open connection closed server closing server closed ok test_redirect (tests.legacy.test_client_server.ClientServerTests.test_redirect) ... server listening on 127.0.0.1:46827 connection failed (301 Moved Permanently) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:43763 connection failed (302 Found) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:44405 connection failed (303 See Other) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:46687 connection failed (307 Temporary Redirect) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:43059 connection failed (308 Permanent Redirect) connection closed connection open connection closed server closing server closed ok test_redirect_missing_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_missing_location) ... server listening on 127.0.0.1:45017 connection failed (302 Found) connection closed server closing server closed ok test_redirect_relative_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_relative_location) ... server listening on 127.0.0.1:39971 connection failed (302 Found) connection closed connection open connection closed server closing server closed ok test_select_subprotocol_argument (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_argument) ... server listening on 127.0.0.1:32801 connection open connection closed server closing server closed ok test_select_subprotocol_override (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_override) ... server listening on 127.0.0.1:45819 connection open connection closed server closing server closed ok test_server_close_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_close_crashes) ... server listening on 127.0.0.1:45303 connection open closing handshake failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 244, in handler await self.close() File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect ValueError: close failed connection closed server closing server closed ok test_server_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout) ... server listening on 127.0.0.1:44847 connection open connection closed server closing server closed ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout_over_timeout) ... server listening on 127.0.0.1:36897 connection open connection closed server closing server closed ok test_server_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol) ... server listening on 127.0.0.1:43357 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_function) ... server listening on 127.0.0.1:43775 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_over_klass) ... server listening on 127.0.0.1:36565 connection failed (403 Forbidden) connection closed server closing server closed ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.ClientServerTests.test_server_does_not_switch_protocols) ... server listening on 127.0.0.1:39615 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 944, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_server_error_in_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_error_in_handshake) ... server listening on 127.0.0.1:38341 opening handshake failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 165, in handler await self.handshake( File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 593, in handshake early_response = await early_response_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect Exception: process_request crashed connection failed (500 Internal Server Error) connection closed server closing server closed ok test_server_handler_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_handler_crashes) ... server listening on 127.0.0.1:41543 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect ValueError: send failed connection closed server closing server closed ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_klass_backwards_compatibility) ... server listening on 127.0.0.1:38797 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_receives_malformed_request (tests.legacy.test_client_server.ClientServerTests.test_server_receives_malformed_request) ... server listening on 127.0.0.1:36641 connection failed (400 Bad Request) connection closed server closing server closed ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.ClientServerTests.test_server_sends_invalid_handshake_response) ... server listening on 127.0.0.1:36351 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 944, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_connection_handling) ... server listening on 127.0.0.1:46441 connection open server closing connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 953, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedOK: sent 1001 (going away); then received 1001 (going away) connection closed server closed ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_opening_handshake) ... server listening on 127.0.0.1:34267 server closing connection failed (503 Service Unavailable) connection closed server closed ok test_server_shuts_down_waits_until_handlers_terminate (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_waits_until_handlers_terminate) ... server listening on 127.0.0.1:36851 connection open server closing connection closed server closed ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_timeout_backwards_compatibility) ... server listening on 127.0.0.1:44521 connection open connection closed server closing server closed ok test_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_subprotocol) ... server listening on 127.0.0.1:33687 connection open connection closed server closing server closed ok test_subprotocol_error (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error) ... server listening on 127.0.0.1:45139 connection open connection closed server closing server closed ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_no_subprotocols) ... server listening on 127.0.0.1:36073 connection open connection closed server closing server closed ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_two_subprotocols) ... server listening on 127.0.0.1:33463 connection open connection closed server closing server closed ok test_subprotocol_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_accepted) ... server listening on 127.0.0.1:36583 connection open connection closed server closing server closed ok test_subprotocol_not_offered (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_offered) ... server listening on 127.0.0.1:34117 connection open connection closed server closing server closed ok test_subprotocol_not_requested (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_requested) ... server listening on 127.0.0.1:41849 connection open connection closed server closing server closed ok test_unix_socket (tests.legacy.test_client_server.ClientServerTests.test_unix_socket) ... server listening on /tmp/tmpuifv11he/websockets connection open connection closed server closing server closed ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_http_endpoint) ... server listening on 127.0.0.1:33599 connection failed (200 OK) connection closed server closing server closed ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_ws_endpoint) ... server listening on 127.0.0.1:41577 connection open connection closed server closing server closed ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility) ... server listening on 127.0.0.1:43365 connection open connection closed server closing server closed ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... server listening on 127.0.0.1:38039 connection open connection closed server closing server closed ok test_client (tests.legacy.test_client_server.ContextManagerTests.test_client) ... server listening on 127.0.0.1:34921 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 953, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedOK: received 1000 (OK); then sent 1000 (OK) connection closed server closing server closed ok test_server (tests.legacy.test_client_server.ContextManagerTests.test_server) ... server listening on 127.0.0.1:44517 server closing server closed ok test_unix_server (tests.legacy.test_client_server.ContextManagerTests.test_unix_server) ... server listening on /tmp/tmpefstyylz/websockets server closing server closed ok test_logger_client (tests.legacy.test_client_server.LoggerTests.test_logger_client) ... ok test_reconnect (tests.legacy.test_client_server.ReconnectionTests.test_reconnect) ... skipped '' test_basic (tests.legacy.test_client_server.SecureClientServerTests.test_basic) ... server listening on 127.0.0.1:40779 connection open connection closed server closing server closed ok test_client_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout) ... server listening on 127.0.0.1:41013 connection open connection closed server closing server closed ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout_over_timeout) ... server listening on 127.0.0.1:43637 connection open connection closed server closing server closed ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_client_closes_connection_before_handshake) ... server listening on 127.0.0.1:37807 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 939, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_client_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol) ... server listening on 127.0.0.1:35441 connection open connection closed server closing server closed ok test_client_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_function) ... server listening on 127.0.0.1:46721 connection open connection closed server closing server closed ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_over_klass) ... server listening on 127.0.0.1:46599 connection open connection closed server closing server closed ok test_client_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_klass) ... server listening on 127.0.0.1:36295 connection open connection closed server closing server closed ok test_client_receives_malformed_response (tests.legacy.test_client_server.SecureClientServerTests.test_client_receives_malformed_response) ... server listening on 127.0.0.1:43583 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 939, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.SecureClientServerTests.test_client_sends_invalid_handshake_request) ... server listening on 127.0.0.1:37547 connection failed (426 Upgrade Required) connection closed server closing server closed ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_client_timeout_backwards_compatibility) ... server listening on 127.0.0.1:43757 connection open connection closed server closing server closed ok test_compression_deflate (tests.legacy.test_client_server.SecureClientServerTests.test_compression_deflate) ... server listening on 127.0.0.1:45805 connection open connection closed server closing server closed ok test_compression_unsupported_client (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_client) ... server listening on 127.0.0.1:36045 server closing server closed ok test_compression_unsupported_server (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_closing_handshake) ... server listening on 127.0.0.1:35565 connection open connection closed server closing server closed ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_opening_handshake) ... server listening on 127.0.0.1:36265 connection closed server closing server closed ok test_explicit_host_port (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_host_port) ... server listening on 127.0.0.1:33637 connection open connection closed server closing server closed ok test_explicit_socket (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_socket) ... server listening on 127.0.0.1:45259 connection open connection closed server closing server closed ok test_extension (tests.legacy.test_client_server.SecureClientServerTests.test_extension) ... server listening on 127.0.0.1:45705 connection open connection closed server closing server closed ok test_extension_client_rejection (tests.legacy.test_client_server.SecureClientServerTests.test_extension_client_rejection) ... server listening on 127.0.0.1:34417 connection open server closing connection closed server closed ok test_extension_mismatch (tests.legacy.test_client_server.SecureClientServerTests.test_extension_mismatch) ... server listening on 127.0.0.1:44217 connection open connection closed server closing server closed ok test_extension_no_match_then_match (tests.legacy.test_client_server.SecureClientServerTests.test_extension_no_match_then_match) ... server listening on 127.0.0.1:42415 connection open connection closed server closing server closed ok test_extension_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_accepted) ... server listening on 127.0.0.1:46789 connection open connection closed server closing server closed ok test_extension_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_requested) ... server listening on 127.0.0.1:44367 connection open connection closed server closing server closed ok test_extension_order (tests.legacy.test_client_server.SecureClientServerTests.test_extension_order) ... server listening on 127.0.0.1:34523 connection open connection closed server closing server closed ok test_extensions_error (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error) ... server listening on 127.0.0.1:35539 connection open server closing connection closed server closed ok test_extensions_error_no_extensions (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error_no_extensions) ... server listening on 127.0.0.1:35985 connection open server closing connection closed server closed ok test_http_request_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_custom_server_header) ... server listening on 127.0.0.1:44585 connection failed (200 OK) server closing connection closed server closed ok test_http_request_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_http_endpoint) ... server listening on 127.0.0.1:38013 connection failed (200 OK) server closing connection closed server closed ok test_http_request_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_no_server_header) ... server listening on 127.0.0.1:39043 connection failed (200 OK) server closing connection closed server closed ok test_http_request_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_ws_endpoint) ... server listening on 127.0.0.1:46341 connection failed (426 Upgrade Required) server closing connection closed server closed ok test_infinite_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_infinite_redirect) ... server listening on 127.0.0.1:45045 connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed connection failed (302 Found) connection closed server closing server closed ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_status_error_during_client_connect) ... server listening on 127.0.0.1:44625 connection failed (403 Forbidden) connection closed server closing server closed ok test_invalid_subprotocol_client (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_client) ... server listening on 127.0.0.1:37371 server closing server closed ok test_invalid_subprotocol_server (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_loop_backwards_compatibility) ... server listening on 127.0.0.1:43835 connection open connection closed server closing server closed ok test_no_extension (tests.legacy.test_client_server.SecureClientServerTests.test_no_extension) ... server listening on 127.0.0.1:37075 connection open connection closed server closing server closed ok test_no_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_no_subprotocol) ... server listening on 127.0.0.1:36421 connection open connection closed server closing server closed ok test_process_request_argument (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument) ... server listening on 127.0.0.1:33347 connection failed (200 OK) server closing connection closed server closed ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument_backwards_compatibility) ... server listening on 127.0.0.1:36099 connection failed (200 OK) server closing connection closed server closed ok test_process_request_override (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override) ... server listening on 127.0.0.1:41551 connection failed (200 OK) server closing connection closed server closed ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override_backwards_compatibility) ... server listening on 127.0.0.1:38045 connection failed (200 OK) server closing connection closed server closed ok test_protocol_custom_request_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_request_headers) ... server listening on 127.0.0.1:40489 connection open connection closed server closing server closed ok test_protocol_custom_response_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers) ... server listening on 127.0.0.1:36891 connection open connection closed server closing server closed ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable) ... server listening on 127.0.0.1:36165 connection open connection closed server closing server closed ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable_none) ... server listening on 127.0.0.1:37017 connection open connection closed server closing server closed ok test_protocol_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header) ... server listening on 127.0.0.1:42623 connection open connection closed server closing server closed ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header_legacy) ... server listening on 127.0.0.1:44835 connection open connection closed server closing server closed ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header) ... server listening on 127.0.0.1:44155 connection open connection closed server closing server closed ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header_legacy) ... server listening on 127.0.0.1:36361 connection open connection closed server closing server closed ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_deprecated_attributes) ... server listening on 127.0.0.1:35005 connection open connection closed server closing server closed ok test_protocol_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_headers) ... server listening on 127.0.0.1:46239 connection open connection closed server closing server closed ok test_protocol_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_server_header) ... server listening on 127.0.0.1:41603 connection open connection closed server closing server closed ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_user_agent_header) ... server listening on 127.0.0.1:33975 connection open connection closed server closing server closed ok test_protocol_path (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_path) ... server listening on 127.0.0.1:36371 connection open connection closed server closing server closed ok test_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_redirect) ... server listening on 127.0.0.1:37585 connection failed (301 Moved Permanently) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:34861 connection failed (302 Found) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:35419 connection failed (303 See Other) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:39997 connection failed (307 Temporary Redirect) connection closed connection open connection closed server closing server closed server listening on 127.0.0.1:36133 connection failed (308 Permanent Redirect) connection closed connection open connection closed server closing server closed ok test_redirect_insecure (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_insecure) ... server listening on 127.0.0.1:37949 connection failed (302 Found) connection closed server closing server closed ok test_redirect_missing_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_missing_location) ... server listening on 127.0.0.1:39839 connection failed (302 Found) connection closed server closing server closed ok test_redirect_relative_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_relative_location) ... server listening on 127.0.0.1:45947 connection failed (302 Found) connection closed connection open connection closed server closing server closed ok test_select_subprotocol_argument (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_argument) ... server listening on 127.0.0.1:39667 connection open connection closed server closing server closed ok test_select_subprotocol_override (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_override) ... server listening on 127.0.0.1:35787 connection open connection closed server closing server closed ok test_server_close_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_crashes) ... server listening on 127.0.0.1:37775 connection open closing handshake failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 244, in handler await self.close() File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect ValueError: close failed connection closed server closing server closed ok test_server_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout) ... server listening on 127.0.0.1:37461 connection open connection closed server closing server closed ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout_over_timeout) ... server listening on 127.0.0.1:41163 connection open connection closed server closing server closed ok test_server_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol) ... server listening on 127.0.0.1:35253 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_function) ... server listening on 127.0.0.1:36727 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_over_klass) ... server listening on 127.0.0.1:40573 connection failed (403 Forbidden) connection closed server closing server closed ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.SecureClientServerTests.test_server_does_not_switch_protocols) ... server listening on 127.0.0.1:46281 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 939, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_server_error_in_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_error_in_handshake) ... server listening on 127.0.0.1:33239 opening handshake failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 165, in handler await self.handshake( File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 593, in handshake early_response = await early_response_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect Exception: process_request crashed connection failed (500 Internal Server Error) connection closed server closing server closed ok test_server_handler_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_handler_crashes) ... server listening on 127.0.0.1:33207 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) File "/usr/lib/python3.11/unittest/mock.py", line 2231, in _execute_mock_call raise effect ValueError: send failed connection closed server closing server closed ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_klass_backwards_compatibility) ... server listening on 127.0.0.1:44399 connection failed (401 Unauthorized) connection closed server closing server closed ok test_server_receives_malformed_request (tests.legacy.test_client_server.SecureClientServerTests.test_server_receives_malformed_request) ... server listening on 127.0.0.1:38041 connection failed (400 Bad Request) connection closed server closing server closed ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.SecureClientServerTests.test_server_sends_invalid_handshake_response) ... server listening on 127.0.0.1:46327 connection open connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1038, in read_message frame = await self.read_data_frame(max_size=self.max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1113, in read_data_frame frame = await self.read_frame(max_size) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1170, in read_frame frame = await Frame.read( ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/framing.py", line 69, in read data = await reader(2) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 727, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 939, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: no close frame received or sent connection closed server closing server closed ok test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_connection_handling) ... server listening on 127.0.0.1:45281 connection open server closing connection handler failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/server.py", line 236, in handler await self.ws_handler(self) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_client_server.py", line 76, in default_handler await ws.send((await ws.recv())) ^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 568, in recv await self.ensure_open() File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 953, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedOK: sent 1001 (going away); then received 1001 (going away) connection closed server closed ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_opening_handshake) ... server listening on 127.0.0.1:36067 server closing connection failed (503 Service Unavailable) connection closed server closed ok test_server_shuts_down_waits_until_handlers_terminate (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_waits_until_handlers_terminate) ... server listening on 127.0.0.1:34769 connection open server closing connection closed server closed ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_timeout_backwards_compatibility) ... server listening on 127.0.0.1:43193 connection open connection closed server closing server closed ok test_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol) ... server listening on 127.0.0.1:38849 connection open connection closed server closing server closed ok test_subprotocol_error (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error) ... server listening on 127.0.0.1:40517 connection open connection closed server closing server closed ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_no_subprotocols) ... server listening on 127.0.0.1:40033 connection open connection closed server closing server closed ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_two_subprotocols) ... server listening on 127.0.0.1:45919 connection open connection closed server closing server closed ok test_subprotocol_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_accepted) ... server listening on 127.0.0.1:32799 connection open connection closed server closing server closed ok test_subprotocol_not_offered (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_offered) ... server listening on 127.0.0.1:46125 connection open connection closed server closing server closed ok test_subprotocol_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_requested) ... server listening on 127.0.0.1:35335 connection open connection closed server closing server closed ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_http_endpoint) ... server listening on 127.0.0.1:41761 connection failed (200 OK) connection closed server closing server closed ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_ws_endpoint) ... server listening on 127.0.0.1:34807 connection open connection closed server closing server closed ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility) ... server listening on 127.0.0.1:41981 connection open connection closed server closing server closed ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... server listening on 127.0.0.1:36425 connection open connection closed server closing server closed ok test_ws_uri_is_rejected (tests.legacy.test_client_server.SecureClientServerTests.test_ws_uri_is_rejected) ... server listening on 127.0.0.1:36123 server closing server closed ok test_client (tests.legacy.test_client_server.YieldFromTests.test_client) ... skipped 'asyncio.coroutine has been removed in Python 3.11' test_server (tests.legacy.test_client_server.YieldFromTests.test_server) ... skipped 'asyncio.coroutine has been removed in Python 3.11' test_bad_opcode (tests.legacy.test_framing.FramingTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.legacy.test_framing.FramingTests.test_bad_reserved_bits) ... ok test_binary (tests.legacy.test_framing.FramingTests.test_binary) ... ok test_binary_masked (tests.legacy.test_framing.FramingTests.test_binary_masked) ... ok test_close (tests.legacy.test_framing.FramingTests.test_close) ... ok test_control_frame_max_length (tests.legacy.test_framing.FramingTests.test_control_frame_max_length) ... ok test_extensions (tests.legacy.test_framing.FramingTests.test_extensions) ... ok test_fragmented_control_frame (tests.legacy.test_framing.FramingTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.legacy.test_framing.FramingTests.test_good_opcode) ... ok test_long (tests.legacy.test_framing.FramingTests.test_long) ... ok test_mask_flag (tests.legacy.test_framing.FramingTests.test_mask_flag) ... ok test_non_ascii_text (tests.legacy.test_framing.FramingTests.test_non_ascii_text) ... ok test_non_ascii_text_masked (tests.legacy.test_framing.FramingTests.test_non_ascii_text_masked) ... ok test_payload_too_big (tests.legacy.test_framing.FramingTests.test_payload_too_big) ... ok test_ping (tests.legacy.test_framing.FramingTests.test_ping) ... ok test_pong (tests.legacy.test_framing.FramingTests.test_pong) ... ok test_text (tests.legacy.test_framing.FramingTests.test_text) ... ok test_text_masked (tests.legacy.test_framing.FramingTests.test_text_masked) ... ok test_very_long (tests.legacy.test_framing.FramingTests.test_very_long) ... ok test_parse_close_and_serialize_close (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_and_serialize_close) ... ok test_parse_close_empty (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_empty) ... ok test_parse_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_errors) ... ok test_serialize_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_serialize_close_errors) ... ok test_request_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_request_additional_connection) ... ok test_request_additional_key (tests.legacy.test_handshake.HandshakeTests.test_request_additional_key) ... ok test_request_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_additional_upgrade) ... ok test_request_additional_version (tests.legacy.test_handshake.HandshakeTests.test_request_additional_version) ... ok test_request_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_connection) ... ok test_request_invalid_key_not_16_bytes_long (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_16_bytes_long) ... ok test_request_invalid_key_not_base64 (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_base64) ... ok test_request_invalid_key_not_well_padded (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_well_padded) ... ok test_request_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_upgrade) ... ok test_request_invalid_version (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_version) ... ok test_request_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_request_missing_connection) ... ok test_request_missing_key (tests.legacy.test_handshake.HandshakeTests.test_request_missing_key) ... ok test_request_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_missing_upgrade) ... ok test_request_missing_version (tests.legacy.test_handshake.HandshakeTests.test_request_missing_version) ... ok test_response_additional_accept (tests.legacy.test_handshake.HandshakeTests.test_response_additional_accept) ... ok test_response_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_response_additional_connection) ... ok test_response_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_additional_upgrade) ... ok test_response_invalid_accept (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_accept) ... ok test_response_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_connection) ... ok test_response_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_upgrade) ... ok test_response_missing_accept (tests.legacy.test_handshake.HandshakeTests.test_response_missing_accept) ... ok test_response_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_response_missing_connection) ... ok test_response_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_missing_upgrade) ... ok test_round_trip (tests.legacy.test_handshake.HandshakeTests.test_round_trip) ... ok test_header_name (tests.legacy.test_http.HTTPAsyncTests.test_header_name) ... ok test_header_value (tests.legacy.test_http.HTTPAsyncTests.test_header_value) ... ok test_headers_limit (tests.legacy.test_http.HTTPAsyncTests.test_headers_limit) ... ok test_line_ending (tests.legacy.test_http.HTTPAsyncTests.test_line_ending) ... ok test_line_limit (tests.legacy.test_http.HTTPAsyncTests.test_line_limit) ... ok test_read_request (tests.legacy.test_http.HTTPAsyncTests.test_read_request) ... ok test_read_request_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_request_empty) ... ok test_read_request_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_header) ... ok test_read_request_invalid_request_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_request_line) ... ok test_read_request_invalid_status_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_status_line) ... ok test_read_request_unsupported_method (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_method) ... ok test_read_request_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_version) ... ok test_read_response (tests.legacy.test_http.HTTPAsyncTests.test_read_response) ... ok test_read_response_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_response_empty) ... ok test_read_response_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_header) ... ok test_read_response_invalid_reason (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_reason) ... ok test_read_response_invalid_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_status) ... ok test_read_response_unsupported_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_status) ... ok test_read_response_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_version) ... ok test_abort_ping (tests.legacy.test_protocol.ClientTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ClientTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedOK: received 1000 (OK) close; then sent 1000 (OK) close ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ClientTests.test_acknowledge_previous_pings) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_answer_ping (tests.legacy.test_protocol.ClientTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ClientTests.test_broadcast_binary) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_no_clients) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_text (tests.legacy.test_protocol.ClientTests.test_broadcast_text) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ClientTests.test_broadcast_type_error) ... ok test_broadcast_within_fragmented_text (tests.legacy.test_protocol.ClientTests.test_broadcast_within_fragmented_text) ... ok test_canceled_ping (tests.legacy.test_protocol.ClientTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ClientTests.test_close_code) ... ok test_close_code_not_set (tests.legacy.test_protocol.ClientTests.test_close_code_not_set) ... Task was destroyed but it is pending! task: wait_for=> ok test_close_connection_lost (tests.legacy.test_protocol.ClientTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ClientTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ClientTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ClientTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ClientTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ClientTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_connection_close_in_fragmented_text) ... ok test_connection_closed_attributes (tests.legacy.test_protocol.ClientTests.test_connection_closed_attributes) ... ok test_connection_lost (tests.legacy.test_protocol.ClientTests.test_connection_lost) ... Exception in callback WebSocketCommonProtocol.connection_lost(None) handle: Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1521, in connection_lost self.connection_lost_waiter.set_result(None) asyncio.exceptions.InvalidStateError: invalid state ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ClientTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ClientTests.test_duplicate_ping) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ClientTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ClientTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ClientTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ClientTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ClientTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ClientTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closing) ... ok test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_unexpected_error) ... keepalive ping failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1271, in keepalive_ping pong_waiter = await self.ping() ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_protocol.py", line 1307, in ping raise Exception("BOOM") Exception: BOOM ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_timeout) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_legacy_recv (tests.legacy.test_protocol.ClientTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ClientTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ClientTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ClientTests.test_local_close) ... ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ClientTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_receive_close_frame_timeout) ... ok test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ClientTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ClientTests.test_ping_binary) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_bytearray) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_memoryview) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_default (tests.legacy.test_protocol.ClientTests.test_ping_default) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ClientTests.test_ping_text) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_type_error (tests.legacy.test_protocol.ClientTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ClientTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ClientTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ClientTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ClientTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ClientTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ClientTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ClientTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ClientTests.test_recv_other_error) ... data transfer failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_protocol.py", line 529, in read_message raise Exception("BOOM") Exception: BOOM ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ClientTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ClientTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ClientTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ClientTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ClientTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ClientTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ClientTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ClientTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ClientTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ClientTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ClientTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ClientTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ClientTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_prevents_concurrent_send) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_send_async_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ClientTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ClientTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ClientTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ClientTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ClientTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ClientTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ClientTests.test_wait_closed) ... ok test_abort_ping (tests.legacy.test_protocol.ServerTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ServerTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedOK: received 1000 (OK) close; then sent 1000 (OK) close ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ServerTests.test_acknowledge_previous_pings) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_answer_ping (tests.legacy.test_protocol.ServerTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ServerTests.test_broadcast_binary) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_no_clients) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_text (tests.legacy.test_protocol.ServerTests.test_broadcast_text) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ServerTests.test_broadcast_type_error) ... ok test_broadcast_within_fragmented_text (tests.legacy.test_protocol.ServerTests.test_broadcast_within_fragmented_text) ... ok test_canceled_ping (tests.legacy.test_protocol.ServerTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ServerTests.test_close_code) ... Task was destroyed but it is pending! task: wait_for=> ok test_close_code_not_set (tests.legacy.test_protocol.ServerTests.test_close_code_not_set) ... ok test_close_connection_lost (tests.legacy.test_protocol.ServerTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ServerTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ServerTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ServerTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ServerTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ServerTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_connection_close_in_fragmented_text) ... ok test_connection_closed_attributes (tests.legacy.test_protocol.ServerTests.test_connection_closed_attributes) ... ok test_connection_lost (tests.legacy.test_protocol.ServerTests.test_connection_lost) ... Exception in callback WebSocketCommonProtocol.connection_lost(None) handle: Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1521, in connection_lost self.connection_lost_waiter.set_result(None) asyncio.exceptions.InvalidStateError: invalid state ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ServerTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ServerTests.test_duplicate_ping) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ServerTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ServerTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ServerTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ServerTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ServerTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ServerTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closing) ... ok test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_unexpected_error) ... keepalive ping failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 1271, in keepalive_ping pong_waiter = await self.ping() ^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_protocol.py", line 1307, in ping raise Exception("BOOM") Exception: BOOM ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_timeout) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_legacy_recv (tests.legacy.test_protocol.ServerTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ServerTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ServerTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ServerTests.test_local_close) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ServerTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_receive_close_frame_timeout) ... ok test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ServerTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ServerTests.test_ping_binary) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_bytearray) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_memoryview) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_default (tests.legacy.test_protocol.ServerTests.test_ping_default) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ServerTests.test_ping_text) ... Future exception was never retrieved future: websockets.exceptions.ConnectionClosedError: no close frame received or sent ok test_ping_type_error (tests.legacy.test_protocol.ServerTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ServerTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ServerTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ServerTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ServerTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ServerTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ServerTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ServerTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ServerTests.test_recv_other_error) ... data transfer failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/legacy/protocol.py", line 968, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/tests/legacy/test_protocol.py", line 529, in read_message raise Exception("BOOM") Exception: BOOM ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ServerTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ServerTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ServerTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ServerTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ServerTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ServerTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ServerTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ServerTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ServerTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ServerTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ServerTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ServerTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ServerTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_prevents_concurrent_send) ... ok test_send_async_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ServerTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ServerTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ServerTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ServerTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ServerTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ServerTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ServerTests.test_wait_closed) ... ok test_accept_response (tests.test_client.AcceptRejectTests.test_accept_response) ... ok test_basic (tests.test_client.AcceptRejectTests.test_basic) ... ok test_extension (tests.test_client.AcceptRejectTests.test_extension) ... ok test_invalid_accept (tests.test_client.AcceptRejectTests.test_invalid_accept) ... ok test_invalid_connection (tests.test_client.AcceptRejectTests.test_invalid_connection) ... ok test_invalid_upgrade (tests.test_client.AcceptRejectTests.test_invalid_upgrade) ... ok test_missing_accept (tests.test_client.AcceptRejectTests.test_missing_accept) ... ok test_missing_connection (tests.test_client.AcceptRejectTests.test_missing_connection) ... ok test_missing_upgrade (tests.test_client.AcceptRejectTests.test_missing_upgrade) ... ok test_multiple_accept (tests.test_client.AcceptRejectTests.test_multiple_accept) ... ok test_multiple_extensions (tests.test_client.AcceptRejectTests.test_multiple_extensions) ... ok test_multiple_extensions_order (tests.test_client.AcceptRejectTests.test_multiple_extensions_order) ... ok test_multiple_subprotocols (tests.test_client.AcceptRejectTests.test_multiple_subprotocols) ... ok test_multiple_supported_extension_parameters (tests.test_client.AcceptRejectTests.test_multiple_supported_extension_parameters) ... ok test_no_extension (tests.test_client.AcceptRejectTests.test_no_extension) ... ok test_no_extensions (tests.test_client.AcceptRejectTests.test_no_extensions) ... ok test_no_subprotocol (tests.test_client.AcceptRejectTests.test_no_subprotocol) ... ok test_no_subprotocols (tests.test_client.AcceptRejectTests.test_no_subprotocols) ... ok test_receive_accept (tests.test_client.AcceptRejectTests.test_receive_accept) ... ok test_receive_reject (tests.test_client.AcceptRejectTests.test_receive_reject) ... ok test_reject_response (tests.test_client.AcceptRejectTests.test_reject_response) ... ok test_subprotocol (tests.test_client.AcceptRejectTests.test_subprotocol) ... ok test_supported_extension_parameters (tests.test_client.AcceptRejectTests.test_supported_extension_parameters) ... ok test_supported_subprotocol (tests.test_client.AcceptRejectTests.test_supported_subprotocol) ... ok test_unexpected_extension (tests.test_client.AcceptRejectTests.test_unexpected_extension) ... ok test_unexpected_subprotocol (tests.test_client.AcceptRejectTests.test_unexpected_subprotocol) ... ok test_unsupported_extension (tests.test_client.AcceptRejectTests.test_unsupported_extension) ... ok test_unsupported_extension_parameters (tests.test_client.AcceptRejectTests.test_unsupported_extension_parameters) ... ok test_unsupported_subprotocol (tests.test_client.AcceptRejectTests.test_unsupported_subprotocol) ... ok test_connect_request (tests.test_client.ConnectTests.test_connect_request) ... ok test_extensions (tests.test_client.ConnectTests.test_extensions) ... ok test_origin (tests.test_client.ConnectTests.test_origin) ... ok test_path (tests.test_client.ConnectTests.test_path) ... ok test_port (tests.test_client.ConnectTests.test_port) ... ok test_send_connect (tests.test_client.ConnectTests.test_send_connect) ... ok test_subprotocols (tests.test_client.ConnectTests.test_subprotocols) ... ok test_user_info (tests.test_client.ConnectTests.test_user_info) ... ok test_bypass_handshake (tests.test_client.MiscTests.test_bypass_handshake) ... ok test_custom_logger (tests.test_client.MiscTests.test_custom_logger) ... ok test_client_receives_binary (tests.test_connection.BinaryTests.test_client_receives_binary) ... ok test_client_receives_binary_after_receiving_close (tests.test_connection.BinaryTests.test_client_receives_binary_after_receiving_close) ... ok test_client_receives_binary_over_size_limit (tests.test_connection.BinaryTests.test_client_receives_binary_over_size_limit) ... ok test_client_receives_fragmented_binary (tests.test_connection.BinaryTests.test_client_receives_fragmented_binary) ... ok test_client_receives_fragmented_binary_over_size_limit (tests.test_connection.BinaryTests.test_client_receives_fragmented_binary_over_size_limit) ... ok test_client_receives_unexpected_binary (tests.test_connection.BinaryTests.test_client_receives_unexpected_binary) ... ok test_client_sends_binary (tests.test_connection.BinaryTests.test_client_sends_binary) ... ok test_client_sends_binary_after_sending_close (tests.test_connection.BinaryTests.test_client_sends_binary_after_sending_close) ... ok test_client_sends_fragmented_binary (tests.test_connection.BinaryTests.test_client_sends_fragmented_binary) ... ok test_client_sends_unexpected_binary (tests.test_connection.BinaryTests.test_client_sends_unexpected_binary) ... ok test_server_receives_binary (tests.test_connection.BinaryTests.test_server_receives_binary) ... ok test_server_receives_binary_after_receiving_close (tests.test_connection.BinaryTests.test_server_receives_binary_after_receiving_close) ... ok test_server_receives_binary_over_size_limit (tests.test_connection.BinaryTests.test_server_receives_binary_over_size_limit) ... ok test_server_receives_fragmented_binary (tests.test_connection.BinaryTests.test_server_receives_fragmented_binary) ... ok test_server_receives_fragmented_binary_over_size_limit (tests.test_connection.BinaryTests.test_server_receives_fragmented_binary_over_size_limit) ... ok test_server_receives_unexpected_binary (tests.test_connection.BinaryTests.test_server_receives_unexpected_binary) ... ok test_server_sends_binary (tests.test_connection.BinaryTests.test_server_sends_binary) ... ok test_server_sends_binary_after_sending_close (tests.test_connection.BinaryTests.test_server_sends_binary_after_sending_close) ... ok test_server_sends_fragmented_binary (tests.test_connection.BinaryTests.test_server_sends_fragmented_binary) ... ok test_server_sends_unexpected_binary (tests.test_connection.BinaryTests.test_server_sends_unexpected_binary) ... ok test_client_receives_close (tests.test_connection.CloseTests.test_client_receives_close) ... ok test_client_receives_close_then_sends_close (tests.test_connection.CloseTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_close_with_code (tests.test_connection.CloseTests.test_client_receives_close_with_code) ... ok test_client_receives_close_with_code_and_reason (tests.test_connection.CloseTests.test_client_receives_close_with_code_and_reason) ... ok test_client_receives_close_with_non_utf8_reason (tests.test_connection.CloseTests.test_client_receives_close_with_non_utf8_reason) ... ok test_client_receives_close_with_truncated_code (tests.test_connection.CloseTests.test_client_receives_close_with_truncated_code) ... ok test_client_sends_close (tests.test_connection.CloseTests.test_client_sends_close) ... ok test_client_sends_close_then_receives_close (tests.test_connection.CloseTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_with_code (tests.test_connection.CloseTests.test_client_sends_close_with_code) ... ok test_client_sends_close_with_code_and_reason (tests.test_connection.CloseTests.test_client_sends_close_with_code_and_reason) ... ok test_client_sends_close_with_reason_only (tests.test_connection.CloseTests.test_client_sends_close_with_reason_only) ... ok test_close_code (tests.test_connection.CloseTests.test_close_code) ... ok test_close_code_not_available (tests.test_connection.CloseTests.test_close_code_not_available) ... ok test_close_code_not_available_yet (tests.test_connection.CloseTests.test_close_code_not_available_yet) ... ok test_close_code_not_provided (tests.test_connection.CloseTests.test_close_code_not_provided) ... ok test_close_reason (tests.test_connection.CloseTests.test_close_reason) ... ok test_close_reason_not_available (tests.test_connection.CloseTests.test_close_reason_not_available) ... ok test_close_reason_not_available_yet (tests.test_connection.CloseTests.test_close_reason_not_available_yet) ... ok test_close_reason_not_provided (tests.test_connection.CloseTests.test_close_reason_not_provided) ... ok test_server_receives_close (tests.test_connection.CloseTests.test_server_receives_close) ... ok test_server_receives_close_then_sends_close (tests.test_connection.CloseTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_close_with_code (tests.test_connection.CloseTests.test_server_receives_close_with_code) ... ok test_server_receives_close_with_code_and_reason (tests.test_connection.CloseTests.test_server_receives_close_with_code_and_reason) ... ok test_server_receives_close_with_non_utf8_reason (tests.test_connection.CloseTests.test_server_receives_close_with_non_utf8_reason) ... ok test_server_receives_close_with_truncated_code (tests.test_connection.CloseTests.test_server_receives_close_with_truncated_code) ... ok test_server_sends_close (tests.test_connection.CloseTests.test_server_sends_close) ... ok test_server_sends_close_then_receives_close (tests.test_connection.CloseTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_with_code (tests.test_connection.CloseTests.test_server_sends_close_with_code) ... ok test_server_sends_close_with_code_and_reason (tests.test_connection.CloseTests.test_server_sends_close_with_code_and_reason) ... ok test_server_sends_close_with_reason_only (tests.test_connection.CloseTests.test_server_sends_close_with_reason_only) ... ok test_client_receives_close_then_sends_close (tests.test_connection.ConnectionClosedTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_eof (tests.test_connection.ConnectionClosedTests.test_client_receives_eof) ... ok test_client_sends_close_then_receives_close (tests.test_connection.ConnectionClosedTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_then_receives_eof (tests.test_connection.ConnectionClosedTests.test_client_sends_close_then_receives_eof) ... ok test_server_receives_close_then_sends_close (tests.test_connection.ConnectionClosedTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_eof (tests.test_connection.ConnectionClosedTests.test_server_receives_eof) ... ok test_server_sends_close_then_receives_close (tests.test_connection.ConnectionClosedTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_then_receives_eof (tests.test_connection.ConnectionClosedTests.test_server_sends_close_then_receives_eof) ... ok test_client_receives_continuation_after_receiving_close (tests.test_connection.ContinuationTests.test_client_receives_continuation_after_receiving_close) ... ok test_client_receives_unexpected_continuation (tests.test_connection.ContinuationTests.test_client_receives_unexpected_continuation) ... ok test_client_sends_continuation_after_sending_close (tests.test_connection.ContinuationTests.test_client_sends_continuation_after_sending_close) ... ok test_client_sends_unexpected_continuation (tests.test_connection.ContinuationTests.test_client_sends_unexpected_continuation) ... ok test_server_receives_continuation_after_receiving_close (tests.test_connection.ContinuationTests.test_server_receives_continuation_after_receiving_close) ... ok test_server_receives_unexpected_continuation (tests.test_connection.ContinuationTests.test_server_receives_unexpected_continuation) ... ok test_server_sends_continuation_after_sending_close (tests.test_connection.ContinuationTests.test_server_sends_continuation_after_sending_close) ... ok test_server_sends_unexpected_continuation (tests.test_connection.ContinuationTests.test_server_sends_unexpected_continuation) ... ok test_client_receives_data_after_eof (tests.test_connection.EOFTests.test_client_receives_data_after_eof) ... ok test_client_receives_data_after_exception (tests.test_connection.EOFTests.test_client_receives_data_after_exception) ... ok test_client_receives_data_and_eof_after_exception (tests.test_connection.EOFTests.test_client_receives_data_and_eof_after_exception) ... ok test_client_receives_eof (tests.test_connection.EOFTests.test_client_receives_eof) ... ok test_client_receives_eof_after_eof (tests.test_connection.EOFTests.test_client_receives_eof_after_eof) ... ok test_client_receives_eof_after_exception (tests.test_connection.EOFTests.test_client_receives_eof_after_exception) ... ok test_client_receives_eof_between_frames (tests.test_connection.EOFTests.test_client_receives_eof_between_frames) ... ok test_client_receives_eof_inside_frame (tests.test_connection.EOFTests.test_client_receives_eof_inside_frame) ... ok test_server_receives_data_after_eof (tests.test_connection.EOFTests.test_server_receives_data_after_eof) ... ok test_server_receives_data_after_exception (tests.test_connection.EOFTests.test_server_receives_data_after_exception) ... ok test_server_receives_data_and_eof_after_exception (tests.test_connection.EOFTests.test_server_receives_data_and_eof_after_exception) ... ok test_server_receives_eof (tests.test_connection.EOFTests.test_server_receives_eof) ... ok test_server_receives_eof_after_eof (tests.test_connection.EOFTests.test_server_receives_eof_after_eof) ... ok test_server_receives_eof_after_exception (tests.test_connection.EOFTests.test_server_receives_eof_after_exception) ... ok test_server_receives_eof_between_frames (tests.test_connection.EOFTests.test_server_receives_eof_between_frames) ... ok test_server_receives_eof_inside_frame (tests.test_connection.EOFTests.test_server_receives_eof_inside_frame) ... ok test_client_hits_internal_error_reading_frame (tests.test_connection.ErrorTests.test_client_hits_internal_error_reading_frame) ... parser failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/connection.py", line 534, in parse frame = yield from Frame.parse( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/frames.py", line 202, in parse head1, head2 = struct.unpack("!BB", data) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1118, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1122, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1177, in _execute_mock_call raise effect RuntimeError: BOOM ok test_server_hits_internal_error_reading_frame (tests.test_connection.ErrorTests.test_server_hits_internal_error_reading_frame) ... parser failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/connection.py", line 534, in parse frame = yield from Frame.parse( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/frames.py", line 202, in parse head1, head2 = struct.unpack("!BB", data) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1118, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1122, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1177, in _execute_mock_call raise effect RuntimeError: BOOM ok test_client_extension_decodes_frame (tests.test_connection.ExtensionsTests.test_client_extension_decodes_frame) ... ok test_client_extension_encodes_frame (tests.test_connection.ExtensionsTests.test_client_extension_encodes_frame) ... ok test_server_extension_decodes_frame (tests.test_connection.ExtensionsTests.test_server_extension_decodes_frame) ... ok test_server_extension_encodes_frame (tests.test_connection.ExtensionsTests.test_server_extension_encodes_frame) ... ok test_client_stops_processing_frames_after_fail (tests.test_connection.FailTests.test_client_stops_processing_frames_after_fail) ... ok test_server_stops_processing_frames_after_fail (tests.test_connection.FailTests.test_server_stops_processing_frames_after_fail) ... ok test_client_receive_close_in_fragmented_message (tests.test_connection.FragmentationTests.test_client_receive_close_in_fragmented_message) ... ok test_client_receive_ping_pong_in_fragmented_message (tests.test_connection.FragmentationTests.test_client_receive_ping_pong_in_fragmented_message) ... ok test_client_send_close_in_fragmented_message (tests.test_connection.FragmentationTests.test_client_send_close_in_fragmented_message) ... ok test_client_send_ping_pong_in_fragmented_message (tests.test_connection.FragmentationTests.test_client_send_ping_pong_in_fragmented_message) ... ok test_server_receive_close_in_fragmented_message (tests.test_connection.FragmentationTests.test_server_receive_close_in_fragmented_message) ... ok test_server_receive_ping_pong_in_fragmented_message (tests.test_connection.FragmentationTests.test_server_receive_ping_pong_in_fragmented_message) ... ok test_server_send_close_in_fragmented_message (tests.test_connection.FragmentationTests.test_server_send_close_in_fragmented_message) ... ok test_server_send_ping_pong_in_fragmented_message (tests.test_connection.FragmentationTests.test_server_send_ping_pong_in_fragmented_message) ... ok test_client_receives_masked_frame (tests.test_connection.MaskingTests.test_client_receives_masked_frame) ... ok test_client_receives_unmasked_frame (tests.test_connection.MaskingTests.test_client_receives_unmasked_frame) ... ok test_client_sends_masked_frame (tests.test_connection.MaskingTests.test_client_sends_masked_frame) ... ok test_server_receives_masked_frame (tests.test_connection.MaskingTests.test_server_receives_masked_frame) ... ok test_server_receives_unmasked_frame (tests.test_connection.MaskingTests.test_server_receives_unmasked_frame) ... ok test_server_sends_unmasked_frame (tests.test_connection.MaskingTests.test_server_sends_unmasked_frame) ... ok test_client_receives_fragmented_ping_frame (tests.test_connection.PingTests.test_client_receives_fragmented_ping_frame) ... ok test_client_receives_ping (tests.test_connection.PingTests.test_client_receives_ping) ... ok test_client_receives_ping_after_receiving_close (tests.test_connection.PingTests.test_client_receives_ping_after_receiving_close) ... ok test_client_receives_ping_with_data (tests.test_connection.PingTests.test_client_receives_ping_with_data) ... ok test_client_sends_fragmented_ping_frame (tests.test_connection.PingTests.test_client_sends_fragmented_ping_frame) ... ok test_client_sends_ping (tests.test_connection.PingTests.test_client_sends_ping) ... ok test_client_sends_ping_after_sending_close (tests.test_connection.PingTests.test_client_sends_ping_after_sending_close) ... ok test_client_sends_ping_with_data (tests.test_connection.PingTests.test_client_sends_ping_with_data) ... ok test_server_receives_fragmented_ping_frame (tests.test_connection.PingTests.test_server_receives_fragmented_ping_frame) ... ok test_server_receives_ping (tests.test_connection.PingTests.test_server_receives_ping) ... ok test_server_receives_ping_after_receiving_close (tests.test_connection.PingTests.test_server_receives_ping_after_receiving_close) ... ok test_server_receives_ping_with_data (tests.test_connection.PingTests.test_server_receives_ping_with_data) ... ok test_server_sends_fragmented_ping_frame (tests.test_connection.PingTests.test_server_sends_fragmented_ping_frame) ... ok test_server_sends_ping (tests.test_connection.PingTests.test_server_sends_ping) ... ok test_server_sends_ping_after_sending_close (tests.test_connection.PingTests.test_server_sends_ping_after_sending_close) ... ok test_server_sends_ping_with_data (tests.test_connection.PingTests.test_server_sends_ping_with_data) ... ok test_client_receives_fragmented_pong_frame (tests.test_connection.PongTests.test_client_receives_fragmented_pong_frame) ... ok test_client_receives_pong (tests.test_connection.PongTests.test_client_receives_pong) ... ok test_client_receives_pong_after_receiving_close (tests.test_connection.PongTests.test_client_receives_pong_after_receiving_close) ... ok test_client_receives_pong_with_data (tests.test_connection.PongTests.test_client_receives_pong_with_data) ... ok test_client_sends_fragmented_pong_frame (tests.test_connection.PongTests.test_client_sends_fragmented_pong_frame) ... ok test_client_sends_pong (tests.test_connection.PongTests.test_client_sends_pong) ... ok test_client_sends_pong_after_sending_close (tests.test_connection.PongTests.test_client_sends_pong_after_sending_close) ... ok test_client_sends_pong_with_data (tests.test_connection.PongTests.test_client_sends_pong_with_data) ... ok test_server_receives_fragmented_pong_frame (tests.test_connection.PongTests.test_server_receives_fragmented_pong_frame) ... ok test_server_receives_pong (tests.test_connection.PongTests.test_server_receives_pong) ... ok test_server_receives_pong_after_receiving_close (tests.test_connection.PongTests.test_server_receives_pong_after_receiving_close) ... ok test_server_receives_pong_with_data (tests.test_connection.PongTests.test_server_receives_pong_with_data) ... ok test_server_sends_fragmented_pong_frame (tests.test_connection.PongTests.test_server_sends_fragmented_pong_frame) ... ok test_server_sends_pong (tests.test_connection.PongTests.test_server_sends_pong) ... ok test_server_sends_pong_after_sending_close (tests.test_connection.PongTests.test_server_sends_pong_after_sending_close) ... ok test_server_sends_pong_with_data (tests.test_connection.PongTests.test_server_sends_pong_with_data) ... ok test_client_default (tests.test_connection.TCPCloseTests.test_client_default) ... ok test_client_fails_connection (tests.test_connection.TCPCloseTests.test_client_fails_connection) ... ok test_client_receives_close (tests.test_connection.TCPCloseTests.test_client_receives_close) ... ok test_client_receives_close_then_eof (tests.test_connection.TCPCloseTests.test_client_receives_close_then_eof) ... ok test_client_sends_close (tests.test_connection.TCPCloseTests.test_client_sends_close) ... ok test_server_default (tests.test_connection.TCPCloseTests.test_server_default) ... ok test_server_fails_connection (tests.test_connection.TCPCloseTests.test_server_fails_connection) ... ok test_server_receives_close (tests.test_connection.TCPCloseTests.test_server_receives_close) ... ok test_server_receives_close_then_eof (tests.test_connection.TCPCloseTests.test_server_receives_close_then_eof) ... ok test_server_sends_close (tests.test_connection.TCPCloseTests.test_server_sends_close) ... ok test_client_receives_fragmented_text (tests.test_connection.TextTests.test_client_receives_fragmented_text) ... ok test_client_receives_fragmented_text_over_size_limit (tests.test_connection.TextTests.test_client_receives_fragmented_text_over_size_limit) ... ok test_client_receives_fragmented_text_without_size_limit (tests.test_connection.TextTests.test_client_receives_fragmented_text_without_size_limit) ... ok test_client_receives_text (tests.test_connection.TextTests.test_client_receives_text) ... ok test_client_receives_text_after_receiving_close (tests.test_connection.TextTests.test_client_receives_text_after_receiving_close) ... ok test_client_receives_text_over_size_limit (tests.test_connection.TextTests.test_client_receives_text_over_size_limit) ... ok test_client_receives_text_without_size_limit (tests.test_connection.TextTests.test_client_receives_text_without_size_limit) ... ok test_client_receives_unexpected_text (tests.test_connection.TextTests.test_client_receives_unexpected_text) ... ok test_client_sends_fragmented_text (tests.test_connection.TextTests.test_client_sends_fragmented_text) ... ok test_client_sends_text (tests.test_connection.TextTests.test_client_sends_text) ... ok test_client_sends_text_after_sending_close (tests.test_connection.TextTests.test_client_sends_text_after_sending_close) ... ok test_client_sends_unexpected_text (tests.test_connection.TextTests.test_client_sends_unexpected_text) ... ok test_server_receives_fragmented_text (tests.test_connection.TextTests.test_server_receives_fragmented_text) ... ok test_server_receives_fragmented_text_over_size_limit (tests.test_connection.TextTests.test_server_receives_fragmented_text_over_size_limit) ... ok test_server_receives_fragmented_text_without_size_limit (tests.test_connection.TextTests.test_server_receives_fragmented_text_without_size_limit) ... ok test_server_receives_text (tests.test_connection.TextTests.test_server_receives_text) ... ok test_server_receives_text_after_receiving_close (tests.test_connection.TextTests.test_server_receives_text_after_receiving_close) ... ok test_server_receives_text_over_size_limit (tests.test_connection.TextTests.test_server_receives_text_over_size_limit) ... ok test_server_receives_text_without_size_limit (tests.test_connection.TextTests.test_server_receives_text_without_size_limit) ... ok test_server_receives_unexpected_text (tests.test_connection.TextTests.test_server_receives_unexpected_text) ... ok test_server_sends_fragmented_text (tests.test_connection.TextTests.test_server_sends_fragmented_text) ... ok test_server_sends_text (tests.test_connection.TextTests.test_server_sends_text) ... ok test_server_sends_text_after_sending_close (tests.test_connection.TextTests.test_server_sends_text_after_sending_close) ... ok test_server_sends_unexpected_text (tests.test_connection.TextTests.test_server_sends_unexpected_text) ... ok test_clear (tests.test_datastructures.HeadersTests.test_clear) ... ok test_contains (tests.test_datastructures.HeadersTests.test_contains) ... ok test_contains_case_insensitive (tests.test_datastructures.HeadersTests.test_contains_case_insensitive) ... ok test_contains_non_string_key (tests.test_datastructures.HeadersTests.test_contains_non_string_key) ... ok test_contains_not_found (tests.test_datastructures.HeadersTests.test_contains_not_found) ... ok test_copy (tests.test_datastructures.HeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.HeadersTests.test_delitem) ... ok test_delitem_case_insensitive (tests.test_datastructures.HeadersTests.test_delitem_case_insensitive) ... ok test_eq (tests.test_datastructures.HeadersTests.test_eq) ... ok test_eq_case_insensitive (tests.test_datastructures.HeadersTests.test_eq_case_insensitive) ... ok test_eq_not_equal (tests.test_datastructures.HeadersTests.test_eq_not_equal) ... ok test_eq_other_type (tests.test_datastructures.HeadersTests.test_eq_other_type) ... ok test_get_all (tests.test_datastructures.HeadersTests.test_get_all) ... ok test_get_all_case_insensitive (tests.test_datastructures.HeadersTests.test_get_all_case_insensitive) ... ok test_get_all_no_values (tests.test_datastructures.HeadersTests.test_get_all_no_values) ... ok test_getitem (tests.test_datastructures.HeadersTests.test_getitem) ... ok test_getitem_case_insensitive (tests.test_datastructures.HeadersTests.test_getitem_case_insensitive) ... ok test_getitem_key_error (tests.test_datastructures.HeadersTests.test_getitem_key_error) ... ok test_init (tests.test_datastructures.HeadersTests.test_init) ... ok test_init_from_headers (tests.test_datastructures.HeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_headers_and_kwargs) ... ok test_init_from_iterable (tests.test_datastructures.HeadersTests.test_init_from_iterable) ... ok test_init_from_iterable_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_iterable_and_kwargs) ... ok test_init_from_kwargs (tests.test_datastructures.HeadersTests.test_init_from_kwargs) ... ok test_init_from_mapping (tests.test_datastructures.HeadersTests.test_init_from_mapping) ... ok test_init_from_mapping_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_mapping_and_kwargs) ... ok test_init_multiple_positional_arguments (tests.test_datastructures.HeadersTests.test_init_multiple_positional_arguments) ... ok test_iter (tests.test_datastructures.HeadersTests.test_iter) ... ok test_len (tests.test_datastructures.HeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.HeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.HeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.HeadersTests.test_serialize) ... ok test_setitem (tests.test_datastructures.HeadersTests.test_setitem) ... ok test_setitem_case_insensitive (tests.test_datastructures.HeadersTests.test_setitem_case_insensitive) ... ok test_str (tests.test_datastructures.HeadersTests.test_str) ... ok test_copy (tests.test_datastructures.MultiValueHeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.MultiValueHeadersTests.test_delitem) ... ok test_get_all (tests.test_datastructures.MultiValueHeadersTests.test_get_all) ... ok test_getitem_multiple_values_error (tests.test_datastructures.MultiValueHeadersTests.test_getitem_multiple_values_error) ... ok test_init_from_headers (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers_and_kwargs) ... ok test_iter (tests.test_datastructures.MultiValueHeadersTests.test_iter) ... ok test_len (tests.test_datastructures.MultiValueHeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.MultiValueHeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.MultiValueHeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.MultiValueHeadersTests.test_serialize) ... ok test_setitem (tests.test_datastructures.MultiValueHeadersTests.test_setitem) ... ok test_str (tests.test_datastructures.MultiValueHeadersTests.test_str) ... ok test_multiple_values_error_str (tests.test_datastructures.MultipleValuesErrorTests.test_multiple_values_error_str) ... ok test_str (tests.test_exceptions.ExceptionsTests.test_str) ... ok test_submodule_exports_are_globally_unique (tests.test_exports.TestExportsAllSubmodules.test_submodule_exports_are_globally_unique) ... ok test_top_level_module_reexports_all_submodule_exports (tests.test_exports.TestExportsAllSubmodules.test_top_level_module_reexports_all_submodule_exports) ... ok test_parse_and_serialize (tests.test_frames.CloseTests.test_parse_and_serialize) ... ok test_parse_empty (tests.test_frames.CloseTests.test_parse_empty) ... ok test_parse_errors (tests.test_frames.CloseTests.test_parse_errors) ... ok test_serialize_errors (tests.test_frames.CloseTests.test_serialize_errors) ... ok test_str (tests.test_frames.CloseTests.test_str) ... ok test_bad_opcode (tests.test_frames.FrameTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.test_frames.FrameTests.test_bad_reserved_bits) ... ok test_binary_masked (tests.test_frames.FrameTests.test_binary_masked) ... ok test_binary_unmasked (tests.test_frames.FrameTests.test_binary_unmasked) ... ok test_close (tests.test_frames.FrameTests.test_close) ... ok test_control_frame_max_length (tests.test_frames.FrameTests.test_control_frame_max_length) ... ok test_extensions (tests.test_frames.FrameTests.test_extensions) ... ok test_fragmented_control_frame (tests.test_frames.FrameTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.test_frames.FrameTests.test_good_opcode) ... ok test_long (tests.test_frames.FrameTests.test_long) ... ok test_mask_flag (tests.test_frames.FrameTests.test_mask_flag) ... ok test_non_ascii_text_masked (tests.test_frames.FrameTests.test_non_ascii_text_masked) ... ok test_non_ascii_text_unmasked (tests.test_frames.FrameTests.test_non_ascii_text_unmasked) ... ok test_payload_too_big (tests.test_frames.FrameTests.test_payload_too_big) ... ok test_ping (tests.test_frames.FrameTests.test_ping) ... ok test_pong (tests.test_frames.FrameTests.test_pong) ... ok test_text_masked (tests.test_frames.FrameTests.test_text_masked) ... ok test_text_unmasked (tests.test_frames.FrameTests.test_text_unmasked) ... ok test_very_long (tests.test_frames.FrameTests.test_very_long) ... ok test_prepare_ctrl_bytearray (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_bytearray) ... ok test_prepare_ctrl_bytes (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_bytes) ... ok test_prepare_ctrl_list (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_list) ... ok test_prepare_ctrl_memoryview (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_memoryview) ... ok test_prepare_ctrl_none (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_none) ... ok test_prepare_ctrl_str (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_str) ... ok test_prepare_data_bytearray (tests.test_frames.PrepareDataTests.test_prepare_data_bytearray) ... ok test_prepare_data_bytes (tests.test_frames.PrepareDataTests.test_prepare_data_bytes) ... ok test_prepare_data_list (tests.test_frames.PrepareDataTests.test_prepare_data_list) ... ok test_prepare_data_memoryview (tests.test_frames.PrepareDataTests.test_prepare_data_memoryview) ... ok test_prepare_data_none (tests.test_frames.PrepareDataTests.test_prepare_data_none) ... ok test_prepare_data_str (tests.test_frames.PrepareDataTests.test_prepare_data_str) ... ok test_binary (tests.test_frames.StrTests.test_binary) ... ok test_binary_from_memoryview (tests.test_frames.StrTests.test_binary_from_memoryview) ... ok test_binary_non_final (tests.test_frames.StrTests.test_binary_non_final) ... ok test_binary_non_final_from_memoryview (tests.test_frames.StrTests.test_binary_non_final_from_memoryview) ... ok test_binary_truncated (tests.test_frames.StrTests.test_binary_truncated) ... ok test_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_binary_truncated_from_memoryview) ... ok test_close (tests.test_frames.StrTests.test_close) ... ok test_close_reason (tests.test_frames.StrTests.test_close_reason) ... ok test_cont_binary (tests.test_frames.StrTests.test_cont_binary) ... ok test_cont_binary_from_memoryview (tests.test_frames.StrTests.test_cont_binary_from_memoryview) ... ok test_cont_binary_truncated (tests.test_frames.StrTests.test_cont_binary_truncated) ... ok test_cont_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_cont_binary_truncated_from_memoryview) ... ok test_cont_final_binary (tests.test_frames.StrTests.test_cont_final_binary) ... ok test_cont_final_binary_from_memoryview (tests.test_frames.StrTests.test_cont_final_binary_from_memoryview) ... ok test_cont_final_text (tests.test_frames.StrTests.test_cont_final_text) ... ok test_cont_text (tests.test_frames.StrTests.test_cont_text) ... ok test_cont_text_truncated (tests.test_frames.StrTests.test_cont_text_truncated) ... ok test_ping (tests.test_frames.StrTests.test_ping) ... ok test_ping_binary (tests.test_frames.StrTests.test_ping_binary) ... ok test_ping_text (tests.test_frames.StrTests.test_ping_text) ... ok test_ping_text_with_newline (tests.test_frames.StrTests.test_ping_text_with_newline) ... ok test_pong (tests.test_frames.StrTests.test_pong) ... ok test_pong_binary (tests.test_frames.StrTests.test_pong_binary) ... ok test_pong_text (tests.test_frames.StrTests.test_pong_text) ... ok test_pong_text_with_newline (tests.test_frames.StrTests.test_pong_text_with_newline) ... ok test_text (tests.test_frames.StrTests.test_text) ... ok test_text_non_final (tests.test_frames.StrTests.test_text_non_final) ... ok test_text_truncated (tests.test_frames.StrTests.test_text_truncated) ... ok test_text_with_newline (tests.test_frames.StrTests.test_text_with_newline) ... ok test_build_authorization_basic (tests.test_headers.HeadersTests.test_build_authorization_basic) ... ok test_build_authorization_basic_utf8 (tests.test_headers.HeadersTests.test_build_authorization_basic_utf8) ... ok test_build_host (tests.test_headers.HeadersTests.test_build_host) ... ok test_build_www_authenticate_basic (tests.test_headers.HeadersTests.test_build_www_authenticate_basic) ... ok test_build_www_authenticate_basic_invalid_realm (tests.test_headers.HeadersTests.test_build_www_authenticate_basic_invalid_realm) ... ok test_parse_authorization_basic (tests.test_headers.HeadersTests.test_parse_authorization_basic) ... ok test_parse_authorization_basic_invalid_header_format (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_format) ... ok test_parse_authorization_basic_invalid_header_value (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_value) ... ok test_parse_connection (tests.test_headers.HeadersTests.test_parse_connection) ... ok test_parse_connection_invalid_header_format (tests.test_headers.HeadersTests.test_parse_connection_invalid_header_format) ... ok test_parse_extension (tests.test_headers.HeadersTests.test_parse_extension) ... ok test_parse_extension_invalid_header_format (tests.test_headers.HeadersTests.test_parse_extension_invalid_header_format) ... ok test_parse_subprotocol (tests.test_headers.HeadersTests.test_parse_subprotocol) ... ok test_parse_subprotocol_invalid_header (tests.test_headers.HeadersTests.test_parse_subprotocol_invalid_header) ... ok test_parse_upgrade (tests.test_headers.HeadersTests.test_parse_upgrade) ... ok test_parse_upgrade_invalid_header_format (tests.test_headers.HeadersTests.test_parse_upgrade_invalid_header_format) ... ok test_validate_subprotocols (tests.test_headers.HeadersTests.test_validate_subprotocols) ... ok test_validate_subprotocols_invalid (tests.test_headers.HeadersTests.test_validate_subprotocols_invalid) ... ok test_parse_invalid_line_ending (tests.test_http11.HeadersTests.test_parse_invalid_line_ending) ... ok test_parse_invalid_name (tests.test_http11.HeadersTests.test_parse_invalid_name) ... ok test_parse_invalid_value (tests.test_http11.HeadersTests.test_parse_invalid_value) ... ok test_parse_too_long_line (tests.test_http11.HeadersTests.test_parse_too_long_line) ... ok test_parse_too_long_value (tests.test_http11.HeadersTests.test_parse_too_long_value) ... ok test_parse (tests.test_http11.RequestTests.test_parse) ... ok test_parse_body (tests.test_http11.RequestTests.test_parse_body) ... ok test_parse_body_with_transfer_encoding (tests.test_http11.RequestTests.test_parse_body_with_transfer_encoding) ... ok test_parse_empty (tests.test_http11.RequestTests.test_parse_empty) ... ok test_parse_invalid_header (tests.test_http11.RequestTests.test_parse_invalid_header) ... ok test_parse_invalid_request_line (tests.test_http11.RequestTests.test_parse_invalid_request_line) ... ok test_parse_unsupported_method (tests.test_http11.RequestTests.test_parse_unsupported_method) ... ok test_parse_unsupported_version (tests.test_http11.RequestTests.test_parse_unsupported_version) ... ok test_serialize (tests.test_http11.RequestTests.test_serialize) ... ok test_parse (tests.test_http11.ResponseTests.test_parse) ... ok test_parse_body_no_content (tests.test_http11.ResponseTests.test_parse_body_no_content) ... ok test_parse_body_not_modified (tests.test_http11.ResponseTests.test_parse_body_not_modified) ... ok test_parse_body_with_content_length (tests.test_http11.ResponseTests.test_parse_body_with_content_length) ... ok test_parse_body_with_content_length_too_long (tests.test_http11.ResponseTests.test_parse_body_with_content_length_too_long) ... ok test_parse_body_with_transfer_encoding (tests.test_http11.ResponseTests.test_parse_body_with_transfer_encoding) ... ok test_parse_body_without_content_length (tests.test_http11.ResponseTests.test_parse_body_without_content_length) ... ok test_parse_body_without_content_length_too_long (tests.test_http11.ResponseTests.test_parse_body_without_content_length_too_long) ... ok test_parse_empty (tests.test_http11.ResponseTests.test_parse_empty) ... ok test_parse_invalid_header (tests.test_http11.ResponseTests.test_parse_invalid_header) ... ok test_parse_invalid_reason (tests.test_http11.ResponseTests.test_parse_invalid_reason) ... ok test_parse_invalid_status (tests.test_http11.ResponseTests.test_parse_invalid_status) ... ok test_parse_invalid_status_line (tests.test_http11.ResponseTests.test_parse_invalid_status_line) ... ok test_parse_unsupported_status (tests.test_http11.ResponseTests.test_parse_unsupported_status) ... ok test_parse_unsupported_version (tests.test_http11.ResponseTests.test_parse_unsupported_version) ... ok test_serialize (tests.test_http11.ResponseTests.test_serialize) ... ok test_serialize_with_body (tests.test_http11.ResponseTests.test_serialize_with_body) ... ok test_attribute_error (tests.test_imports.ImportsTests.test_attribute_error) ... ok test_dir (tests.test_imports.ImportsTests.test_dir) ... ok test_get_alias (tests.test_imports.ImportsTests.test_get_alias) ... ok test_get_deprecated_alias (tests.test_imports.ImportsTests.test_get_deprecated_alias) ... ok test_accept_response (tests.test_server.AcceptRejectTests.test_accept_response) ... connection open ok test_basic (tests.test_server.AcceptRejectTests.test_basic) ... connection open ok test_extension (tests.test_server.AcceptRejectTests.test_extension) ... connection open ok test_invalid_connection (tests.test_server.AcceptRejectTests.test_invalid_connection) ... connection failed (426 Upgrade Required) ok test_invalid_key (tests.test_server.AcceptRejectTests.test_invalid_key) ... connection failed (400 Bad Request) ok test_invalid_upgrade (tests.test_server.AcceptRejectTests.test_invalid_upgrade) ... connection failed (426 Upgrade Required) ok test_invalid_version (tests.test_server.AcceptRejectTests.test_invalid_version) ... connection failed (400 Bad Request) ok test_missing_connection (tests.test_server.AcceptRejectTests.test_missing_connection) ... connection failed (426 Upgrade Required) ok test_missing_key (tests.test_server.AcceptRejectTests.test_missing_key) ... connection failed (400 Bad Request) ok test_missing_upgrade (tests.test_server.AcceptRejectTests.test_missing_upgrade) ... connection failed (426 Upgrade Required) ok test_missing_version (tests.test_server.AcceptRejectTests.test_missing_version) ... connection failed (400 Bad Request) ok test_multiple_extensions (tests.test_server.AcceptRejectTests.test_multiple_extensions) ... connection open ok test_multiple_extensions_order (tests.test_server.AcceptRejectTests.test_multiple_extensions_order) ... connection open ok test_multiple_key (tests.test_server.AcceptRejectTests.test_multiple_key) ... connection failed (400 Bad Request) ok test_multiple_origin (tests.test_server.AcceptRejectTests.test_multiple_origin) ... connection failed (400 Bad Request) ok test_multiple_subprotocols (tests.test_server.AcceptRejectTests.test_multiple_subprotocols) ... connection open ok test_multiple_supported_extension_parameters (tests.test_server.AcceptRejectTests.test_multiple_supported_extension_parameters) ... connection open ok test_multiple_version (tests.test_server.AcceptRejectTests.test_multiple_version) ... connection failed (400 Bad Request) ok test_no_extension (tests.test_server.AcceptRejectTests.test_no_extension) ... connection open ok test_no_extensions (tests.test_server.AcceptRejectTests.test_no_extensions) ... connection open ok test_no_origin (tests.test_server.AcceptRejectTests.test_no_origin) ... connection failed (403 Forbidden) ok test_no_origin_accepted (tests.test_server.AcceptRejectTests.test_no_origin_accepted) ... connection open ok test_no_subprotocol (tests.test_server.AcceptRejectTests.test_no_subprotocol) ... connection open ok test_no_subprotocols (tests.test_server.AcceptRejectTests.test_no_subprotocols) ... connection open ok test_origin (tests.test_server.AcceptRejectTests.test_origin) ... connection open ok test_reject_response (tests.test_server.AcceptRejectTests.test_reject_response) ... connection failed (404 Not Found) ok test_send_accept (tests.test_server.AcceptRejectTests.test_send_accept) ... connection open ok test_send_reject (tests.test_server.AcceptRejectTests.test_send_reject) ... connection failed (404 Not Found) ok test_subprotocol (tests.test_server.AcceptRejectTests.test_subprotocol) ... connection open ok test_supported_extension_parameters (tests.test_server.AcceptRejectTests.test_supported_extension_parameters) ... connection open ok test_supported_origin (tests.test_server.AcceptRejectTests.test_supported_origin) ... connection open ok test_supported_subprotocol (tests.test_server.AcceptRejectTests.test_supported_subprotocol) ... connection open ok test_truncated_key (tests.test_server.AcceptRejectTests.test_truncated_key) ... connection failed (400 Bad Request) ok test_unexpected_exception (tests.test_server.AcceptRejectTests.test_unexpected_exception) ... opening handshake failed Traceback (most recent call last): File "/home/buildozer/aports/community/py3-websockets/src/websockets-10.4/src/websockets/server.py", line 111, in accept ) = self.process_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1118, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1122, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1177, in _execute_mock_call raise effect Exception: BOOM connection failed (500 Internal Server Error) ok test_unexpected_extension (tests.test_server.AcceptRejectTests.test_unexpected_extension) ... connection open ok test_unexpected_origin (tests.test_server.AcceptRejectTests.test_unexpected_origin) ... connection failed (403 Forbidden) ok test_unexpected_subprotocol (tests.test_server.AcceptRejectTests.test_unexpected_subprotocol) ... connection open ok test_unsupported_extension (tests.test_server.AcceptRejectTests.test_unsupported_extension) ... connection open ok test_unsupported_extension_parameters (tests.test_server.AcceptRejectTests.test_unsupported_extension_parameters) ... connection open ok test_unsupported_origin (tests.test_server.AcceptRejectTests.test_unsupported_origin) ... connection failed (403 Forbidden) ok test_unsupported_subprotocol (tests.test_server.AcceptRejectTests.test_unsupported_subprotocol) ... connection open ok test_connect_request (tests.test_server.ConnectTests.test_connect_request) ... ok test_receive_connect (tests.test_server.ConnectTests.test_receive_connect) ... ok test_bypass_handshake (tests.test_server.MiscTests.test_bypass_handshake) ... ok test_custom_logger (tests.test_server.MiscTests.test_custom_logger) ... ok test_at_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_data) ... ok test_at_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_eof) ... ok test_discard (tests.test_streams.StreamReaderTests.test_discard) ... ok test_feed_data_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_data) ... ok test_feed_data_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_eof) ... ok test_feed_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_data) ... ok test_feed_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_eof) ... ok test_read_exact (tests.test_streams.StreamReaderTests.test_read_exact) ... ok test_read_exact_need_more_data (tests.test_streams.StreamReaderTests.test_read_exact_need_more_data) ... ok test_read_exact_not_enough_data (tests.test_streams.StreamReaderTests.test_read_exact_not_enough_data) ... ok test_read_line (tests.test_streams.StreamReaderTests.test_read_line) ... ok test_read_line_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_need_more_data) ... ok test_read_line_not_enough_data (tests.test_streams.StreamReaderTests.test_read_line_not_enough_data) ... ok test_read_line_too_long (tests.test_streams.StreamReaderTests.test_read_line_too_long) ... ok test_read_line_too_long_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_too_long_need_more_data) ... ok test_read_to_eof (tests.test_streams.StreamReaderTests.test_read_to_eof) ... ok test_read_to_eof_at_eof (tests.test_streams.StreamReaderTests.test_read_to_eof_at_eof) ... ok test_read_to_eof_too_long (tests.test_streams.StreamReaderTests.test_read_to_eof_too_long) ... ok test_error (tests.test_uri.URITests.test_error) ... ok test_resource_name (tests.test_uri.URITests.test_resource_name) ... ok test_success (tests.test_uri.URITests.test_success) ... ok test_user_info (tests.test_uri.URITests.test_user_info) ... ok test_apply_mask (tests.test_utils.ApplyMaskTests.test_apply_mask) ... ok test_apply_mask_check_input_types (tests.test_utils.ApplyMaskTests.test_apply_mask_check_input_types) ... ok test_apply_mask_check_mask_length (tests.test_utils.ApplyMaskTests.test_apply_mask_check_mask_length) ... ok test_apply_mask_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_memoryview) ... ok test_apply_mask_non_contiguous_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_non_contiguous_memoryview) ... ok test_apply_mask (tests.test_utils.SpeedupsTests.test_apply_mask) ... ok test_apply_mask_check_input_types (tests.test_utils.SpeedupsTests.test_apply_mask_check_input_types) ... ok test_apply_mask_check_mask_length (tests.test_utils.SpeedupsTests.test_apply_mask_check_mask_length) ... ok test_apply_mask_memoryview (tests.test_utils.SpeedupsTests.test_apply_mask_memoryview) ... ok test_apply_mask_non_contiguous_memoryview (tests.test_utils.SpeedupsTests.test_apply_mask_non_contiguous_memoryview) ... ok test_accept_key (tests.test_utils.UtilsTests.test_accept_key) ... ok test_generate_key (tests.test_utils.UtilsTests.test_generate_key) ... ok ---------------------------------------------------------------------- Ran 1032 tests in 13.105s OK (skipped=3) >>> py3-websockets: Entering fakeroot... /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py running egg_info writing src/websockets.egg-info/PKG-INFO writing dependency_links to src/websockets.egg-info/dependency_links.txt writing top-level names to src/websockets.egg-info/top_level.txt reading manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/websockets.egg-info/SOURCES.txt' running build_ext running install_lib creating /home/buildozer/aports/community/py3-websockets/pkg creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11 creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/utils.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/datastructures.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/typing.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/handshake.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/framing.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/__init__.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/http.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/protocol.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/client.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/server.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/compatibility.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/legacy/auth.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy copying build/lib.linux-i686-cpython-311/websockets/imports.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/__init__.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/version.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/streams.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/speedups.cpython-311-i386-linux-musl.so -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/__main__.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/http.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/py.typed -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/uri.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/frames.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/http11.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/connection.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/client.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets creating /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions copying build/lib.linux-i686-cpython-311/websockets/extensions/__init__.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions copying build/lib.linux-i686-cpython-311/websockets/extensions/base.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions copying build/lib.linux-i686-cpython-311/websockets/extensions/permessage_deflate.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions copying build/lib.linux-i686-cpython-311/websockets/speedups.c -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/server.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/headers.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/exceptions.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets copying build/lib.linux-i686-cpython-311/websockets/auth.py -> /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/utils.py to utils.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/datastructures.py to datastructures.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/typing.py to typing.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/handshake.py to handshake.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/framing.py to framing.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/__init__.py to __init__.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/http.py to http.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/protocol.py to protocol.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/client.py to client.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/server.py to server.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/compatibility.py to compatibility.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/auth.py to auth.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/imports.py to imports.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/__init__.py to __init__.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/version.py to version.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/streams.py to streams.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/__main__.py to __main__.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/http.py to http.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/uri.py to uri.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/frames.py to frames.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/http11.py to http11.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/connection.py to connection.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/client.py to client.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions/__init__.py to __init__.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions/base.py to base.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions/permessage_deflate.py to permessage_deflate.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/server.py to server.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/headers.py to headers.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/exceptions.py to exceptions.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/auth.py to auth.cpython-311.pyc running install_egg_info Copying src/websockets.egg-info to /home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets-10.4-py3.11.egg-info running install_scripts >>> py3-websockets-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/__pycache__' -> '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets-pyc/usr/lib/python3.11/site-packages/websockets/__pycache__' '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/legacy/__pycache__' -> '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets-pyc/usr/lib/python3.11/site-packages/websockets/legacy/__pycache__' '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets/usr/lib/python3.11/site-packages/websockets/extensions/__pycache__' -> '/home/buildozer/aports/community/py3-websockets/pkg/py3-websockets-pyc/usr/lib/python3.11/site-packages/websockets/extensions/__pycache__' >>> py3-websockets-pyc*: Preparing subpackage py3-websockets-pyc... >>> py3-websockets-pyc*: Running postcheck for py3-websockets-pyc >>> py3-websockets*: Running postcheck for py3-websockets >>> py3-websockets*: Preparing package py3-websockets... >>> py3-websockets*: Stripping binaries >>> py3-websockets-pyc*: Scanning shared objects >>> py3-websockets*: Scanning shared objects >>> py3-websockets-pyc*: Tracing dependencies... python3~3.11 >>> py3-websockets-pyc*: Package size: 472.0 KB >>> py3-websockets-pyc*: Compressing data... >>> py3-websockets-pyc*: Create checksum... >>> py3-websockets-pyc*: Create py3-websockets-pyc-10.4-r3.apk >>> py3-websockets*: Tracing dependencies... python3~3.11 so:libc.musl-x86.so.1 >>> py3-websockets*: Package size: 460.0 KB >>> py3-websockets*: Compressing data... >>> py3-websockets*: Create checksum... >>> py3-websockets*: Create py3-websockets-10.4-r3.apk >>> py3-websockets: Build complete at Sat, 22 Apr 2023 16:51:09 +0000 elapsed time 0h 0m 18s >>> py3-websockets: Cleaning up srcdir >>> py3-websockets: Cleaning up pkgdir >>> py3-websockets: Uninstalling dependencies... (1/20) Purging .makedepends-py3-websockets (20230422.165052) (2/20) Purging python3-dev (3.11.3-r10) (3/20) Purging py3-setuptools-pyc (67.7.1-r0) (4/20) Purging py3-setuptools (67.7.1-r0) (5/20) Purging py3-packaging-pyc (23.1-r1) (6/20) Purging py3-packaging (23.1-r1) (7/20) Purging py3-parsing-pyc (3.0.9-r2) (8/20) Purging py3-parsing (3.0.9-r2) (9/20) Purging python3-pyc (3.11.3-r10) (10/20) Purging python3-pycache-pyc0 (3.11.3-r10) (11/20) Purging pyc (0.1-r0) (12/20) Purging python3 (3.11.3-r10) (13/20) Purging gdbm (1.23-r1) (14/20) Purging libbz2 (1.0.8-r5) (15/20) Purging libffi (3.4.4-r2) (16/20) Purging libpanelw (6.4_p20230401-r5) (17/20) Purging mpdecimal (2.5.1-r2) (18/20) Purging readline (8.2.1-r1) (19/20) Purging sqlite-libs (3.41.2-r2) (20/20) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r7.trigger OK: 373 MiB in 98 packages >>> py3-websockets: Updating the community/x86 repository index... >>> py3-websockets: Signing the index...