[New-bugs-announce] [issue30381] test_smtpnet.test_connect_using_sslcontext_verified() randomly failed with "smtplib.SMTPServerDisconnected: Connection unexpectedly closed" on AMD64 FreeBSD CURRENT Debug 3.x

STINNER Victor report at bugs.python.org
Tue May 16 18:18:35 EDT 2017


New submission from STINNER Victor:

See also bpo-30331 (test_poplib) and bpo-30328 (test_ssl): other connection reset on the FreeBSD buildbots.

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

0:15:55 load avg: 1.77 [387/405/1] test_smtpnet failed -- running: test_subprocess (62 sec)
test_connect (test.test_smtpnet.SmtpSSLTest) ... ok
test_connect_default_port (test.test_smtpnet.SmtpSSLTest) ... ok
test_connect_using_sslcontext (test.test_smtpnet.SmtpSSLTest) ... ok
test_connect_using_sslcontext_verified (test.test_smtpnet.SmtpSSLTest) ... ERROR
test_connect_starttls (test.test_smtpnet.SmtpTest) ... ok

======================================================================
ERROR: test_connect_using_sslcontext_verified (test.test_smtpnet.SmtpSSLTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_smtpnet.py", line 77, in test_connect_using_sslcontext_verified
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort, context=context)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/smtplib.py", line 1029, in __init__
    source_address)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/smtplib.py", line 251, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/smtplib.py", line 337, in connect
    (code, msg) = self.getreply()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/smtplib.py", line 393, in getreply
    raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

----------------------------------------------------------------------
Ran 5 tests in 7.470s

FAILED (errors=1)
test test_smtpnet failed

----------
assignee: christian.heimes
components: SSL, Tests
keywords: buildbot
messages: 293808
nosy: christian.heimes, haypo, koobs
priority: normal
severity: normal
status: open
title: test_smtpnet.test_connect_using_sslcontext_verified() randomly failed with "smtplib.SMTPServerDisconnected: Connection unexpectedly closed" on AMD64 FreeBSD CURRENT Debug 3.x
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30381>
_______________________________________


More information about the New-bugs-announce mailing list