Comment 2 for bug 1424954

Revision history for this message
Geoff Bache (geoff.bache) wrote :

Problem you have is that your colleague's machine cannot open a socket on the local host. Usually this is caused by incorrect networking configuration, for example nonsense in /etc/hosts on Ubuntu.
Lack of this makes communication between processes via sockets impossible, i.e. running in parallel in TextTest or using the CaptureMock server, both of which use sockets.

To debug, something like this needs to be possible:

$ python
Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>>> socket.gethostbyname(socket.gethostname())
'10.67.20.30'
>>> s.bind(('10.67.20.30', 0))

If any of this throws an exception, you'll have trouble. It's usually (in my experience) because the IP address you get back is wrong, because the network settings are wrongly configured.