Tempest install failing on ubuntu-focal/py3.8 on xena/yoga/zed/2023.1

Bug #2085886 reported by yatin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Confirmed
High
yatin

Bug Description

Since https://review.opendev.org/c/openstack/requirements/+/925201 tempest install fails on xena,yoga,zed/stable2023.1 jobs which runs on ubuntu-focal.

This is happening as tempest get's installed from source and uses master upper-constraints, master constraints no longer have pins for py3.8 since the patch so fails as:-
2024-10-30 02:36:10.106271 | controller | ++ lib/tempest:configure_tempest:722 : tox -revenv-tempest --notest
2024-10-30 02:36:10.361725 | controller | venv-tempest create: /opt/stack/tempest/.tox/tempest
2024-10-30 02:36:10.740950 | controller | venv-tempest installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt
...
2024-10-30 02:36:15.378906 | controller | ERROR: Cannot install -r /opt/stack/tempest/requirements.txt (line 14) because these package versions have conflicting dependencies.
2024-10-30 02:36:15.378912 | controller |
2024-10-30 02:36:15.378916 | controller | The conflict is caused by:
2024-10-30 02:36:15.378920 | controller | stestr 4.1.0 depends on voluptuous>=0.8.9
2024-10-30 02:36:15.378925 | controller | The user requested (constraint) voluptuous===0.15.2

some example build failures:-
https://zuul.openstack.org/builds?job_name=ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa&project=openstack%2Fneutron&branch=stable%2F2023.1&skip=0
https://zuul.openstack.org/builds?job_name=neutron-ovn-tempest-mariadb-full&project=openstack%2Fneutron&branch=unmaintained%2Fxena&branch=unmaintained%2Fyoga&branch=unmaintained%2Fzed&skip=0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/devstack/+/933704

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (unmaintained/zed)

Fix proposed to branch: unmaintained/zed
Review: https://review.opendev.org/c/openstack/devstack/+/933738

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (unmaintained/yoga)

Fix proposed to branch: unmaintained/yoga
Review: https://review.opendev.org/c/openstack/devstack/+/933739

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (unmaintained/xena)

Fix proposed to branch: unmaintained/xena
Review: https://review.opendev.org/c/openstack/devstack/+/933741

Revision history for this message
Ghanshyam Maan (gmaan) wrote :

stable/2023.1 should be running on Jammy
https://governance.openstack.org/tc/reference/runtimes/2023.1.html

I see the neutron job on stable/2023.1 which is running on Jammy are passing https://review.opendev.org/c/openstack/neutron/+/933392.

But we have at least one focal job running on stable/2023.1 which is failing here.

This is a little complex problem as we need to use the Tempest master to pass the Jammy jobs and the old Tempest for the focal job.

Either we need to fix only focal jobs by pinning the Tempest 41.0.0 which will be more work. But seeing stable/2023.1 going to unmaintained status soon, let's pin all together, hope that will work.

Changed in devstack:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Ghanshyam Maan (gmaan) wrote :

Pinning Tempest on stable/2023.1 need to end the support of stable/2023.1 on Tempest master.

Started that in https://review.opendev.org/q/topic:%222023-1-last%22

