glance registry was deprecated in Queens and removed by change I75014bd50b in Victoria.
Closes-Bug: 1939322
Change-Id: I6f7278c9d60f17dbd75e9a07fc489e9ec5d487b2
This patch adds tests for creating multiple volumes from resources
like snapshot, source volume, backup etc.
It also moves creating multiple volumes from image test to the same
file as other resource tests.
Change-Id: Iddc4c40854a5a301ccfbdcf93e03886cc4ee9709
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
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
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
The path 'tempest.api.volume.api_microversion_fixture.APIMicroversionFixture'
is deprecated and produces a deprecation warning[1] when running tests.
The deprecated path will be removed in Zed and we should use the
path 'tempest.lib.common.api_microversion_fixture.APIMicroversionFixture'
instead.
[1] 2022-04-22 14:00:28,241 843455 WARNING
[tempest.api.volume.api_microversion_fixture]
APIMicroversionFixture class is deprecated and moved to
tempest.lib.common.api_microversion_fixture.APIMicroversionFixture.
It will be removed in Z cycle.
Change-Id: Ie7f16f9671e3c2392a9f2ae1071d84915b48a85e
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
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.
Change-Id: Id801919bbe0f3fcc23006911512bdf6fafa3d395
In python 3, all strings are considered as unicode string.
This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.
Change-Id: Ied40f6e4fefc66f847fed7e934d53ccb64be8dd4
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
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
This patch removes the copy of tempest scenario manager
and directly imports the manager from tempest which has been
marked stable in tempest 27.0.0 release.
Change-Id: I403d5bc2eef464e6071e466aeab8e040b9055568
Current test class does not clean volume / backup resources.
Change the create for volume and backups from base and not from client.
The base create contains waiters and run cleanup resources.
Change-Id: I8a6a7945870d30f180bd41940b8ee8b82e2f87b7
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
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I97d1a72fa4b6d61c82317cc91405d5e68a719119
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
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
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
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
Removed duplicated 'VIRT_DRIVER=libvirt' entry, removed deprecated service 'n-net' and added 'c-bak' service
Closes-Bug: #1824918
Change-Id: I6214b0e6f94abbfae795d8bd5ecb8adcdaa79c08
Signed-off-by: Rafael Fayan <rfayan@daitan.com>