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.

classification
Title: test_smtpnet fails with "[110] Connection timed out" on AMD64 debian parallel buildbot
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: flox, loewis, pitrou
Priority: normal Keywords:

Created on 2010-09-04 12:22 by flox, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg115570 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-09-04 12:22
Repeated failure on AMD64 debian parallel buildbot.

[329/346] test_smtpnet
test test_smtpnet failed -- Traceback (most recent call last):
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/smtplib.py", line 758, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/smtplib.py", line 763, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/socket.py", line 319, in create_connection
    raise error(msg)
socket.error: [Errno 110] Connection timed out

http://www.python.org/dev/buildbot/builders/AMD64%20debian%20parallel%203.x/builds/94
msg118548 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-13 17:15
I've commited a patch in r85423 to skip test_smtpnet when the connection to gmail fails (which it probably does because of a firewall somewhere).
msg118550 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-13 17:21
Backported to 3.1 (r85424) and 2.7 (r85425).
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 53983
2010-10-13 17:21:36pitrousetstatus: open -> closed
resolution: fixed
messages: + msg118550

stage: needs patch -> resolved
2010-10-13 17:15:56pitrousetnosy: + pitrou
messages: + msg118548
2010-10-13 17:11:41pitrousetnosy: + loewis
2010-09-04 12:22:06floxcreate