============================= test session starts ============================== platform linux -- Python 3.10.4, pytest-7.1.1, pluggy-1.0.0 rootdir: /var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush, configfile: pyproject.toml plugins: regressions-2.2.0, datadir-1.3.1 collected 10 items tests/test_cron.py .. [ 20%] tests/test_event_parse.py . [ 30%] tests/test_http.py ..... [ 80%] tests/test_procedure.py .. [100%] =============================== warnings summary =============================== ../../../../../../../../usr/lib/python3.10/site-packages/redis/connection.py:1 /usr/lib/python3.10/site-packages/redis/connection.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion ../../../../../../../../usr/lib/python3.10/site-packages/redis/connection.py:72 /usr/lib/python3.10/site-packages/redis/connection.py:72: UserWarning: redis-py works best with hiredis. Please consider installing warnings.warn(msg) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 10 passed, 2 warnings in 10.33s ======================== Exception in thread Thread-20 (_async_stop): Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/zeroconf/_utils/asyncio.py", line 97, in run_coro_with_timeout return asyncio.run_coroutine_threadsafe(aw, loop).result( File "/usr/lib/python3.10/concurrent/futures/_base.py", line 448, in result raise TimeoutError() concurrent.futures._base.TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 392, in unregister_service self.zeroconf.unregister_service(self.zeroconf_info) File "/usr/lib/python3.10/site-packages/zeroconf/_core.py", line 692, in unregister_service run_coro_with_timeout( File "/usr/lib/python3.10/site-packages/zeroconf/_utils/asyncio.py", line 101, in run_coro_with_timeout raise EventLoopBlocked from ex zeroconf._exceptions.EventLoopBlocked During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 272, in _async_stop self.unregister_service() File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 395, in unregister_service self.zeroconf_info.name, type(e).__name__, str(e))) AttributeError: 'NoneType' object has no attribute 'name' /usr/lib/python3.10/asyncio/base_events.py:671: RuntimeWarning: coroutine 'Zeroconf.async_unregister_service' was never awaited self._ready.clear() RuntimeWarning: Enable tracemalloc to get the object allocation traceback