1. 14 Jul, 2021 1 commit
  2. 28 Jun, 2021 1 commit
  3. 24 Jun, 2021 1 commit
  4. 23 Jun, 2021 1 commit
  5. 21 Jun, 2021 2 commits
  6. 10 Jun, 2021 1 commit
  7. 06 Jun, 2021 1 commit
  8. 01 Jun, 2021 1 commit
  9. 31 May, 2021 1 commit
    • Goutham Pacha Ravi's avatar
      Setup snapshot extra specs only if required · b60fddac
      Goutham Pacha Ravi authored
      
      
      For legacy reasons we always included snapshot_support
      and create_share_from_snapshot_support in all the
      share types the tests created. These extra-specs are
      no different from any other optional extra-specs in
      manila, atleast since API version 2.24 (snapshot_support
      was "implied"/"required" until API version 2.23). 2.24
      is a really old version to support for tempest testing.
      
      Since we always use the latest API version to create the
      share types necessary, we only ever need 1 required
      extra spec (driver_handles_share_servers) - lets supply
      the rest only within tests that need to test snapshots
      and shares from snapshots.
      
      This patch also adds missing skip decorators for share
      group tests that were testing snapshots.
      
      Change-Id: Ifaceab574e3242e44a9cf1bea77a4be9e505d8b8
      Related-Bug: #1922784
      Signed-off-by: default avatarGoutham Pacha Ravi <gouthampravi@gmail.com>
      b60fddac
  10. 28 May, 2021 1 commit
    • Goutham Pacha Ravi's avatar
      Fix API version test skip logic · a0acf259
      Goutham Pacha Ravi authored
      
      
      API tests must be evaluated by min and max
      versions, however, we've multiple places
      where we don't seem to evaluate the min_version;
      this leads to incorrect behavior when test
      runners set a different min_version in their
      test configuration.
      
      We can also consolidate the decorators and
      callables that we have. We attempted this in
      the recent past [1], however, we replaced the
      callables with calling a decorator method, which
      resulted in many tests not being skipped.
      
      This bugfix is currently necessary to get
      tests working against stable/ussuri and
      stable/train branches.
      
      [1] I0c35aff993e67c1ef44c27580f8c2c829a6275f7
      Change-Id: I2eceb1d5fe42b1b779e115a0144a5d9639d3753f
      Signed-off-by: default avatarGoutham Pacha Ravi <gouthampravi@gmail.com>
      a0acf259
  11. 20 May, 2021 1 commit
  12. 12 May, 2021 2 commits
  13. 18 Apr, 2021 1 commit
    • Goutham Pacha Ravi's avatar
      Fix CephFS snapshot cloning scenario test · 602f101c
      Goutham Pacha Ravi authored
      
      
      When unmounting a share with the kernel
      client, the target directory must be what
      we used during the mount operation.
      
      This patch adds a create-share-from-snapshot
      scenario test for the ceph-fuse client, and
      drops the redundant 'ip_version' attribute
      to test classes that was added in the
      test reorganization patch earlier [1]
      
      [1] I7e63434e745cc1c2a5e8aaccc20f7c31404742d9
      Change-Id: I9e373c658bf8aefa5763b7bb58637969e5253312
      Closes-Bug: #1921369
      Signed-off-by: default avatarGoutham Pacha Ravi <gouthampravi@gmail.com>
      602f101c
  14. 10 Apr, 2021 1 commit
    • Goutham Pacha Ravi's avatar
      Reorganize scenario tests · 35091ce9
      Goutham Pacha Ravi authored
      
      
      Create protocol specific manager classes
      where we can abstract away common code
      to handle access rules and mount operations
      and re-use these in the tests to get adequate
      coverage to the three protocols we support
      in these tests currently.
      
      Change-Id: I7e63434e745cc1c2a5e8aaccc20f7c31404742d9
      Closes-Bug: #1921369
      Signed-off-by: default avatarGoutham Pacha Ravi <gouthampravi@gmail.com>
      35091ce9
  15. 25 Mar, 2021 2 commits
  16. 17 Mar, 2021 1 commit
  17. 16 Mar, 2021 1 commit
    • V Haririan's avatar
      Added test_create_access_rule_cephx_admin_user testcase · 170e8009
      V Haririan authored
      This test case validates the fix to CVE-2020-27781.
      
      The test will create a share and allow access to "admin" user.
      This step should return success, but the access rule for
      "admin" will be set to "error".
      
      Related-Bug: #1904015
      Depends-On: I1edd5a50079f325fa143a7e0d51b3aa3bb5ed45d
      Change-Id: I01157147e749ae6068e9878bffe322cb3993fb60
      170e8009
  18. 12 Mar, 2021 1 commit
    • Goutham Pacha Ravi's avatar
      Harden manage negative tests · d00bed49
      Goutham Pacha Ravi authored
      
      
      We attempt to manage a share with a fake/invalid
      path in some tests and expect asynchronous
      failures. So as long as there's only one of these
      fake/invalid exports known to manila at a time,
      there's no issue. However, when tests are run in
      parallel, we see failures because manila validates
      that the export path provided isn't known so far.
      
      Change-Id: Ic1ed8c559221417347eeb71441ed8e941d70b8f1
      Signed-off-by: default avatarGoutham Pacha Ravi <gouthampravi@gmail.com>
      d00bed49
  19. 09 Mar, 2021 1 commit
    • haixin's avatar
      Add tests for share size limited by share type. · 9f552277
      haixin authored
      Depends-on: I5ce0fabf59bfca5ebaf0be5ffe9986e2b0480295
      Partially implements: blueprint share-size-limited-by-share-type
      
      Change-Id: I14e71ccb5f8f4f1851bc023586d6c96841ad68f9
      9f552277
  20. 08 Mar, 2021 2 commits
  21. 02 Mar, 2021 1 commit
  22. 25 Feb, 2021 1 commit
  23. 24 Feb, 2021 2 commits
  24. 23 Feb, 2021 1 commit
  25. 21 Feb, 2021 1 commit
    • lkuchlan's avatar
      Remove a duplicated skipped functions · 9dca2c46
      lkuchlan authored
      "skip_if_microversion_lt" and "skip_if_microversion_not_supported"
      functions already exist under utils module.
      
      Change-Id: I0c35aff993e67c1ef44c27580f8c2c829a6275f7
      9dca2c46
  26. 19 Feb, 2021 1 commit
    • lkuchlan's avatar
      Consolidate waiters methods · f7fc5b64
      lkuchlan authored
      Currently, for each resource there is a waiter method.
      The code is almost the same in all waiter methods.
      This patch suggests proposes to consolidate these methods.
      
      Change-Id: I92f4628051731a9f7e05404b48a96d2ed27a855b
      f7fc5b64
  27. 17 Feb, 2021 1 commit
    • lkuchlan's avatar
      Fix extra specs for share type · 3024bb2b
      lkuchlan authored
      In case the backends don't have the same capabilities
      share creation can fail. For instance, if one of the
      backend has the ability to create share from snapshot
      and the other does not.
      In case "capability_create_share_from_snapshot_support"
      parameter is defined in tempest.conf and it is also
      specified in extra specs one of the share will fail to
      create.
      
      Change-Id: Iade5b2658df59b7d6cdc9f69418afb16a0108353
      3024bb2b
  28. 12 Feb, 2021 3 commits
  29. 11 Feb, 2021 1 commit
  30. 09 Feb, 2021 1 commit
    • lkuchlan's avatar
      Removing an unnecessary 'BaseSharesAltTest' class · f4b0d1c0
      lkuchlan authored
      I don't see the need for a base class only for alt user.
      We have already 'BaseSharesTest' class that initializes
      'primary' user with the same role as 'alt' user.
      If 'alt' user is necessary it can be initialzed at the test
      class level.
      
      Change-Id: Ie980a130c1996e0e97de25218fedd509cead4afb
      f4b0d1c0
  31. 03 Feb, 2021 1 commit
    • lkuchlan's avatar
      [Negative] Get share from other project · cb3123c5
      lkuchlan authored
      The test verifies that user cannot find out if a share
      exists in another project.
      
      Related-Bug: #1914363
      Change-Id: I82eba46b72ff656f00c9ecc94d47589d8292bf5f
      cb3123c5
  32. 02 Feb, 2021 1 commit
  33. 29 Jan, 2021 1 commit
    • Douglas Viroel's avatar
      Fix 'ss-type' conflicts in security service tests · d2138765
      Douglas Viroel authored
      
      
      This patch fixes security service conflict errors when security
      service tests are executed. In these tests, no security services
      should be automatically created during share network creation,
      or the test may fail due conflicting types.
      This issue can be seen when 'security_service' config option
      is set to use a 'kerberos' or 'ldap' security service.
      
      Change-Id: I4585fa8349a98f0ac6ec7ec23fb7b26ab61d65af
      Signed-off-by: default avatarDouglas Viroel <viroel@gmail.com>
      d2138765