* Update cinder-tempest-plugin from branch 'master'
to a259e8d43eb2ee78fe3ad6d0424ecd42bfd18cbd
- Merge "Add volume dependency test coverage"
- Add volume dependency test coverage
These tests are handy for testing the current RBD
deletion work.
Change-Id: I281f881ad565e565839522ddf02057f7545c7146
* Update cinder-tempest-plugin from branch 'master'
to cb3937363f28e40290669d23c73bfcb165996ca5
- Merge "Cleanup: unneeded client definition, API override"
- Cleanup: unneeded client definition, API override
- do not redefine a few variables for volume(admin and not) and backup clients
when already defined in the base classes;
- define cls.admin_volume_client (same name as in tempest) rather then
admin_volumes_client in the base class for admin volume tests;
- remove any usage and override of _api_version, which is not really used
in the plugin, and it was also removed in tempest (see
I6e05fbe21b29efa128fb59d16bf521d551b00304 )
Even if unused, _api_version still pointed to the deprecated version 2
for consistency group tests.
Change-Id: I3164662932a302b87ae2f346c0005bf7d0ab2927
* Update cinder-tempest-plugin from branch 'master'
to ec1b30b6e2e7a3fb10060d3a15311e15262f6496
- Merge "Deleting volumes which are consumed as a basis for others"
- Deleting volumes which are consumed as a basis for others
This patch includes two test scenarios:
- Create a cloned volume from another volume. Cinder should
be able to delete the source volume.
- Create a volume from a snapshot. Cinder should be able to
delete the source volumes while the new volume still exists.
Related-Bug: #1969643
Depends-On: https://review.opendev.org/c/openstack/cinder/+/848013
Change-Id: I8daed0824f5ac60877e839265c09217dcce6dd21
* Update cinder-tempest-plugin from branch 'master'
to da2f21c732100047dce0dc6c39d28be224baf996
- Merge "Moving API microversion fixture in resource_setup"
- Moving API microversion fixture in resource_setup
API microversion fixture is used to set the API
microversion on service client and reset it back
after test execution. That is done in setUp()
method and due to that API microversion is not
set on service client during resource_setup()
method and any API call will be requested on base
version.
To sync the complete test execution of test class
with requested API microversion, this commit moves
the API microversion setting in resource_setup()
method.
Related-Bug: #1881863
Change-Id: Id26c73e4f0554770cd13d2b8840fe430448cc87f
* Update cinder-tempest-plugin from branch 'master'
to bda383efae91d40639aa17bf91f07a0fbdc30b85
- 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
* Update cinder-tempest-plugin from branch 'master'
to c00cb0ad7d91e0fc06ffe0f7dbae88c73574faea
- 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
* Update cinder-tempest-plugin from branch 'master'
to befec23ec1611cee073841b09087a205bd39bd0c
- Merge "No cinderlib testing in 2024.1 and later jobs"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 50bc3fb9e9ad650537c7d791b80c9c80c31600ae
- Merge "Update stable jobs on master gate"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 9067a9a1eb70be05549d683da922c985ef757536
- Merge "Increase swap size for lvm-barbican jobs"
- 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
* Update cinder-tempest-plugin from branch 'master'
to dfe2c229ed110b87a195457908c1538ff1c342b4
- 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
* Update cinder-tempest-plugin from branch 'master'
to 52a75f4e3a6dd88d5cfc8f807026197a5db94d5c
- Merge "Test srbac on backups"
- Test srbac on backups
Testing reader, member and admin roles.
This file contains test 2 classes for API version 3.3 and 3.9
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
Change-Id: I9e6ea838fa7a93fcfc3d4ef7f807224aadee187b
* Update cinder-tempest-plugin from branch 'master'
to 8bf7f0bf0d9f468d1951e107724074a9d048c997
- Merge "zuul: new LVM/nvmet job (relevant scenario)"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 9fd78d520dffc074b2f5e5327d1c6ecd1b9c17a8
- 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>
* Update cinder-tempest-plugin from branch 'master'
to 09048aea04479436063b51028f52c25cd69bed7c
- Merge "test srbac on volume-types"
- test srbac on volume-types
Change-Id: If2553946ba20f46a9e5d6fc73595dd7617098e78
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
* Update cinder-tempest-plugin from branch 'master'
to d081783226b8c1d5c482dd68d94cc76d7df627df
- Merge "zuul: Exclude unneeded tests from multiattach job"
- 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
* Update cinder-tempest-plugin from branch 'master'
to dc76e8d7d7b4e39dde0bc23766f5ea50e398277a
- Merge "Test srbac on user_messages"
- Test srbac on user_messages
Test 'reader', 'member' and 'admin' roles for 'list', 'show' and 'delete'.
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
Change-Id: I1273af9f12b6785fe2c648d53c66cf4d5a748243
* Update cinder-tempest-plugin from branch 'master'
to 4cb906831462986a82e9e93d0491d3160c202b48
- Merge "[srbac] Test srbac on snapshots"
- [srbac] Test srbac on snapshots
Adding Reader and Member srbac tests with snapshots operations
Change-Id: I838ba765851485e05df785740257caf89492e104
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
* Update cinder-tempest-plugin from branch 'master'
to b2609e62d4864a327211caff73c7c2754e9c01bb
- Merge "Increase cinder volume quota for cbak job"
- 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
* Update cinder-tempest-plugin from branch 'master'
to c32d73bf0c69ba19c1c3cf97dd27465e48ad407b
- Merge "Add Python 3.10 to setup.cfg metadata"
- Add Python 3.10 to setup.cfg metadata
We support 3.10 as of Antelope.
Change-Id: Ic41eeb457e8e26f251471dc1de63e1f07729d468
* Update cinder-tempest-plugin from branch 'master'
to 47958a8d77deead5a0979fca6b3bf443582f71d9
- Bump tempest version in requirements.txt
Tempest fixed server SSHABLE bug and the new way/fix is
consumed by cinder-tempest-plugin
- https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/881764
To keep requirements.txt lower bound up to dated, this bumping
the Tempest version to 34.2.0 which include the SSHABLE fix
- https://review.opendev.org/c/openstack/releases/+/882356
Change-Id: I10137b03cc2e19f4f64220ad0c4cc8ee7c952122
* Update cinder-tempest-plugin from branch 'master'
to fd4ad9ee4cdfffbc0878a054b06da06c0c3f2501
- Merge "Wait for servers to be SSHABLE"
- Wait for servers to be SSHABLE
This is necessary to make sure we don't miss an attach or detach
event in the instance.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/882342
Change-Id: I4cb8af79d6d474b28e96d7b2c385ed8e5ba9c1d7
* Update cinder-tempest-plugin from branch 'master'
to 490c8257137097ae9d561f326b5ae469f480038f
- Test capabilites for srbac feature
Changed the test to keep convention without abstract methods
Also remvoed base.BaseVolumeTest inheritance, to isolate RBAC tests from
the normal tests while they are developed, even though this could be
revisited in the future the base classes for API tests in
cinder-tempest-plugin could be unified.
Change-Id: I7020487fcdb0a8e34be92a2b0f110b885cbeb339
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
* Update cinder-tempest-plugin from branch 'master'
to 9f1f4b88e1505bfd44a4346e0fd831da29ff914f
- Merge "Add FIPS job for barbican case"
- Add FIPS job for barbican case
Add cinder-tempest-plugin-lvm-lio-barbican-fips
Change-Id: Ib79ad929582b2fac61a37807a837dab55e720fba
* Update cinder-tempest-plugin from branch 'master'
to c5b0af6bf14043c5c675455769857d1e4ad3c753
- Merge "zuul: make the SRBAC job voting"
- zuul: make the SRBAC job voting
There are a few tests which pass, and more are coming.
Change-Id: I6a2584d983cbb0c9d41b188822aa4a26fd9d72eb
* Update cinder-tempest-plugin from branch 'master'
to d6989d3c1a31f2bebf94f2a7a8dac1d9eb788b1b
- Fix test_boot_cloned_encrypted_volume docstring
Updated the docstring description for test_boot_cloned_encrypted_volume
function to an accurate one.
Closes-Bug:2006594
Change-Id: I5e6e5444388acccb85d74d8ab2a22c8d988cfb5b
* Update cinder-tempest-plugin from branch 'master'
to f80d3af2a4b5a8fd5408fe5cd4b1b3e4b06e8131
- Merge "Add stable/zed jobs on master gate"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 58ca800aa9ee4b54a79599edce96add5b5ef4445
- Merge "Add unique ID for ProjectReaderTests.test_get_capabilities()"
- Add unique ID for ProjectReaderTests.test_get_capabilities()
ProjectReaderTests.test_get_capabilities() used the same ID as
ProjectMemberTests.test_get_capabilities(), so to differentiate
between the two tests, I added another ID.
Change-Id: I416a21489c2a9096257bb3dc4465574435e10672
* Update cinder-tempest-plugin from branch 'master'
to e5ae1ed54a7a07133ec103006dbf430d8457b29a
- 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
* Update cinder-tempest-plugin from branch 'master'
to 0e9461155e2acf2d68f2b42c8a5942af8975190a
- Merge "Don't test EOL cinderlib branches"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 89823d9868a58da23bbc0c8d9020b0adaafda32b
- Avoid duplicate 'barbican' service_available option
The cinder and barbican tempest plugins both need the 'barbican'
service_available option to be defined, but they both can't register
the option. This patch ensures the cinder plugin registers the option
only when the barbican plugin isn't present.
Closes-Bug: #1991068
Change-Id: I51a22afae4fc98e2c2b8c1e82e8211a27649022c
* Update cinder-tempest-plugin from branch 'master'
to e2fbcad77636996a1205adab032407e10e642bc4
- Merge "Test the ability to transfer encrypted volumes"
- Test the ability to transfer encrypted volumes
Add tempest tests that transfer an encrypted volume to a user in
another project, and one that verifies the ability to cancel (delete)
a transfer. The purpose is to test the ability to transfer the
barbican secret (i.e. the encryption key) to another user.
The tests create an encrypted volume from an image, and launch an
instance to write a timestamp. After the volume is transferred (or
the transfer is deleted), another instance is booted and the timestamp
read back. The tests also verify the process results in the volume
having a new encrytion_key_id.
Implements: blueprint transfer-encrypted-volume
Depends-On: I459f06504e90025c9c0b539981d3d56a2a9394c7
Depends-On: I11072d6d8a185037c7f4cdd52c45933b0cccaf05
Depends-On: I4ad7fe336c5193604d95fca5a72695d82adaa9f0
Depends-On: Ia3f414c4b9b0829f60841a6dd63c97a893fdde4d
Depends-On: I216f78e8a300ab3f79bbcbb38110adf2bbec2196
Change-Id: I30d02c81dd1cf8509585fe3b7a0f3256f17939b5
* Update cinder-tempest-plugin from branch 'master'
to 7ee02e8ed3971ce4ff8f3a047f62d68b7f851d76
- Merge "Add command to fix/generate idempotent IDs"
- Add command to fix/generate idempotent IDs
This patch adds a "uuidgen" command that will fix all issues
related to idempotent IDs in our tests. Also modifies pep8 to
detect these issues.
This command already exists in tempest and is required for cinder
tempest plugin as we had undetected issues in our tests that
got merged which are also fixed in this patch. The issues are as
follows:
1) Missing idempotent IDs in test_capabilities
2) Duplicate idempotent IDs in the following backup tests
a) test_backup_create_and_restore_to_an_existing_volume
b) test_incr_backup_create_and_restore_to_an_existing_volume
Change-Id: I6b34fd67af4c302ff17244143506d8c8a8247eb6
* Update cinder-tempest-plugin from branch 'master'
to b1c8544255932feaa724273817ab3ed703605f6c
- Merge "Update example local.conf within README.rst"
- Update example local.conf within README.rst
glance registry was deprecated in Queens and removed by change I75014bd50b in Victoria.
Closes-Bug: 1939322
Change-Id: I6f7278c9d60f17dbd75e9a07fc489e9ec5d487b2
* Update cinder-tempest-plugin from branch 'master'
to 5960fa4ed795d05ffd2ae16af6d690848953f121
- Merge "Add multiattach tests"
- Add multiattach tests
This patch adds multiattach tests and also a gate job to run those tests.
Change-Id: Iaf4fc9ab84e5c45bd6f85d7186e2775bae107721
* Update cinder-tempest-plugin from branch 'master'
to 141dace60e5e4d14bf39b65872a4c9db63ba8df4
- Merge "Add test to create multiple volume from resource"
- Add test to create multiple volume from resource
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
* Update cinder-tempest-plugin from branch 'master'
to 965cd726047c0609a00f4e29bb6a232589f0b9c1
- 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
* Update cinder-tempest-plugin from branch 'master'
to 0587ca64d0a8c2b241e18b2c84ca834f681fef18
- 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
* Update cinder-tempest-plugin from branch 'master'
to 6e4b53a765231bebc597145ee562ff5b4f34227a
- 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
* Update cinder-tempest-plugin from branch 'master'
to 401da846014d3ce095f30f8bd7c23d39a1ffc0f9
- Merge "Improvements in snapshot data integrity tests"
- Improvements in snapshot data integrity tests
This patch addresses the comments in the snapshot data integrity tests[1].
[1] https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/790899
Change-Id: Icef31c07cf2a4e8c822a288edfc4463d592668ff
* Update cinder-tempest-plugin from branch 'master'
to 07ff66c6b37b58e235b135aab19de0b45ed99450
- Merge "Update 'Maintained' stable branch jobs on master gate"
- 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
* Update cinder-tempest-plugin from branch 'master'
to 8515b58892778b1560232c904bef0a91a3faed1d
- 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
* Update cinder-tempest-plugin from branch 'master'
to 56ace0a8b08ac1ec5ab16e3a6b8fde32bbac3015
- Modify path for APIMicroversionFixture
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
* Update cinder-tempest-plugin from branch 'master'
to c70f27ca61261dc8176375275d3fd16792d8d57c
- Add Python 3 only classifier
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