1. 11 Feb, 2022 1 commit
  2. 07 Feb, 2022 1 commit
  3. 19 Jan, 2022 1 commit
  4. 24 Dec, 2021 1 commit
  5. 29 Nov, 2021 1 commit
  6. 11 Nov, 2021 1 commit
  7. 03 Nov, 2021 2 commits
  8. 07 Oct, 2021 1 commit
  9. 27 Sep, 2021 1 commit
  10. 10 Sep, 2021 2 commits
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for Quotas across projects · 8400a79a
      Douglas Mendizábal authored
      This patch refactors some test for Quotas and adds tests for
      checking quotas for different projects than the one the persona
      is authenticated as.
      
      Change-Id: Iff17a51d6d23f99376119249c046a84cdfc438e0
      8400a79a
    • Douglas Mendizábal's avatar
      Enforce scope in RBAC testing · e20bc479
      Douglas Mendizábal authored
      Ensure that the Barbican service is configured to use scoped
      tokens when checking RBAC policy.
      
      Depends-On: Id399d2220118efe1033426c658d1834cbff02f94
      
      Change-Id: Id7aa02ea4862242fa34140166d634f30af721c22
      e20bc479
  11. 01 Sep, 2021 2 commits
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for Orders across projects · ced0ebe8
      Douglas Mendizábal authored
      This patch adds rbac tests to the Orders resource to test
      access across different projects.
      
      Change-Id: I4fe67821696263f570c097c610e5f37114b5d76e
      ced0ebe8
    • Douglas Mendizábal's avatar
      Refactor orders cleanup · d47ae424
      Douglas Mendizábal authored
      This patch continues the refactor of cleanup logic.  It adds a
      new `cleanup()` method to the order client that attempts to delete
      all orders and all screts created by those orders on cleanup.
      
      This patch also adds some scaffolding to the Container client that
      will be fleshed out in a follow-up patch.
      
      Change-Id: I78d875980637e82ddc3173aad2fc7ecf4941230c
      d47ae424
  12. 26 Aug, 2021 1 commit
    • Dave Wilde (d34dh0r53)'s avatar
      Add secure-rbac test for Containers · 4e5e4574
      Dave Wilde (d34dh0r53) authored
      This patch adds rbac tests to the Containers resource to test
      secure-rbac policies within a project
      
      This patch also removes the use of do_request in the existing tests
      as that method is being deprecated in favor of using the clients
      directly.
      
      * PEP8 Fixes
      * Fix the plurality of the method names
      * Remove _by_id from certain methods to maintain consistency
      
      Change-Id: I80aba2934110965866d1583309df7f2ca9ef4c27
      4e5e4574
  13. 17 Aug, 2021 2 commits
    • Douglas Mendizábal's avatar
      Add secure-rbac test for Secrets across projects · 087f89dd
      Douglas Mendizábal authored
      This patch adds rbac tests to the Secrets resource to test access
      across different projects.
      
      This patch also changes the Reader, Member, and Admin test suite
      inheritance to remove code duplication.
      
      Change-Id: Icf5a52925244dfe7d98ba9cfba549fce67be44db
      087f89dd
    • Douglas Mendizábal's avatar
      Refactor secret cleanup · 62baff3f
      Douglas Mendizábal authored
      This patch is the first in a refactor of the cleanup logic in our
      tests.
      
      This patch adds a new `cleanup()` method to the SecretClient that
      attempts to delete all the secrets it creates.
      
      Moving the responsibility of tracking which secrets to clean up down
      to the client allows us more flexibility when cleaning up the resources.
      e.g.  it should be fairly easy to clean up secrets across multiple projects
      by just calling the new `cleanup()` method on each client used.
      
      This patch will also allow us to get rid of the overloaded `do_request()`
      method that is currently used as a proxy to the client to be able to track
      entities.
      
      The change also makes the test code more explicit and easier to read.
      
      Change-Id: Id9be832a0f255410bd955d94c32001fec500f32f
      62baff3f
  14. 15 Jul, 2021 1 commit
    • Douglas Mendizábal's avatar
      Let the orders complete before using them · 6d4e995e
      Douglas Mendizábal authored
      This patch changes a test to wait a few seconds for the orders to be
      processed by Barbican.  Currently there are intermittent failures when
      the test executes faster than Barbican can process orders.
      
      Change-Id: I863ca223d6732b43dd6baa1510d4206b34bfb19e
      6d4e995e
  15. 08 Jun, 2021 1 commit
  16. 25 May, 2021 1 commit
  17. 18 May, 2021 3 commits
  18. 07 May, 2021 1 commit
    • Luigi Toscano's avatar
      Use the encryption provider constants (2) · 990536bb
      Luigi Toscano authored
      Follow-up of I05b0200b80d8ae957caaa53d5006b050d2d49da6
      which fixes also the other leftover usage of a legacy
      encryptor class (plain this time).
      
      Change-Id: I8fc4e2e6ed84bf18a4c89c30ee5c40b743d00e46
      990536bb
  19. 29 Apr, 2021 1 commit
  20. 13 Apr, 2021 1 commit
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for TransportKeys API · 63b174e8
      Douglas Mendizábal authored
      This patch adds basic RBAC tests for the Transport Keys API for
      the reader, admin, and member personas with project scope.
      
      Some tests will need additional work because they require transport
      keys to be present, which can only be done by a system-scope admin
      
      Change-Id: I269618fd760cffd992ca450bb9f13b9788b50b54
      63b174e8
  21. 01 Apr, 2021 4 commits
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for SecretStores API · e654464a
      Douglas Mendizábal authored
      This patch adds basic RBAC test for the Secret Stores API for
      the reader, member and admin personas with project scope.
      
      The tests are skipped by a config option, as they require
      the multiple-backends feature to be enabled in barbican.
      
      The devstack instace we're using for gate tests does not have
      this enabled, so we default to False for now.
      
      Change-Id: Ibca9d44fb3d0f4fd9945a7e6c636e0fbf6beb42e
      e654464a
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for Quotas · 98b7523d
      Douglas Mendizábal authored
      This patch adds basic secure-rbac testing for the Quotas resource
      for the reader, member, and admin personas with project scope.
      
      Change-Id: I290b808bbb8be26da281cf8971661c44fede71b0
      98b7523d
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for Orders · 1febf408
      Douglas Mendizábal authored
      This patch adds basic RBAC tests for the Orders resource for
      the reader, member, and admin personas with project scope.
      
      Change-Id: Ie5b7b6f7df20ec96e916232e70e9f61c7771f9d2
      1febf408
    • Douglas Mendizábal's avatar
      Add secure-rbac tests for Containers · db9b512e
      Douglas Mendizábal authored
      This patch adds basic RBAC testing for the Containers resource for
      reader, member and admin personas with project scope.
      
      Depends-On: I6879f566117db5ec0099ddad35ba649a3c674bd1
      Change-Id: I2272f5cd2385df15cc7761e8b858dfd39be955d4
      db9b512e
  22. 24 Mar, 2021 1 commit
    • Douglas Mendizábal's avatar
      Add secure-rbac gate · d013596f
      Douglas Mendizábal authored
      This patch adds a gate to test the new secure-rbac policy.
      
      Currently, Tempest is unable to create system admin credentials
      when the isolated networks option is set to true, so we disable
      that option for this gate.
      
      This patch also includes fixes needed to get the existing tests
      to pass, as well as some skips for scenario tests that require
      isolated networks.
      
      We should be able to remove the skips once Tempest is fixed to
      work with system admin.
      
      Depends-On: I584f7b67f2f95caa7c4db3d9d9222d0a9d38442d
      Change-Id: I0129ab6d15bc42d98a19e3551b8d009f9ad05e10
      d013596f
  23. 12 Mar, 2021 1 commit
  24. 03 Mar, 2021 1 commit
  25. 02 Mar, 2021 1 commit
  26. 16 Feb, 2021 2 commits
  27. 10 Feb, 2021 1 commit
  28. 09 Feb, 2021 1 commit
    • Ghanshyam Mann's avatar
      [goal] Keep barbican-tempest-plugin stable jobs to bionic · 89fe14ec
      Ghanshyam Mann authored
      As per victoria cycle testing runtime and community goal
      we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
      
      Tempest based jobs are migrated automatically via devstack
      base job start running on Focal but stable jobs testing stable
      branch needs to keep running on their supported
      distro version which is bionic from train till ussuri.
      
      Also, remove stein support (removed from tempest)
      and add a job for victoria.
      
      Change-Id: I3d792925e81172ae8abe75c5ceb2d5a039fc84f7
      Story: #2007865
      Task: #40184
      89fe14ec
  29. 08 Feb, 2021 2 commits
    • Marian Krcmarik's avatar
      Copy created image into all available glance stores · 1972c469
      Marian Krcmarik authored
      The openstack can have multiple glance stores deployed/available.
      It may be a proper thing to copy newly created signed image into
      all the available glance stores so barbican tempest tests can access
      image regardless on which compute and storage backend they are ran on
      and regardless on which glance store is local.
      Additionally there is a nova-compute conf parameter[1] which can even
      prevent instances being spawned from image which is not available in local
      glance store.
      The copy-image would happen only if import_image tempest cong option
      is available which indicates glance multistore is available.
      
      [1] https://review.opendev.org/#/c/657078/
      
      Change-Id: I1f0d8be1b237da0c96e820c4b3dca09a83b29752
      1972c469
    • Benny Kopilov's avatar
      Fix test_signed_image_upload_boot_failure skip method · 2691c015
      Benny Kopilov authored
      Current skip runs from the testcase and consumes time and resources.
      Changed the skip to decorator.
      
      Change-Id: Ia98fa1607c56b34ed1c764873f2909f423d1fffd
      2691c015