[openstack-dev] [testr] debugging failing testr runs

Robert Collins robertc at robertcollins.net
Tue Dec 17 22:04:56 UTC 2013


You ran a listing:

./.tox/py33/bin/python -m subunit.run discover -t ./
./keystoneclient/tests --list

which outputs the discovered tests as subunit enumerations.

.tox/py33/bin/testr run

will run the tests for you

-Rob


On 18 December 2013 05:18, Chmouel Boudjnah <chmouel at enovance.com> wrote:
> Hello,
>
> I was wondering what was the strategy to debug a failed run with tox?
>
> I was trying to see which tests was failing with python-keystoneclient and
> py33 and this is the type of error i am getting :
>
> http://paste.openstack.org/show/gc3xMk34ELuSF5Fk1mvP/
>
> (bet it with tox directly or from the virtualenv).
>
> I have to resort to nose to get the proper error :
>
> http://pastie.org/pastes/8558525/text?key=o4hljmbmsakrekbzqvrfug
>
> do you know how to get the same output with testr than the above paste?
>
> Thanks,
> Chmouel.
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list