yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50997
[Bug 1582465] [NEW] unit tests failed with RequiredOptError
Public bug reported:
the latest commit:9ec54a3f27c683ac3bc5807b81971e1f5a2be99a
Date: Fri May 13 18:43:49 2016 +0000
on glance master whit ubuntu 14,
I used proxy server to internet,
tox -e py27 --
I got so many failed unit tests like this:
glance.tests.unit.v2.test_tasks_resource.TestTasksDeserializer.test_index_negative_limit
----------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "glance/tests/unit/v2/test_tasks_resource.py", line 475, in setUp
super(TestTasksDeserializer, self).setUp()
File "glance/tests/utils.py", line 73, in setUp
config.parse_args(args=[])
File "glance/common/config.py", line 186, in parse_args
default_config_files=default_config_files)
File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2169, in __call__
self._check_required_opts()
File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2736, in _check_required_opts
raise RequiredOptError(opt.name, group)
oslo_config.cfg.RequiredOptError: value required for option: keystone_authtoken.auth-url
is this a bug of unit test?
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1582465
Title:
unit tests failed with RequiredOptError
Status in Glance:
New
Bug description:
the latest commit:9ec54a3f27c683ac3bc5807b81971e1f5a2be99a
Date: Fri May 13 18:43:49 2016 +0000
on glance master whit ubuntu 14,
I used proxy server to internet,
tox -e py27 --
I got so many failed unit tests like this:
glance.tests.unit.v2.test_tasks_resource.TestTasksDeserializer.test_index_negative_limit
----------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "glance/tests/unit/v2/test_tasks_resource.py", line 475, in setUp
super(TestTasksDeserializer, self).setUp()
File "glance/tests/utils.py", line 73, in setUp
config.parse_args(args=[])
File "glance/common/config.py", line 186, in parse_args
default_config_files=default_config_files)
File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2169, in __call__
self._check_required_opts()
File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2736, in _check_required_opts
raise RequiredOptError(opt.name, group)
oslo_config.cfg.RequiredOptError: value required for option: keystone_authtoken.auth-url
is this a bug of unit test?
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1582465/+subscriptions
Follow ups