Opened at 2020-04-13T19:00:10Z
Closed at 2020-04-16T11:58:05Z
#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)
comment:1 Changed at 2020-04-14T12:53:32Z by exarkun
comment:2 Changed at 2020-04-16T11:58:05Z by exarkun
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
https://github.com/tahoe-lafs/tahoe-lafs/pull/705