Changed in devstack:
assignee: nobody → yatin (yatinkarel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/933704
Committed: https://opendev.org/openstack/devstack/commit/0b1de7f14e9717e548603afbb8cb24a66e4c2085
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 0b1de7f14e9717e548603afbb8cb24a66e4c2085
Author: yatinkarel <email address hidden>
Date: Wed Oct 30 12:31:21 2024 +0530

    [Stable/Unmaintained Only] Pin to last compatible tag for py3.8

    Stable/2023.1 and Unmaintained xena/yoga/zed runs ubuntu-focal
    jobs and since with [1] py3.8 pins are dropped from master
    upper-constraints, so these branches can no longer use master
    constraints with envs running with python3.8.
    With this patch pinning tempest to the last compatible tag
    for py3.8 i.e 41.0.0[2]

    [1] https://review.opendev.org/c/openstack/requirements/+/925201
    [2] https://lists.openstack.org/archives/list/openstack-discuss@\
        lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

    Depends-On: https://review.opendev.org/c/openstack/tempest/+/933716
    Closes-Bug: #2085886
    Change-Id: I5e714655ed329ea2c714f918e3dd843ca764c2c4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (unmaintained/zed)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/933738
Committed: https://opendev.org/openstack/devstack/commit/62fca417fa1f8302b381f0a15832475ee3d2efcf
Submitter: "Zuul (22348)"
Branch: unmaintained/zed

commit 62fca417fa1f8302b381f0a15832475ee3d2efcf
Author: yatinkarel <email address hidden>
Date: Wed Oct 30 12:31:21 2024 +0530

    [Stable/Unmaintained Only] Pin to last compatible tag for py3.8

    Stable/2023.1 and Unmaintained xena/yoga/zed runs ubuntu-focal
    jobs and since with [1] py3.8 pins are dropped from master
    upper-constraints, so these branches can no longer use master
    constraints with envs running with python3.8.
    With this patch pinning tempest to the last compatible tag
    for py3.8 i.e 41.0.0[2]

    Additionally marked ironic-tempest-bios-ipmi-direct-tinyipa
    non-voting and removed from gate until this fixed in
    ironic.

    [1] https://review.opendev.org/c/openstack/requirements/+/925201
    [2] https://lists.openstack.org/archives/list/openstack-discuss@\
        lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

    Needed-By: https://review.opendev.org/c/openstack/ironic/+/934140
    Depends-On: https://review.opendev.org/c/openstack/tempest/+/933716
    Closes-Bug: #2085886
    Change-Id: I5e714655ed329ea2c714f918e3dd843ca764c2c4

tags: added: in-unmaintained-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (unmaintained/yoga)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/933739
Committed: https://opendev.org/openstack/devstack/commit/d5e95cb608e31d45c647cc598d98928c1a7e7b05
Submitter: "Zuul (22348)"
Branch: unmaintained/yoga

commit d5e95cb608e31d45c647cc598d98928c1a7e7b05
Author: yatinkarel <email address hidden>
Date: Wed Oct 30 12:31:21 2024 +0530

    [Stable/Unmaintained Only] Pin to last compatible tag for py3.8

    Stable/2023.1 and Unmaintained xena/yoga/zed runs ubuntu-focal
    jobs and since with [1] py3.8 pins are dropped from master
    upper-constraints, so these branches can no longer use master
    constraints with envs running with python3.8.
    With this patch pinning tempest to the last compatible tag
    for py3.8 i.e 41.0.0[2]

    Additionally marked ironic-tempest-bios-ipmi-direct-tinyipa
    non-voting and removed from gate until this fixed in
    ironic.

    [1] https://review.opendev.org/c/openstack/requirements/+/925201
    [2] https://lists.openstack.org/archives/list/openstack-discuss@\
        lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

    Needed-By: https://review.opendev.org/c/openstack/ironic/+/934140
    Depends-On: https://review.opendev.org/c/openstack/tempest/+/933716
    Closes-Bug: #2085886
    Change-Id: I5e714655ed329ea2c714f918e3dd843ca764c2c4

tags: added: in-unmaintained-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/devstack 2023.1-eom

This issue was fixed in the openstack/devstack 2023.1-eom release.

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

I would like to avoid using this bugtracker for unmaintained branches (which 2023.1 now is, too), can we please close this?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (unmaintained/xena)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/933741
Committed: https://opendev.org/openstack/devstack/commit/d39f4522f91d1c1613d3174e614f302a7637f7f1
Submitter: "Zuul (22348)"
Branch: unmaintained/xena

commit d39f4522f91d1c1613d3174e614f302a7637f7f1
Author: yatinkarel <email address hidden>
Date: Wed Oct 30 12:31:21 2024 +0530

    [Stable/Unmaintained Only] Pin to last compatible tag for py3.8

    Stable/2023.1 and Unmaintained xena/yoga/zed runs ubuntu-focal
    jobs and since with [1] py3.8 pins are dropped from master
    upper-constraints, so these branches can no longer use master
    constraints with envs running with python3.8.
    With this patch pinning tempest to the last compatible tag
    for py3.8 i.e 33.0.0[2]

    [Xena Only] unmaintained/xena constraints not compatible with
    tempest-35.0.0(xena-last) due to [3] so pinning to an older
    compatible tag i.e 33.0.0.

    Additionally marked ironic-tempest-bios-ipmi-direct-tinyipa
    non-voting and removed from gate until this fixed in
    ironic.

    [1] https://review.opendev.org/c/openstack/requirements/+/925201
    [2] https://lists.openstack.org/archives/list/openstack-discuss@\
        lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/
    [3] https://review.opendev.org/c/openstack/tempest/+/821732

    Needed-By: https://review.opendev.org/c/openstack/ironic/+/934140
    Depends-On: https://review.opendev.org/c/openstack/tempest/+/933716
    Depends-On: https://review.opendev.org/c/openstack/tempest/+/934923
    Closes-Bug: #2085886
    Change-Id: I5e714655ed329ea2c714f918e3dd843ca764c2c4
    (cherry picked from commit d5e95cb608e31d45c647cc598d98928c1a7e7b05)

tags: added: in-unmaintained-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/devstack xena-eol

This issue was fixed in the openstack/devstack xena-eol Xena 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.