============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-cachy/src/cachy-0.3.0 plugins: mock-3.6.1 collected 64 items tests/test_cache_manager.py ........ [ 12%] tests/test_repository.py .............. [ 34%] tests/test_tagged_cache.py ....... [ 45%] tests/stores/test_dict_store.py ....... [ 56%] tests/stores/test_file_store.py ......... [ 70%] tests/stores/test_memcached_store.py FFFFFFFFF [ 84%] tests/stores/test_null_store.py . [ 85%] tests/stores/test_redis_store.py ......... [100%] =================================== FAILURES =================================== ______________________ RedisStoreTestCase.test_decrement _______________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError _______________________ RedisStoreTestCase.test_forever ________________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError ________________________ RedisStoreTestCase.test_forget ________________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError ___________ RedisStoreTestCase.test_get_returns_null_when_not_found ____________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError ______________________ RedisStoreTestCase.test_increment _______________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError __________________ RedisStoreTestCase.test_put_numeric_value ___________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError _______________ RedisStoreTestCase.test_put_value_into_memcache ________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError __________________ RedisStoreTestCase.test_value_is_returned ___________________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError ____________ RedisStoreTestCase.test_value_is_returned_for_numerics ____________ self = def setUp(self): > self.store = MemcachedStore(['127.0.0.1:11211'], 'prefix:') tests/stores/test_memcached_store.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = servers = ['127.0.0.1:11211'], prefix = 'prefix:', kwargs = {} def __init__(self, servers, prefix='', **kwargs): # Removing potential "driver" key kwargs.pop('driver', None) self._prefix = prefix > self._memcache = memcache.Client(servers, **kwargs) E AttributeError: 'NoneType' object has no attribute 'Client' cachy/stores/memcached_store.py:21: AttributeError =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/packaging/version.py:111: 694 warnings /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( ../../../../usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7 /usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7: 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.core import Command -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_decrement FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_forever FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_forget FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_get_returns_null_when_not_found FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_increment FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_put_numeric_value FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_put_value_into_memcache FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_value_is_returned FAILED tests/stores/test_memcached_store.py::RedisStoreTestCase::test_value_is_returned_for_numerics ================== 9 failed, 55 passed, 695 warnings in 2.17s ================== WARNING [pifpaf.util] `psutil.Popen(pid=3264, status='terminated', exitcode=1, started='00:56:10')` is already gone, sending SIGKILL to its process group ==> ERROR: A failure occurred in check().  Aborting...