Commit Graph

73 Commits

Author SHA1 Message Date
Brian Rosmaita bda383efae Update stable branch jobs
Remove yoga (which is now Unmaintained) and add 2023.2 (Bobcat, which
is the most recent Maintained branch).

Change-Id: I1966f79a724ea27c729e5a31162a090d65a1aa02
2024-02-08 16:39:41 -05:00
Douglas Mendizábal c00cb0ad7d Enable scope testing for SRBAC
This patch updates the protection (Secure RBAC) job to enable scope
checking.  It also turns on scope checking in Keystone to ensure that
integration is working correctly.

This is the firs step in implementing Phase1 for Cinder [1]

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

Change-Id: Id059ab97f099c88aa2a52a29a7de9c8e8676ee85
2024-01-23 12:38:01 -05:00
Zuul befec23ec1 Merge "No cinderlib testing in 2024.1 and later jobs" 2024-01-16 22:22:19 +00:00
Zuul 50bc3fb9e9 Merge "Update stable jobs on master gate" 2024-01-10 10:58:50 +00:00
Brian Rosmaita 4ee0bbaa55 No cinderlib testing in 2024.1 and later jobs
The cinderlib project is deprecated in the 2024.1 cycle and is
no longer undergoing development.  So remove cinderlib testing
from 2024.1 and later jobs.

Depends-on: Ib186ac5830e5920e264d79be946995e63e960426
Change-Id: If2b9a82cddb20543b176ee22765049db257c89b9
2024-01-09 18:02:47 -05:00
Zuul 9067a9a1eb Merge "Increase swap size for lvm-barbican jobs" 2024-01-09 18:35:12 +00:00
Brian Rosmaita 0de194cf6e Increase swap size for lvm-barbican jobs
Increase the swap size used by the cinder-tempest-plugin-lvm-barbican
family of jobs by setting it to 8GB in the
cinder-tempest-plugin-lvm-barbican-base-abstract job definition.

Also increase for ctp-lvm-multiattach job, which has been hitting
OOM errors.

See https://review.opendev.org/q/topic:caracal-gate for how we
arrived at 8GB as a suitable value for these jobs.

Change-Id: Id560bc3d078ce2ccbd87b32c317bf61cc519a92a
2024-01-05 15:36:27 +00:00
Ghanshyam Mann ed387a0540 Update stable jobs on master gate
As 2023.1 is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Also, removing the stable/xena job as that is in EM
state.
- https://review.opendev.org/c/openstack/releases/+/881254

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I39b5296ee68544a43182dcb346a040856d062aca
2023-12-14 23:33:00 +00:00
Brian Rosmaita dad66cfd21 zuul: use only RE2 syntax
Zuul has deprecated Perl-style regex expressions in favor of RE2,
and our zuul config file is generating warnings [0], so let's
fix this now before it becomes an issue.

[0] https://zuul.opendev.org/t/openstack/config-errors?project=openstack%2Fcinder-tempest-plugin

Depends-on: https://review.opendev.org/c/openstack/cinderlib/+/896658

Change-Id: I90c9cde9e825b49b94202708e7bffc3556288a6d
2023-09-27 09:59:56 -04:00
Katarina Strenkova dfe2c229ed Replace deprecated terms
Following up on	the usage of inclusive jargon and to ensure
consistency in code, there is a need to replace deprecated term
tempest_test_blacklist with a new term tempest_test_exclude_list.

Change-Id: I35f764f39e2e07c15822feaf966fb3dfd285d9e0
2023-08-03 09:44:41 +02:00
Zuul 8bf7f0bf0d Merge "zuul: new LVM/nvmet job (relevant scenario)" 2023-06-13 19:00:23 +00:00
Alexander Deiter 9fd78d520d Fixed cinder-tempest-plugin-lvm-lio-barbican job
Use v1.8.0 for cinder-tempest-plugin

Closes-bug: #2023341
Change-Id: I2ee66e959e590f0405fe98e74225f4ff4cf12751
Signed-off-by: Alexander Deiter <adeiter@infinidat.com>
2023-06-12 10:04:13 +00:00
Eric Harney edd611188d zuul: Exclude unneeded tests from multiattach job
Trim off some expensive tests that are run in other LVM
jobs already, and don't add value here.

Change-Id: I222033ecf33f08b1d92e527b0fcf95e038b45685
2023-05-29 16:32:26 +02:00
Eric Harney d0e5b91649 zuul: Extend timeout for lvm-multiattach and cbak-ceph jobs
These jobs are frequently timing out with the default 2h
limit, extend them to 3 hours.
51c56f2 is one potential reason that these jobs are
taking longer to run now.

