Opened 5 years ago

Last modified 3 years ago

#14034 new defect

Make TestingDirAuthVoteGuard/Exit/HSDirV2 and AssumeReachable less essential in test networks — at Version 4

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.2.6.1-alpha
Severity: Normal Keywords: chutney, lorax, SponsorS-deferred, tor-dirauth, testing, test-support
Cc: nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by teor)

Currently, we need to use TestingDirAuthVoteGuard *, TestingDirAuthVoteExit *, and AssumeReachable 1 to get a test network to bootstrap in under a minute. With #8243, we may need to create a TestingDirAuthVoteHSDirV2 * option as well.

These are rather blunt instruments to get boostrap working.

The changes in #13718 and (probably) #13929 ensure that testing networks bootstrap in 30s, without using TestingDirAuthVoteExit * or AssumeReachable 1. This provides a comprehensive method of testing network / exit bootstrap.

But it would be great to be able to test Guard/HSDirV2 bootstrap too - perhaps by tweaking some settings in the chutney torrc_templates, or perhaps by fixing the implementation of one or more of tor's Testing... options (i.e. speeding up Guard/HSDirV2 flag assignment in test networks).

Child Tickets

TicketStatusOwnerSummaryComponent
#13401closedTestingTorNetwork should crank down RendPostPeriod too?Core Tor/Tor
#13718closedteorReachability Tests aren't conducted if there are no exit nodesCore Tor/Tor
#22463newReduce REACHABLE_TIMEOUT in test networksCore Tor/Tor

Change History (4)

comment:1 Changed 5 years ago by teor

Description: modified (diff)

comment:2 Changed 5 years ago by teor

Description: modified (diff)
Summary: Make TestingDirAuthVoteGuard, TestingDirAuthVoteExit and AssumeReachable less essential in test networksMake TestingDirAuthVoteGuard/Exit/HSDir and AssumeReachable less essential in test networks

comment:3 Changed 5 years ago by teor

Description: modified (diff)

comment:4 Changed 5 years ago by teor

Description: modified (diff)
Summary: Make TestingDirAuthVoteGuard/Exit/HSDir and AssumeReachable less essential in test networksMake TestingDirAuthVoteGuard/Exit/HSDirV2 and AssumeReachable less essential in test networks

It's technically TestingDirAuthVoteHSDirV2 *
The flag is HSDir, so let's just stick with that.

Last edited 5 years ago by teor (previous) (diff)
Note: See TracTickets for help on using tickets.