Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on some machines

2016-12-07 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on some machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:  fixed
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 I think it means that the monotonic time implementation just takes longer
 than 10 us sometimes.  My commit in
 fce425e3ff0281de29f04ac46d8c395befee607d is an attempt to work around that
 in the tests.  Please reopen if it doesn't work.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on some machines

2016-11-17 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on some machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+

Comment (by arma):

 Does this mean that the monotonic time implementation is broken, on at
 least some machines, and we should reconsider whether we want to use it?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on some machines (was: Test failure for monotonic time on slow machines)

2016-11-12 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on some machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on slow machines

2016-11-12 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on slow machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+

Comment (by s7r):

 Are we sure it occurs as described on slow machines only? Because the
 machine under my control which experienced this isn't old and shouldn't be
 so slow at all.

 I have tried with Tor process off and absolutely nothing else running on
 the machine, got two times in a row:

 {{{
 util/monotonic_time:
   FAIL src/test/test_util.c:5536: assert(usecc1 OP_LE nsecc1 / 1000 + 10):
 10601698 vs 10601677
   [monotonic_time FAILED]
 }}}

 {{{
 util/monotonic_time:
   FAIL src/test/test_util.c:5536: assert(usecc1 OP_LE nsecc1 / 1000 + 10):
 7245695 vs 7245672
   [monotonic_time FAILED]
 }}}

 3rd time it reported OK without restarting the server or any process.
 After 3 minutes 4th time again fails:
 {{{
 util/monotonic_time:
   FAIL src/test/test_util.c:5534: assert(usec1 OP_LE nsec1 / 1000 +10):
 13577362 vs 13577356
   [monotonic_time FAILED]
 }}}

 {{{
 util/monotonic_time:
   FAIL src/test/test_util.c:5534: assert(usec1 OP_LE nsec1 / 1000 +10):
 7813125 vs 7813119
   [monotonic_time FAILED]
 }}}
 Before and after each failed test I've checked the date on the machine
 against a time server and it was synced exactly.

 I think we can eliminate the variant that the Tor process hangs, as
 described in
 https://trac.torproject.org/projects/tor/ticket/20423#comment:21 because
 as we see it happens even when Tor isn't actually running as a process on
 the server. Tried several times on another machine running Debian but got
 OK result every time.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on slow machines

2016-11-10 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on slow machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+
Changes (by teor):

 * cc: s7r (added)


Comment:

 This issue has been reported by another user on FreeBSD 10.3 in #20423:
 https://trac.torproject.org/projects/tor/ticket/20423#comment:17
 https://trac.torproject.org/projects/tor/ticket/20423#comment:21

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on slow machines

2016-11-09 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on slow machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+

Comment (by teor):

 0.2.9.1-alpha:
 {{{
 - Tor now uses the operating system's monotonic timers (where
   available) for internal fine-grained timing. Previously we would
   look at the system clock, and then attempt to compensate for the
   clock running backwards. Closes ticket 18908.
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure for monotonic time on slow machines

2016-11-09 Thread Tor Bug Tracker & Wiki
#19974: Test failure for monotonic time on slow machines
--+
 Reporter:  cypherpunks   |  Owner:  nickm
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:  regression|  Actual Points:
Parent ID:| Points:  .1
 Reviewer:|Sponsor:
--+

Comment (by arma):

 Do we have a guess what this is a 'regression' from?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure

2016-08-25 Thread Tor Bug Tracker & Wiki
#19974: Test failure
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by cypherpunks):

 The machine is a "classic" i686 ; tor is used as a transparent proxy for
 other machines on the local network.

 Anyway the test did not fail again after restarting the process without
 modifying anything else ... maybe the machine is too old and starts to be
 prone to hardware errors.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19974 [Core Tor/Tor]: Test failure

2016-08-24 Thread Tor Bug Tracker & Wiki
#19974: Test failure
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * milestone:   => Tor: 0.2.9.x-final


Comment:

 Can you describe the system this was running on?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #19974 [Core Tor/Tor]: Test failure

2016-08-24 Thread Tor Bug Tracker & Wiki
#19974: Test failure
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.2-alpha
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+
 - git commit 20136a8207f0cda0d23093a884caae0358f98bac
 - debian unstable 32bit


 {{{
 util/monotonic_time:
   FAIL ../src/test/test_util.c:5356: assert(usec1 OP_LE nsec1 / 1000 +10):
 140514332 vs 140514092
   [monotonic_time FAILED]

 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs