RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1116975 - RDO website: configuring TestR according to website, breaks Tox completely
Summary: RDO website: configuring TestR according to website, breaks Tox completely
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Rich Bowen
QA Contact: yeylon@redhat.com
URL: http://openstack.redhat.com/Testing_I...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 18:23 UTC by Yaniv Kaul
Modified: 2016-04-18 06:48 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-10 00:35:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Yaniv Kaul 2014-07-07 18:23:01 UTC
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:

Comment 1 Yaniv Kaul 2014-07-07 18:31:43 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.