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

test_timeout fails on AMD64 FreeBSD CURRENT Debug 3.x: ConnectionResetError: [Errno 54] Connection reset by peer #74728

Closed
vstinner opened this issue Jun 1, 2017 · 2 comments
Labels
3.7 (EOL) end of life tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented Jun 1, 2017

BPO 30543
Nosy @vstinner
Superseder
  • bpo-30319: Change socket.close() to ignore ECONNRESET
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-07-04.14:48:56.650>
    created_at = <Date 2017-06-01.21:27:02.870>
    labels = ['3.7', 'tests']
    title = 'test_timeout fails on AMD64 FreeBSD CURRENT Debug 3.x: ConnectionResetError: [Errno 54] Connection reset by peer'
    updated_at = <Date 2017-07-04.14:48:56.649>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-07-04.14:48:56.649>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-04.14:48:56.650>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2017-06-01.21:27:02.870>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30543
    keywords = ['buildbot']
    message_count = 2.0
    messages = ['294971', '296739']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '30319'
    type = None
    url = 'https://bugs.python.org/issue30543'
    versions = ['Python 3.7']

    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 1, 2017

    http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/350/steps/test/logs/stdio

    testAcceptTimeout (test.test_timeout.TCPTimeoutTestCase) ... ok
    testConnectTimeout (test.test_timeout.TCPTimeoutTestCase) ... skipped "Resource 'blackhole.snakebite.net' is not available"
    testRecvTimeout (test.test_timeout.TCPTimeoutTestCase) ... ok
    testSend (test.test_timeout.TCPTimeoutTestCase) ... ERROR
    testSendall (test.test_timeout.TCPTimeoutTestCase) ... ok
    testSendto (test.test_timeout.TCPTimeoutTestCase) ... ERROR
    testRecvfromTimeout (test.test_timeout.UDPTimeoutTestCase) ... test test_timeout failed
    ok

    ======================================================================
    ERROR: testSend (test.test_timeout.TCPTimeoutTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_timeout.py", line 151, in tearDown
        self.sock.close()
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/socket.py", line 417, in close
        self._real_close()
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/socket.py", line 411, in _real_close
        _ss.close(self)
    ConnectionResetError: [Errno 54] Connection reset by peer

    ======================================================================
    ERROR: testSendto (test.test_timeout.TCPTimeoutTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_timeout.py", line 151, in tearDown
        self.sock.close()
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/socket.py", line 417, in close
        self._real_close()
      File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/socket.py", line 411, in _real_close
        _ss.close(self)
    ConnectionResetError: [Errno 54] Connection reset by peer

    Ran 14 tests in 10.084s

    FAILED (errors=2, skipped=1)
    1 test failed again:
    test_timeout

    Total duration: 17 min 14 sec
    Tests result: FAILURE

    @vstinner vstinner added 3.7 (EOL) end of life tests Tests in the Lib/test dir labels Jun 1, 2017
    @vstinner
    Copy link
    Member Author

    http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.6/builds/266/steps/test/logs/stdio

    ======================================================================
    ERROR: testSend (test.test_timeout.TCPTimeoutTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/usr/home/buildbot/python/3.6.koobs-freebsd-current/build/Lib/test/test_timeout.py", line 151, in tearDown
        self.sock.close()
      File "/usr/home/buildbot/python/3.6.koobs-freebsd-current/build/Lib/socket.py", line 417, in close
        self._real_close()
      File "/usr/home/buildbot/python/3.6.koobs-freebsd-current/build/Lib/socket.py", line 411, in _real_close
        _ss.close(self)
    ConnectionResetError: [Errno 54] Connection reset by peer

    @vstinner vstinner closed this as completed Jul 4, 2017
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant