Set dsvm-functional job to use system packages
The functional job was breaking due to the interaction between devstack installing neutron system-wide in editable mode (pip install -e) and tox packaging in the same path. Installing in editable mode meant that neutron.egg-info/PKG_INFO could be updated (in this case by tox) to change the installed version of the neutron package without updating scripts that depended on the installed version (e.g. rootwrap). This fix is to set the dsvm-functional env to use system packages and avoid having tox update PKG_INFO. Change-Id: Icc38cacd69bc5843ccfcc60237a7102df6d8597f Closes-bug: #1370347
This commit is contained in:
parent
ae3c1d5f32
commit
dd012a1ff7
1
tox.ini
1
tox.ini
@ -31,6 +31,7 @@ setenv = OS_TEST_PATH=./neutron/tests/functional
|
||||
OS_SUDO_TESTING=1
|
||||
OS_ROOTWRAP_CMD=sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||
OS_FAIL_ON_MISSING_DEPS=1
|
||||
sitepackages=True
|
||||
commands =
|
||||
python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user