Re: [openstack-dev] How to debug test cases in Openstack

2015-01-16 Thread Ajaya Agrawal
Hi, You have a pdb statement somewhere in your test case. Follow this to run a single test with pdb. https://wiki.openstack.org/wiki/Testr Cheers, Ajaya Cheers, Ajaya On Fri, Jan 16, 2015 at 11:07 AM, Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com wrote: Hi, I have been trying to debug

Re: [openstack-dev] How to debug test cases in Openstack

2015-01-16 Thread Sahid Orentino Ferdjaoui
On Fri, Jan 16, 2015 at 11:07:07AM +0530, Abhishek Talwar/HYD/TCS wrote: Hi, I have been trying to debug the test cases in OpenStack, but I am not getting successful with it. So if someone can help me with that. The last response from the dev-list was to use $ ./run_tests.sh -d [test

Re: [openstack-dev] How to debug test cases in Openstack

2015-01-16 Thread Adam Young
On 01/16/2015 12:37 AM, Abhishek Talwar/HYD/TCS wrote: Hi, I have been trying to debug the test cases in OpenStack, but I am not getting successful with it. So if someone can help me with that. The last response from the dev-list was to use $ ./run_tests.sh -d [test module path] but this

Re: [openstack-dev] How to debug test cases in Openstack

2015-01-16 Thread Davanum Srinivas
Abhishek, In addition to the tips above, i put up a post for using py.test and testtools.run as well here: https://davanum.wordpress.com/2015/01/13/quickly-running-a-single-openstack-nova-test/ -- dims On Fri, Jan 16, 2015 at 11:44 AM, Adam Young ayo...@redhat.com wrote: On 01/16/2015 12:37

Re: [openstack-dev] How to debug test cases in Openstack

2015-01-16 Thread Ben Nemec
Also note this script from the oslotest library: https://github.com/openstack/oslotest/blob/master/tools/oslo_debug_helper It was added specifically to allow debugging with pdb. I've never actually used it though. :-) -Ben On 01/16/2015 10:56 AM, Davanum Srinivas wrote: Abhishek, In

[openstack-dev] How to debug test cases in Openstack

2015-01-15 Thread Abhishek Talwar/HYD/TCS
Hi, I have been trying to debug the test cases in OpenStack, but I am not getting successful with it. So if someone can help me with that. The last response from the dev-list was to use $ ./run_tests.sh -d [test module path] but this gives bDb quit error. So kindly help me this. -- Thanks