1. 17 Jul, 2021 1 commit
  2. 29 Jun, 2021 1 commit
  3. 28 Jun, 2021 1 commit
    • Luigi Toscano's avatar
      zuul: pin cinder-tempest-plugin/stein-last on stein · eba85546
      Luigi Toscano authored
      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
      eba85546
  4. 07 Jun, 2021 1 commit
  5. 21 May, 2021 1 commit
  6. 20 May, 2021 3 commits
  7. 29 Apr, 2021 1 commit
  8. 23 Apr, 2021 1 commit
    • Lance Bragstad's avatar
      Implement basic protection testing jobs · d3fddec4
      Lance Bragstad authored
      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
      d3fddec4
  9. 20 Apr, 2021 1 commit
  10. 16 Apr, 2021 2 commits
  11. 07 Apr, 2021 2 commits
    • Luigi Toscano's avatar
      Ceph jobs: re-enable a few c-bak tests, add more jobs · 3d907472
      Luigi Toscano authored
      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 9d626d0d
      and adds more functionalities.
      
      Change-Id: I033e0dc04f342e27d6266ad412d3cb256787c0e6
      3d907472
    • Zuul's avatar
      Merge "Switch to new rolevar for run-tempest role" · 7dece094
      Zuul authored
      7dece094
  12. 25 Mar, 2021 1 commit
  13. 20 Mar, 2021 1 commit
  14. 10 Mar, 2021 1 commit
  15. 04 Mar, 2021 1 commit
    • Luigi Toscano's avatar
      Refactor the lvm barbican job(s): cinderlib-less variant · 1370db4b
      Luigi Toscano authored
      The first real cinderlib supported branch works with train,
      so restructure the lvm/barbican jobs to disable cinderlib testing
      with any branch older than train.
      While those branches are in Extended Maintenance status,
      the job may be still used there to remove their old legacy
      counterpart to easy the maintenance.
      
      Change-Id: I5fa1b2d0348e86988f616dd7404dedc4eb9c4666
      1370db4b
  16. 03 Mar, 2021 1 commit
  17. 01 Mar, 2021 1 commit
  18. 27 Feb, 2021 2 commits
  19. 25 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Fix cinder-backup/swift: readd member to tempest roles · 5d7847cc
      Luigi Toscano authored
      Change I0b6ab9fb943c7b0925a0a0d2490a8bcdfa76cedc removed the 'member'
      user from the default roles assigned to dynamic tempest users.
      This broke cinder-backup with the default swift backend.
      
      Set the full list of roles, including 'creator' which should be
      added by the barbican devstack plugin. Unfortunately the values
      here overrides any other setting.
      
      Change-Id: Id6dc96915f5b15827e6e8f58cc8195a0f76e9686
      5d7847cc
  20. 23 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Use the embedded scenario manager instead of tempest one · 3c5c8a23
      Luigi Toscano authored
      While waiting for tempest scenario manager to stabilize its API,
      a copy of it has been imported, so make sure to use it and to not
      rely on tempest's one (whose API is changing during the stabilization
      process, so it may break anytime).
      
      Just one file needs to change its imports.
      At the same time, fix the import order for another file.
      
      Change-Id: I29c4784d59151948778cad57b7db56a368ed821d
      3c5c8a23
  21. 19 Feb, 2021 4 commits
  22. 09 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Switch to stestr · 7c47222c
      Luigi Toscano authored
      We don't really have unit tests in the repository and any py3x venv
      would not really be useful (the tests are executed through tempest),
      but let's remove the old dependency anyway and depend on stestr
      like all the other OpenStack projects.
      
      Change-Id: I52d06f1c1e141cb455fb7a823a27be532afb4c16
      7c47222c
  23. 31 Jan, 2021 1 commit
  24. 30 Jan, 2021 1 commit
  25. 29 Jan, 2021 2 commits
    • Rajat Dhasmana's avatar
      Add Snapshot data integrity test · 21d63a3a
      Rajat Dhasmana authored
      This patch adds data integrity tests for snapshot with the following
      procedure :
      
      1) create a volume from image
      2) Boot an instance from the volume
      3) create file on vm and write data into it
      4) create first snapshot
      5) repeat 3
      5) create second snapshot
      6) repeat 3
      7) create third snapshot
      
      Now restore the snapshots one by one into volume, create instances
      from it and check the number of files and file content at each
      point snapshot was created.
      
      We are also temporarily making a copy of tempest scenario manager until
      the actual manager is available for import in tempest plugins.
      
      Change-Id: I5c5ff6f996dd39b52fada82f3938b628e58b0a2c
      21d63a3a
    • Rajat Dhasmana's avatar
      Ignore H101 rule · df4f9471
      Rajat Dhasmana authored
      It doesn't seem to provide any benefit and is also removed from cinder
      project.
      For detailed reason, please look into the commit message of the cinder
      patch[1].
      
      [1] https://opendev.org/openstack/cinder/commit/b0a56ddd252670dadb2c5e3eb0b03bfc7f93623d
      
      Change-Id: I9a7749288706c8b326c1acd0cef6edd5ea91503e
      df4f9471
  26. 28 Jan, 2021 1 commit
    • Lee Yarwood's avatar
      zuul: Add nova-ceph-multistore as a non-voting job · 103c2f7d
      Lee Yarwood authored
      As discussed in I50d3b874b7e0676436c434be6c059f221041560f the tests
      introduced by I846b96ef925c34162cf462da91d854ceacabe022 broke
      nova-ceph-multistore thanks to the use of
      [workarounds]/never_download_image_if_on_rbd in the job and some image
      creation in the test that isn't strictly required.
      
      To ensure breakages like this are visable in the future this change adds
      the nova-ceph-multistore job as a non-voting job within this repo.
      
      Related-Bug: #1912607
      Change-Id: Ifbdaef0b82cc4b1e77e0ecc440e194e5544fe320
      103c2f7d
  27. 21 Jan, 2021 1 commit
    • Lee Yarwood's avatar
      test_volume_encrypted: Stop creating an image for each instance · 3c96bfb4
      Lee Yarwood authored
      An independent image isn't required for these tests and additionally
      isn't required when calling create_server as the lack of an image
      results in CONF.compute.image_ref being used by
      tempest.common.compute.create_test_server [1].
      
      The creation of this image resulted in the nova-ceph-multistore job
      breaking as documented in bug #1912607. This broke as we use the job to
      provide both our core ceph coverage and slightly more edgey topologies
      using Glance multistore and the [workarounds]/ workaround option. This
      option blocking the download of rbd images via g-api when n-cpu can't
      clone the rbd volumes directly, as caused by the image creation in
      test_volume_encrypted.
      
      Iaf6f6e0dbcb25561bf00e969e1964cd30e974e64 is currently skipping any
      encryption test in the nova-ceph-multistore job to workaround bug
       #1912607 for the time being but we would obviously like to revert that
      if possible and expand our coverage.
      
      A follow up change will also propose adding nova-ceph-multistore to the
      gate of this plugin to avoid future breakage.
      
      Related-Bug: #1912607
      
      [1] https://opendev.org/openstack/tempest/src/branch/master/tempest/common/compute.py#L108-L109
      
      Change-Id: I50d3b874b7e0676436c434be6c059f221041560f
      3c96bfb4
  28. 20 Jan, 2021 1 commit
  29. 18 Jan, 2021 1 commit
    • Sofia Enriquez's avatar
      Encryption Test Scenario for clone volume · 5ab3fef7
      Sofia Enriquez authored
      Due to an error in the _setup_encryption_keys volume rekey code, a
      cloned encrypted volume that has been rekeyed will specify an
      encryption key different from the key used to format the volume,
      so it cannot be attached.
      
      This test scenario will cover this feature and also the case of
      source-vol feature.
      
      Related-Bug: #1904440
      Depends-on: https://review.opendev.org/#/c/762884/
      Change-Id: I846b96ef925c34162cf462da91d854ceacabe022
      5ab3fef7
  30. 05 Jan, 2021 2 commits