[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27810 [Core Tor/Tor]: hs_service/helper_functions test seems unreliable on slow systems



#27810: hs_service/helper_functions test seems unreliable on slow systems
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Hi!  I've seen this test failure a few times on Travis:

 {{{
 hs_service/helper_functions: [forking]
   FAIL src/test/test_hs_service.c:837: assert(ip->time_to_expire OP_GE now
 + INTRO_POINT_LIFETIME_MIN_SECONDS): 1537602275 vs 1537602297
   [helper_functions FAILED]
 }}}

 It seems to happen intermittently, so I think it might be one of those
 things where a slow-running machine fails the test because of the
 unexpected passage og time.

 Is it possible to mock time here?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27810>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs