openstack-tox-* jobs failing due to conflicting dependency constraints

Bug #1942508 reported by Jiri Podivin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Jiri Podivin

Bug Description

The openstack-tox-* jobs in validations-common and tripleo-validations check pipelines are failing, as one of the molecule dependencies (pluggy) was bumped in the openstack/requirements upper-constraints.txt from 0.13.1 to 1.0.0.[0]

The Molecule project requires pluggy >= 0.7.1, < 1.0 which makes the relevant tox environments impossible to initiate.

There are three possible ways to resolve this issue:
1. revert version bump in openstack/requirements
2. remove molecule dependency from our tox jobs
3. bump the pluggy dependency within molecule

The option 1. does not appear feasible, as the bump was part of larger, generated, set of dependency bumps.
Option 2. might be possible, in combination with removal of the constraints from the ansible-tox jobs, which, by their nature, require molecule to work.
Finally, option 3. will require cooperation with the molecule team, and release of a new molecule version with updated requirements.

Trace
=====
ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/validations-common/molecule-requirements.txt (line 6) because these package versions have conflicting dependencies.

The conflict is caused by:
    molecule 3.4.0 depends on pluggy<1.0 and >=0.7.1
    molecule 3.3.4 depends on pluggy<1.0 and >=0.7.1
    molecule 3.3.3 depends on pluggy<1.0 and >=0.7.1
    molecule 3.3.2 depends on pluggy<1.0 and >=0.7.1
    molecule 3.3.1 depends on pluggy<1.0 and >=0.7.1
    The user requested (constraint) pluggy===1.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Logs:
=====
https://zuul.opendev.org/t/openstack/build/f3d3c648f67c42ab82b9410b0e8e1d12
https://zuul.opendev.org/t/openstack/builds?job_name=openstack-tox-docs&job_name=openstack-tox-py36&project=openstack%2Fvalidations-common&project=openstack%2Ftripleo-validations

[0]https://review.opendev.org/c/openstack/requirements/+/806680

Jiri Podivin (jpodivin)
description: updated
Changed in tripleo:
status: Triaged → In Progress
Jiri Podivin (jpodivin)
Changed in tripleo:
assignee: nobody → Jiri Podivin (jpodivin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-validations (master)
Ronelle Landy (rlandy)
tags: added: promotion-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-validations/+/807292
Committed: https://opendev.org/openstack/tripleo-validations/commit/129ce2d8bc49a53da93920cc51810313a1e0740f
Submitter: "Zuul (22348)"
Branch: master

commit 129ce2d8bc49a53da93920cc51810313a1e0740f
Author: Jiri Podivin <email address hidden>
Date: Fri Sep 3 13:21:34 2021 +0200

    Dependency reorganization

    The constraints are now only used in cases where they do not conflict
    with requirements for molecule tests.

    The general test dependency list was changed to include ansible,
    to allow running of the tests without installation of other,
    tangentially related, dependencies from molecule requirements list.

    Closes-Bug: #1942508

    Signed-off-by: Jiri Podivin <email address hidden>
    Change-Id: I7cd1b93eedc64c90fe0863e57871378388c2ee85

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to validations-common (master)

Reviewed: https://review.opendev.org/c/openstack/validations-common/+/807248
Committed: https://opendev.org/openstack/validations-common/commit/c33d3958114cf38594679e209a5325c2779e4426
Submitter: "Zuul (22348)"
Branch: master

commit c33d3958114cf38594679e209a5325c2779e4426
Author: Jiri Podivin <email address hidden>
Date: Fri Sep 3 10:15:18 2021 +0200

    Dependency reorganization

    By adjusting the way we manage our tox dependencies
    and increasing the number of mocked submodules during test runs and doc
    building, we can minimize issues stemming from unexpected changes to constraints.

    Patch also includes some style changes in the tox.ini file,
    to harmonize the format of format definitions.

    Closes-Bug: #1942508

    Signed-off-by: Jiri Podivin <email address hidden>
    Change-Id: I73009d251f2c2a333903c02ab1c07c99247f73ab

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 15.1.0

This issue was fixed in the openstack/tripleo-validations 15.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/validations-common 1.4.0

This issue was fixed in the openstack/validations-common 1.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-validations (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-validations/+/805852
Committed: https://opendev.org/openstack/tripleo-validations/commit/6cbeeb4c2c7cd70d76b2d258cf595d86b54e0775
Submitter: "Zuul (22348)"
Branch: master

commit 6cbeeb4c2c7cd70d76b2d258cf595d86b54e0775
Author: Jiri Podivin <email address hidden>
Date: Tue Aug 24 15:34:32 2021 +0200

    undercloud-debug validation documentation improvement

    Documentation of the validation was adjusted to reflect actual
    mechanism of operation, with the goal of preventing confusion
    on the side of the customer.

    Related-Bug: #1942508

    Signed-off-by: Jiri Podivin <email address hidden>
    Change-Id: I79b07f1929e81cfd162f3e191287da254f88c3ae

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-validations (stable/wallaby)

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-validations/+/823635

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-validations (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-validations/+/823635
Committed: https://opendev.org/openstack/tripleo-validations/commit/2a0cfa5f0f4a665f310c17ce87f56e0e6a5bbac6
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 2a0cfa5f0f4a665f310c17ce87f56e0e6a5bbac6
Author: Jiri Podivin <email address hidden>
Date: Tue Aug 24 15:34:32 2021 +0200

    undercloud-debug validation documentation improvement

    Documentation of the validation was adjusted to reflect actual
    mechanism of operation, with the goal of preventing confusion
    on the side of the customer.

    Related-Bug: #1942508

    Signed-off-by: Jiri Podivin <email address hidden>
    Change-Id: I79b07f1929e81cfd162f3e191287da254f88c3ae
    (cherry picked from commit 6cbeeb4c2c7cd70d76b2d258cf595d86b54e0775)

tags: added: in-stable-wallaby
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.