[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
Mon Mar 11 00:25:36 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:                    |  Actual Points:  1
Parent ID:  #20647            |         Points:  2
 Reviewer:                    |        Sponsor:
------------------------------+--------------------------------

Comment (by teor):

 Replying to [comment:12 nickm]:
 > > Should we be calling this command from test_network.sh to get
 diagnostic bootstrap status?
 >
 > Yes, but I think that should be a separate ticket.

 Ok, that's the existing ticket #28203.
 Let's add a commit to call the script instead of the bootstrap delay.
 And let's ignore the exit status for the moment.

 Then let's run CI to see if we need to wait longer.
 We should merge this diagnostic right after we merge the chutney.git CI in
 #27912.

 Replying to [comment:11 teor]:
 > I found a typo on the pull request.
 > And I think we should not hard-code the bootstrap limit.

 Let's make these changes so we can merge #28203.

 > Should we be using this command from test_network.sh instead of our 20
 second wait?
 > If we do, we might need to wait after bootstrap for:
 > * a consensus interval (10 seconds?) for relays to be in the consensus
 > * another consensus interval (10 seconds?) for onion services to update
 their consensus and post descriptors

 Let's fix bootstrap issues (#20473), then start failing when bootstrap
 fails.
 We don't have to make these changes right away.

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


More information about the tor-bugs mailing list