Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #13904
Closed
Open
Issue created Dec 05, 2014 by toralf@toralf

Tests fail on Gentoo

For some reason I just fired uo here at a 64 bit hardened Gentoo Linux the command :

tor-relay /usr/local/portage/net-libs/stem # time ebuild stem-1.2.2_p20141205.ebuild test
Forcing test.
 * stem-1.2.2_p20141205.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                  [ ok ]

which hangs here now since a while :

----------------------------------------------------------------------
Ran 19 tests in 0.062s

FAILED (failures=1, errors=2)
  util.conf...                                         success (0.00s)
  util.proc...                                         success (0.02s)
  util.str_tools...                                    success (0.00s)
  util.system...                                       success (0.03s)
  util.tor_tools...                                    success (0.00s)
  descriptor.export...                                 success (0.01s)
  descriptor.reader...                                Exception in thread Descriptor Reader:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/reader.py", line 429, in _read_descriptor_files
    self._handle_walker(walker, new_processed_files)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/reader.py", line 457, in _handle_walker
    self._handle_file(os.path.join(root, filename), new_processed_files)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/reader.py", line 493, in _handle_file
    self._handle_descriptor_file(target, target_type)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/reader.py", line 505, in _handle_descriptor_file
    for desc in stem.descriptor.parse_file(target_file, validate = self._validate, document_handler = self._document_handler, **self._kwargs):
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/__init__.py", line 212, in parse_file
    for desc in file_parser(descriptor_file):
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/microdescriptor.py", line 149, in _parse_file
    yield Microdescriptor(descriptor_text, validate, annotations, **kwargs)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/microdescriptor.py", line 196, in __init__
    self._parse(entries, validate)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/microdescriptor.py", line 269, in _parse
    stem.descriptor.router_status_entry._parse_a_line(self, entry, validate)
  File "/var/tmp/portage/net-libs/stem-1.2.2_p20141205/work/stem-1.2.2_p20141205/stem/descriptor/router_status_entry.py", line 554, in _parse_a_line
    raise ValueError("%s 'a' line must start with an IPv6 address: a %s" % (desc._name(), value))
AttributeError: 'Microdescriptor' object has no attribute '_name'

FWIW: COMMIT_ID="72ef5421eb1611ad9dec9e210dd20b4d2e977b03"

hope this helps ...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking