[tor-bugs] #16952 [Chutney]: Retry configure/verify on transient chutney failures

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 1 21:54:36 UTC 2015


#16952: Retry configure/verify on transient chutney failures
------------------------------+-----------------------
 Reporter:  teor              |          Owner:  nickm
     Type:  defect            |         Status:  new
 Priority:  normal            |      Milestone:
Component:  Chutney           |        Version:
 Keywords:  testing SponsorS  |  Actual Points:
Parent ID:  #16949            |         Points:
------------------------------+-----------------------
 chutney occasionally fails to bootstrap or verify. Sometimes, and on some
 platforms / machines, bootstrap is slower than we expect.

 We should either: fix intermittent failures (#16951), or lengthen the
 default sleep time (this ticket), or retry up to N times (argument) (this
 ticket) with increasing sleep times (this ticket), or implement a chutney
 command that finds out whether the network has finished bootstrapping
 (#16950).

 Easy fixes are to: make the default sleep time 30 seconds; retry verify at
 45 and 60 seconds before giving up (args for interval and number of
 retries); and then retry once from the start with a new network in case of
 chutney configure / launch failure (arg for number of reconfigures). This
 will make it a maximum of 4.5 minutes before the test fails, after 3 x 2
 retries.

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


More information about the tor-bugs mailing list