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

Re: [tor-bugs] #13904 [Stem]: Tests fail on Gentoo



#13904: Tests fail on Gentoo
------------------------+----------------------
     Reporter:  toralf  |      Owner:  atagar
         Type:  defect  |     Status:  reopened
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:          |   Keywords:  testing
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------

Comment (by toralf):

 yeah - good progress, no I just got this :
 {{{
 Shutting down tor... done

 Static error checking requires pyflakes version 0.7.3 or later. Please
 install it from ...
   http://pypi.python.org/pypi/pyflakes

 Style checks require pep8 version 1.4.2 or later. Please install it
 from...
   http://pypi.python.org/pypi/pep8

 TESTING FAILED (159 seconds)
   [UNIT TEST] test_system_resolvers
 (test.unit.util.connection.TestConnection) ... FAIL
 }}}
 which points to this
 {{{
 ======================================================================
 FAIL: test_system_resolvers
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.7/site-packages/mock.py", line 1210, in patched
     return func(*args, **keywargs)
   File "/var/tmp/portage/net-
 libs/stem-1.2.2_p20141211/work/stem-1.2.2_p20141211/test/unit/util/connection.py",
 line 121, in test_system_resolvers
     self.assertEqual([Resolver.BSD_SOCKSTAT, Resolver.BSD_PROCSTAT,
 Resolver.LSOF], stem.util.connection.system_resolvers('FreeBSD'))
 AssertionError: Lists differ: ['sockstat (bsd)', 'procstat (... != []

 First list contains 3 additional elements.
 First extra element 0:
 sockstat (bsd)

 - ['sockstat (bsd)', 'procstat (bsd)', 'lsof']
 + []

 }}}
 BTW, in the git commit message you shouldn't blame Gentoo. It is the
 hardened kernel here (grsecurity in this case), which restricts
 capabilities (I'm convinced, it makes sense to run a hardened kernel,
 especially if somebody runs a tor relay)

 And FWIW a needed a 2nd attempt, the first attempt to run the test failed,
 b/c the test suite hung at " control.controller..."

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13904#comment:22>
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