Master jobs running on vexx cloud failing during task - Install deps from upper-constraints, ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/python-tripleoclient/requirements.txt (line 14) because these package versions have conflicting dependencies.

Bug #1975784 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:

Master jobs running on vexx cloud failing during task - Install deps from upper-constraints, ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/python-tripleoclient/requirements.txt (line 14) because these package versions have conflicting dependencies.

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-build-containers-centos-9-push-master/42775b6/job-output.txt

~~~
INFO: pip is looking at multiple versions of pbr to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    tripleo-common 16.4.0 depends on oslo.log>=3.36.0
    The user requested (constraint) oslo-log===5.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

:stderr: ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/python-tripleoclient/requirements.txt (line 14) because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 21.2.3; however, version 22.1.1 is available.
You should consider upgrading via the '/home/zuul/workspace/venv_build/bin/python3 -m pip install --upgrade pip' command.
~~~

Reproducer step:-

1) git clone https://github.com/openstack/python-tripleoclient.git
2) cd python-tripleoclient
3) python3 -m venv test1
4) source test1/bin/activate
5) pip install -r requirements.txt -c https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt -i http://mirror.regionone.vexxhost-nodepool-tripleo.rdoproject.org/pypi/simple --trusted-host mirror.regionone.vexxhost-nodepool-tripleo.rdoproject.org

If we remove --index-url from vexxhost in above command, we don't hit the issue.

Looks like same bug as https://bugs.launchpad.net/tripleo/+bug/1972765 where we had to clear the vexx pypi mirror cache.

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Issue cleared after vexx pypi cache was cleared by infra team.

tags: removed: promotion-blocker
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
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.