Description of problem: Continuing my attempts to get Tempest on Centos 6.5 running, I've followed the instructions @ http://openstack.redhat.com/Testing_IceHouse_using_Tempest to get testr working. This has failed miserably and completely broken tox. I've had to install libffi-devel (see https://bugzilla.redhat.com/show_bug.cgi?id=1116972), but eventually went through all the steps, only to fail with : (.venv)[root@lgdrm44 tempest]# tox -efull -- --concurrency=3 Traceback (most recent call last): File "/usr/bin/tox", line 9, in <module> load_entry_point('tox==1.7.1', 'console_scripts', 'tox')() File "/usr/lib/python2.6/site-packages/tox/_cmdline.py", line 25, in main config = parseconfig(args, 'tox') File "/usr/lib/python2.6/site-packages/tox/_config.py", line 47, in parseconfig parseini(config, inipath) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 281, in __init__ config) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 346, in _makeenvconfig vc.commands = reader.getargvlist(section, "commands") File "/usr/lib/python2.6/site-packages/tox/_config.py", line 518, in getargvlist commandlist.append(self._processcommand(current_command)) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 550, in _processcommand new_word = self._replace(word) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 666, in _replace return RE_ITEM_REF.sub(self._replace_match, x) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 662, in _replace_match return handler(match) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 633, in _replace_substitution val = self._substitute_from_other_section(sub_key) File "/usr/lib/python2.6/site-packages/tox/_config.py", line 627, in _substitute_from_other_section "substitution key %r not found" % key) tox.ConfigError: ConfigError: substitution key 'posargs' not found Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Most likely it's because even though the instructions call for pip install tox==1.6.1, outside the venv it install tox 1.7.1. The solution (I found) is to install it only within the venv (as detailed later).