Closed
Description
CI tests start to fail in Tests/t_ldapobject.py with the next error:
self.server.slapadd(SCHEMA_TEMPLATE, ["-n0"])
self.server.restart()
> self.reset_connection()
# Or
def tearDown(self):
> self._sock.close()
But always it points to:
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
> _ss.close(self)
E OSError: [Errno 9] Bad file descriptor
Possibly, we're trying to close the socket that was already closed.
And, it's possibly a race condition because sometimes it happens and sometimes it's not (and only on pypy3 runs).
Further investigation is required.
Metadata
Metadata
Assignees
Labels
No labels