Add tox Python3.11 job to the testing queues

This new job called "tox-py311" is added to the following
template queues:
* check
* periodic

This patch tries to address what has been detected in [1][2]: a
mock spec argument cannot be another mock.

This new job is temporary. Once the "openstack-tox-py311" job
definition is created and added to the "openstack-python3-jobs"
template, we'll revert this patch. Until this happens, we'll
test Python3.11 using the "tox-py311" job defined in [3].

[1]https://github.com/python/cpython/issues/87644
[2]https://bugs.launchpad.net/cinder/+bug/2000436
[3]https://opendev.org/zuul/zuul-jobs/src/branch/master/zuul.d/python-jobs.yaml

Change-Id: Iebe3fc75ca8b15cec49603e61a7acd211f24e03e
This commit is contained in:
Rodolfo Alonso Hernandez 2023-01-18 18:22:08 +01:00 committed by Rodolfo Alonso
parent f2ef00f545
commit 267ad86291
2 changed files with 7 additions and 0 deletions

View File

@ -104,6 +104,9 @@
name: neutron-periodic-jobs
periodic:
jobs:
# NOTE(ralonsoh): to be removed when "openstack-tox-py311" is defined
# and added to "openstack-python3-jobs" template.
- tox-py311
- neutron-functional
- neutron-functional-with-uwsgi-fips
- neutron-functional-with-pyroute2-master

View File

@ -17,6 +17,10 @@
- neutron-tox-override-jobs
check:
jobs:
# NOTE(ralonsoh): to be removed when "openstack-tox-py311" is defined
# and added to "openstack-python3-jobs" template.
- tox-py311:
voting: false
- neutron-functional-with-uwsgi
- neutron-fullstack-with-uwsgi
- neutron-ovs-grenade-multinode