Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tests/t_ldapobject.py fails on pypy3 CI run #460

Copy link
Copy link
@droideck

Description

@droideck
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.