Commit Graph

96 Commits

Author SHA1 Message Date
Martin Kopec 77977988cd Update jobs for the current release
Adding job running unit tests on py3.11 and jobs
running on stable 2023.2 release.

Change-Id: Ia3941f164d6531c0137abcb57a54f31030483cf9
2023-12-12 10:04:06 +00:00
Martin Kopec 915f9cea7a Drop tripleo-ci-centos-9 jobs
tripleo-ci-centos-9-content-provider has been failing for some
time and the other tripleo-ci-centos-9 jobs depend on it.
Based on the recent builds of the jobs outside of
python-tempestconf project it seems they aren't executed on master
anymore.
Due to boh of those reasons this commit drops those jobs.

Change-Id: Ibc7e3a0dd6b661d9c615e087921cc9dd426382a9
2023-08-16 14:09:22 +00:00
Martin Kopec 15d6aebfb2 Do not run a few dns tests from designate plugin
The tests require a specific dns setting in tempest.conf
pointing to the dns server:
dns.namservers = <ip>

This is complicated to set in our jobs, therefore the patch
excludes the tests.

Moreover, this patch [1] made everything install in global
venvs, however, centos-9 isn't yet compatible with that
and the jobs are failing now.

This patch disables installing in global_venv on the
centos 9 job.

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

Change-Id: I99c8cbc20be60b2f9475950667ac72114dc298a9
2023-08-15 18:06:31 +02:00
Roman Popelka 772b77de70 Add fips job
Let's add a fips job to the check queue to test
the python-tempestconf's compatibility with FIPS.

