[tor-bugs] #30001 [Core Tor/Tor]: test failure: dir_handle_get/status_vote_next_bandwidth

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 3 13:59:30 UTC 2019


#30001: test failure: dir_handle_get/status_vote_next_bandwidth
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Found by travis: https://travis-ci.org/torproject/tor/jobs/515199996

 {{{
 dir_handle_get/status_vote_next_bandwidth:
   FAIL src/test/test_dir_handle_get.c:2535: assert(strstr(header,
 expires))
   [status_vote_next_bandwidth FAILED]
 }}}

 To me this looks like a race condition: the clock probably has advanced by
 a second between the call to directory_handle_command_get() and the call
 to time(NULL).

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


More information about the tor-bugs mailing list