#3302 closed defect (fixed)

When a test fails because Foolscap cannot bind a port, the failure doesn't include enough information

Reported by: exarkun Owned by:
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

Sometimes the test suite has failures like:

Traceback (most recent call last):
  File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/twisted/internet/defer.py", line 122, in execute
    result = callable(*args, **kw)
  File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 495, in listenTCP
    p.startListening()
  File "/tmp/tahoe-lafs.tox/py27-coverage/lib/python2.7/site-packages/twisted/internet/tcp.py", line 1363, in startListening
    raise CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:38205: [Errno 98] Address already in use.

This shows that some TCP server has failed to start because EADDRINUSE. This makes debugging such failures infuriating.

Change History (2)

Note: See TracTickets for help on using tickets.