[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13904 [Stem]: unit tests do hang
#13904: unit tests do hang
--------------------+------------------------
Reporter: toralf | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------
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 ...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13904>
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