bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
517 stars 147 forks source link

1.11.0: test suite is failing #212

Closed kloczek closed 2 years ago

kloczek commented 3 years ago

Looks like something is wrong with my redist. May I ask for some hint?

+ cd beaker-1.11.0
+ /usr/bin/rm -rf /tmp/beaker-tests
+ redis-server
+ nosetests -v --exclude test_ext_mongodb
61809:C 10 Jun 2021 09:45:01.496 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
61809:C 10 Jun 2021 09:45:01.496 # Redis version=6.2.2, bits=64, commit=00000000, modified=0, pid=61809, just started
61809:C 10 Jun 2021 09:45:01.496 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
61809:M 10 Jun 2021 09:45:01.498 * Increased maximum number of open files to 10032 (it was originally set to 1024).
61809:M 10 Jun 2021 09:45:01.498 * monotonic clock: POSIX clock_gettime
61809:M 10 Jun 2021 09:45:01.498 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
61809:M 10 Jun 2021 09:45:01.498 # Failed listening on port 6379 (TCP), aborting.
tests.test_cache.test_cache_manager ... ok
tests.test_cache.test_increment ... ok
tests.test_cache.test_has_key ... ok
tests.test_cache.test_expire_changes ... ok
tests.test_cache.test_fresh_createfunc ... ok
tests.test_cache.test_has_key_multicache ... ok
tests.test_cache.test_unicode_keys ... ok
test that remove_value() removes even if the value is expired. ... ok
tests.test_cache.test_multi_keys ... ok
tests.test_cache.test_clsmap_nonexistent ... ok
tests.test_cache.test_clsmap_present ... ok
tests.test_cache.test_legacy_cache ... ok
tests.test_cache.test_upgrade ... ok
tests.test_cache_decorator.test_check_region_decorator ... ok
tests.test_cache_decorator.test_different_default_names ... ok
tests.test_cache_decorator.test_check_invalidate_region ... ok
tests.test_cache_decorator.test_check_invalidate_region_2 ... ok
tests.test_cache_decorator.test_invalidate_cache ... ok
tests.test_cache_decorator.test_class_key_cache ... ok
tests.test_cache_decorator.test_func_namespace ... ok
tests.test_cache_decorator.test_class_key_region ... ok
tests.test_cache_decorator.test_classmethod_key_region ... ok
tests.test_cache_decorator.test_class_key_region_invalidate ... ok
tests.test_cache_decorator.test_check_region_decorator_keeps_docstring_and_name ... ok
tests.test_cache_decorator.test_check_region_decorator_with_kwargs ... ok
tests.test_cache_decorator.test_check_region_decorator_with_kwargs_and_self ... ok
tests.test_cache_decorator.test_check_region_decorator_with_kwargs_self_and_annotations ... ok
tests.test_cachemanager.test_parse_doesnt_allow_none ... ok
tests.test_cachemanager.test_parse_doesnt_allow_empty_region_name ... ok
tests.test_cachemanager.test_decorators(<function make_region_cached_func.<locals>.load at 0x7ff02efe6820>,) ... ok
tests.test_cachemanager.test_decorators(<function make_cached_func.<locals>.load at 0x7ff02efe6700>,) ... ok
tests.test_cachemanager.test_check_invalidate_region ... ok
tests.test_cachemanager.test_check_invalidate ... ok
tests.test_cachemanager.test_long_name ... ok
tests.test_cachemanager.test_cache_region_has_default_key_length ... ok
tests.test_cachemanager.test_cache_region_expire_is_always_int ... ok
tests.test_cachemanager.test_directory_goes_away ... ok
tests.test_container.test_memory_container ... ok
tests.test_container.test_dbm_container ... ok
tests.test_container.test_file_container ... ok
tests.test_container.test_memory_container_tlocal ... ok
tests.test_container.test_memory_container_2 ... ok
tests.test_container.test_memory_container_3 ... ok
tests.test_container.test_dbm_container_2 ... ok
tests.test_container.test_dbm_container_3 ... ok
tests.test_container.test_file_container_2 ... ok
tests.test_container.test_file_container_3 ... ok
tests.test_container.test_file_container_tlocal ... ok
ensure errors raised during reads or writes don't lock the namespace open. ... ok
test that the cache doesn't ignore file removals ... ok
test_bad_values (tests.test_converters.AsBool) ... ok
Things that can coerce right straight to booleans. ... ok
test_false_str (tests.test_converters.AsBool) ... ok
test_truth_str (tests.test_converters.AsBool) ... ok
test_None (tests.test_converters.AsList) ... ok
Other objects should just result in a single item list. ... ok
Lists and tuples should come back unchanged. ... ok
test_string (tests.test_converters.AsList) ... ok
tests.test_cookie_domain_only.test_increment ... ok
tests.test_cookie_domain_only.test_cookie_attributes_are_preserved ... ok
Explore valid arguments for cookie_expires. ... ok
Exhibit Set-Cookie: values. ... ok
tests.test_cookie_expires.test_cookie_expires_different_locale ... ok
Exhibit Set-Cookie: values. ... ok
tests.test_cookie_only.test_increment ... ok
tests.test_cookie_only.test_invalid_cookie ... ok
tests.test_cookie_only.test_invalid_cookie_cookietype ... ok
tests.test_cookie_only.test_json_serializer ... ok
tests.test_cookie_only.test_pickle_serializer ... ok
tests.test_cookie_only.test_custom_serializer ... ok
tests.test_cookie_only.test_expires ... ok
tests.test_cookie_only.test_different_sessions ... ok
tests.test_cookie_only.test_nosave ... ok
tests.test_cookie_only.test_increment_with_encryption ... ok
tests.test_cookie_only.test_different_sessions_with_encryption ... ok
tests.test_cookie_only.test_nosave_with_encryption ... ok
tests.test_cookie_only.test_cookie_id ... ok
tests.test_cookie_only.test_invalidate_with_save_does_not_delete_session ... ok
tests.test_cookie_only.test_changing_encrypt_key_with_timeout ... /home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/session.py:810: BeakerWarning: Invalidating corrupt session c908d6b023e743ceadb172d4d8e8e5fe; error was: unpickling stack underflow.  Set invalidate_corrupt=False to propagate this exception.
  self.__dict__['_sess'] = session_cls(req, **params)
ok
tests.test_cookie_only.test_cookie_properly_expires ... ok
tests.test_cookie_only.test_cookie_attributes_are_preserved ... ok
tests.test_cookie_only.test_cookie_path_properly_set_after_init ... ok
tests.test_cookie_only.test_cookie_path_properly_set_after_load ... ok
tests.test_cookie_only.test_cookie_path_properly_set_after_delete ... ok
tests.test_database.test_has_key ... ok
tests.test_database.test_cache_manager ... ok
tests.test_database.test_increment ... ok
tests.test_database.test_has_key_multicache ... ok
tests.test_database.test_clear ... ok
tests.test_database.test_unicode_keys ... ok
tests.test_domain_setting.test_same_domain ... ok
tests.test_domain_setting.test_different_domain ... ok
tests.test_increment.test_no_save ... ok
tests.test_increment.test_increment ... ok
tests.test_increment.test_increment_auto ... ok
tests.test_increment.test_different_sessions ... ok
tests.test_increment.test_different_sessions_auto ... ok
tests.test_increment.test_nosave ... ok
tests.test_increment.test_revert ... ok
tests.test_increment.test_load_session_by_id ... ok
test_cache_manager (tests.test_managers.test_ext_redis.TestRedis) ... ok
test_clear (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_client_reuse (tests.test_managers.test_ext_redis.TestRedis) ... ok
test_createfunc (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_expiretime (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_expiretime_automatic (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_has_key (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_has_key_multicache (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_increment (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_long_unicode_keys (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_session (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_session_invalid (tests.test_managers.test_ext_redis.TestRedis) ... ok
test_session_timeout (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_spaces_in_keys (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_spaces_in_unicode_keys (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_store_none (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
test_unicode_keys (tests.test_managers.test_ext_redis.TestRedis) ... ERROR
Failure: SkipTest (an appropriate memcached backend is not installed) ... SKIP: an appropriate memcached backend is not installed
tests.test_namespacing.test_consistent_namespacing ... ok
tests.test_pbkdf2.test_pbkdf2_test1 ... ok
tests.test_pbkdf2.test_pbkdf2_test2 ... ok
tests.test_pbkdf2.test_pbkdf2_test3 ... ok
tests.test_pbkdf2.test_pbkdf2_test4 ... ok
Test for Regression on Incorrect behavior of bytes_() under Python3.4 ... ok
test_doesnt_save_if_session_not_written_and_accessed_time_false (tests.test_session.TestSaveAccessedTime) ... ok
test_saves_if_session_not_written_and_accessed_time_true (tests.test_session.TestSaveAccessedTime) ... ok
test_saves_if_session_written_and_accessed_time_false (tests.test_session.TestSaveAccessedTime) ... ok
test_accessed_time_off_doesnt_save_without_save (tests.test_session.TestSessionObject) ... ok
test_accessed_time_off_saves_atime_when_saving (tests.test_session.TestSessionObject) ... ok
test_auto_save_saves_without_save (tests.test_session.TestSessionObject) ... ok
test_no_autosave_saves_atime_without_save (tests.test_session.TestSessionObject) ... ok
test_no_autosave_saves_with_delete (tests.test_session.TestSessionObject) ... ok
test_no_autosave_saves_with_save (tests.test_session.TestSessionObject) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... /home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_session.py:24: BeakerWarning: Invalidating corrupt session 715a4e325c3943ffb389f6a5d80d1217; error was: 'ascii' codec can't decode byte 0x91 in position 0: ordinal not in range(128).  Set invalidate_corrupt=False to propagate this exception.
  return Session({}, **options)
ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... /home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_session.py:38: BeakerWarning: Invalidating corrupt session 5d3d8ebff36c47d0830950bdaba816cb; error was: invalid load key, '\xa1'..  Set invalidate_corrupt=False to propagate this exception.
  return CookieSession(COOKIE_REQUEST, **options)
ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
tests.test_session.test_session(<function get_session at 0x7ff02f0490d0>,) ... ok
tests.test_session.test_session(<function get_cookie_session at 0x7ff02f049b80>,) ... ok
Test :meth:`Session.regenerate_id` ... ok
Test that it doesn't allow setting save_accessed_time to False with ... ok
Test if cookies are sent out properly when ``use_cookies`` ... ok
Test that no cookies are sent when ``use_cookies`` is set to ``False`` ... ok
Test the file-based backend with session, ... ok
tests.test_session.test_invalidate_corrupt ... /home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_session.py:24: BeakerWarning: Invalidating corrupt session 971690980b3f4006b305efef98d646db; error was: pickle data was truncated.  Set invalidate_corrupt=False to propagate this exception.
  return Session({}, **options)
ok
tests.test_session.test_invalidate_empty_cookie ... ok
tests.test_session.test_unrelated_cookie ... ok
tests.test_session.test_invalidate_invalid_signed_cookie ... ok
tests.test_session.test_invalidate_invalid_signed_cookie_invalidate_corrupt ... /home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_session.py:38: BeakerWarning: Invalidating corrupt session 6a3d6b08da054eab82678ff2790e491c; error was: Invalid signature.  Set invalidate_corrupt=False to propagate this exception.
  return CookieSession(COOKIE_REQUEST, **options)
ok
tests.test_sqla.test_cache_manager ... ok
tests.test_sqla.test_increment ... ok
tests.test_sqla.test_has_key ... ok
tests.test_sqla.test_has_key_multicache ... ok
tests.test_sqla.test_clear ... ok
tests.test_sqla.test_unicode_keys ... ok
tests.test_syncdict.test_dict ... ok
tests.test_syncdict.test_weakdict ... ok
tests.test_synchronizer.test_reentrant_file ... ok
tests.test_synchronizer.test_null ... ok
tests.test_synchronizer.test_mutex ... ok
tests.test_unicode_cache_keys.test_A_unicode_encode_key_str ... ok
we replace the offending character with other non ascii one. Since ... ok
We again test the same stuff but this time we use ... ok
Invalidate cache ... ok

======================================================================
ERROR: test_clear (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 144, in test_clear
    cache.set_value('test', 20)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.0775013 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_createfunc (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 262, in test_createfunc
    v0 = cache.get_value('test', createfunc=createfunc)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 322, in get
    return self._get_value(key, **kw).get_value()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 361, in get_value
    creation_lock.acquire()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/synchronization.py", line 186, in acquire_write_lock
    x = self.do_acquire_write_lock(wait)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 137, in do_acquire_write_lock
    if self.client.set(self.identifier, owner_id, ex=self.LOCK_EXPIRATION, nx=True):
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: lock_createfunc (waiting)
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_expiretime (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 231, in test_expiretime
    cache.set_value("has space", 24, expiretime=1)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 75, in set_value
    self.client.setex(self._format_key(key), int(expiretime), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1822, in setex
    return self.execute_command('SETEX', name, time, value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.0906208 expire time 1
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_expiretime_automatic (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 241, in test_expiretime_automatic
    cache.set_value("has space", 24, expiretime=1)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 75, in set_value
    self.client.setex(self._format_key(key), int(expiretime), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1822, in setex
    return self.execute_command('SETEX', name, time, value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.0936909 expire time 1
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_has_key (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 134, in test_has_key
    cache.set_value("test", o)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.095525 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_has_key_multicache (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 155, in test_has_key_multicache
    cache.set_value("test", o)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.0968404 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_increment (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 201, in test_increment
    res = app.get('/', extra_environ={'beaker.clear': True})
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 327, in get
    return self.do_request(req, status=status,
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 623, in do_request
    res = req.get_response(app, catch_exc_info=True)
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1309, in send
    status, headers, app_iter, exc_info = self.call_application(
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.8/site-packages/webtest/lint.py", line 201, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/middleware.py", line 73, in __call__
    return self.app(environ, start_response)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 51, in simple_app
    cache.clear()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 358, in clear
    self.namespace.remove()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 182, in remove
    self.do_remove()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 87, in do_remove
    self.client.delete(k)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1567, in delete
    return self.execute_command('DEL', *names)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

======================================================================
ERROR: test_long_unicode_keys (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 176, in test_long_unicode_keys
    cache.set_value(long_str, o)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.1022007 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_session (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 103, in test_session
    res = app.get('/')
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 327, in get
    return self.do_request(req, status=status,
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 623, in do_request
    res = req.get_response(app, catch_exc_info=True)
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1309, in send
    status, headers, app_iter, exc_info = self.call_application(
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.8/site-packages/webtest/lint.py", line 201, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/middleware.py", line 156, in __call__
    return self.wrap_app(environ, session_start_response)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 40, in simple_session_app
    start_response('200 OK', [('Content-type', 'text/plain')])
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/middleware.py", line 150, in session_start_response
    session.persist()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/session.py", line 875, in persist
    self._session().save()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/session.py", line 521, in save
    self.namespace['session'] = data
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 80, in __setitem__
    self.set_value(key, value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

======================================================================
ERROR: test_session_timeout (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 120, in test_session_timeout
    session.save()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/session.py", line 521, in save
    self.namespace['session'] = data
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 80, in __setitem__
    self.set_value(key, value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 75, in set_value
    self.client.setex(self._format_key(key), int(expiretime), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1822, in setex
    return self.execute_command('SETEX', name, time, value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

======================================================================
ERROR: test_spaces_in_keys (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 192, in test_spaces_in_keys
    cache.set_value("has space", 24)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.1082513 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_spaces_in_unicode_keys (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 184, in test_spaces_in_unicode_keys
    cache.set_value(u_('hi ŏ'), o)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.1096706 expire time None
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_store_none (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 224, in test_store_none
    res = app.get('/', extra_environ={'beaker.clear': True})
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 327, in get
    return self.do_request(req, status=status,
  File "/usr/lib/python3.8/site-packages/webtest/app.py", line 623, in do_request
    res = req.get_response(app, catch_exc_info=True)
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1309, in send
    status, headers, app_iter, exc_info = self.call_application(
  File "/usr/lib/python3.8/site-packages/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python3.8/site-packages/webtest/lint.py", line 201, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/middleware.py", line 73, in __call__
    return self.app(environ, start_response)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 67, in using_none_app
    cache.clear()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 358, in clear
    self.namespace.remove()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 182, in remove
    self.do_remove()
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 87, in do_remove
    self.client.delete(k)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1567, in delete
    return self.execute_command('DEL', *names)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

======================================================================
ERROR: test_unicode_keys (tests.test_managers.test_ext_redis.TestRedis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/tests/test_managers/base.py", line 164, in test_unicode_keys
    cache.set_value(u_('hiŏ'), o)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/cache.py", line 317, in put
    self._get_value(key, **kw).set_value(value)
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/container.py", line 414, in set_value
    self.namespace.set_value(self.key, (storedtime, self.expire_argument, value),
  File "/home/tkloczko/rpmbuild/BUILD/beaker-1.11.0/beaker/ext/redisnm.py", line 77, in set_value
    self.client.set(self._format_key(key), value)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 1801, in set
    return self.execute_command('SET', *pieces)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/usr/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
-------------------- >> begin captured logging << --------------------
beaker.container: DEBUG: set_value stored time 1623314828.111896 expire time None
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 174 tests in 150.799s
kloczek commented 2 years ago

Closing. Issue ticket is now outdated.