Updating tests with Yoga testing runtime

Yoga testing runtime is updated now
- https://governance.openstack.org/tc/reference/runtimes/yoga.html

which needs to test py38 and py39. Unit tests update are
handled by the job template change in openstack-zuul-job and
this commit makes changes to fucntional job to run py39 as voting
and updating the metdata in setup file.

Change-Id: I314fd61f20f2c3551f6231d191b7dcaaefabd2b5
This commit is contained in:
Ghanshyam Mann 2021-11-24 16:48:37 -06:00 committed by Ghanshyam
parent 3047cde210
commit 9dd0070ce6
3 changed files with 10 additions and 36 deletions

View File

@ -1,34 +1,6 @@
# See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3 # See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
# for job naming conventions. # for job naming conventions.
- job:
name: nova-tox-functional-centos8-py36
parent: openstack-tox-functional-py36
nodeset: devstack-single-node-centos-8
description: |
Run tox-based functional tests for the OpenStack Nova project
under cPython version 3.6 with Nova specific irrelevant-files list.
Uses tox with the ``functional-py36`` environment.
This job also provides a parent for other projects to run the nova
functional tests on their own changes.
required-projects:
# including nova here makes this job reusable by other projects
- openstack/nova
- openstack/placement
irrelevant-files: &functional-irrelevant-files
- ^.*\.rst$
- ^api-.*$
- ^doc/(source|test)/.*$
- ^nova/locale/.*$
- ^releasenotes/.*$
vars:
# explicitly stating the work dir makes this job reusable by other
# projects
zuul_work_dir: src/opendev.org/openstack/nova
bindep_profile: test py36
timeout: 3600
- job: - job:
name: nova-tox-functional-py38 name: nova-tox-functional-py38
parent: openstack-tox-functional-py38 parent: openstack-tox-functional-py38
@ -43,7 +15,12 @@
# including nova here makes this job reusable by other projects # including nova here makes this job reusable by other projects
- openstack/nova - openstack/nova
- openstack/placement - openstack/placement
irrelevant-files: *functional-irrelevant-files irrelevant-files: &functional-irrelevant-files
- ^.*\.rst$
- ^api-.*$
- ^doc/(source|test)/.*$
- ^nova/locale/.*$
- ^releasenotes/.*$
vars: vars:
# explicitly stating the work dir makes this job reusable by other # explicitly stating the work dir makes this job reusable by other
# projects # projects
@ -538,10 +515,8 @@
- nova-next - nova-next
- nova-tox-validate-backport: - nova-tox-validate-backport:
voting: false voting: false
- nova-tox-functional-centos8-py36
- nova-tox-functional-py38 - nova-tox-functional-py38
- nova-tox-functional-py39: - nova-tox-functional-py39
voting: false
- tempest-integrated-compute: - tempest-integrated-compute:
# NOTE(gmann): Policies changes do not need to run all the # NOTE(gmann): Policies changes do not need to run all the
# integration test jobs. Running only tempest and grenade # integration test jobs. Running only tempest and grenade
@ -579,8 +554,8 @@
jobs: jobs:
- nova-live-migration - nova-live-migration
- nova-live-migration-ceph - nova-live-migration-ceph
- nova-tox-functional-centos8-py36
- nova-tox-functional-py38 - nova-tox-functional-py38
- nova-tox-functional-py39
- nova-multi-cell - nova-multi-cell
- nova-next - nova-next
- nova-tox-validate-backport - nova-tox-validate-backport

View File

@ -20,9 +20,8 @@ classifiers =
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython

View File

@ -1,6 +1,6 @@
[tox] [tox]
minversion = 3.18.0 minversion = 3.18.0
envlist = py38,functional,pep8 envlist = py39,functional,pep8
# Automatic envs (pyXX) will only use the python version appropriate to that # Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set # env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict. # ignore_basepython_conflict.