============================= test session starts ============================== platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.1 rootdir: /var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush collected 9 items tests/test_cron.py . [ 11%] tests/test_event_parse.py . [ 22%] tests/test_http.py ..... [ 77%] tests/test_procedure.py .. [100%] ============================== 9 passed in 10.06s ============================== Exception in thread Thread-15: Traceback (most recent call last): File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 388, in unregister_service self.zeroconf.unregister_service(self.zeroconf_info) File "/usr/lib/python3.9/site-packages/zeroconf/_core.py", line 667, in unregister_service run_coro_with_timeout( File "/usr/lib/python3.9/site-packages/zeroconf/_utils/asyncio.py", line 95, in run_coro_with_timeout return asyncio.run_coroutine_threadsafe(aw, loop).result( File "/usr/lib/python3.9/concurrent/futures/_base.py", line 447, in result raise TimeoutError() concurrent.futures._base.TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 268, in _async_stop self.unregister_service() File "/var/lib/gitlab-runner/builds/UmwmPxhA/0/platypush/platypush/platypush/backend/__init__.py", line 391, in unregister_service self.zeroconf_info.name, type(e).__name__, str(e))) AttributeError: 'NoneType' object has no attribute 'name' sys:1: RuntimeWarning: coroutine 'Zeroconf.async_unregister_service' was never awaited RuntimeWarning: Enable tracemalloc to get the object allocation traceback