Tempest and plugins not supported for distro not having py3.6

Bug #1861308 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Critical
Ian Wienand

Bug Description

Tempest basepython for tox env is py3.6 which makes it to run on py3.6 only. Any distro having <py3.6 or >py3.6 are not testable with tox venv.

We did some fix on ubuntu xenail to make ppy3.6 available and fix previous bugs but any distro >py3.6 (fedora-latest in devstack today) would not be abel to sue these tox. or we can say it is broken for fedora-latest today and will be broken for any newer ditsro with >py3.6.

Changed in tempest:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Ghanshyam Mann (ghanshyammann)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tempest (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/704840

Changed in tempest:
assignee: Ghanshyam Mann (ghanshyammann) → Lee Yarwood (lyarwood)
status: Confirmed → In Progress
Changed in tempest:
assignee: Lee Yarwood (lyarwood) → Radosław Piliszek (yoctozepto)
Changed in tempest:
assignee: Radosław Piliszek (yoctozepto) → Lee Yarwood (lyarwood)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tempest (master)

Reviewed: https://review.opendev.org/704840
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=b0a8057fbbf08ff072bfb6e836535f090fd6efc7
Submitter: Ian Wienand (<email address hidden>)
Branch: master

commit b0a8057fbbf08ff072bfb6e836535f090fd6efc7
Author: Ghanshyam <email address hidden>
Date: Wed Jan 29 10:36:09 2020 -0600

    Drop python 3.5 support from Tempest

    Tempest, its plugins and their dependencies in ussuri
    cycle are python-requires>=py3.6 which makes distro not
    having python 3.6 to do hack to install py3.6 etc.

    We cannot do >py3.6 in basepython so one way is to drop the
    py3.5 support and basepython to py3 so that it can choose
    the available py version in env.

    It time to drop the py3.5 from Tempest. Last supported version of
    Tempest for py3.5 is 23.0.0.

    oslo drop py2 so we need to remove the py2 unit test job which
    is failing and blocking gate.

    There is seoarate work to drop the py2 things from Tempest in
    compplete set.

    Change-Id: I872dbb57df46d1193c0d409bb00d56f372d295fe
    Related-Bug: 1861308

Changed in tempest:
assignee: Lee Yarwood (lyarwood) → Ian Wienand (iwienand)
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/704688
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=bc9fe8eca801f54915ff3eafa418e6e18ac2df63
Submitter: Ian Wienand (<email address hidden>)
Branch: master

commit bc9fe8eca801f54915ff3eafa418e6e18ac2df63
Author: Lee Yarwood <email address hidden>
Date: Tue Jan 28 21:27:59 2020 +0000

    tox: Use python3 within tempestenv

    If3ff71dbe636ef98072b15f6599e6e641c222f30 had switched this to python3.6
    but this breaks on distros where 3.6 is no longer provided by default,
    such as Fedora.

    Closes-Bug: #1861308
    Change-Id: I0e0b9e88eea2499cb1b9727a7787c050c869c819

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.