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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 7 17:49:17 UTC 2015


#16952: Retry configure/verify on transient chutney failures
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  nickm
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  Post027Freeze TorCoreTeam201509
Actual Points:           |  testing SponsorS
       Points:           |  Parent ID:  #16953
-------------------------+-------------------------------------------------
Changes (by teor):

 * keywords:  testing SponsorS => Post027Freeze TorCoreTeam201509 testing
     SponsorS
 * status:  new => needs_review
 * component:  Chutney => Tor
 * parent:  #16949 => #16953


Comment:

 Please see my branch `retry-test-network-on-failure` on
 https://github.com/teor2345/tor.git
 It has the following changes:
 * Retry boostrap (configure and launch) once on failure, configurable via
 CHUTNEY_RECONFIGURES or --reconfigures
 * Retry verify every 5 seconds from BOOTSTRAP_TIME (now 20s) to
 MAX_BOOTSTRAP_TIME (60s), configurable via --time and --max-time
 * A separate commit that fixes up the indenting and spacing in the script

 This makes src/test/test-network.sh suitably robust to intermittent
 failures and variable machine speeds. This will ensure that #16953 reports
 actual failures, not transient conditions or slowdowns.

 I have tested it on OS X and Linux.

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


More information about the tor-bugs mailing list