tox library v2.2.1 (2015-11-16) failing on existing configurations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Roman Prykhodchenko |
Bug Description
2015-11-16 new tox library version 2.2.1 was released that can't use our existing config due this bug:
https:/
Steps:
1. clone e.g. python-fuelclient
$ git clone https:/
2. Update tox to the latest version or install it
$ pip install --upgrade tox
>Successfully installed tox-2.2.1 virtualenv-13.1.2
3. Run tox
$ cd python-fuelclient && tox
Result:
...
File "/usr/local/
return RE_ITEM_
File "/usr/local/
return handler(match)
File "/usr/local/
env_list = self.getdict(
File "/usr/local/
s = self.getstring(
File "/usr/local/
x = self._replace(x)
File "/usr/local/
return RE_ITEM_
File "/usr/local/
return handler(match)
File "/usr/local/
return str(val)
RuntimeError: maximum recursion depth exceeded
Expected:
Project tests and validation is running normally
Examples of failed CI runs:
https:/
http://
https:/
http://
P.S. Don't forget to clean .tox cache folder if you are trying to reproduce bug with fresh version of tox on project folder where tox was ran.
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: area-ci |
tags: | removed: area-ci |
tags: | added: tech-debt |
tags: | removed: tech-debt |
tags: | added: tech-debt |
Changed in fuel: | |
status: | Confirmed → In Progress |
tags: | added: on-verification |
tags: | removed: on-verification |
The problem is that tox is real have blocker that failing to parse self-referencing constructions in tox.ini like this:
[testenv]
oslo_debug_ helper
usedevelop = True
install_command = pip install --allow-external -U {opts} {packages}
whitelist_externals = bash
setenv = VIRTUAL_ ENV={envdir}
ARTIFACTS= {toxinidir} /{env:ARTIFACTS :test_run} <<<<<<<
At least python-fuelclient testing is disabled by 2.2.1 version
For now tox author is sweating out solution for this degradation (that was caused by inattentive merge from upstream): /bitbucket. org/hpk42/ tox/branch/ issue285# diff
https:/