[Python-Dev] what ports are needed for a buildbot?

Bill Janssen janssen at parc.com
Sun May 16 22:02:07 CEST 2010


I'm running my buildbots in a captive firewalled subnet, and I have to
enumerate all the ports that the buildbot is allowed to open to the
outside world.  Right now, I'm getting this error:

ERROR: test_connect (test.test_smtpnet.SmtpSSLTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/smtplib.py", line 757, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/smtplib.py", line 762, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/socket.py", line 321, in create_connection
    raise error(msg)
socket.error: [Errno 61] Connection refused

This make me think that the list of ports enumerated at
http://wiki.python.org/moin/BuildBot is incomplete.  We need a complete
list.  If you know of additional ports, please add them to the wiki page.

Bill


More information about the Python-Dev mailing list