Change-Id: I5258cf8186ef2742ca6c551717ded135ce228e6f
2023-07-13 11:52:18 +02:00
Roman Popelka 9ff70dd6bc Fix tox<4 issue for zed job
Added task to install proper version
of tox(<4) so the job won't fail and
set the job as voting again. Set
ensure_tox_version to <4 for zed admin
job and admin plugins job (since it failed,
on tox>4 related issue too.

Story: 2010573
Task: 47319
Depends-On: https://review.opendev.org/c/openstack/tempest/+/884584
Change-Id: I0e9ad3632d16a5aa8c0e98d3e0d10bee79cead99
2023-06-28 19:05:38 +02:00
jskunda 468044fa98 Switch to bobcat testing runtime
Updating the testing template to Bobcat testing runtime:
https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I9dd37c009d8e6c624ff6d3fb27650e2d03fd9f4e
2023-06-22 10:46:43 +02:00
Martin Kopec eca54c4743 Unblocking CI by n-v a few jobs
The commits marks several jobs as n-v to unblock the CI. The jobs
already have fixes proposed and are in the process of review.
Right now we wait on a change in Tempest which may take serveral
days to get merged.
The patch also fixes an issue with pep8 - too long line - seems
like the sensitivity of pep8 was increased because previously
the line was ok with pep8.

Change-Id: Icea222faadfe22ab029d0321fd68c3e6f1bbc0b4
2023-06-01 13:41:48 +02:00
Zuul 63d7cd0175 Merge "Add SRBAC jobs" 2023-02-15 13:02:29 +00:00
Lukáš Piwowarski 5bc9166bcb Remove skipped test from designate-tempest-plugin
We can remove test_manually_trigger_update_secondary_zone_negative
test from exclude_regex as bug 968717 was fixed by removing the
test from the plugin [1].

[1] https://bugs.launchpad.net/designate/+bug/1968717

Change-Id: Ie8d0cd289302b789d48c925c1ab0b9940a6e09ac
2023-02-09 12:06:23 +01:00
Lukas Piwowarski 7eeb86a342 Return designate tests to admin-plugins job
Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/862804
Change-Id: Ie056cc68a5ac0d1743bf1c80cbdb01fd95bc3174
2023-02-09 12:06:05 +01:00
Lukáš Piwowarski fa6865c615 Fix opendev-tox-docs job
With the upgrade of tox to a newer version we started to encounter
failures in the opendev-tox-docs job. It looks like the interpretation
of the variable skipdist changed.

A similar problem was solved in tempest repository by removing the
skipsdist option from tox [1]. It looks like a similar solution
works for python-tempestconf as well.

[1] https://review.opendev.org/c/openstack/tempest/+/868527

Depends-On: Ie5ea7f9305c7e7611f205d2e0703849bd6321a68
Change-Id: I9ee6570b72c10ea0466819008135ddebe891a445
2023-02-09 12:05:44 +01:00
jskunda 1d8c69a283 Update jobs for Antelope development cycle
- adds antelope zuul template
- adds stable/zed jobs
- adds openstack-tox-py39 jobs as its not part of antelope template
- removed all victioria, wallaby and xena jobs
- docs, yoga and tripleo-ci-centos-9-standalone jobs are temporarily
  marked as n-v to unblock the gate

Depends-On: https://review.opendev.org/c/openinfra/ansible-role-refstack-client/+/865522
Change-Id: I31b23b077bd2dc91524fde16b08de7aed1ca4c29
2023-02-09 12:04:37 +01:00
Roman Popelka 8d2ee59af3 Add SRBAC jobs
This patch adds jobs with scope enforcement and new defaults
enabled for Nova, Cinder, Glance and Neutron.

Keystone still has system scope adopted in their policy. The
scope enforcement will be disabled for now until Keystone's policies
are updated accordingly[1]

[1]https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html

Depends-On: https://review.opendev.org/c/openstack/tempest/+/869440 
Change-Id: I64019c4f3f25cd1bd347fb55de5e38408a335cb0
2023-01-09 10:12:40 +00:00
Lukas Piwowarski 29cc5000c6 Remove designate tests from admin-plugins job
Currently tests from designate-tempest-plugin fail when the
[dns].nameservers value is missing in tempest.conf. The failure
is caused by this patch [1].

This patch removes the designate tests from the admin-plugins job
for now. Once we fix the issue (either by fixing it in
designate-tempest-plugin or in python-tempestconf) we can
add the designate tests back.

[1] https://review.opendev.org/c/openstack/designate-tempest-plugin/+/860116

Change-Id: I6a4ca43db2ffe602318141b0981f287d15cda3ac
2022-10-27 13:33:13 +00:00
Martin Kopec dea47bbbf4 Swith to packstack-centos-9 job
packstack-centos8s job has been superseded by packstack-centos9
one. This commit updates the parent of our packstack jobs.

The commit also uncomments and puts a few jobs back to voting
after the CI crisis has been resolved.

Change-Id: I9ba1859637c14a86496afdc8eb0bf55a6794a495
2022-08-24 10:34:06 +02:00
Goutham Pacha Ravi 7736ba2819 [CI] Fix manila tempest plugin issue in W/V
Manila's devstack plugin can be told not to install
the manila tempest plugin hostwide. Installing the
plugin host-wide isn't reqired and would cause issues
with requirements for other packages.

Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: I5820671240a21c3c795082791400463011a73b12
2022-08-23 07:14:29 -07:00
Martin Kopec 448ff51dec 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
2022-08-19 09:13:03 +02:00
Zuul a8aaad54f6 Merge "Unskip devstack-admin-plugins job" 2022-05-03 14:03:17 +00:00
lpiwowar 736304d4b6 Unskip devstack-admin-plugins job
The job was failing because of a bug described in the launchpad [1].
As this bug is resolved and the job is no longer failing we can
start using this job again.

Before enabling the devstack-admin-plugins job we need to fix two
things:

- Put test_manually_trigger_update_secondary_zone_negative designate
  plugin test to exclude_regex as it is currently broken.

- Allow git to read plugins directories. This is necessary because
  of a patch that was recently added to git [2].

[1] https://bugs.launchpad.net/neutron/+bug/1959125
[2] 8959555cee

Change-Id: I5bf3826f0011a9392a38ceceb51c113d38231ad6
2022-04-26 14:39:19 +02:00
Martin Kopec 7f14a54134 Update jobs for Zed development cycle
* adds zed zuul template
* adds python36 template as it's not part of the zed one
* adds stable/yoga jobs

Depends-On: https://review.opendev.org/c/openinfra/ansible-role-refstack-client/+/836124
Change-Id: I57ae300944e4e980b202b6132daa6bcb0075bbbc
2022-04-21 15:47:17 +02:00
Bhagyashri Shewale e03428f35e Move TripleO zuul jobs layout to centos9 only for master branch
See topic branch [1] for related reviews.

[1] https://review.opendev.org/q/topic:c8_teardown_master
Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/826317

Change-Id: I43e1d89a9054c53f1a1ca26d2467d953030b2398
2022-02-15 04:36:11 +00:00
Zuul 11057a90f7 Merge "Fix scenario010 job configuration" 2022-01-19 02:53:03 +00:00
Martin Kopec 1091a39d71 Use python-manilaclient from source
Some changes have been merged to python-manilaclient recently
which aren't packaged yet and therefore cause problems in our
gates - the jobs are failing to create a share group type.
Installing the client from source will fix our gates.

Change-Id: Ia4d856118fa204f821c3ec0fdf39d210eaad34b1
2022-01-18 11:27:59 +00:00
Gregory Thiemonge c13c953677 Fix scenario010 job configuration
This job requires the octavia amphora image in glance, which depends on
the octavia tag.

Change-Id: I82a901a2a0886785afd230f09b068b744fcf4e6c
2021-12-06 14:26:35 +01:00
Martin Kopec 67f7408b0a Uncomment jobs, part 1
Let's activate a few jobs which were commented out in order to
unblock the gates and merge necessary changes.

Change-Id: I07b923d48aab5908c48fcfdd3a3fb23207178be7
2021-11-25 07:35:11 +00:00
lpiwowar dbf3e3681b Publish docs to docs.opendev.org
The documentation of tempestconf should be published to opendev.org
instead of openstack.org because openinfra/ projects are not expected
to publish docs to openstack.org

Change-Id: Id4f76a5ac5ac1fa01beacd981fc8e9e93b567a3a
2021-11-18 13:51:45 +00:00
Martin Kopec fae0f65870 Switch testing to Yoga testing runtime
Updating the testing template to Yoga testing runtime:
https://governance.openstack.org/tc/reference/runtimes/yoga.html

The commit also adds Xena jobs.

Depends-On: https://review.opendev.org/c/openinfra/ansible-role-refstack-client/+/816634
Change-Id: I453797ec60ec15e8f62d8d9493f864068da509a7
2021-11-18 10:17:30 +00:00
Martin Kopec 7a483c4861 Reflect osf/ to openinfra/ namespace rename
Lately osf/ namespace got renamed to openinfra/ [1], this commit
reflects this change within python-tempestconf's repo.

A few jobs are temporarily put to non voting or disabled (due to
taking long time to finish or due to failures) to unblock the
gates.

[1] https://review.opendev.org/c/openstack/project-config/+/808479

Change-Id: Iecc81881f5d541e0114e880e4b5326c1c064ea09
2021-11-18 10:11:07 +00:00
Martin Kopec 11f437123a Use Xena zuul job template
The template contains also py39 job.

Change-Id: I79652105a2e65a32638eed4fa76dc7e33af4a6c8
2021-04-29 13:36:39 +00:00
Martin Kopec b90f000af9 Add wallaby job
Create a new admin/demo wallaby job testing stable/wallaby
release and run wallaby refstack job as well.

Depends-On: https://review.opendev.org/c/x/ansible-role-refstack-client/+/785822
Change-Id: I8dc4245a55ad3dfac7364bc8d149e7811226a281
2021-04-12 06:58:31 +00:00
Zuul 095c7e7fde Merge "Inclusive jargon" 2021-04-08 17:46:51 +00:00
Martin Kopec 10dc42b305 Inclusive jargon
To follow tempest's change [1] regarding the inclusive jargon,
the patch renames arguments for tempest zuul jobs.
Also a tox version is bumped so that we can use the newer
tox options.

[1] https://review.opendev.org/c/openstack/tempest/+/768583

Change-Id: Ifa0ae749904093810d95af2ec8e006e1cce20f86
2021-04-07 13:24:05 +00:00
yatinkarel 8f80e1f086 Switch to packstack centos8-stream base job
CentOS8 jobs are being removed[1] in packstack for
wallaby release in favor of CentOS8-Stream jobs[2] added
earlier. So let's switch to centos8-stream base in
tempestconf too.

[1] https://review.opendev.org/c/x/packstack/+/780546
[2] https://review.opendev.org/c/x/packstack/+/770771

Change-Id: I316f0fa0663d734d9fd6f3bbda42d9a82b234179
2021-04-07 13:15:59 +00:00
Martin Kopec 01f16c7be3 Skip test_create_update_server_with_subnet
Let's skip test_create_update_server_with_subnet from
heat_tempest_plugin because it is constantly failing on a timeout
issue:
'failed to reach UPDATE_COMPLETE status within the required time
(1200 s)'
The test is working locally so the failure is not caused by any
tempestconf's recent change or by a tempest.conf issue in general.
In order to unblock tempestconf's CI, the patch excludes the test
in python-tempestconf-tempest-devstack-admin-plugins job.

Change-Id: If9f9b3be758897f25d16326aa6d0f7c53e110122
2021-03-24 10:37:30 +00:00
Takashi Kajinami 61e47a2b13 Enable barbican service
Enable barbican service within devstack jobs to test discovery for
Barbican service.

Story: 2005757
Task: 33460
Change-Id: I2023df6ce212bd9c455fa04a43419c6760e22267
2021-02-16 07:41:14 +00:00
Martin Kopec a7570a439d Fix a typo in a role var
The commit fixes a typo in the role var
aditional_tempestconf_params -> additional_tempestconf_params

Change-Id: I68fb7309ab2befd76d762a8772a3a2960214b4e6
2021-02-12 07:59:44 +00:00
Martin Kopec db6f021a73 Don't run refstack jobs on irrelevant files change
When unit tests or documentation is updated, refstack jobs
don't need to be executed.

Change-Id: I3646e2e5efbdd82ff645e5b522e5154f641c3d9f
2021-01-27 20:09:20 +00:00
Martin Kopec a526942f19 Replace refstack-client job
Let's replace refstack-clients job by the
ansible-role-refstack-client one which covers more
OpenStack releases.

Change-Id: Ida49814b76ea76985ff9a4fed6fc9540f96a6306
2020-12-13 19:57:11 +00:00
Martin Kopec fb040d110f Replace stein jobs by ussuri and victoria ones
OpenStack projects are maintained only 3 releases back which currently
makes Stein jobs obsolete. Although let's keep Train jobs for now as
we still plan to update the version of python-tempestconf in RDO for
Train.

Change-Id: Ibab0e94bef8e2a665b74fcbe07f64fd69dc2e548
2020-12-08 10:00:38 +00:00
Martin Kopec fd593bd8b2 Add irrelevant-files to the provider job
tripleo-ci-centos-8-content-provider needs to have the
same irrelevant-files definition as the jobs which depend
on it otherwise it may lead to the following zuul error:
'Unable to freeze job graph: Job X depends on Y which
was not run.', see https://review.opendev.org/#/c/762736/5

Change-Id: Ib80b9b46ab20ab99e1c6e765977a5ab8c3f0396c
2020-11-14 18:43:33 +00:00
Amol Kahat a14491c0db
Migrate to content provider jobs/templates
This change migrate c8 jobs/templates to content provider
jos so consumer jobs can use resources built by provider
jobs.

Change-Id: If39cdafa84c73e765e7b54c53f8105001378f74c
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-10-22 21:42:59 +05:30
Martin Kopec c3ea997627 Run unit tests by py38 as well
Let's use openstack-python3-wallaby-jobs template.
Also update setup.cfg to be compatible with supported pythons.
flake8==2.6.2 and pyflakes==2.0.0 seems not to be compatible
with python3.8 on Ubuntu so the patch addresses this as well.

Change-Id: Ic09b2d836315d9a223bb8592d0e48ef475c56aa5
2020-09-25 08:11:29 +00:00
Martin Kopec 995686e0d0 Fix aliases in .zuul.yaml
aliases weren't read properly and the irrelevant files were
ignoreded completely.

Change-Id: I454c9b2d1f8c19541a7bc1096baebb20242b3141
2020-08-06 04:53:14 +00:00
Martin Kopec d9d45dba2d Anchor irrelevant files in .zuul.yaml
Let's avoid triggering big jobs on unit tests, reelasenotes or doc
changes by reusing irrelevant files list.

Change-Id: I929c7527127ddb7275a593d49d29a4a6e3ed4998
2020-08-05 15:42:14 +00:00
Amol Kahat 7ee63b1517
Improve octavia tempest plugin configuration
To run octavia tempest plugin some configuration need to
set in tempestconf file. If octavia service is enabled
then configuration region, enable_provider_drivers will
set automatically.

Added tripleo-ci-centos-8-scenario010-standalone job in
check and gate list.

Added tests for list_drivers and post_configuration.

Change-Id: Ic719f83f4fb9a330fc64ef46144e0b0b39c3a7d5
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-07-15 14:57:25 +05:30
Ghanshyam Mann b5a543fcfe Update jobs for interop repos renaming
Interop repos are going under rename from
openstack namespace to osf namespace (Depends-On),
which need update the zuul job to start using the
new location.

Uupdate .gitreview as well.

Depends-On: https://review.opendev.org/#/c/734669/
Change-Id: Ib009644f053e973da2195bb8865041ee1f41f0d5
2020-06-13 07:22:25 +02:00
Martin Kopec 5dd93a845c Make packstack jobs non voting
Considering that we are the only users of packstack job (based
on the http://codesearch.openstack.org/ search) which has been
failing for more than a week at the moment, this patch makes
the packstack jobs non voting.
The future of packstack jobs as gate ones within this project
will be discussed.

Change-Id: Idb059598f22fe51033cbd9ca18e596f7cc004fc0
2020-05-25 18:53:37 +00:00
Martin Kopec 6f8d69f403 Fix install-plugins role
install-plugins role didn't take into account upper
constraints when installing plugins, this review
fixes that.

Change-Id: I82d81aad7952ce9d03c42187e4ae957043f59397
2020-05-14 19:59:21 +02:00
Martin Kopec c8a084937e Add pep8 job
By removing openstack-python-jobs zuul template when we dropped
support for python2 we accidentally removed pep8 job as well as
it was part of that template.
This review adds the pep8 job explicitely.

Change-Id: I9c1c5cf1667d95de91533c2a266263a66ece365e
2020-04-23 15:54:15 +00:00
Andreas Jaeger 3042a3cac8 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore

Drop rocky and queens jobs, those jobs are py27 and are not
supported here anymore.

Change-Id: I2e797d325c9427264ef3dbba7aca15936eb65cd1
2020-04-07 04:51:31 +00:00