openstack-tox* jobs failing with configparser.DuplicateOptionError

Bug #1998074 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Rabi Mishra

Bug Description

Noticed at:

https://cbbc8855c20e78b11930-b41143eab52d80358d8555f964e9341b.ssl.cf2.rackcdn.com/865400/1/check/openstack-tox-pep8/8f55613/job-output.txt

Not sure what has changed. Local run for tox targets work fine.

2022-11-28 03:12:48.309214 |
2022-11-28 03:12:48.309377 | TASK [tox : Install any sibling python packages]
2022-11-28 03:12:49.124300 | ubuntu-focal | MODULE FAILURE:
2022-11-28 03:12:49.124731 | ubuntu-focal | Traceback (most recent call last):
2022-11-28 03:12:49.124900 | ubuntu-focal | File "<stdin>", line 107, in <module>
2022-11-28 03:12:49.125022 | ubuntu-focal | File "<stdin>", line 99, in _ansiballz_main
2022-11-28 03:12:49.125132 | ubuntu-focal | File "<stdin>", line 47, in invoke_module
2022-11-28 03:12:49.125244 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 207, in run_module
2022-11-28 03:12:49.125349 | ubuntu-focal | return _run_module_code(code, init_globals, run_name, mod_spec)
2022-11-28 03:12:49.125478 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
2022-11-28 03:12:49.125588 | ubuntu-focal | _run_code(code, mod_globals, init_globals,
2022-11-28 03:12:49.125690 | ubuntu-focal | File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
2022-11-28 03:12:49.125792 | ubuntu-focal | exec(code, run_globals)
2022-11-28 03:12:49.125901 | ubuntu-focal | File "/tmp/ansible_tox_install_sibling_packages_payload_oue78smj/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 397, in <module>
2022-11-28 03:12:49.126007 | ubuntu-focal | File "/tmp/ansible_tox_install_sibling_packages_payload_oue78smj/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 328, in main
2022-11-28 03:12:49.126113 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 723, in read_string
2022-11-28 03:12:49.126218 | ubuntu-focal | self.read_file(sfile, source)
2022-11-28 03:12:49.126321 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 718, in read_file
2022-11-28 03:12:49.126426 | ubuntu-focal | self._read(f, source)
2022-11-28 03:12:49.126529 | ubuntu-focal | File "/usr/lib/python3.8/configparser.py", line 1093, in _read
2022-11-28 03:12:49.126634 | ubuntu-focal | raise DuplicateOptionError(sectname, optname,
2022-11-28 03:12:49.126736 | ubuntu-focal | configparser.DuplicateOptionError: While reading from '<string>' [line 35]: option 'root' in section 'testenv:pep8' already exists
2022-11-28 03:12:49.130668 |

Rabi Mishra (rabi)
Changed in tripleo:
milestone: none → antelope-1
tags: added: ci promotion-blocker
Rabi Mishra (rabi)
Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/865789
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/889dffa6a8a65d50d418c3724abb1912d5d4e882
Submitter: "Zuul (22348)"
Branch: master

commit 889dffa6a8a65d50d418c3724abb1912d5d4e882
Author: rabi <email address hidden>
Date: Mon Nov 28 11:26:37 2022 +0530

    Fix openstack-tox* failures

    Looks like tox-extra plugin breaks openstack-tox*
    jobs. Not sure if this is regression. I don't see
    it being used in any other openstack projects.
    Let's drop it.

    Also cleans up things in setup.py.

    Closes-Bug: #1998074
    Change-Id: I154bfc36cc56f6b5425ec6bf805a290973203ba1

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/865726
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/e675ecb95561b5061b5c2b5737348c0bd818feac
Submitter: "Zuul (22348)"
Branch: stable/zed

commit e675ecb95561b5061b5c2b5737348c0bd818feac
Author: rabi <email address hidden>
Date: Mon Nov 28 11:26:37 2022 +0530

    Fix openstack-tox* failures

    Looks like tox-extra plugin breaks openstack-tox*
    jobs. Not sure if this is regression. I don't see
    it being used in any other openstack projects.
    Let's drop it.

    Also cleans up things in setup.py.

    Closes-Bug: #1998074
    Change-Id: I154bfc36cc56f6b5425ec6bf805a290973203ba1
    (cherry picked from commit 889dffa6a8a65d50d418c3724abb1912d5d4e882)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/865798

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/865798
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/623465ef8b400a27eb7cd9a61db325f6f58a7e2a
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 623465ef8b400a27eb7cd9a61db325f6f58a7e2a
Author: rabi <email address hidden>
Date: Mon Nov 28 11:26:37 2022 +0530

    Fix openstack-tox* failures

    Looks like tox-extra plugin breaks openstack-tox*
    jobs. Not sure if this is regression. I don't see
    it being used in any other openstack projects.
    Let's drop it.

    Also cleans up things in setup.py.

    Conflicts:
            tox.ini

    Backport note:
    This backport effectively backports the change[1] to fix encoding
    errors.

    [1] https://review.opendev.org/805119

    Closes-Bug: #1998074
    Change-Id: I154bfc36cc56f6b5425ec6bf805a290973203ba1
    (cherry picked from commit 889dffa6a8a65d50d418c3724abb1912d5d4e882)
    (cherry picked from commit e675ecb95561b5061b5c2b5737348c0bd818feac)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 18.0.0

This issue was fixed in the openstack/tripleo-heat-templates 18.0.0 release.

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.