This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2017-05-09.15:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494344869.6.0.553746122368.issue30315@psf.upfronthosting.co.za>
In-reply-to
Content
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/246/steps/test/logs/stdio

test_check_hostname (test.test_ftplib.TestTLS_FTPClass) ... Exception in thread Thread-84:
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 83, in read
    obj.handle_read_event()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 366, in handle_read_event
    super(SSLConnection, self).handle_read_event()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 423, in handle_read_event
    self.handle_read()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asynchat.py", line 171, in handle_read
    self.found_terminator()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 116, in found_terminator
    method(arg)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 207, in cmd_quit
    self.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 406, in close
    super(SSLConnection, self).close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 397, in close
    self.socket.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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 279, in run
    asyncore.loop(timeout=0.1, count=1)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 207, in loop
    poll_fun(timeout, map)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 150, in poll
    read(obj)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncore.py", line 87, in read
    obj.handle_error()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 399, in handle_error
    raise Exception
Exception

ERROR

(...)

======================================================================
ERROR: test_check_hostname (test.test_ftplib.TestTLS_FTPClass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_ftplib.py", line 950, in test_check_hostname
    self.client.connect("localhost", self.server.port)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/ftplib.py", line 155, in connect
    self.welcome = self.getresp()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/ftplib.py", line 234, in getresp
    resp = self.getmultiline()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/ftplib.py", line 220, in getmultiline
    line = self.getline()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/ftplib.py", line 202, in getline
    line = self.file.readline(self.maxline + 1)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

----------------------------------------------------------------------
Ran 89 tests in 15.001s

FAILED (errors=1)
Warning -- threading_cleanup() failed to cleanup 0 threads after 4 sec (count: 0, dangling: 2)
Warning -- threading._dangling was modified by test_ftplib
  Before: <_weakrefset.WeakSet object at 0x80577ce28>
  After:  <_weakrefset.WeakSet object at 0x80577c810> 
test test_ftplib failed
History
Date User Action Args
2017-05-09 15:47:49vstinnersetrecipients: + vstinner
2017-05-09 15:47:49vstinnersetmessageid: <1494344869.6.0.553746122368.issue30315@psf.upfronthosting.co.za>
2017-05-09 15:47:49vstinnerlinkissue30315 messages
2017-05-09 15:47:49vstinnercreate