tox jobs are failing to install any sibling python packages

Bug #1945682 reported by Ronelle Landy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

tox jobs are failing the 'tox : Install any sibling python packages' step:

2021-09-30 16:53:28.264111 | ubuntu-focal | MODULE FAILURE:
2021-09-30 16:53:28.264740 | ubuntu-focal | Traceback (most recent call last):
2021-09-30 16:53:28.264885 | ubuntu-focal | File "<stdin>", line 102, in <module>
2021-09-30 16:53:28.265021 | ubuntu-focal | File "<stdin>", line 94, in _ansiballz_main
2021-09-30 16:53:28.265159 | ubuntu-focal | File "<stdin>", line 40, in invoke_module
2021-09-30 16:53:28.265293 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 207, in run_module
2021-09-30 16:53:28.265426 | ubuntu-focal | return _run_module_code(code, init_globals, run_name, mod_spec)
2021-09-30 16:53:28.265559 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
2021-09-30 16:53:28.265693 | ubuntu-focal | _run_code(code, mod_globals, init_globals,
2021-09-30 16:53:28.265826 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
2021-09-30 16:53:28.265958 | ubuntu-focal | exec(code, run_globals)
2021-09-30 16:53:28.266090 | ubuntu-focal | File "/tmp/ansible_tox_install_sibling_packages_payload_gd22cu17/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 399, in <module>
2021-09-30 16:53:28.266223 | ubuntu-focal | File "/tmp/ansible_tox_install_sibling_packages_payload_gd22cu17/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 330, in main
2021-09-30 16:53:28.266419 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 723, in read_string
2021-09-30 16:53:28.266561 | ubuntu-focal | self.read_file(sfile, source)
2021-09-30 16:53:28.266697 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 718, in read_file
2021-09-30 16:53:28.266830 | ubuntu-focal | self._read(f, source)
2021-09-30 16:53:28.266962 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 1113, in _read
2021-09-30 16:53:28.267093 | ubuntu-focal | raise e
2021-09-30 16:53:28.267223 | ubuntu-focal | configparser.ParsingError: Source contains parsing errors: '<string>'
2021-09-30 16:53:28.267353 | ubuntu-focal | [line 3]: 'using tox-3.24.4 from /home/zuul/src/opendev.org/openstack/tripleo-heat-templates/.tox/.tox/lib/python3.8/site-packages/tox/__init__.py (pid 1818)\n'
2021-09-30 16:53:28.291974 |

This is breaking check/gate across repos.

Revision history for this message
Ronelle Landy (rlandy) wrote :
Changed in tripleo:
milestone: none → xena-3
importance: Undecided → Critical
status: New → Triaged
tags: added: ci promotion-blocker
Revision history for this message
Ronelle Landy (rlandy) wrote :

Example logs:

using tox-3.24.4 from /home/zuul/src/opendev.org/openstack/tripleo-quickstart-extras/.tox/.tox/lib/python3.8/site-packages/tox/__init__.py (pid 1747)\n'
2021-09-30 17:29:06.477701 |

Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :

Thanks to infra for the fix:

<fungi> according to zbr there's a *very* recent fix to tox which tries to guarantee the stdout from tox --showconfig will be parseable ini data, but we need to be able to parse output from older tox versions as well
<fungi> clarkb: rlandy|ruck: i've got a revert on the way, when gerrit finally accepts my push

Revision history for this message
Ronelle Landy (rlandy) wrote :
Ronelle Landy (rlandy)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.