1. 02 Apr, 2020 1 commit
  2. 20 Mar, 2020 1 commit
    • teor's avatar
      TorNet: update a comment · 76981f08
      teor authored
      Microdescriptor search in #33428 is almost finished, so change the
      comment to refer to onion service descriptor search in #33609.
      76981f08
  3. 16 Mar, 2020 4 commits
  4. 14 Mar, 2020 5 commits
  5. 13 Mar, 2020 2 commits
  6. 12 Mar, 2020 17 commits
    • teor's avatar
      Travis: Tolerate a small number of failures · 02be4f3a
      teor authored
      Set CHUTNEY_ALLOW_FAILURES to 2, so that CI tolerates a single failure
      during each test-network.sh run.
      
      Part of 33583.
      02be4f3a
    • teor's avatar
      test-network: Wait a few seconds between attempts · 363038e3
      teor authored
      We want to make sure tor has fully exited, and the OS has reclaimed
      its resources.
      
      The pause helps if the failure happened due to system load.
      
      Part of 33583.
      363038e3
    • teor's avatar
      test-network: Clarify bootstrap attempts · 07153fc4
      teor authored
      The current script output makes it easy to confuse bootstrap attempts
      and verify rounds.
      
      Change the output to make it clearer.
      
      Part of 33583.
      07153fc4
    • teor's avatar
      torrcs: Stop setting AssumeReachable on relays · d7c14d5c
      teor authored
      Relays and bridges will now perform reachability self-checks, before
      publishing their descriptors.
      
      Continue to set "AssumeReachable 1" on authorities, to stop them doing
      authority to relay/bridge reachability checks. (These checks happen too
      slowly for chutney's test networks.)
      
      Part of 33583.
      d7c14d5c
    • teor's avatar
      verify: Wait for a consistent amount of time · 95ce144c
      teor authored
      Wait for a consistent amount of time between verify attempts,
      regardless of the time elapsed during the attempt.
      
      Try to make at least 2 verify attempts per consensus interval,
      but also try to limit the number of attempts.
      
      Also increase the default timeout: sometimes 3 seconds is too
      short on a heavily-loaded machine.
      
      These changes should make verification more reliable.
      
      Part of 33379.
      95ce144c
    • teor's avatar
      networks: Use non-exit relays in mixed+hs-v2 · 9c49a83a
      teor authored
      Tor 0.3.5 is unstable with exit relays in mixed+hs-v2, so we use
      non-exit relays.
      
      (Recent tor versions use mixed+hs-v23, and they support exit relays.)
      
      Part of 33379.
      9c49a83a
    • teor's avatar
      networks: Add extra authorities so relays bootstrap · ebf320d7
      teor authored
      Authorities and relays need 3 *other* authorities/relays to bootstrap.
      And Tor 0.3.5 needs 5 authorities/relays in the consensus.
      
      We add authorities, because some networks only have one relay or exit,
      to make sure all paths go through that relay/exit.
      
      Part of 33232.
      ebf320d7
    • teor's avatar
      TorNet: Temporarily wait for unchecked dir info · 793f6ee1
      teor authored
      Avoids a race condition in microdescriptor downloads in 0.3.5.
      
      Once we check for microdescriptors in 33428, we should be able to reduce
      this timeout.
      
      Part of 33379.
      793f6ee1
    • teor's avatar
      TorNet: Temporarily disable bridge auth checks · 1c60e4ff
      teor authored
      Bridges with AssumeReachable fail to publish their descriptors, because
      they try very early, when they haven't bootstrapped.
      
      Turning off AssumeReachable in 33232 should fix this issue.
      
      This changes makes these chutney networks succeed:
      * bridges-min
      * bridges+ipv6-min
      
      Part of 33379.
      1c60e4ff
    • teor's avatar
      TorNet: Stop expecting bridges in the consensus · d5ddbc81
      teor authored
      Stop expecting bridges to be published in the consensus.
      
      Also, stop expecting bridge clients to:
      * have bridge microdescriptors, and
      * have consensus relay full descriptors.
      
      Partially fixes these chutney networks:
      * bridges-min
      * bridges+ipv6-min
      
      Part of 33379.
      d5ddbc81
    • teor's avatar
      TorNet: Check each node's dir info distribution · 5ca9de31
      teor authored
      Check that every relay has published its directory info to the
      authorities, it is in the consensus, and every node has downloaded it.
      
      Check that every bridge has published its directory info to the
      bridge authority, and it is in the bridge networkstatus.
      
      Check that every bridge client has downloaded bridge descriptors.
      
      This code currently does not work for these chutney networks:
      * bridges-min
      * bridges+ipv6-min
      
      All other networks pass the new tests.
      
      Part of 33379.
      5ca9de31
    • teor's avatar
      TorNet: Tweak the bootstrap status timings · dd33dc1f
      teor authored
      Part of 33379.
      dd33dc1f
    • teor's avatar
      TorNet: Add status code constants · d6228880
      teor authored
      And update some old code to use them.
      
      Part of 33379.
      d6228880
    • teor's avatar
      TorNet: Improve template variable docs · 5040534d
      teor authored
      Part of 33379.
      5040534d
    • teor's avatar
      warnings: Use $CHUTNEY_WARNINGS_SKIP · 25dd564a
      teor authored
      When $CHUTNEY_WARNINGS_SKIP is true, skip all warnings.
      25dd564a
    • teor's avatar
      test-network: Fix the wording of a status message · 75aea5d1
      teor authored
      75aea5d1
    • teor's avatar
      README: Document "wait for relays in the consensus" · f40871d7
      teor authored
      Part of 33379.
      f40871d7
  7. 11 Mar, 2020 7 commits
  8. 19 Feb, 2020 3 commits