Ask Your Question
0

tempest nor running

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

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
1

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

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
0

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

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
0

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

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

Comments

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

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

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

zohaib gravatar imagezohaib ( 2014-11-13 00:13:50 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 1,385 times

Last updated: Nov 26 '14