openstack-tox-docs jobs are failing on tripleo-ansible changes - package versions have conflicting dependencies

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

Bug Description

openstack-tox-docs are failing on tripleo-ansible changes in the gate with the following dependency error:

2021-10-29 14:33:10.072148 | ubuntu-focal | ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/tripleo-ansible/doc/requirements.txt (line 12), -r /home/zuul/src/opendev.org/openstack/tripleo-ansible/doc/requirements.txt (line 5) and -r /home/zuul/src/opendev.org/openstack/tripleo-ansible/doc/requirements.txt (line 6) because these package versions have conflicting dependencies.
2021-10-29 14:33:10.072496 | ubuntu-focal |
2021-10-29 14:33:10.072516 | ubuntu-focal | The conflict is caused by:
2021-10-29 14:33:10.072527 | ubuntu-focal | openstacksdk 0.59.0 depends on PyYAML>=3.13
2021-10-29 14:33:10.072540 | ubuntu-focal | molecule 3.5.2 depends on PyYAML<6 and >=5.1
2021-10-29 14:33:10.072562 | ubuntu-focal | openstacksdk 0.59.0 depends on PyYAML>=3.13
2021-10-29 14:33:10.072574 | ubuntu-focal | molecule 3.5.1 depends on PyYAML<6 and >=5.1
2021-10-29 14:33:10.072583 | ubuntu-focal | openstacksdk 0.59.0 depends on PyYAML>=3.13
2021-10-29 14:33:10.072593 | ubuntu-focal | molecule 3.4.1 depends on PyYAML<6 and >=5.1
2021-10-29 14:33:10.072603 | ubuntu-focal | pytest 6.2.5 depends on pluggy<2.0 and >=0.12
2021-10-29 14:33:10.072613 | ubuntu-focal | molecule 3.4.0 depends on pluggy<1.0 and >=0.7.1
2021-10-29 14:33:10.072622 | ubuntu-focal | pytest 6.2.5 depends on pluggy<2.0 and >=0.12
2021-10-29 14:33:10.072632 | ubuntu-focal | molecule 3.3.4 depends on pluggy<1.0 and >=0.7.1
2021-10-29 14:33:10.072642 | ubuntu-focal | The user requested (constraint) pluggy===1.0.0
2021-10-29 14:33:10.072652 | ubuntu-focal | The user requested (constraint) pyyaml===6.0
2021-10-29 14:33:10.072662 | ubuntu-focal |
2021-10-29 14:33:10.072671 | ubuntu-focal | To fix this you could try to:
2021-10-29 14:33:10.072681 | ubuntu-focal | 1. loosen the range of package versions you've specified
2021-10-29 14:33:10.072691 | ubuntu-focal | 2. remove package versions to allow pip attempt to solve the dependency conflict
2021-10-29 14:33:10.072702 | ubuntu-focal |
2021-10-29 14:33:10.072717 | ubuntu-focal | ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
2021-10-29 14:33:10.428581 | ubuntu-focal | ERROR: invocation failed (exit code 1)
2021-10-29 14:33:10.429047 | ubuntu-focal | ERROR: could not install deps [-c/home/zuul/src/opendev.org/openstack/requirements/upper-constraints.txt, -r/home/zuul/src/opendev.org/openstack/tripleo-ansible/doc/requirements.txt]; v = InvocationError('/home/zuul/src/opendev.org/openstack/tripleo-ansible/.tox/docs/bin/python3 -m pip install -c/home/zuul/src/opendev.org/openstack/requirements/upper-constraints.txt -r/home/zuul/src/opendev.org/openstack/tripleo-ansible/doc/requirements.txt',

The full job log is linked below:
https://d005f86ccebbdb04bbd5-b59bd8a37df667fcc110840d1a2af62f.ssl.cf5.rackcdn.com/813747/1/gate/openstack-tox-docs/211ca99/job-output.txt

History on this failure:

https://zuul.opendev.org/t/openstack/builds?job_name=openstack-tox-docs&project=openstack%2Ftripleo-ansible

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

Note from Alex:

docs requirements needs to not be alink to the molecule requirements file

Changed in tripleo:
milestone: none → yoga-1
importance: Undecided → Critical
status: New → Triaged
tags: added: ci promotion-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/815980
Committed: https://opendev.org/openstack/tripleo-ansible/commit/546017544ee5048820d80c60380d804eedeeedb5
Submitter: "Zuul (22348)"
Branch: master

commit 546017544ee5048820d80c60380d804eedeeedb5
Author: Alex Schultz <email address hidden>
Date: Fri Oct 29 09:55:54 2021 -0600

    Fix docs requirements

    It was linked to molecule requirements because we were lazy. We don't
    need to install molecule when generating docs.

    Change-Id: I108f8b48be09c56c3c74d81780ca1c035a611962
    Closes-Bug: #1949211

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 4.2.0

This issue was fixed in the openstack/tripleo-ansible 4.2.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.