https://zuul.opendev.org/t/openstack/builds?job_name=cinder-tempest-plugin-lvm-multiattach&project=openstack/cinder-tempest-plugin
https://zuul.opendev.org/t/openstack/builds?job_name=cinder-tempest-plugin-cbak-ceph&project=openstack/cinder-tempest-plugin

Change-Id: Id0529a4f0a314996f8c0e8506596aefe0eb8648f
2023-05-26 09:52:26 -04:00
Zuul b2609e62d4 Merge "Increase cinder volume quota for cbak job" 2023-05-18 16:51:40 +00:00
Gorka Eguileor 87d48028b1 zuul: new LVM/nvmet job (relevant scenario)
This is a patch that adds a new LVM/nvmet job which also
exercises a few relevant code paths in os-brick
which are likely to be used in a production environment:

- Uses the new NVMe-oF connection information.

- Uses NVMe-oF native multipathing, even if it's by using the local IP
  address, which is not real multipathing.

- Shares the namespace for all connections on the same node.

Change-Id: I35beb893ad135043deb5a4ea283e0d668692a438
2023-03-31 10:09:55 +02:00
Zuul 9f1f4b88e1 Merge "Add FIPS job for barbican case" 2023-03-30 14:31:18 +00:00
Ade Lee 723c3b9839 Add FIPS job for barbican case
Add cinder-tempest-plugin-lvm-lio-barbican-fips

Change-Id: Ib79ad929582b2fac61a37807a837dab55e720fba
2023-03-17 09:36:03 -04:00
Luigi Toscano 2cbd042871 zuul: make the SRBAC job voting
There are a few tests which pass, and more are coming.

Change-Id: I6a2584d983cbb0c9d41b188822aa4a26fd9d72eb
2023-03-13 14:50:26 +01:00
Eric Harney 310228cb7f Increase cinder volume quota for cbak job
With new tests such as I281f881 being added,
cinder-tempest-plugin-cbak-ceph is failing due to
the quota limit of 10 volumes.

Increase this to 25.

Change-Id: I5c7818da89323c9de4381326882707828a7a1db2
2023-03-09 14:11:34 -05:00
Zuul f80d3af2a4 Merge "Add stable/zed jobs on master gate" 2023-02-23 22:56:49 +00:00
Ghanshyam Mann 35f531d80c Add stable/zed jobs on master gate
As zed is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Also, remove stable/wallaby jobs given that wallaby went
to Extended Maintenance on 2022-11-07T10:52:23+00:00

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I1708ab9829b147e6ca1a2d549ea130bf08b3cc38
2023-02-23 13:55:52 +00:00
Brian Rosmaita e5ae1ed54a Get ready for tox 4
This patch makes tox 4 the default so that we can hopefully catch
problems locally before they block the gate.

tox changes:
- removed skipsdist=True, which in tox 4 appears to break the
  pep8 testenv (which runs check-uuid)
- made 4.0.0 the tox minversion

zuul changes:
- make the tgt job non-voting (it's failing on jammy, and we may
  be removing tgt support anyway)

Change-Id: Ic5ebb60b96d795ac0f14882772d26e6d4adca37b
2023-02-15 10:12:14 -05:00
Brian Rosmaita 6b7ddd3f58 Don't test EOL cinderlib branches
cinderlib stable/ussuri went EOL with change I75092342fe68.
cinderlib stable/train went EOL with change I25d78267ab4a.
Revise the cinder-tempest-plugin-lvm-barbican-base job for
these branches so that they don't run the cinderlib functional
tests.

Change-Id: I2c66fcb64ffe1ac4a03778e7a11c67fbd20166ba
2022-11-02 18:15:54 -04:00
Alan Bishop 8f39caf91a Unblock cinder-tempest-plugin-lvm-multiattach job
Unblock the cinder-tempest-plugin-lvm-multiattach job by temporarily
excluding the TestMultiAttachVolumeSwap tests.

Related-Bug: #1980816
Change-Id: Ib1aefbdc7560ce054bdd97c2b5ae7d02acbd080c
2022-08-17 18:03:13 +00:00
Zuul 5960fa4ed7 Merge "Add multiattach tests" 2022-06-29 16:41:29 +00:00
Ghanshyam Mann 965cd72604 Remove stable/victoria job and fixing job description
As we have pinned Tempest and cinder-temest-plugin in EM
stable/victoria, we do not need to test those in master
gate, so removing the stable/victoria job from master gate.

