<div dir="ltr"><div>Hello, <br><br></div><div>I can confirm this is a bug.<br></div>I use nosetests instead for the moment.<br><br>nosetests -s test.module<br>nosetests -s another.test:TestCase.test_method<br>nosetests -s a.test:TestCase<br>
nosetests -s /path/to/test/file.py:test_function<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 7:20 PM, Rosa, Andrea (HP Cloud Services) <span dir="ltr"><<a href="mailto:andrea.rosa@hp.com" target="_blank">andrea.rosa@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
I need to debug a specific test but when I try to run it in debug mode using the "run_tests -d" (I need to attach pdb) that command fails but if I run the script without the "-d" option that works.<br>

I created a brand-new env so I don't think it's related to my local env.<br>
Anyone is experiencing the same issue?<br>
Should I file a nova bug for that?<br>
<br>
Error details:<br>
./run_tests.sh -d nova.tests.integrated.test_servers.ServersTestV3.test_create_and_rebuild_server<br>
Traceback (most recent call last):<br>
  File "nova/tests/integrated/test_servers.py", line 43, in setUp<br>
    super(ServersTest, self).setUp()<br>
  File "nova/tests/integrated/integrated_helpers.py", line 87, in setUp<br>
    self.consoleauth = self.start_service('consoleauth')<br>
  File "nova/test.py", line 279, in start_service<br>
    svc = self.useFixture(ServiceFixture(name, host, **kwargs))<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 591, in useFixture<br>
    fixture.setUp()<br>
  File "nova/test.py", line 174, in setUp<br>
    self.service = service.Service.create(**self.kwargs)<br>
  File "nova/service.py", line 245, in create<br>
    manager = CONF.get(manager_cls, None)<br>
  File "/home/ubuntu/nova/.venv/lib/python2.7/_abcoll.py", line 342, in get<br>
    return self[key]<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1610, in __getitem__<br>
    return self.__getattr__(key)<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1606, in __getattr__<br>
    return self._get(name)<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1930, in _get<br>
    value = self._substitute(self._do_get(name, group, namespace))<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1948, in _do_get<br>
    info = self._get_opt_info(name, group)<br>
  File "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2029, in _get_opt_info<br>
    raise NoSuchOptError(opt_name, group)<br>
NoSuchOptError: no such option: consoleauth_manager<br>
<br>
Ran 1 test in 11.296s<br>
FAILED (failures=1)<br>
<br>
Thanks<br>
--<br>
Andrea<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Cheers,<div>Jian</div></div>
</div>