STX-Openstack: Can't build packages with Antelope versions

Bug #2027589 reported by Lucas de Ataides Barreto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Lucas de Ataides Barreto

Bug Description

Brief Description
-----------------
During the STX-Openstack upversion (story 2010715: https://storyboard.openstack.org/#!/story/2010715), the team stumbled on an issue with the packages' dependencies versions. Since every package is limited by the upper constraints (https://opendev.org/starlingx/root/src/branch/master/build-tools/requirements/debian/upper-constraints.txt), after upversoning the packages to Antelope, they were not getting the correct versions for the dependencies, and, in some cases, the build even failed due to a version requirement that was way above the one on the upper constraints.

With this issue, the STX-Openstack Distro Team is unable to build and test the required packages for the upversion, unless we locally modify both the upper constraints and the downloader list (https://opendev.org/starlingx/tools/src/branch/master/debian-mirror-tools/config/debian/common/base-bullseye.lst) so the correct Antelope versions are downloaded / used.

Severity
--------
Critical: Packages fail to build / build with incorrect versions

Steps to Reproduce
------------------
Build any client package on starlingx/openstack-armada-app (Example: python-novaclient)

Expected Behavior
------------------
Build succeeds and buildinfo shows versions compatible with Antelope (https://releases.openstack.org/antelope/)

Actual Behavior
----------------
Build fails or packages gets versions that are not compatible with Antelope.

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
Does not Apply

Branch/Pull Time/Commit
-----------------------
Master

Timestamp/Logs
--------------
sbuild-build-depends-main-dummy : Depends: python3-keystoneauth1 (>= 5.1.2) but 4.2.1-2 is to be installed

Test Activity
-------------
Build

Workaround
----------
Patch the upper-constraints.txt with the attached file and update the downloader list with these lines:

python3-keystoneauth1 5.1.2-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-keystoneauth1/python3
keystoneauth1_5.1.2-2_all.deb python3-keystonemiddleware 10.2.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-keystonemiddleware/python3-keystonemiddleware_10.2.0-2_all.deb
python3-osc-lib 2.7.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-osc-lib/python3-osc-lib_2.7.0-2_all.deb
python3-oslo.cache 3.3.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.cache/python3-oslo.cache_3.3.1-2_all.deb
python3-oslo.concurrency 5.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.concurrency/python3-oslo.concurrency_5.1.1-2_all.deb
python3-oslo.config 9.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.config/python3-oslo.config_9.1.1-2_all.deb
python3-oslo.context 5.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.context/python3-oslo.context_5.1.1-2_all.deb
python3-oslo.db 12.3.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.db/python3-oslo.db_12.3.1-2_all.deb
python3-oslo.i18n 6.0.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.i18n/python3-oslo.i18n_6.0.0-2_all.deb
python3-oslo.log 5.2.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.log/python3-oslo.log_5.2.0-2_all.deb
python3-oslo.messaging 14.2.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.messaging/python3-oslo.messaging_14.2.0-2_all.deb
python3-oslo.middleware 5.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.middleware/python3-oslo.middleware_5.1.1-2_all.deb
python3-oslo.policy 4.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.policy/python3-oslo.policy_4.1.1-2_all.deb
python3-oslo.serialization 5.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.serialization/python3-oslo.serialization_5.1.1-2_all.deb
python3-oslo.service 3.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.service/python3-oslo.service_3.1.1-2_all.deb
python3-oslo.upgradecheck 2.1.1-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.upgradecheck/python3-oslo.upgradecheck_2.1.1-2_all.deb
python3-oslo.utils 6.1.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.utils/python3-oslo.utils_6.1.0-2_all.deb
python3-oslo.versionedobjects 3.1.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-oslo.versionedobjects/python3-oslo.versionedobjects_3.1.0-2_all.deb
python3-sqlalchemy 1.4.47+ds1-1 https://snapshot.debian.org/archive/debian-ports/20230401T234825Z/pool/main/s/sqlalchemy/python3-sqlalchemy_1.4.47%2Bds1-1_all.deb
python3-stevedore 5.0.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/s/stevedore/python3-stevedore_5.0.0-2_all.deb
python3-swiftclient 1:4.2.0-2 https://snapshot.debian.org/archive/debian-ports/20230623T210953Z/pool/main/p/python-swiftclient/python3-swiftclient_4.2.0-2_all.deb

Revision history for this message
Lucas de Ataides Barreto (ldeataid) wrote :
Changed in starlingx:
assignee: nobody → Lucas de Ataides Barreto (ldeataid)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (f/antelope)

Fix proposed to branch: f/antelope
Review: https://review.opendev.org/c/starlingx/tools/+/892166

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on root (f/antelope)

Change abandoned by "Lucas de Ataides Barreto <email address hidden>" on branch: f/antelope
Review: https://review.opendev.org/c/starlingx/root/+/892163
Reason: Abandoning this as we realized this is not actually required.

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-armada-app (f/antelope)

Related fix proposed to branch: f/antelope
Review: https://review.opendev.org/c/starlingx/openstack-armada-app/+/893079

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-armada-app (master)

Change abandoned by "Lucas de Ataides Barreto <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/openstack-armada-app/+/891344

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.