Skip to content

Unhandled error during integration tests #589

@dkropachev

Description

@dkropachev

Run: https://github.com/scylladb/python-driver/actions/runs/19372470328/job/55431541815?pr=586

One point: it is all happened in test asyncore (3.11), we need to investigate how twisted got in there, despite EVENT_LOOP_MANAGER=asyncore

Error:

WARNING: Published ports are discarded when using host network mode
Unhandled Error
Traceback (most recent call last):
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/twisted/internet/posixbase.py", line 496, in _doReadOrWrite
    why = selectable.doWrite()
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/twisted/internet/tcp.py", line 628, in doConnect
    self._connectDone()
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/twisted/internet/tcp.py", line 656, in _connectDone
    self.protocol.makeConnection(self)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/twisted/protocols/tls.py", line 226, in makeConnection
    ProtocolWrapper.makeConnection(self, transport)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/twisted/protocols/policies.py", line 72, in makeConnection
    directlyProvides(self, providedBy(transport))
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/declarations.py", line 864, in directlyProvides
    provides = object.__provides__ = Provides(cls, *interfaces)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/declarations.py", line 828, in Provides
    spec = ProvidesClass(*interfaces)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/declarations.py", line 751, in __init__
    Declaration.__init__(
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/declarations.py", line 82, in __init__
    Specification.__init__(self, _normalizeargs(bases))
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/interface.py", line 382, in __init__
    self.__bases__ = tuple(bases)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/interface.py", line 415, in __setBases
    self.changed(self)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/interface.py", line 496, in changed
    ancestors = self._calculate_sro()
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/interface.py", line 462, in _calculate_sro
    sro = self._do_calculate_ro(base_mros={
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 674, in ro
    mro = resolver.mro()
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 469, in mro
    self.__mro = tuple(self._merge())
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 460, in _merge
    base = self._choose_next_base(base_tree_remaining)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 376, in _choose_next_base
    return self._guess_next_base(base_tree_remaining)
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 437, in _guess_next_base
    self._warn_iro()
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 334, in _warn_iro
    if not self.WARN_BAD_IRO:
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 224, in __get__
    for k in dir(klass):
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/sure/__init__.py", line 1084, in _new_dir
    patched = [x for x in old_dir(obj[0]) if isinstance(getattr(obj[0], x, None), AssertionBuilder)]
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/sure/__init__.py", line 1084, in <listcomp>
    patched = [x for x in old_dir(obj[0]) if isinstance(getattr(obj[0], x, None), AssertionBuilder)]
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 224, in __get__
    for k in dir(klass):
....
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/sure/__init__.py", line 1084, in _new_dir
    patched = [x for x in old_dir(obj[0]) if isinstance(getattr(obj[0], x, None), AssertionBuilder)]
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/sure/__init__.py", line 1084, in <listcomp>
    patched = [x for x in old_dir(obj[0]) if isinstance(getattr(obj[0], x, None), AssertionBuilder)]
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/zope/interface/ro.py", line 224, in __get__
    for k in dir(klass):
  File "/home/runner/work/python-driver/python-driver/.venv/lib/python3.11/site-packages/sure/__init__.py", line 1084, in _new_dir
    patched = [x for x in old_dir(obj[0]) if isinstance(getattr(obj[0], x, None), AssertionBuilder)]
builtins.RecursionError: maximum recursion depth exceeded while calling a Python object

Log file:
logs_49936600225.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions