Opened 4 years ago

Last modified 20 months ago

#14034 new defect

Make TestingDirAuthVoteGuard/Exit/HSDir and AssumeReachable less essential in test networks

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: #13976 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 TestingDirAuthVoteHSDir * 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/HSDir 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/HSDir 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 (16)

comment:1 Changed 4 years ago by teor

Description: modified (diff)

comment:2 Changed 4 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 4 years ago by teor

Description: modified (diff)

comment:4 Changed 4 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 4 years ago by teor (previous) (diff)

comment:5 Changed 4 years ago by teor

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

comment:6 Changed 4 years ago by teor

Partial fix for HS bootstrap time in #14067, from 60 seconds to 45 seconds to 25 seconds.
Further reductions may be possible as part of the changes in this task.

comment:7 Changed 4 years ago by teor

Parent ID: #13976

Do this before #13976

comment:8 Changed 3 years ago by teor

Keywords: SponsorS added

Marking this as SponsorS per nickm on IRC so it doesn't get lost.

comment:9 Changed 3 years ago by nickm

Keywords: SponsorS removed
Sponsor: SponsorS

Bulk-replace SponsorS keyword with SponsorS sponsor field in Tor component.

comment:10 Changed 3 years ago by isabela

Severity: Normal
Sponsor: SponsorSSponsorS-can

comment:11 Changed 3 years ago by nickm

Keywords: SponsorS-deferred added
Sponsor: SponsorS-can

Remove the SponsorS status from these items, which we already decided to defer from 0.2.9. add the SponsorS-deferred tag instead in case we ever want to remember which ones these were.

comment:12 Changed 2 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:13 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:14 Changed 20 months ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:15 Changed 20 months ago by dgoulet

Keywords: tor-dirauth added; tor-auth removed

Turns out that tor-auth is for directory authority so make it clearer with tor-dirauth

comment:16 Changed 20 months ago by nickm

Keywords: testing test-support added
Note: See TracTickets for help on using tickets.