Re: [tor-bugs] #26225 [Core Tor/Stem]: Jenkins test failure: test_get_microdescriptors - test may be unreliable

2018-06-24 Thread Tor Bug Tracker & Wiki
#26225: Jenkins test failure: test_get_microdescriptors - test may be unreliable
---+
 Reporter:  dmr|  Owner:  dmr
 Type:  defect | Status:  closed
 Priority:  Medium |  Milestone:
Component:  Core Tor/Stem  |Version:
 Severity:  Normal | Resolution:  fixed
 Keywords:  testing|  Actual Points:
Parent ID: | Points:
 Reviewer:  atagar |Sponsor:
---+
Changes (by atagar):

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


Comment:

 Thanks Dave! Merged.

--
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] #26225 [Core Tor/Stem]: Jenkins test failure: test_get_microdescriptors - test may be unreliable

2018-06-22 Thread Tor Bug Tracker & Wiki
#26225: Jenkins test failure: test_get_microdescriptors - test may be unreliable
---+--
 Reporter:  dmr|  Owner:  dmr
 Type:  defect | Status:  needs_review
 Priority:  Medium |  Milestone:
Component:  Core Tor/Stem  |Version:
 Severity:  Normal | Resolution:
 Keywords:  testing|  Actual Points:
Parent ID: | Points:
 Reviewer:  atagar |Sponsor:
---+--
Changes (by dmr):

 * status:  assigned => needs_review


Comment:

 I tried for a while to reproduce this, but wasn't able to.
 However, some of the test output tripped me up to the potential cause.

 So I've pushed a set of changes that I //think// will make this test more
 reliable.
 [[https://github.com/torproject/stem/pull/3|GitHub pull request]] (branch
 head `6ddc67f62689e5b34a1a969a1d022c3c653599b5`)

 I dug into the original implementation of `get_microdescriptors()` and the
 evolution of its test case, just to try to understand if something more
 was going on here. As far as I can reason about this without reproducing
 the failure, these are appropriate changes to make. Please feel free to
 take all or a subset!

--
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] #26225 [Core Tor/Stem]: Jenkins test failure: test_get_microdescriptors - test may be unreliable

2018-06-22 Thread Tor Bug Tracker & Wiki
#26225: Jenkins test failure: test_get_microdescriptors - test may be unreliable
---+--
 Reporter:  dmr|  Owner:  dmr
 Type:  defect | Status:  assigned
 Priority:  Medium |  Milestone:
Component:  Core Tor/Stem  |Version:
 Severity:  Normal | Resolution:
 Keywords:  testing|  Actual Points:
Parent ID: | Points:
 Reviewer:  atagar |Sponsor:
---+--
Changes (by dmr):

 * status:  new => assigned
 * reviewer:   => atagar
 * owner:  atagar => dmr
 * cc: atagar (added)


Comment:

 Can't assign and switch status in the same step, so here's an intermediate
 edit.

--
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] #26225 [Core Tor/Stem]: Jenkins test failure: test_get_microdescriptors - test may be unreliable

2018-05-28 Thread Tor Bug Tracker & Wiki
#26225: Jenkins test failure: test_get_microdescriptors - test may be unreliable
---+-
 Reporter:  dmr|  Owner:  atagar
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:
Component:  Core Tor/Stem  |Version:
 Severity:  Normal |   Keywords:  testing
Actual Points: |  Parent ID:
   Points: |   Reviewer:
  Sponsor: |
---+-
 A [[https://jenkins.torproject.org/job/stem-tor-ci/3443/console|recent
 Jenkins test run (`Build #3443 (May 25, 2018 9:40:56 PM) `)]] indicates
 that our `test_get_microdescriptors` test may be a bit unreliable:
 {{{
 ==
 21:43:42 ERROR: test_get_microdescriptors
 21:43:42
 --
 21:43:42 Traceback (most recent call last):
 21:43:42   File "/srv/jenkins-workspace/workspace/stem-tor-
 ci/test/require.py", line 58, in wrapped
 21:43:42 return func(self, *args, **kwargs)
 21:43:42   File "/srv/jenkins-workspace/workspace/stem-tor-
 ci/test/integ/control/controller.py", line 1164, in
 test_get_microdescriptors
 21:43:42 for desc in controller.get_microdescriptors():
 21:43:42   File "/srv/jenkins-workspace/workspace/stem-tor-
 ci/stem/control.py", line 488, in wrapped
 21:43:42 for val in func(self, *args, **kwargs):
 21:43:42   File "/srv/jenkins-workspace/workspace/stem-tor-
 ci/stem/control.py", line 1773, in get_microdescriptors
 21:43:42 raise stem.OperationFailed(message = "Data directory doens't
 contain cached microescriptors (%s)" % cached_descriptor_path)
 21:43:42 OperationFailed: Data directory doens't contain cached
 microescriptors (/srv/jenkins-workspace/workspace/stem-tor-ci/test/data
 /cached-microdescs)
 }}}

 Later test runs have passed, and nothing major has changed in the code.

--
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