Skip to content

Use the chutney Tor network simulator in our test suite

See parent ticket (#9519) for the rationale.

We may want to use chutney to simulate the Tor network for increased determinism in our test suite.

The Tor network is a large part of the test suite’s indeterminism, both from transient network issues when communicating with the Tor network (or internal issues, e.g. bad circuits), and from the chosen exit node being blocked. Simulating the Tor network on the testing host would eliminate all such issues.

There is, however, a potential for making the testing host blacklisted/blocked if services identifies the repeated connections as spam (example: irc.oftc.net blocks lizard because of the multiple IRC connections made per hour, potentially). If that is a problem, #9520 (closed) would solve that.

Feature Branch: test/9521-chutney

Parent Task: #9519

Related issues

Original created by @anonym on 9521 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information