Also, fixing the comment about job description update from
- https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/843319/1/.zuul.yaml#119

Change-Id: I721a494aa52129c58683f36853bc2fd064df48eb
2022-06-01 15:09:41 +00:00
Ghanshyam Mann 9d89d4ee1f Cap cinder-tempest-plugin version for stable/ussuri|victoria
We are capping stable/ussuri and victoria testing with Tempest
26.1.0 (choosing 26.1.0 because of bug#1955418)

- https://review.opendev.org/c/openstack/devstack/+/838051
- https://review.opendev.org/c/openstack/devstack/+/843295

and cinder-tempest-plugin-lvm-lio-barbican job fail due to that
in cinder stable/ussuri|victoria

- https://zuul.opendev.org/t/openstack/build/c2f6e73017994723b5de166ad02730e4

To fix that we need to use compatible cinder-tempest-plugin version for
Tempest 26.1.0, which is cinder-tempest-plugin 1.3.0.

Change-Id: I860671d74f2cd5a6a16dfa9d072b2ab77744940d
2022-05-25 12:21:18 -05:00
Brian Rosmaita 0587ca64d0 Set volume/build_timeout for zuul jobs
The default in tempest is 196, and we're seeing backup test failures
where the backup completes shortly after that.  So increase it to
300 in the  cinder-tempest-plugin-lvm-barbican-base-abstract job,
which should propagate it out to most of the other jobs.

Change-Id: I87c0669e91ba49a66a48b0722fcf140091f6b19f
2022-05-14 12:32:17 -04:00
Brian Rosmaita 6e4b53a765 Increase swap size to 4GB
The ceph jobs are failing apparently due to mysqld being reaped by
the oom reaper, which of course cascades into service failures due
to db errors.  Increasing the swap size allows the jobs to run to
completion.

Default is 1G.  See other patches on topic: increase-swap to see
how 4G was determined.

Change-Id: Ibf2a7fd2a305d04303b1288a6f1faebfc9ffd6de
2022-05-14 12:15:50 -04:00
Zuul 07ff66c6b3 Merge "Update 'Maintained' stable branch jobs on master gate" 2022-05-06 15:14:38 +00:00
Luigi Toscano 8515b58892 Replace the CentOS Stream 8 lvm job with a CS9 one
Keep the CentOS Stream 8 definition for now, it may be used
on older branches.

Change-Id: I134575ae9a2e266eb67732756c24aeb3dabb64b1
2022-04-27 16:11:13 +02:00
Ghanshyam Mann aaf4e5141e Update 'Maintained' stable branch jobs on master gate
We have stable/yoga released and stable/ussuri is in
'Extended Maintenance' state. Current 'Maintained'
stable branches are yoga, xena, wallaby, and victoria.

As per tempest stable branch testing policy[1], adding the
newly released stable/yoga job and remove the EM stable/ussuri
job.

[1] https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I925264fd0cff732181ec44c76310225b93490284
2022-04-14 19:14:00 -05:00
whoami-rajat 6dc9a2facc Add multiattach tests
This patch adds multiattach tests and also a gate job to run those tests.

Change-Id: Iaf4fc9ab84e5c45bd6f85d7186e2775bae107721
2022-03-30 11:34:21 +05:30
Ghanshyam Mann fc98b2866e Cap cinder-tempest-plugin version for stable/train
We are capping stable/train testing with Tempest
26.1.0 (choosing 26.1.0 because of bug#1955418)
- https://review.opendev.org/c/openstack/tempest/+/822339

To have compatible cinder-tempest-plugin version for
Tempest 26.1.0 and stable/train testing, we need to cap
it with 1.3.0.

Change-Id: Ie78224ee67e9731f0c61e02c6a64bfa9e43fbef0
2022-01-20 21:10:59 -06:00
Ghanshyam Mann ffd05a76c6 Add stable/xena jobs on master gate
We have stable/xena released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

This also removes the stable/train job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Idd1c0ae5211764abb1d3b30735c1986b63005789
2022-01-18 18:48:33 -06:00
Luigi Toscano eba85546f1 zuul: pin cinder-tempest-plugin/stein-last on stein
Right now master is used, but it is not compatible with stein.
Tempest is already pinned to an older version, but there is no way
at the moment to globally pin tempest plugins to the last known
working version for a branch (but it will be added soon).

Change-Id: Iec75740e31e1be581ee0e7ef64214358ef6b790d
2021-06-28 17:31:59 +02:00
Radosław Piliszek 51b819b912 [CI] Move to CentOS Stream
CentOS Stream 8 (aka CentOS 8 Stream) is the currently
supported runtime platform. [0]

DevStack works with CentOS Stream only now. [1]
This patch prepares the ground to drop the devstack-*-centos-8
nodeset.

[0] https://governance.openstack.org/tc/reference/runtimes/xena.html
[1] https://review.opendev.org/c/openstack/devstack/+/759122

Change-Id: I53231cb6b00a57927b3d19115f64117f7cd755ed
2021-06-07 17:25:51 +00:00
Zuul d5dad1a718 Merge "Fix stein: use the old terminology for exclusion list" 2021-05-21 15:55:06 +00:00
Zuul b2be234d11 Merge "Add a job for S3 backup driver" 2021-05-20 21:28:45 +00:00
Zuul b937e4a61b Merge "Implement basic protection testing jobs" 2021-05-20 17:32:23 +00:00
Hironori Shiina 207d6677a0 Add a job for S3 backup driver
This job tests S3 backup driver with Swift S3 API.

Change-Id: I222c6ee4de01bdaba9ef5e5b5a92889486d6401b
2021-05-20 14:14:07 +02:00
Ghanshyam Mann 75bf2c2af8 Add stable/wallaby jobs on master gate
We have stable/wallaby released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I493f44fdc7b5d4093e19ca19153644c20517941f
2021-04-29 23:56:55 +00:00
Lance Bragstad d3fddec498 Implement basic protection testing jobs
This commit lays down a basic structure for protection tests. These are
useful for testing various secure RBAC personas, but leveraging all the
dynamic credential work in tempest's authentication libraries to
provision clients for testing. We're also adding a non-voting protection
test job so that we can integrate protection testing into the cinder
gate as we work through policy changes.

This commit also adds some basic tests exercising the capabilities
admin-only API. These tests ensure that only operators (e.g.,
system-administrators) or formally known as project-administrators, can
access the capabilities API. Assertions and functionality in these tests
may expand in the future to accomodate system-scope when cinder can
properly consume system-scoped tokens from keystone.

For now, the tests assume project-administrators are deployment
operators, which is the legacy way of denoting "admin-ness" in OpenStack
deployments.

Depends-On: https://review.opendev.org/c/openstack/tempest/+/778753

Change-Id: I6d4ae6d516f4c2dda4dcb6b974857b34f2ef2254
2021-04-23 18:11:54 +02:00
Luigi Toscano 7e297886f0 Fix stein: use the old terminology for exclusion list
This fixes the jobs in stein (and potentially other older branches,
if they are not dropped before porting them to native Zuul v3).

Change-Id: Ie35075fe633376209a72c3fcc507357a7318187c
2021-04-20 17:04:12 +02:00
Zuul 1a0b126246 Merge "Refactor the lvm barbican job(s): cinderlib-less variant" 2021-04-16 20:13:09 +00:00
Luigi Toscano 3d907472f1 Ceph jobs: re-enable a few c-bak tests, add more jobs
Those tests were disabled when ceph was upgraded
to a newer release (I51c90e592070b99422e692d5e9e97083d93146e8)
because they were failing.
But it seems they are working now, and it is not not trivial
at this point to understand whether something was fixed
in ceph or in cinder, so let's re-enable them.

Also, add a few additional (initially experimental) jobs
to double-check the ceph/c-bak scenario against
the stable branches.

This reverts commit 9d626d0de5
and adds more functionalities.

Change-Id: I033e0dc04f342e27d6266ad412d3cb256787c0e6
2021-04-07 10:06:47 +02:00
Zuul 7dece094f2 Merge "Switch to new rolevar for run-tempest role" 2021-04-07 00:24:51 +00:00
Zuul cc7e74b163 Merge "zuul: Add nova-ceph-multistore as a non-voting job" 2021-03-20 13:34:17 +00:00
Lee Yarwood 1ee1efc962 Set CINDER_ISCSI_HELPER explicitly for tgtadm job
Required to allow the default of CINDER_ISCSI_HELPER to change for
Ubuntu based hosts to lioadm without breaking these tgtadm jobs.

Change-Id: Ie9ca822f53abf90052ddfae52852b8b78c910ece
2021-03-10 09:34:49 +00:00