yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01315
[Bug 902398] Re: First installation of virtual env always fails when running tests
this seems to be working fine upstream now
** Changed in: nova
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/902398
Title:
First installation of virtual env always fails when running tests
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
If running the unit tests on a system that hasn't created a .nova-venv
(or .venv, now) or if I remove the virtualenv and run again, it always
fails the first time. All subsequent runs succeed and the tests
proceed as they should.
Here's what happens:
$ ./run_tests.sh -f
Cleaning virtualenv...
No virtual environment found...create one? (Y/n)
[snip]
from compiler.consts import CO_GENERATOR
ERROR: Python module rados not found
ERROR: Python module rados not found
ERROR: Python module rados not found
ERROR: Python module rados not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module rados not found
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
----------------------------------------
Can't roll back glance; was not uninstalled
Command /home/oubiwann/lab/OpenStack/nova/.venv/bin/python -c "import setuptools;__file__='/home/oubiwann/lab/OpenStack/nova/.venv/build/glance/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-shSAkE-record/install-record.txt --install-headers /home/oubiwann/lab/OpenStack/nova/.venv/include/site/python2.7 failed with error code 1
Storing complete log in /home/oubiwann/.pip/pip.log
Command "tools/with_venv.sh pip install --upgrade -r /home/oubiwann/lab/OpenStack/nova/tools/pip-requires" failed.
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/902398/+subscriptions