Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests fail with redis-7.2 #151

Open
arkamar opened this issue Nov 30, 2023 · 0 comments
Open

Some tests fail with redis-7.2 #151

arkamar opened this issue Nov 30, 2023 · 0 comments

Comments

@arkamar
Copy link

arkamar commented Nov 30, 2023

Couple of tests fail with redis-7.2. The issue was discovered here https://bugs.gentoo.org/912462#c4

[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/test_bitops.py", line 39, in setUp
    self.redis_2_6 = yield self.is_redis_2_6()
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/mixins.py", line 33, in checkVersion
    d = yield self.db.info("server")
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1101, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/../txredisapi.py", line 1688, in _process_info
    k, v = kv.split(':')
builtins.ValueError: too many values to unpack (expected 2)

tests.test_bitops.TestBitOps.test_bitcount
tests.test_bitops.TestBitOps.test_bitop_and
tests.test_bitops.TestBitOps.test_bitop_invalid
tests.test_bitops.TestBitOps.test_bitop_not
tests.test_bitops.TestBitOps.test_bitop_or
tests.test_bitops.TestBitOps.test_bitop_xor
tests.test_bitops.TestBitOps.test_getbit
tests.test_bitops.TestBitOps.test_setbit
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c293d0>

tests.test_bitops.TestBitOps.test_bitcount
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c447d0>

tests.test_bitops.TestBitOps.test_bitop_and
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c521d0>

tests.test_bitops.TestBitOps.test_bitop_invalid
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c5e110>

tests.test_bitops.TestBitOps.test_bitop_not
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c689d0>

tests.test_bitops.TestBitOps.test_bitop_or
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c6b590>

tests.test_bitops.TestBitOps.test_bitop_xor
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c7e490>

tests.test_bitops.TestBitOps.test_getbit
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c88dd0>

tests.test_bitops.TestBitOps.test_setbit
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/test_hyperloglog.py", line 32, in setUp
    self.redis_2_8_9 = yield self.checkVersion(2, 8, 9)
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/mixins.py", line 33, in checkVersion
    d = yield self.db.info("server")
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1101, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/../txredisapi.py", line 1688, in _process_info
    k, v = kv.split(':')
builtins.ValueError: too many values to unpack (expected 2)

tests.test_hyperloglog.TestHyperLogLog.test_pfadd
tests.test_hyperloglog.TestHyperLogLog.test_pfcount
tests.test_hyperloglog.TestHyperLogLog.test_pfmerge
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0ca5790>

tests.test_hyperloglog.TestHyperLogLog.test_pfadd
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0ca7390>

tests.test_hyperloglog.TestHyperLogLog.test_pfcount
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0c44c50>

tests.test_hyperloglog.TestHyperLogLog.test_pfmerge
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/test_scan.py", line 37, in setUp
    self.redis_2_8_0 = yield self.checkVersion(2, 8, 0)
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/mixins.py", line 33, in checkVersion
    d = yield self.db.info("server")
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1101, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/../txredisapi.py", line 1688, in _process_info
    k, v = kv.split(':')
builtins.ValueError: too many values to unpack (expected 2)

tests.test_scan.TestScan.test_scan
tests.test_scan.TestScan.test_sscan
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0d462d0>

tests.test_scan.TestScan.test_scan
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb026c710>

tests.test_scan.TestScan.test_sscan
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/test_scripting.py", line 39, in setUp
    self.redis_2_6 = yield self.is_redis_2_6()
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1993, in _inlineCallbacks
    result = context.run(
  File "/usr/lib/python3.11/site-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/mixins.py", line 33, in checkVersion
    d = yield self.db.info("server")
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1101, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/var/tmp/portage/dev-python/txredisapi-1.4.10/work/txredisapi-1.4.10/tests/../txredisapi.py", line 1688, in _process_info
    k, v = kv.split(':')
builtins.ValueError: too many values to unpack (expected 2)

tests.test_scripting.TestScripting.test_eval
tests.test_scripting.TestScripting.test_eval_args_only
tests.test_scripting.TestScripting.test_eval_error
tests.test_scripting.TestScripting.test_eval_keys_only
tests.test_scripting.TestScripting.test_evalsha
tests.test_scripting.TestScripting.test_evalsha_error
tests.test_scripting.TestScripting.test_script_exists
tests.test_scripting.TestScripting.test_script_kill
tests.test_scripting.TestScripting.test_script_load
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb026d750>

tests.test_scripting.TestScripting.test_eval
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0100750>

tests.test_scripting.TestScripting.test_eval_args_only
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0102250>

tests.test_scripting.TestScripting.test_eval_error
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0d39ad0>

tests.test_scripting.TestScripting.test_eval_keys_only
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb034f990>

tests.test_scripting.TestScripting.test_evalsha
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb00bdfd0>

tests.test_scripting.TestScripting.test_evalsha_error
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb00bcd50>

tests.test_scripting.TestScripting.test_script_exists
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0347390>

tests.test_scripting.TestScripting.test_script_kill
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Client'> to ('localhost', 6379) at ffffb0344d50>

tests.test_scripting.TestScripting.test_script_load
-------------------------------------------------------------------------------
Ran 165 tests in 11.292s

FAILED (errors=44, successes=143)
 * ERROR: dev-python/txredisapi-1.4.10::gentoo failed (test phase):
 *   tests failed with python3.11
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Nov 30, 2023
This package requires <dev-db/redis-7.2 for tests.

Upstream-issue: IlyaSkriblovsky/txredisapi#151
Bug: https://bugs.gentoo.org/912462
Signed-off-by: Petr Vaněk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant