Hello, I can confirm this is a bug. I use nosetests instead for the moment.
nosetests -s test.module nosetests -s another.test:TestCase.test_method nosetests -s a.test:TestCase nosetests -s /path/to/test/file.py:test_function On Mon, Sep 9, 2013 at 7:20 PM, Rosa, Andrea (HP Cloud Services) < andrea.r...@hp.com> wrote: > Hi all > > 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. > I created a brand-new env so I don't think it's related to my local env. > Anyone is experiencing the same issue? > Should I file a nova bug for that? > > Error details: > ./run_tests.sh -d > nova.tests.integrated.test_servers.ServersTestV3.test_create_and_rebuild_server > Traceback (most recent call last): > File "nova/tests/integrated/test_servers.py", line 43, in setUp > super(ServersTest, self).setUp() > File "nova/tests/integrated/integrated_helpers.py", line 87, in setUp > self.consoleauth = self.start_service('consoleauth') > File "nova/test.py", line 279, in start_service > svc = self.useFixture(ServiceFixture(name, host, **kwargs)) > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", > line 591, in useFixture > fixture.setUp() > File "nova/test.py", line 174, in setUp > self.service = service.Service.create(**self.kwargs) > File "nova/service.py", line 245, in create > manager = CONF.get(manager_cls, None) > File "/home/ubuntu/nova/.venv/lib/python2.7/_abcoll.py", line 342, in get > return self[key] > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", > line 1610, in __getitem__ > return self.__getattr__(key) > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", > line 1606, in __getattr__ > return self._get(name) > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", > line 1930, in _get > value = self._substitute(self._do_get(name, group, namespace)) > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", > line 1948, in _do_get > info = self._get_opt_info(name, group) > File > "/home/ubuntu/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", > line 2029, in _get_opt_info > raise NoSuchOptError(opt_name, group) > NoSuchOptError: no such option: consoleauth_manager > > Ran 1 test in 11.296s > FAILED (failures=1) > > Thanks > -- > Andrea > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Cheers, Jian
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev