tempest nor running

asked 2014-11-12 23:23:58 -0600

zohaib gravatar image

i am trying to run tempest from my local system and devstack is install on another system it gives error

tools/with_venv.sh: line 4: subunit-2to1: command not found
Traceback (most recent call last):
File "tools/colorizer.py", line 47, in <module>
import subunit
ImportError: No module named subunit
/home/zohaib/tempest/.venv/bin/python: No module named subunit
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2014-11-13 00:39:45 -0600

zohaib gravatar image

ok i have found a way to do that just clone tempest from git install virtual env and now its working .

edit flag offensive delete link more

answered 2014-11-26 09:41:31 -0600

another way of running tempest is to use nosetests directly for example if you want to run a cli test just go the destination folder and type in

nosetests -v test_identity.py ( for identity )

you can do the same for other individual tests..

edit flag offensive delete link more

answered 2014-11-12 23:37:56 -0600

yatin gravatar image

When you setup devstack, test libraries are installed automatically that are required to test different openstack component, the system from where you run tempest, must have the python libraries required for testing. In your case subunit module is not found. you can install it using: sudo apt-get install python-subunit

edit flag offensive delete link more


i have tried this but it says that python subunit is up to date

zohaib gravatar imagezohaib ( 2014-11-13 00:12:41 -0600 )edit

and when i check my system /usr/locale/bin subunit not exist there

zohaib gravatar imagezohaib ( 2014-11-13 00:13:50 -0600 )edit

here subunit is python library not a binary file, it should exist in dist-packages

yatin gravatar imageyatin ( 2014-11-13 07:21:45 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-12 23:23:58 -0600

Seen: 1,506 times

Last updated: Nov 26 '14