Commit Graph

24 Commits (master)

Author SHA1 Message Date
Ade Lee 933a7b7e6c Add fips check jobs
This patch adds two new FIPS enabled jobs to determine if there are any
issues when FIPS is enabled.

Because the FIPS jobs currently run on centos, code is added to the
test setup script to set up the databases correctly.  Also had
to increase the swap space on the nodes; see [0] for an explanation.



Change-Id: Ib85b6ecc6f1b12eb8afa866e56afbfb13aad0cba
2 months ago
Luigi Toscano 7e04b5b0d4 Handle the case when tempest fails
Before this change, the errors from tempest run are suppressed
in order to always execute cinderlib tests.

Use the variable exported by run-tempest instead,
and fail properly if needed.

This is a port of Ic1fd6fcc9b9183f195c66f0022e913ae9734c97b
from cinder-tempest-plugin.git to this repository.

Change-Id: I216a82a29c7fb6b1b2fac95b2a1af667c4e2b22d
1 year ago
Luigi Toscano 1c0c25babb Native multibackend-matrix Zuul v3 job
Port the legacy legacy-tempest-dsvm-multibackend-matrix job to the
native Zuul v3 syntax, and rename it following the guidelines

This job tests the migration between two different backends
specified through the volume.backend_names configuration
key in tempest.conf.

Now the job leverages the existing zuul code, namely the
run-tempest role, which is called multiple times with all
the possible combinations of the 3 tested backends
(lvm, ceph, nfs) where the source and the destination differ.

The final JUnitXML output summarizes the test results
for each of the tested combinations.

Change-Id: I34e7e48ee63c4c269f82ae178a7118ed402cad6d
2 years ago
Luigi Toscano 9487f0f408 zuul: collect cinderlib logs from tempest node(s) only
The functional tests are executed from the tempest node(s), which means
that the collection must happen from the same place, not all nodes;
otherwise the playbook code fails on pure compute nodes.

Change-Id: Ibe1796e1380add34b6d8f19606bb55fda13c3c08
3 years ago
Luigi Toscano f9019679b3 Disable siblings for the cindelib functional tests
Follow the same pattern of the other jobs which deploy devstack
but runs also functional tests (see devtack-tox-functional
and devstack-tox-functional-consumer).

Without this, the older branches where cinderlib functional tests
use Python 2 (stein, and soon train when that is branched) fails
because they try to install packages part of which are Python 3

The same change was applied to the branchless jobs defined
inside cinder-tempest-plugins:

Change-Id: I2e8af74bae63c487e786da6e99aa4827029a05a2
3 years ago
Luigi Toscano 6c1e52cefc Native Zuul v3 cinder-grenade jobs
Specialize the grenade-multinode job and test the variations
on upgrade where a few services are available on the subnode only
(c-bak only, c-bak+c-vol, c-bak+c-sch+c-vol).

Also, use grenade instead of grenade-py3. The former is now used
(after Iea355514ec7cc2a52ed5e88c356bcb1cdeadd639) in
integrated-gate-storage instead of the latter, which means
that we need to change it in order to apply the value of

Change-Id: I3eac1afcbb69e25e9b2a916910caf3291aa7c1fe
3 years ago
Luigi Toscano 9ab1ff0059 Port several legacy tempest jobs to Zuul v3
- cinder-tempest-lvm-multibackend is the simple LVM multibackend job
  and replaces legacy-tempest-dsvm-lvm-multibackend.
- remove legacy-tempest-dsvm-zeromq-multibackend, as ZeroMQ
  support was deprecated in Rocky and removed in Stein.
  It could be replaced by inheriting from
  cinder-tempest-lvm-multibackend in older branches
  when this patch is backported;
- replace cinder-tempest-dsvm-lvm-lio-barbican with
  cinder-tempest-dsvm-lvm-lio-barbican provided by
- replace legacy-tempest-dsvm-full-devstack-plugin-nfs with
  devstack-plugin-nfs-tempest-full, now provided by
- update cinder-plugin-ceph-tempest to also run cinderlib tests
  and make it inherit from devstack-plugin-ceph-tempest-py3.

Change-Id: Icdafaf55494b6dd74ec31c3572d7344fcc028166
3 years ago
Ghanshyam Mann 3ab8ec971c Move cinder grenade job to py3 and in cinder repo
below grenade jobs for cinder are present in opensatck-zuul-jobs
repo. These needs to run on py3 from Ussuri onwards and py2 for

py2 version has been kept in opensatck-zuul-jobs and for ussuri
onwwards these has been migrated to cinder repo with py3 version.

- legacy-grenade-dsvm-cinder-mn-sub-bak
- legacy-grenade-dsvm-cinder-mn-sub-volbak
- legacy-grenade-dsvm-cinder-mn-sub-volschbak

Change-Id: I67d2504dd80214e615a45f605b0023ca6919fb73
4 years ago
Brian Rosmaita c93000b2cd Remove Python 2 support from testing and gate jobs
- bumped tox minversion to 3.1.0 to get 'ignore_basepython_conflict'
- tox 'ignore_basepython_conflict' allows us to factor basepython=
  python3 to the [testenv] but override it when using '-e py37'
  (that way you actually get python 3.7 instead of whatever the system
  has for python3)
- adjusted tempest-dsvm-lvm-lio-barbican to use python 3 for devstack
- removed openstack-python-jobs template as these tests are covered
  in py3 by openstack-python3-ussuri-jobs
- dropped integrated-gate template as these tests are covered by the
  integrated-gate-storage template, which is already python3
- dropped tempest-full jobs as these are covered in py3 by tempest-
- changed openstack-tox-functional to openstack-tox-functional-py37
  and made it voting

The legacy-grenade-dsvm-cinder-mn-sub-* jobs are converted to py3
in a different patch,

Left py2 requirements and did not adjust setup.cfg to require py3.
This prevents breakage for any projects still installing cinder under
py2.  These can be changed by a follow up patch in January.

Co-authored-by: Sean McGinnis <>
Co-authored-by: Brian Rosmaita <>

Closes-bug: #1853372

Change-Id: I376bd708ecc864f29c35b7225f875bb20a98cd3c
4 years ago
Sandeep Yadav f2b0de24c6 Correcting typo in environment spelling
There is a typographical error in tempest-and-cinderlib-run.yaml.
Correcting spelling from enviroment to environment.

Change-Id: Iaebfd31bc2c4fd304a11c49da23f5f5efc513757
4 years ago
Gorka Eguileor d17760e066 Run cinderlib functional tests on Ceph job
This patch replaces job devstack-plugin-ceph-tempest with
cinder-plugin-ceph-tempest that inherits from it.

This job runs the same devstack-tempest.yaml playbook but also runs the
cinderlib-run.yaml playbook for the cinderlib functional tests.

Since the openstack/cinderlib project is a required project for this job
we'll be able to run cross-repo dependencies with cinderlib.

Change-Id: Ia532b3fcfbecee7c6dc7aa302e6d90a8067b7ff0
4 years ago
Zuul 88a2dbd084 Merge "Run cinderlib functional tests on LVM-LIO job" 4 years ago
OpenDev Sysadmins 3669d52048 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at with any
questions you may have.
4 years ago
Ian Wienand c40765acdc Replace git:// URLs with https://
This is a mechanically generated change to replace
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (,
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

Change-Id: I394887884fb90778a6704bd6cf29783885cb5972
4 years ago
Gorka Eguileor 0bdb3cdd27 Run cinderlib functional tests on LVM-LIO job
This patch adds the openstack/cinderlib project as a required project
for cinder-tempest-dsv-lvm-lio-barbican job and then runs its functional
tests as part of the CI job.

With this we'll be able to run cross-repo dependencies with cinderlib
for the cinder-tempest-dsv-lvm-lio-barbican job.

Change-Id: I25c19cf1f7da6881807e729a326cd94d07b4c42d
4 years ago
Zuul d2de5bdbd5 Merge "Trim test list for lio-barbican job" 4 years ago
Eric Harney 8af8119ce1 Disable etcd3 for lio-barbican job
Test with local file locks instead of etcd.

Change-Id: I189e2be2ea3bb9eb0858d152d64f99bbef7295b2
4 years ago
Eric Harney 4334e44bb7 Trim test list for lio-barbican job
We're running a fair number of scenario tests
that we don't need to be here.  Just grab the
ones that are interesting for Cinder.

Change-Id: If17a249bc99d3e16bd57cdf7ce73e1ce3a739455
4 years ago
Eric Harney 737c50b4ea Disable failing backup tests in LIO/Barbican job
Change-Id: Ie4a5178b0705f2286805eba2a352a3f6b287762d
5 years ago
Eric Harney d1733a6e20 Disable test_volume_backup_restore for lio-barbican job
Tempest recently added this test and it is
failing here.

Change-Id: Idfe243347ec7fb529c253955b27d499718ef086e
5 years ago
Eric Harney 7ec55338da Enable slow tests for lvm-barbican job
We would likely benefit by running
tempest.scenario.test_encrypted_cinder_volumes tests

Change-Id: I5082926cc5ede463d67e3ab995e17983b5db3855
5 years ago
Eric Harney 39bc4d5a6a Rename lio job to lio-barbican
Indicate that this job is testing Cinder with

Change-Id: Ide9b5abfb681f921cd2fc6c412df6b21819af759
5 years ago
Eric Harney e298e43674 Test os-brick master in LIO gate job
Pull os-brick from git instead of pip
when testing on master.  For stable branches,
still pull os-brick from pip.

Change-Id: Ib9ebfa67020d99d83ebb33552677e9e2e334f9a7
6 years ago
Eric Harney 5601d336ca Add .zuul.yaml with LIO job
This replaces the legacy-tempest-dsvm-full-lio job.

Skip tests that are currently failing.

Change-Id: Ief6ff0771488417fc80a3ffe7505a0d478ec5eb6
6 years ago