[tor-bugs] #19261 [Core Tor/Tor]: test suite failure rend_cache/store_v2_desc_as_client

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 16 17:59:07 UTC 2016


#19261: test suite failure rend_cache/store_v2_desc_as_client
--------------------------+------------------------------------
 Reporter:  weasel        |          Owner:
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.2.8.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.8.3-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs test   |  Actual Points:
Parent ID:                |         Points:  0.2
 Reviewer:                |        Sponsor:  SponsorR-can
--------------------------+------------------------------------
Changes (by dgoulet):

 * status:  new => needs_information
 * keywords:   => tor-hs test
 * points:   => 0.2
 * sponsor:   => SponsorR-can


Comment:

 My theory is that this is not enough time on armel and it fails sometimes.

 {{{
 static const int TIME_IN_THE_FUTURE = REND_CACHE_MAX_SKEW + 10;
 }}}

 In `rend_cache_store_v2_desc_as_client()`, there is a check that if it
 takes more than 10 seconds to get there will work and thus return 0:

 {{{
   /* Is descriptor too far in the future? */
   if (parsed->timestamp > now + REND_CACHE_MAX_SKEW) {
 }}}

 I gave a diff to weasel for him to test changing the `+ 10` seconds to 60
 seconds. We'll see how that goes.

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


More information about the tor-bugs mailing list