Drop py3.6/7, T, U jobs and fix neutron discovery

python 3.6 and 3.7 are dropped (upstream tooling as e.g.
Devstack doesn't support this those anymore) together with
train and ussuri jobs.

refstack-client jobs are non-voting now until a fix on
refstack-client's side has landed. Also victoria jobs are
marked as non-voting because they require a patch on devstack's
side which isn't ready to be merged yet [1].

manila-tempest-plugin needs to be pinned in Victoria and
Wallaby because the plugin requires newer tempest version
than is available there.

The patch also makes neutron version discovery with a not
top level URL, seems like something changed because
the discovery has been failing.

[1] https://review.opendev.org/c/openstack/devstack/+/844774

Change-Id: Ia3d78e84ad9eee515eb8ca017ea84df1fd160929
This commit is contained in:
Martin Kopec 2022-08-17 15:59:53 +00:00
parent a8aaad54f6
commit 448ff51dec
4 changed files with 36 additions and 47 deletions

View File

@ -1,16 +1,17 @@
- project: - project:
templates: templates:
- openstack-cover-jobs - openstack-cover-jobs
- openstack-python36-jobs
- openstack-python37-jobs
- openstack-python3-zed-jobs - openstack-python3-zed-jobs
- release-notes-jobs-python3 - release-notes-jobs-python3
check: check:
jobs: jobs:
- python-tempestconf-tempest-devstack-admin - python-tempestconf-tempest-devstack-admin
- python-tempestconf-tempest-devstack-admin-train # TODO(kopecmartin) this job requires the following fix on devstack's
- python-tempestconf-tempest-devstack-admin-ussuri # side - https://review.opendev.org/c/openstack/devstack/+/844774
- python-tempestconf-tempest-devstack-admin-victoria # Although that fix requires further work so in the meantime let's
# mark this job as non-voting to unblock the gates
- python-tempestconf-tempest-devstack-admin-victoria:
voting: false
- python-tempestconf-tempest-devstack-admin-wallaby - python-tempestconf-tempest-devstack-admin-wallaby
- python-tempestconf-tempest-devstack-admin-xena - python-tempestconf-tempest-devstack-admin-xena
- python-tempestconf-tempest-devstack-admin-yoga - python-tempestconf-tempest-devstack-admin-yoga
@ -20,7 +21,13 @@
voting: false voting: false
- python-tempestconf-tempest-packstack-demo: - python-tempestconf-tempest-packstack-demo:
voting: false voting: false
# TODO(kopecmartin) refstack-client jobs are broken - tempest version
# in those jobs must be bumped in order to be incompatible with
# manila-tempest-plugin - right now they fail to install the plugin,
# until the following patch is merged, let's mark this non-voting
# https://review.opendev.org/c/openinfra/refstack-client/+/846370
- refstack-client-devstack-master: - refstack-client-devstack-master:
voting: false
irrelevant-files: &irrelevant-files irrelevant-files: &irrelevant-files
- config_tempest/tests/.*$ - config_tempest/tests/.*$
- ^doc/.*$ - ^doc/.*$
@ -57,16 +64,23 @@
gate: gate:
jobs: jobs:
- python-tempestconf-tempest-devstack-admin - python-tempestconf-tempest-devstack-admin
- python-tempestconf-tempest-devstack-admin-train # TODO(kopecmartin) this job requires the following fix on devstack's
- python-tempestconf-tempest-devstack-admin-ussuri # side - https://review.opendev.org/c/openstack/devstack/+/844774
- python-tempestconf-tempest-devstack-admin-victoria # Although that fix requires further work so in the meantime let's
# mark this job as non-voting to unblock the gates
#- python-tempestconf-tempest-devstack-admin-victoria
- python-tempestconf-tempest-devstack-admin-wallaby - python-tempestconf-tempest-devstack-admin-wallaby
- python-tempestconf-tempest-devstack-admin-xena - python-tempestconf-tempest-devstack-admin-xena
- python-tempestconf-tempest-devstack-admin-yoga - python-tempestconf-tempest-devstack-admin-yoga
- python-tempestconf-tempest-devstack-demo - python-tempestconf-tempest-devstack-demo
- python-tempestconf-tempest-devstack-admin-plugins - python-tempestconf-tempest-devstack-admin-plugins
- refstack-client-devstack-master: # TODO(kopecmartin) refstack-client jobs are broken - tempest version
irrelevant-files: *irrelevant-files # in those jobs must be bumped in order to be incompatible with
# manila-tempest-plugin - right now they fail to install the plugin,
# until the following patch is merged, let's skip this job
# https://review.opendev.org/c/openinfra/refstack-client/+/846370
#- refstack-client-devstack-master:
# irrelevant-files: *irrelevant-files
- tripleo-ci-centos-9-content-provider: - tripleo-ci-centos-9-content-provider:
irrelevant-files: *irrelevant-files irrelevant-files: *irrelevant-files
- tripleo-ci-centos-9-scenario002-standalone: - tripleo-ci-centos-9-scenario002-standalone:
@ -85,14 +99,10 @@
- opendev-promote-docs - opendev-promote-docs
experimental: experimental:
jobs: jobs:
- python-tempestconf-tempest-devstack-demo-train
- python-tempestconf-tempest-devstack-demo-ussuri
- python-tempestconf-tempest-devstack-demo-victoria - python-tempestconf-tempest-devstack-demo-victoria
- python-tempestconf-tempest-devstack-demo-wallaby - python-tempestconf-tempest-devstack-demo-wallaby
- python-tempestconf-tempest-devstack-demo-xena - python-tempestconf-tempest-devstack-demo-xena
- python-tempestconf-tempest-devstack-demo-yoga - python-tempestconf-tempest-devstack-demo-yoga
- refstack-client-devstack-train
- refstack-client-devstack-ussuri
- refstack-client-devstack-victoria - refstack-client-devstack-victoria
- refstack-client-devstack-wallaby - refstack-client-devstack-wallaby
- refstack-client-devstack-xena - refstack-client-devstack-xena
@ -220,26 +230,15 @@
cloud_user: devstack-admin cloud_user: devstack-admin
tempest_concurrency: 2 tempest_concurrency: 2
- job:
name: python-tempestconf-tempest-devstack-admin-train
parent: python-tempestconf-tempest-devstack-admin
override-checkout: stable/train
vars:
branch: stable/train
- job:
name: python-tempestconf-tempest-devstack-admin-ussuri
parent: python-tempestconf-tempest-devstack-admin
override-checkout: stable/ussuri
vars:
branch: stable/ussuri
- job: - job:
name: python-tempestconf-tempest-devstack-admin-victoria name: python-tempestconf-tempest-devstack-admin-victoria
parent: python-tempestconf-tempest-devstack-admin parent: python-tempestconf-tempest-devstack-admin
override-checkout: stable/victoria override-checkout: stable/victoria
vars: vars:
branch: stable/victoria branch: stable/victoria
required-projects: &manila-tempest-plugin-pin
- name: openstack/manila-tempest-plugin
override-checkout: 1.8.0
- job: - job:
name: python-tempestconf-tempest-devstack-admin-wallaby name: python-tempestconf-tempest-devstack-admin-wallaby
@ -247,6 +246,7 @@
override-checkout: stable/wallaby override-checkout: stable/wallaby
vars: vars:
branch: stable/wallaby branch: stable/wallaby
required-projects: *manila-tempest-plugin-pin
- job: - job:
name: python-tempestconf-tempest-devstack-admin-xena name: python-tempestconf-tempest-devstack-admin-xena
@ -281,26 +281,13 @@
# is resolved # is resolved
tempest_exclude_regex: 'tempest.api.compute.servers' tempest_exclude_regex: 'tempest.api.compute.servers'
- job:
name: python-tempestconf-tempest-devstack-demo-train
parent: python-tempestconf-tempest-devstack-demo
override-checkout: stable/train
vars:
branch: stable/train
- job:
name: python-tempestconf-tempest-devstack-demo-ussuri
parent: python-tempestconf-tempest-devstack-demo
override-checkout: stable/ussuri
vars:
branch: stable/ussuri
- job: - job:
name: python-tempestconf-tempest-devstack-demo-victoria name: python-tempestconf-tempest-devstack-demo-victoria
parent: python-tempestconf-tempest-devstack-demo parent: python-tempestconf-tempest-devstack-demo
override-checkout: stable/victoria override-checkout: stable/victoria
vars: vars:
branch: stable/victoria branch: stable/victoria
required-projects: *manila-tempest-plugin-pin
- job: - job:
name: python-tempestconf-tempest-devstack-demo-wallaby name: python-tempestconf-tempest-devstack-demo-wallaby
@ -308,6 +295,7 @@
override-checkout: stable/wallaby override-checkout: stable/wallaby
vars: vars:
branch: stable/wallaby branch: stable/wallaby
required-projects: *manila-tempest-plugin-pin
- job: - job:
name: python-tempestconf-tempest-devstack-demo-xena name: python-tempestconf-tempest-devstack-demo-xena

View File

@ -25,6 +25,9 @@ class NetworkService(VersionedService):
body = json.loads(body) body = json.loads(body)
self.extensions = list(map(lambda x: x['alias'], body['extensions'])) self.extensions = list(map(lambda x: x['alias'], body['extensions']))
def set_versions(self):
super(NetworkService, self).set_versions(top_level=False)
def create_tempest_networks(self, conf, network_id): def create_tempest_networks(self, conf, network_id):
LOG.info("Setting up network") LOG.info("Setting up network")
self.client = self.client.networks self.client = self.client.networks

View File

@ -53,7 +53,7 @@
name: run-tempest name: run-tempest
when: when:
- plugins_paths is not defined - plugins_paths is not defined
- branch is not defined or (branch is defined and branch not in ["stable/train"]) - branch is not defined or (branch is defined and branch not in ["stable/victoria"])
- name: Run Tempest Tests Tempest version <= 26.0.0 - name: Run Tempest Tests Tempest version <= 26.0.0
include_role: include_role:
@ -61,7 +61,7 @@
when: when:
- plugins_paths is not defined - plugins_paths is not defined
- branch is defined - branch is defined
- branch in ["stable/train"] - branch in ["stable/victoria"]
- when: plugins_paths is defined - when: plugins_paths is defined
block: block:

View File

@ -6,7 +6,7 @@ description_file =
author = OpenStack author = OpenStack
author_email = openstack-discuss@lists.openstack.org author_email = openstack-discuss@lists.openstack.org
home_page = https://pypi.org/project/python-tempestconf home_page = https://pypi.org/project/python-tempestconf
python_requires = >=3.6 python_requires = >=3.8
classifier = classifier =
Environment :: OpenStack Environment :: OpenStack
Intended Audience :: Information Technology Intended Audience :: Information Technology
@ -17,8 +17,6 @@ classifier =
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 :: Only
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.9