[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2339: Enable specific ports for running tests

Tahoe-LAFS trac at tahoe-lafs.org
Fri Nov 21 23:48:12 UTC 2014


#2339: Enable specific ports for running tests
------------------------------+-------------------------------------
     Reporter:  cipherpunks   |      Owner:  daira
         Type:  defect        |     Status:  assigned
     Priority:  normal        |  Milestone:  undecided
    Component:  code-network  |    Version:  1.10.0
   Resolution:                |   Keywords:  firewall tests foolscap
Launchpad Bug:                |
------------------------------+-------------------------------------
Changes (by daira):

 * keywords:  firewall, tests => firewall tests foolscap
 * owner:   => daira
 * status:  new => assigned
 * component:  unknown => code-network


Old description:

> With a restrict firewall that blocks traffic to localhost except for
> specific ports (like tails) it is not possible to run the test suit as it
> tries to connect to random ports on localhost.
> For instance:
>
> tahoe debug trial --rterrors allmydata.test.test_web
> [ERROR]
>     test_blacklist ... Traceback (most recent call last):
> Failure: twisted.internet.error.ConnectionRefusedError: Connection was
> refused by other side: 111: Connection refused.

New description:

 With a restrictive firewall that blocks traffic to localhost (or
 127.0.0.1) except for specific ports --such as the one in Tails-- it is
 not possible to run the test suite as it tries to connect to random ports
 on localhost.

 For instance:

 {{{
 tahoe debug trial --rterrors allmydata.test.test_web
 [ERROR]
     test_blacklist ... Traceback (most recent call last):
 Failure: twisted.internet.error.ConnectionRefusedError: Connection was
 refused by other side: 111: Connection refused.
 }}}

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2339#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list