]>
git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
Amit Prinz Setter [Sun, 29 Jan 2023 07:25:58 +0000 (09:25 +0200)]
Use get_new_bucket_name() in select tests.
Signed-off-by: Amit Prinz Setter <aprinzse@redhat.com>
Casey Bodley [Fri, 27 Jan 2023 14:20:40 +0000 (09:20 -0500)]
Merge pull request #486 from cbodley/wip-58365
test_s3: remove test_user_policy()
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Casey Bodley [Thu, 26 Jan 2023 16:23:03 +0000 (11:23 -0500)]
test_s3: remove test_user_policy()
this has been failing consistently in local testing. test_sts.py has
lots of user policy test coverage, so this test case in test_s3.py is
superfluous
Fixes: https://tracker.ceph.com/issues/58365
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Wed, 25 Jan 2023 22:46:57 +0000 (17:46 -0500)]
Merge pull request #482 from cbodley/wip-tox-pytest
replace deprecated nose with pytest
Casey Bodley [Wed, 25 Jan 2023 22:04:04 +0000 (17:04 -0500)]
test_headers: add custom marks for auth_common/aws2/aws4
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 22 Jan 2023 16:50:40 +0000 (11:50 -0500)]
remove boostrap
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 22 Jan 2023 00:48:29 +0000 (19:48 -0500)]
cleanup duplicate lines
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sat, 21 Jan 2023 19:25:30 +0000 (14:25 -0500)]
remove nose dependency from requirements.txt
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sat, 21 Jan 2023 19:24:31 +0000 (14:24 -0500)]
nose: remove nose attrs and imports
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sat, 21 Jan 2023 19:05:46 +0000 (14:05 -0500)]
pytest: replace nose eq() with assert ==
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sat, 21 Jan 2023 18:37:40 +0000 (13:37 -0500)]
pytest: replace nose SkipTest with pytest.skip()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Jan 2023 22:04:30 +0000 (17:04 -0500)]
pytest: replace @nose.with_setup with fixtures
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Jan 2023 19:35:45 +0000 (14:35 -0500)]
pytest: add custom marks for each nose @attr
and register them in pytest.ini
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Jan 2023 20:34:47 +0000 (15:34 -0500)]
remove tests tagged fails_strict_rfc2616
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Jan 2023 19:44:08 +0000 (14:44 -0500)]
pytest: add global configfile and autouse teardown fixtures
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Jan 2023 20:24:07 +0000 (15:24 -0500)]
pytest: add tox.ini to run pytest, update README
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 23 Nov 2022 18:04:13 +0000 (13:04 -0500)]
Merge pull request #476 from cbodley/wip-botocore-sigv2
pin botocore to resolve v2 signature failures
Casey Bodley [Tue, 22 Nov 2022 19:32:57 +0000 (14:32 -0500)]
pin botocore to resolve v2 signature failures
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Tue, 18 Oct 2022 18:52:09 +0000 (14:52 -0400)]
Merge pull request #472 from galsalomon66/fixes_related_to_new_csv_parser_2
new CSV parser has some impact on engine results
galsalomon66 [Mon, 17 Oct 2022 21:37:29 +0000 (00:37 +0300)]
remove comment
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Ali Maredia [Thu, 6 Oct 2022 20:57:39 +0000 (16:57 -0400)]
Merge pull request #473 from cbodley/wip-copyobj-tails
add test_object_copy_16m to test refcounting of tail objects
Casey Bodley [Fri, 30 Sep 2022 16:28:28 +0000 (12:28 -0400)]
add test_object_copy_16m to test refcounting of tail objects
i don't think any of our CopyObj test cases were large enough to have
tail objects, so weren't exercising our tail object ref counting
strategy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
galsalomon66 [Sun, 18 Sep 2022 07:46:04 +0000 (10:46 +0300)]
the use of std::to_string change the double presentation(not accuracy)
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
galsalomon66 [Mon, 12 Sep 2022 12:33:35 +0000 (15:33 +0300)]
the upgraded CSV parser has some impact on engine result. (redundant comma, quote behavior)
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Soumya Koduri [Tue, 6 Sep 2022 17:07:37 +0000 (22:37 +0530)]
Merge pull request #471 from soumyakoduri/wip-skoduri-cloud
cloud-transition: Adjust lc wait time
Soumya Koduri [Mon, 5 Sep 2022 08:42:03 +0000 (14:12 +0530)]
cloud-transition: Adjust lc wait time
Fixes: https://tracker.ceph.com/issues/57401
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Soumya Koduri [Thu, 25 Aug 2022 05:10:53 +0000 (10:40 +0530)]
Merge pull request #439 from zalsader/patch-1
Add support for rocky linux in bootstrap
Soumya Koduri [Fri, 19 Aug 2022 04:58:14 +0000 (10:28 +0530)]
Merge pull request #469 from soumyakoduri/dbstore_test_master
dbstore: Update the tests marked 'fails_on_dbstore'
Soumya Koduri [Wed, 15 Jun 2022 18:38:35 +0000 (00:08 +0530)]
dbstore: Update the tests marked 'fails_on_dbstore'
Tag/Untag testcases failing on dbstore as per latest run against main
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Wed, 3 Aug 2022 15:30:14 +0000 (11:30 -0400)]
Merge pull request #461 from ifed01/origin/wip-ifed-fix-s3-loc-tests
Test case for locked and "marked-deleted" object version removal
Ali Maredia [Fri, 29 Jul 2022 17:35:56 +0000 (13:35 -0400)]
Merge pull request #464 from shriya-deshmukh/delete-bucket-tagging-test-case
rgw/s3_boto3: Added http status code verification for DeleteBucketTagging case.
Shriya Deshmukh [Wed, 27 Jul 2022 14:43:11 +0000 (08:43 -0600)]
rgw/s3_boto3: Added http status code verification for DeleteBucketTagging
case.
Updated test_set_bucket_tagging test for verifying the http status code
for DeleteBucketTagging case.
Related CEPH PR: https://github.com/ceph/ceph/pull/47262
Signed-off-by: Shriya Deshmukh <shriya.deshmukh@seagate.com>
Ali Maredia [Thu, 21 Jul 2022 18:01:08 +0000 (14:01 -0400)]
Merge pull request #460 from soumyakoduri/user_policy_tests
Fix User Policy test failures on dbstore
Soumya Koduri [Wed, 20 Jul 2022 16:26:28 +0000 (21:56 +0530)]
Fix User Policy test failures on dbstore
Tag User policy tests failing on dbstore as 'fails_on_dbstore'
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Igor Fedotov [Fri, 15 Jul 2022 15:55:51 +0000 (18:55 +0300)]
Test case for locked and "marked-deleted" object version removal.
Reproduces: https://tracker.ceph.com/issues/55766
Signed-off by: Igor Fedotov <igor.fedotov@croit.io>
Ali Maredia [Tue, 28 Jun 2022 16:03:24 +0000 (12:03 -0400)]
Merge pull request #453 from Seagate/master
Contributing User Policy tests
Ravindra Choudhari [Mon, 27 Jun 2022 06:24:27 +0000 (11:54 +0530)]
Added put/get/list/delete User Policy Tests
c4d30d7 Ravindra Choudhari Mon, 27 Jun 2022 removing region name
4a13f58 Ravindra Choudhari Thu, 16 Jun 2022 Updating readme file (#15)
18bc152 Ravindra Choudhari Tue, 14 Jun 2022 Adding attr test_of_iam to all user policy tests (#13)
03f520a Ravindra Choudhari Tue, 14 Jun 2022 resolving review comments (#12)
7cf2823 Ravindra Choudhari Mon, 13 Jun 2022 added IAM policy test section in README.rst (#11)
563f3ea Ravindra Choudhari Fri, 10 Jun 2022 adding failing three tests back with attr @fails_on_rgw (#10)
696dd2e Ravindra Choudhari Mon, 6 Jun 2022 changes as per review comments
3d63dfd Ravindra Choudhari Mon, 6 Jun 2022 Fixed review comments (#8)
9492f69 Ravindra Choudhari Fri, 3 Jun 2022 Fixed review comments (#7)
74095dc Ketan Arlulkar Wed, 1 Jun 2022 Fixed review comments (#6)
942fb4f Ketan Arlulkar Wed, 1 Jun 2022 Added Tests for conflicting policies and IAM actions (#4)
ad5b5ae Ravindra Choudhari Tue, 31 May 2022 IAM policies s3 actions (#5)
6515ec6 Ketan Arlulkar Fri, 27 May 2022 Corrected eq import
40a2841 Ravindra Choudhari Tue, 17 May 2022 resolving conflicts
f53a5c1 Ravindra Choudhari Tue, 17 May 2022 added cleanup
747d563 Ketan Arlulkar Tue, 17 May 2022 Added cleanup/Delete Policy
d1cc1d8 Ketan Arlulkar Mon, 16 May 2022 Fixed review comments
1ec43a2 Ravindra Choudhari Mon, 16 May 2022 delete user policy tests
a01722e Ravindra Choudhari Mon, 16 May 2022 get user policy tests
ff9d676 Ketan Arlulkar Fri, 13 May 2022 Removed TEST IDs
d261400 Ketan Arlulkar Tue, 10 May 2022 Put User Policy & List User Policy Tests
Signed-off-by: Ravindra Choudhari <ravindra.choudhari@seagate.com>
Ali Maredia [Mon, 6 Jun 2022 18:24:41 +0000 (14:24 -0400)]
Merge pull request #457 from cbodley/wip-bad-tests
remove tests that fail on boto3's parameter validation
Casey Bodley [Thu, 2 Jun 2022 16:25:24 +0000 (12:25 -0400)]
remove tests that fail on boto3's parameter validation
Fixes: https://tracker.ceph.com/issues/55193
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Daniel Gryniewicz [Wed, 18 May 2022 18:34:14 +0000 (14:34 -0400)]
Merge pull request #452 from cbodley/wip-no-such-tag-set
fix GetBucketTagging error code
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Wed, 18 May 2022 13:40:14 +0000 (09:40 -0400)]
fix GetBucketTagging error code
related to https://tracker.ceph.com/issues/55460
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Zuhair AlSader [Wed, 13 Apr 2022 04:10:53 +0000 (00:10 -0400)]
Add support for rocky linux
Signed-off-by: Zuhair AlSader <zuhair.alsader@seagate.com>
Soumya Koduri [Wed, 11 May 2022 18:03:13 +0000 (23:33 +0530)]
Merge pull request #450 from soumyakoduri/dbstore-tests
Tag sse* tests with 'fails_on_dbstore' attr
Soumya Koduri [Wed, 11 May 2022 08:45:38 +0000 (14:15 +0530)]
Merge pull request #442 from soumyakoduri/cloudtier_tests
Adjust wait time for cloud-transition test failures
Soumya Koduri [Tue, 10 May 2022 19:21:42 +0000 (00:51 +0530)]
Tag sse* tests with 'fails_on_dbstore' attr
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Soumya Koduri [Tue, 10 May 2022 05:34:26 +0000 (11:04 +0530)]
Merge pull request #449 from cbodley/wip-cloud-config-sample
s3tests.conf.SAMPLE: comment out [s3 cloud] section
Casey Bodley [Mon, 9 May 2022 21:19:44 +0000 (17:19 -0400)]
s3tests.conf.SAMPLE: comment out [s3 cloud] section
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Soumya Koduri [Wed, 13 Apr 2022 09:58:00 +0000 (15:28 +0530)]
Adjust wait time for cloud-transition test failures
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Ali Maredia [Mon, 2 May 2022 20:58:55 +0000 (16:58 -0400)]
Merge pull request #440 from mdw-at-linuxbox/sse-s3-5
changes for sse s3.
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Priya Sehgal [Fri, 30 Jul 2021 11:54:16 +0000 (17:24 +0530)]
sse s3 jumbo patch - all in one fixes for sse-s3 logic
original tests by Priya Sehgal <priya.sehgal@flipkart.com>:
rgw/s3_boto3: Tests added for SSE-S3 (GET, PUT, HEAD, MPU).
Additions by Casey Bodley <cbodley@redhat.com>:
add 'sse-s3' tag to test cases
sse: add _put_bucket_encryption() helper function
sse: document test cases with default bucket encryption
sse: expects encryption response header on put/get
sse: add 8MB default-encrypted upload
sse: test uploads that request x-amz-server-side-encryption=AES256
Lastly all my changes (Marcus Watts <mwatts@redhat.com>):
remove obsolete test - do it only in boto3 now.
Combine or rename duplicated function names.
Giving more than one test the same name is a Bad Thing(tm).
sse: expand test_bucket_policy_put_obj_enc, and _put_bucket_encryption
test_bucket_policy_put_obj_enc was testing too many things at once.
new tests:
* customer encryption and sse-s3: should fail
* customer encryption and sse-kms: should fail
* deny if not sse-s3: no-enc fails, sse-s3 succeeds.
* deny if not sse-s3: kms fails
deny if not sse-ksm: no-enc fails, sse-kms succeeds.
deny if not sse-ksm: s3 fails
_put_bucket_encryption was only testing sse-s3.
* test both these variations: sse-s3 and sse-kms
Note:
* these tests will fail on pre-sse-s3 ceph.
python3: comment out all boto3.set_stream_logger() calls
They made too much output.
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Soumya Koduri [Thu, 28 Apr 2022 17:53:02 +0000 (23:23 +0530)]
Merge pull request #441 from soumyakoduri/dbstore-tests
Tag testcases failing on dbstore with 'fails_on_dbstore' attr
Soumya Koduri [Wed, 13 Apr 2022 09:58:00 +0000 (15:28 +0530)]
Tag testcases failing on dbstore with 'fails_on_dbstore' attr
To be able to successfully run s3tests on dbstore backend in teuthology,
mark all the s3-tests currently failing on it with 'fails_on_dbstore' attr
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Tue, 5 Apr 2022 19:30:08 +0000 (15:30 -0400)]
Merge pull request #435 from soumyakoduri/lc_tests
lifecycle: Addressing lc spurious failures
Soumya Koduri [Mon, 21 Mar 2022 19:21:30 +0000 (00:51 +0530)]
lifecycle: Adjust lc wait time
Adjust wait time to fix spurious failures reported -
https://github.com/ceph/ceph/pull/40703#issuecomment-
1060811704
http://qa-proxy.ceph.com/teuthology/mbenjamin-2022-02-23_15:42:19-rgw-wip-rgwlc-noreset-distro-basic-smithi/
6703349 /teuthology.log
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Tue, 8 Feb 2022 17:29:04 +0000 (12:29 -0500)]
Merge pull request #429 from soumyakoduri/lc_tests
lifecycle/deletemarker_expiration: Increase timer window
Soumya Koduri [Mon, 7 Feb 2022 17:54:34 +0000 (23:24 +0530)]
lifecycle/deletemarker_expiration: Increase timer window
Increase wait time in test_lifecycle_deletemarker_expiration(..)
to avoid any spurious failure.
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Fri, 4 Feb 2022 16:01:42 +0000 (11:01 -0500)]
Merge pull request #421 from soumyakoduri/lc_tests
Enable Lifecycle tests
Soumya Koduri [Fri, 17 Dec 2021 11:25:49 +0000 (16:55 +0530)]
Enable lifecycle tests
Add an option to configure lc debug interval and adjust lifecycle
tests sleep as per the value set.
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Soumya Koduri [Mon, 6 Dec 2021 05:23:18 +0000 (10:53 +0530)]
Add testcases for rgw cloudtransition feature
Feature PR: https://github.com/ceph/ceph/pull/35100
Also ported lc testcases from boto2 to boto3
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Ali Maredia [Tue, 18 Jan 2022 22:02:35 +0000 (17:02 -0500)]
Merge pull request #424 from psathyan/fix_check_grants
Improving check_grants reliability
Casey Bodley [Tue, 18 Jan 2022 14:18:50 +0000 (09:18 -0500)]
Merge pull request #428 from TRYTOBE8TME/wip-sts-error
s3tests_boto3/test_sts: Changing code for proper cleanup
Kalpesh Pandya [Thu, 6 Jan 2022 07:29:49 +0000 (12:59 +0530)]
test_sts: Changing code for proper cleanup
This solves: https://tracker.ceph.com/issues/53090
The solution is: We need to delete the role_policy and
user_policy attached user which was causing the failure.
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Ali Maredia [Thu, 13 Jan 2022 21:31:30 +0000 (16:31 -0500)]
Merge pull request #426 from galsalomon66/revert_install_arrow
revert the arrow installation(causing failure on some distro"s, such …
gal salomon [Wed, 12 Jan 2022 17:01:06 +0000 (19:01 +0200)]
revert the arrow installation(causing failure on some distro"s, such as fedora)
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Gal Salomon [Tue, 11 Jan 2022 21:15:08 +0000 (23:15 +0200)]
Merge pull request #419 from galsalomon66/parquet_s3tests
parquet tests
gal salomon [Tue, 28 Dec 2021 15:08:17 +0000 (17:08 +0200)]
fix output-serialization tests(upon comparing query results need to remove redundant columns)
skip output-serial test. the results from both queries are not equal, thus it raise an assert. the problem seems to be the formatting before the comparision
remove test_output_serial_expressions until fixing the test
experiment pyarrow for parquet testing, adding arrow/parquet to bootstrap, installing pyarrow,pandas for reading/writing parquet
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Pragadeeswaran Sathyanarayanan [Tue, 28 Dec 2021 15:26:23 +0000 (20:56 +0530)]
Improving check_grants reliability
Signed-off-by: Pragadeeswaran Sathyanarayanan <psathyan@redhat.com>
gal salomon [Mon, 27 Dec 2021 19:46:59 +0000 (21:46 +0200)]
merging master tests into parquet branch
Signed-off-by: gal salomon <gal.salomon@gmail.com>
gal salomon [Tue, 21 Dec 2021 08:02:42 +0000 (10:02 +0200)]
fix for assert of error messages
Signed-off-by: gal salomon <gal.salomon@gmail.com>
gal salomon [Tue, 7 Dec 2021 15:02:21 +0000 (17:02 +0200)]
remove redundant comma. s3select-engine produced redundant result column before its last fix, s3tests should align with that
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Ali Maredia [Mon, 20 Dec 2021 15:37:14 +0000 (10:37 -0500)]
Merge pull request #402 from galsalomon66/progress-stats
s3select-tests: new-s3select-responses, output-serialization, presto alignments
galsalomon66 [Thu, 25 Nov 2021 09:57:52 +0000 (11:57 +0200)]
adding datatime queries from #395
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Ali Maredia [Thu, 18 Nov 2021 19:31:12 +0000 (14:31 -0500)]
Merge pull request #415 from cbodley/wip-list-multipart-owner
check Owner/Initiator fields of ListMultipartUploads response
galsalomon66 [Fri, 12 Nov 2021 09:39:45 +0000 (11:39 +0200)]
rollback to use like without escape syntax (explore valgrind issue)
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
galsalomon66 [Thu, 11 Nov 2021 14:15:49 +0000 (16:15 +0200)]
modify the queries syntax to like-escape; the queries semantics is the same; results are the same; it is a part of exploring valgrind issue around like-operator
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Casey Bodley [Fri, 29 Oct 2021 17:06:30 +0000 (13:06 -0400)]
check Owner/Initiator fields of ListMultipartUploads response
new test case test_list_multipart_upload_owner() uses two different
users to initiate multipart uploads, then tests that
list_multipart_uploads() shows the correct user ids and display names
for each upload
Signed-off-by: Casey Bodley <cbodley@redhat.com>
galsalomon66 [Thu, 21 Oct 2021 00:32:57 +0000 (03:32 +0300)]
add output-serialization tests; add syntax-error tests; run_s3select_output should merge into run_s3select
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
gal salomon [Sun, 17 Oct 2021 11:03:39 +0000 (14:03 +0300)]
remove comments from the like-expressions
Signed-off-by: gal salomon <gal.salomon@gmail.com>
Ali Maredia [Wed, 8 Sep 2021 19:58:40 +0000 (15:58 -0400)]
Merge pull request #400 from iraj465/wip-new-multi-delete-objects-tests
rgw/s3_boto3:Adds new delete_objects tests
Ali Maredia [Wed, 8 Sep 2021 14:44:20 +0000 (10:44 -0400)]
Merge pull request #411 from mkogan1/multipart-extra-complete2
test extra complete_multipart_upload()
Mark Kogan [Sun, 25 Apr 2021 11:21:26 +0000 (14:21 +0300)]
test extra complete_multipart_upload()
After the 1st successfull one should also return 200 OK
related tracker issue: https://tracker.ceph.com/issues/50141
related pr: https://github.com/ceph/ceph/pull/40594
Signed-off-by: Mark Kogan <mkogan@redhat.com>
Ali Maredia [Tue, 7 Sep 2021 20:06:14 +0000 (16:06 -0400)]
Merge pull request #410 from Rjerk/wip-fix-doc-example
docs: fix wrong example in README.rst
Liu Lan [Mon, 6 Sep 2021 11:25:09 +0000 (19:25 +0800)]
docs: fix wrong example in README.rst
Run: S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_bucket_list_empty
But get an error: "ERROR: Failure: ValueError (No such test test_bucket_list_empty)".
Because test_bucket_list_empty is a test case in s3tests_boto3 directory.
Signed-off-by: Liu Lan <liulan_yewu@cmss.chinamobile.com>
Ali Maredia [Fri, 3 Sep 2021 14:57:08 +0000 (10:57 -0400)]
Merge pull request #403 from pritha-srivastava/wip-rgw-sts-abac
rgw sts abac tests
Pritha Srivastava [Fri, 23 Jul 2021 06:38:07 +0000 (12:08 +0530)]
rgw/sts: test to use role tag as iam:ResourceTag in
role's trust policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Fri, 16 Jul 2021 07:47:54 +0000 (13:17 +0530)]
rgw/sts: test for s3:ResourceTag in role's permission policy
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 15 Jul 2021 10:10:04 +0000 (15:40 +0530)]
rgw/sts: adding test for aws:TagKeys that can be used in the
condition element of the role's trust policy and the role's
permission policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 15 Jul 2021 08:45:54 +0000 (14:15 +0530)]
rgw/sts: adding test for aws:PrincipalTag in role permission
policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 15 Jul 2021 08:03:08 +0000 (13:33 +0530)]
rgw/sts: adding test to check for aws:RequestTag
in the condition element of a role's trust policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Wed, 14 Jul 2021 10:10:39 +0000 (15:40 +0530)]
rgw/sts: adding tests for testing assumerolewithwebidentity
using 'sub' and 'azp' fields in the web token.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Ali Maredia [Wed, 11 Aug 2021 17:49:57 +0000 (13:49 -0400)]
Merge pull request #408 from cbodley/wip-52037
object-lock: test changes between retention modes
Ali Maredia [Wed, 11 Aug 2021 17:13:59 +0000 (13:13 -0400)]
Merge pull request #409 from ceph/wip-ssl-verify-fix
Disable ssl verify by default
Ali Maredia [Tue, 10 Aug 2021 18:41:05 +0000 (14:41 -0400)]
disable ssl verify by default
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Mon, 9 Aug 2021 16:01:25 +0000 (12:01 -0400)]
Merge pull request #405 from psathyan/wip-ssl-verify
Add support for disabling SSL certificate verification
Pragadeeswaran Sathyanarayanan [Fri, 30 Jul 2021 04:14:29 +0000 (09:44 +0530)]
Add support for disabling SSL certificate verification
Signed-off-by: Pragadeeswaran Sathyanarayanan <psathyan@redhat.com>
Casey Bodley [Thu, 5 Aug 2021 15:28:44 +0000 (11:28 -0400)]
Merge pull request #365 from markhoughton-microfocus/issue_47586_tests
Tests for multi-object delete with object lock
Mark Houghton [Mon, 19 Oct 2020 16:58:56 +0000 (17:58 +0100)]
Add tests for issue 47586.
Casey Bodley [Tue, 3 Aug 2021 21:04:15 +0000 (17:04 -0400)]
object-lock: test changes between retention modes
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Aug 2021 19:00:04 +0000 (15:00 -0400)]
nuke_prefixed_buckets waits up to 60 seconds for object locks to expire
objects locked in GOVERNANCE mode can be removed with
BypassGovernanceRetention, but some tests may leave an object locked in
COMPLIANCE mode, which blocks deletion until the retention period
expires
nuke_prefixed_buckets now checks the retention policy of objects that it
fails to delete with AccessDenied, and will wait up to 60 seconds for
locks to expire before retrying the deletes. if the wait exceeds 60
seconds, it instead throws an error without deleting the bucket
instead of doing this in nuke_prefixed_buckets, we could potentially
have each object-lock test case handle this manually, but that would
add a separate delay to each test case
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 4 Aug 2021 17:56:39 +0000 (13:56 -0400)]
nuke_prefixed_buckets deletes objects in batches
speed up the cleanup by using delete_objects() with batches of 128
Signed-off-by: Casey Bodley <cbodley@redhat.com>