============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-aioredis/src/aioredis-py-2.0.0 plugins: asyncio-0.16.0 collected 894 items tests/test_commands.py ................................................. [ 5%] ........................................................................ [ 13%] ........................................................................ [ 21%] ........................................................................ [ 29%] ........................................................................ [ 37%] ........................................................................ [ 45%] ........................................................................ [ 53%] .....ss................................................................. [ 61%] ........... [ 63%] tests/test_connection.py .F.. [ 63%] tests/test_connection_pool.py .......................................... [ 68%] ...................................... [ 72%] tests/test_encoding.py ........................ [ 75%] tests/test_lock.py .................................................... [ 80%] tests/test_monitor.py ............ [ 82%] tests/test_multiprocessing.py xxxxxxxxxx [ 83%] tests/test_pipeline.py ................................................. [ 88%] . [ 89%] tests/test_pubsub.py ................................................... [ 94%] ..................... [ 97%] tests/test_scripting.py .............. [ 98%] tests/test_sentinel.py ............ [100%] =================================== FAILURES =================================== _________________________ test_invalid_response[pool] __________________________ r = Redis>> @pytest.mark.skipif(HIREDIS_AVAILABLE, reason="PythonParser only") @pytest.mark.asyncio async def test_invalid_response(r): raw = b"x" > parser: "PythonParser" = r.connection._parser E AttributeError: 'NoneType' object has no attribute '_parser' tests/test_connection.py:18: AttributeError =============================== warnings summary =============================== tests/conftest.py:4 /build/python-aioredis/src/aioredis-py-2.0.0/tests/conftest.py:4: 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 StrictVersion tests/test_commands.py: 556 warnings tests/test_connection.py: 2 warnings tests/test_connection_pool.py: 28 warnings tests/test_encoding.py: 24 warnings tests/test_lock.py: 49 warnings tests/test_monitor.py: 12 warnings tests/test_pipeline.py: 40 warnings tests/test_pubsub.py: 68 warnings tests/test_scripting.py: 8 warnings tests/test_sentinel.py: 5 warnings /build/python-aioredis/src/aioredis-py-2.0.0/aioredis/client.py:1041: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() tests/test_sentinel.py::test_master_odown tests/test_sentinel.py::test_master_odown /build/python-aioredis/src/aioredis-py-2.0.0/aioredis/client.py:4299: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/test_connection.py::test_invalid_response[pool] - AttributeError... ===== 1 failed, 881 passed, 2 skipped, 10 xfailed, 795 warnings in 46.41s ====== WARNING [pifpaf.util] `psutil.Popen(pid=2268, status='terminated', exitcode=1, started='21:17:32')` is already gone, sending SIGKILL to its process group ==> ERROR: A failure occurred in check().  Aborting...