[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23281 [Core Tor/Stem]: py-stem test failures on FreeBSD
#23281: py-stem test failures on FreeBSD
------------------------------+-----------------------------------
Reporter: yurivict271 | Owner: atagar
Type: defect | Status: needs_information
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Resolution:
Keywords: testing, freebsd | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
------------------------------+-----------------------------------
Comment (by atagar):
Thanks yurivict271! Think I finally got 'em all. Do the tests now pass for
you?
{{{
======================================================================
FAIL: test_router_status_entry
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/stem/test/unit/descriptor/server_descriptor.py", line 296, in
test_router_status_entry
self.assertEqual('4F0069BF91C04581B7C3CA9272E2D3228D4EA571',
desc.digest)
AssertionError: '4F0069BF91C04581B7C3CA9272E2D3228D4EA571' !=
'A863EFE8395C41C880782B89B850D20EDD242BDA'
- 4F0069BF91C04581B7C3CA9272E2D3228D4EA571
+ A863EFE8395C41C880782B89B850D20EDD242BDA
----------------------------------------------------------------------
}}}
Fixed: https://gitweb.torproject.org/stem.git/commit/?id=982c36e
{{{
======================================================================
ERROR: test_saving_manual_as_config
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/stem/test/require.py", line 58, in wrapped
return func(self, *args, **kwargs)
File "/tmp/stem/test/unit/manual.py", line 205, in
test_saving_manual_as_config
manual = stem.manual.Manual.from_man(EXAMPLE_MAN_PATH)
File "/tmp/stem/stem/manual.py", line 495, in from_man
categories, config_options = _get_categories(man_output),
OrderedDict()
File "/tmp/stem/stem/manual.py", line 666, in _get_categories
if lines[-1] == '':
IndexError: list index out of range
----------------------------------------------------------------------
}}}
Fixed: https://gitweb.torproject.org/stem.git/commit/?id=336a2a8
{{{
======================================================================
ERROR: test_set_conf_when_immutable
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/stem/test/require.py", line 58, in wrapped
return func(self, *args, **kwargs)
File "/tmp/stem/test/integ/control/controller.py", line 778, in
test_set_conf_when_immutable
self.assertRaisesRegexp(stem.InvalidArguments, "DisableAllSwap cannot
be changed while tor's running", controller.set_conf, 'DisableAllSwap',
'1')
File "/tmp/stem/stem/util/test_tools.py", line 272, in
assertRaisesRegexp
return super(original_type, self).assertRaisesRegexp(exc_type,
exc_msg, func, *args, **kwargs)
File "/usr/local/lib/python3.6/unittest/case.py", line 1320, in
deprecated_func
return original_func(*args, **kwargs)
File "/usr/local/lib/python3.6/unittest/case.py", line 1267, in
assertRaisesRegex
return context.handle('assertRaisesRegex', args, kwargs)
File "/usr/local/lib/python3.6/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "/tmp/stem/stem/control.py", line 2303, in set_conf
self.set_options({param: value}, False)
File "/tmp/stem/stem/control.py", line 2412, in set_options
raise stem.InvalidRequest(response.code, response.message)
stem.InvalidRequest: Transition not allowed: While Tor is running,
changing DisableAllSwap is not allowed.
----------------------------------------------------------------------
}}}
Fixed: https://gitweb.torproject.org/stem.git/commit/?id=1b9a68b
{{{
STATIC CHECKS
* /tmp/stem/cache_manual.py
line 51 - undefined name 'exc' | print('Cached
database schema is out of date (was %s, but current version is %s)' %
(exc.database_schema, stem.manual.SCHEMA_VERSION))
}}}
Fixed: https://gitweb.torproject.org/stem.git/commit/?id=1b9a68b
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23281#comment:11>
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