[tor-bugs] #22132 [Core Tor/Chutney]: Chutney should avoid waiting for set times: wait for conditions instead

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 13 14:11:32 UTC 2019


#22132: Chutney should avoid waiting for set times: wait for conditions instead
--------------------------------------------+------------------------------
 Reporter:  teor                            |          Owner:  nickm
     Type:  defect                          |         Status:
                                            |  needs_revision
 Priority:  Medium                          |      Milestone:
Component:  Core Tor/Chutney                |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  network-team-roadmap-2019-Q1Q2  |  Actual Points:  1.1
Parent ID:  #20647                          |         Points:  2
 Reviewer:                                  |        Sponsor:  Sponsor19
--------------------------------------------+------------------------------

Comment (by nickm):

 For 0.4.0, the problem seems to be that we need a longer timeout. I waited
 a while longer and it bootstrapped fine.

 For 0.3.5 and earlier, there's a problem with our regex; I'm doing a fix
 in a `wait_for_bootstrap_better` branch.

 > If all the nodes are already bootstrapping, and we don't have the right
 regexes, then we should fail when any node fails to bootstrap (#20473).
 That way, we learn if we break tor bootstrap or chutney's
 wait_for_bootstrap feature.

 `chutney wait_for_bootstrap` currently exits with a failure if the nodes
 don't bootstrap; I guess this should be easy to use in the test-network
 script.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22132#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list