[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2787: intermittent "Address Already In Use" error during tests
Tahoe-LAFS
trac at tahoe-lafs.org
Wed May 23 14:38:34 UTC 2018
#2787: intermittent "Address Already In Use" error during tests
------------------------------+--------------------
Reporter: warner | Owner: warner
Type: defect | Status: closed
Priority: normal | Milestone: soon
Component: code-network | Version: 1.11.0
Resolution: wontfix | Keywords:
Launchpad Bug: |
------------------------------+--------------------
Comment (by exarkun):
5. Create a private network namespace for the test suite. This removes
the possibility of a port collision involving unrelated activities on the
same host. It does not remove the possibility of a port collision of
Tahoe-LAFS code with other Tahoe-LAFS code though. Network namespaces are
highly platform specific and this would likely involve three or more
implementations of the same idea. Also, creating network namespaces
likely requires elevated privileges imposing a practical barrier to
deployment.
6. Avoid binding to IN_ADDRANY. Instead, bind to a specific interface.
This avoids collisions with other ports bound to different specific
interfaces. It doesn't avoid collisions with other ports bound to
IN_ADDRANY. Since most collisions are probably with IN_ADDRANY-bound
sockets this probably doesn't help a lot.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2787#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list