]>
git.apps.os.sepia.ceph.com Git - s3-tests.git/log
Soumya Koduri [Tue, 4 Mar 2025 17:49:24 +0000 (23:19 +0530)]
cloud-restore: testcase for non-current versioned object
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Soumya Koduri [Mon, 3 Mar 2025 14:33:45 +0000 (20:03 +0530)]
Merge pull request #599 from shreyanshjain7174/restore-s3tests
rgw/restore: s3tests to test restore object functionality
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Fri, 28 Feb 2025 16:00:15 +0000 (11:00 -0500)]
Merge pull request #622 from cbodley/wip-70013
s3: test that object lock can be enabled on an existing bucket
Casey Bodley [Fri, 28 Feb 2025 14:35:46 +0000 (09:35 -0500)]
Merge pull request #621 from cbodley/wip-69936
s3: reenable tests with range requests and checksums
Jiffin Tony Thottan [Mon, 24 Feb 2025 05:41:43 +0000 (11:11 +0530)]
running cloud restore tests seperately
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Casey Bodley [Thu, 20 Feb 2025 19:41:44 +0000 (14:41 -0500)]
s3: test that object lock can be enabled on an existing bucket
Signed-off-by: Casey Bodley <cbodley@redhat.com>
shreyanshjain7174 [Mon, 4 Nov 2024 12:10:21 +0000 (07:10 -0500)]
rgw/restore: s3tests to test restore object functionality.
This tests are added to tests temporary restore, permanent restore and
read through resotre object functionality, this includes zonegroup
parameters and checks.
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Casey Bodley [Wed, 19 Feb 2025 20:12:42 +0000 (15:12 -0500)]
s3: reenable tests with range requests and checksums
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 19 Feb 2025 17:35:51 +0000 (12:35 -0500)]
Merge pull request #619 from cbodley/wip-unpin-botocore
unpin botocore, disable failing sigv2/checksum tests
Raja [Wed, 19 Feb 2025 14:51:51 +0000 (20:21 +0530)]
Merge pull request #620 from ArbitCode/wip-rgw-raja-remove-clientid-oidc-provider
rgw/iam: add RemoveClientIDFromOpenIDConnectProvider
Raja Sharma [Tue, 18 Feb 2025 03:39:18 +0000 (09:09 +0530)]
rgw/iam: add RemoveClientIDFromOpenIDConnectProvider
Signed-off-by: Raja Sharma <raja@ibm.com>
Casey Bodley [Fri, 14 Feb 2025 20:31:32 +0000 (15:31 -0500)]
sns: clear region_name for s3 clients
work around sns failures due to default region_name='':
> ERROR s3tests_boto3/functional/test_sns.py::test_account_topic_publish - botocore.exceptions.EndpointResolutionError: Invalid region: region was not a valid DNS name.
> ERROR s3tests_boto3/functional/test_sns.py::test_cross_account_topic_publish - botocore.exceptions.EndpointResolutionError: Invalid region: region was not a valid DNS name.
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 14 Feb 2025 16:35:54 +0000 (11:35 -0500)]
s3: disable checksum calculation for test_object_create_bad_contentlength_negative
if tls is enabled, boto will switch to STREAMING-UNSIGNED-PAYLOAD-TRAILER
and omit the provided content-length header. this leads to test failure:
> ________________ test_object_create_bad_contentlength_negative _________________
> e = assert_raises(ClientError, client.put_object, Bucket=bucket_name, Key=key_name, ContentLength=-1)
> AssertionError: ClientError not raised
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 13 Feb 2025 16:45:42 +0000 (11:45 -0500)]
iam: remove invalid Bucket param from list_buckets()
> botocore.exceptions.ParamValidationError: Parameter validation failed:
> Unknown parameter in input: "Bucket", must be one of: MaxBuckets, ContinuationToken, Prefix, BucketRegion
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Feb 2025 21:06:49 +0000 (16:06 -0500)]
s3: disable multipart/ranged tests with checksum failures
boto update exposed some bugs in our checksum feature around multipart
copy and ranged requests. disabling them with fails_on_rgw until
https://tracker.ceph.com/issues/69936 is resolved
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Feb 2025 19:44:45 +0000 (14:44 -0500)]
s3: disable request_checksum_calculation for test_multipart_checksum_upload_fallback
the test sends create_multipart_upload() with a requested checksum
algorithm, and upload_part() requests without. newer boto automatically
adds `x-amz-sdk-checksum-algorithm: CRC32` when nothing is specified,
so we have to explicitly disable that behavior via botocore config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 6 Sep 2024 12:34:44 +0000 (08:34 -0400)]
s3: clean up use of tenanted bucket names
the botocore.handlers.validate_bucket_name validation is enabled by
default, but we can disable it with unregister(). this avoids having to
mess with the signature or url
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 22 Jan 2025 17:04:40 +0000 (12:04 -0500)]
s3: sse-kms policy tests use v4 client
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 22 Jan 2025 16:16:13 +0000 (11:16 -0500)]
s3: mark sigv2 tests with fails_on_rgw
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 22 Jan 2025 16:15:38 +0000 (11:15 -0500)]
requirements: unpin botocore version
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Masarwa [Fri, 7 Feb 2025 07:19:48 +0000 (09:19 +0200)]
Merge pull request #616 from ceph/wip-alimasa-sns-cross-tenant
RGW | BucketNotification: fix test to expect authorization failure
Reviewed-by: yuvalif<ylifshit@redhat.com>
Ali Masarwa [Wed, 5 Feb 2025 08:49:01 +0000 (10:49 +0200)]
rgw|BN: fix test to expect authorization failure
Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
Raja [Thu, 30 Jan 2025 06:29:14 +0000 (11:59 +0530)]
Merge pull request #611 from ArbitCode/wip-raja-fix-multipart-upload-cant-get-obj-tag
RGW:test-case to fix obj by multipart upload cant get tag
Raja [Wed, 29 Jan 2025 15:14:09 +0000 (20:44 +0530)]
Merge branch 'ceph:master' into wip-raja-fix-multipart-upload-cant-get-obj-tag
Raja [Tue, 28 Jan 2025 16:41:37 +0000 (22:11 +0530)]
Merge pull request #610 from ArbitCode/wip-raja-rgw-test-support-64526
rgw test-case to support x-expected-bucket-owner
Raja Sharma [Tue, 21 Jan 2025 12:11:33 +0000 (17:41 +0530)]
test-case to fix obj by multipart upload cant get tag
Signed-off-by: Raja Sharma <raja@ibm.com>
Yuval Lifshitz [Mon, 20 Jan 2025 10:14:11 +0000 (12:14 +0200)]
Merge pull request #607 from yuvalif/wip-yuval-bucket-logging-tenant
rgw/logging: increase test coverage
Reviewed-By: Ali Masarwe <ali.masarwa@ibm.com>
Raja Sharma [Fri, 17 Jan 2025 12:07:02 +0000 (17:37 +0530)]
rgw test-case to support x-expected-bucket-owner
If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).
PR: ceph/ceph#61215
Fixes: https://tracker.ceph.com/issues/64526
Signed-off-by: Raja Sharma <raja@ibm.com>
Yuval Lifshitz [Wed, 8 Jan 2025 16:19:25 +0000 (16:19 +0000)]
rgw/logging: fix typo in readme
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 2 Jan 2025 14:01:49 +0000 (14:01 +0000)]
rgw/logging: add cleanup tests
* use flushing api instead of sleep when possible
* test flushing concurrency
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 19 Dec 2024 13:50:06 +0000 (13:50 +0000)]
rgw/logging: test log bucket encryption error
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 19 Dec 2024 12:05:00 +0000 (12:05 +0000)]
rgw/logging: test source and log have different names
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 19 Dec 2024 10:59:07 +0000 (10:59 +0000)]
rgw/logging: test tenant support
when source and log buckets are on a specific tenant, or
on different tenants
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Matt Benjamin [Mon, 13 Jan 2025 16:09:29 +0000 (11:09 -0500)]
Merge pull request #571 from linuxbox2/wip-get-objattrs
test get_object_attributes
Adam Emerson [Wed, 8 Jan 2025 21:03:34 +0000 (16:03 -0500)]
Merge pull request #549 from jzhu116-bloomberg/wip-63995
add test case for delete-marker expiration with 'Days' tag
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Matt Benjamin [Fri, 29 Nov 2024 17:31:54 +0000 (12:31 -0500)]
mark attribute tests as failing on dbstore (for now)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Thu, 17 Oct 2024 22:26:07 +0000 (18:26 -0400)]
more tests for GetObjectAttributes
* multipart upload without checksums
* multipart upload with a single part
* pagination of multipart parts
* non-multipart upload with/without checksum
* versioned object, current and non-current
* sse-c encrypted object
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Sun, 13 Oct 2024 14:47:17 +0000 (10:47 -0400)]
multipart fallback to create-multipart checksum algorithm
there seem to be workloads which assume checksum algorithm can be
omitted from upload-part
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Sat, 6 Jul 2024 17:21:55 +0000 (13:21 -0400)]
test get_object_attributes
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Yuval Lifshitz [Wed, 18 Dec 2024 11:44:24 +0000 (13:44 +0200)]
Merge pull request #606 from yuvalif/wip-yuval-bucket-logging-flush
rgw/logging: tests for flush API
Reviewed-By: Ali Masarwe <ali.masarwa@ibm.com>
Casey Bodley [Tue, 17 Dec 2024 21:34:03 +0000 (16:34 -0500)]
Merge pull request #601 from pritha-srivastava/wip-rgw-merge-store-tests
rgw/s3-tests: adding missing tests for testing delete operations (related to bucket policy and bucket public access block)
Casey Bodley [Mon, 16 Dec 2024 17:39:21 +0000 (12:39 -0500)]
Merge pull request #605 from clwluvw/read-stats
HeadBucket: add read-stats query string for usage test
Seena Fallah [Tue, 10 Dec 2024 21:21:10 +0000 (22:21 +0100)]
HeadBucket: add read-stats query string for usage test
Refs: https://github.com/ceph/ceph/pull/56756
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Yuval Lifshitz [Wed, 11 Dec 2024 20:54:21 +0000 (20:54 +0000)]
rgw/logging: tests for flush API
as well as test for object key filters
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Casey Bodley [Tue, 10 Dec 2024 16:07:44 +0000 (11:07 -0500)]
Merge pull request #576 from yuvalif/wip-yuval-bucket-logging
rgw/logging: basic set of tests for bucket logging
Yuval Lifshitz [Thu, 8 Aug 2024 18:00:01 +0000 (18:00 +0000)]
rgw/logging: basic set of tests for bucket logging
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Casey Bodley [Mon, 25 Nov 2024 15:27:12 +0000 (10:27 -0500)]
Merge pull request #603 from ArbitCode/wip-raja-rgw-test-fix-68211
rgw:modify testcase rgw header when bucket or user quota is disabled
Casey Bodley [Fri, 22 Nov 2024 15:25:13 +0000 (10:25 -0500)]
Merge pull request #604 from cbodley/wip-69001
sts: remove test_get_session_token_permanent_creds_denied
Casey Bodley [Fri, 22 Nov 2024 15:24:58 +0000 (10:24 -0500)]
Merge pull request #602 from pritha-srivastava/wip-rgw-change-err-code
rgw/s3tests: making the tests generic to check only
Casey Bodley [Thu, 21 Nov 2024 15:52:44 +0000 (10:52 -0500)]
sts: remove test_get_session_token_permanent_creds_denied
Fixes: https://tracker.ceph.com/issues/69001
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Raja Sharma [Wed, 20 Nov 2024 17:28:18 +0000 (22:58 +0530)]
rgw:modify testcase rgw header when bucket quota or user is disabled
By default quota is disable at user/bucket level.
if quota is disable then these value will not return so need to modify test_head_bucket_usages
'X-RGW-Quota-User-Size'
'X-RGW-Quota-User-Objects'
'X-RGW-Quota-Bucket-Size'
'X-RGW-Quota-Bucket-Objects'
to Fix: https://tracker.ceph.com/issues/68211
Signed-off-by: Raja Sharma raja@ibm.com
Pritha Srivastava [Wed, 20 Nov 2024 04:12:18 +0000 (09:42 +0530)]
rgw/s3tests: making the tests generic to check only
for 403 error code (and not specific errors) so that
the tests pass for any order of auth engines.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Tue, 12 Nov 2024 05:36:23 +0000 (11:06 +0530)]
rgw/s3-tests: adding a test to check put, get, delete and
then get to ensure that public block access is deleted
successfully.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Tue, 12 Nov 2024 04:34:25 +0000 (10:04 +0530)]
rgw/s3-test: adding test to set, get, delete and then get
a bucket policy to ensure that delete correctly removes
the bucket policy
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Soumya Koduri [Wed, 23 Oct 2024 11:54:18 +0000 (17:24 +0530)]
Merge pull request #593 from soumyakoduri/wip-skoduri-lc-noncur
Updating lifecycle_noncur* tests to include objects with instance empty
Soumya Koduri [Wed, 9 Oct 2024 17:23:19 +0000 (22:53 +0530)]
Updating lifecycle_noncur* tests to include objects with instance empty
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Fri, 4 Oct 2024 21:21:04 +0000 (17:21 -0400)]
Merge pull request #591 from cbodley/wip-68292
s3: test GetObject with PartNumber and SSE-C encryption
Casey Bodley [Fri, 4 Oct 2024 20:27:16 +0000 (16:27 -0400)]
Merge pull request #589 from tobias-urdin/v2-presigned-get
Add v2 signature presigned get_object tests
Casey Bodley [Fri, 27 Sep 2024 18:16:05 +0000 (14:16 -0400)]
s3: test GetObject with PartNumber and SSE-C encryption
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 25 Sep 2024 15:29:01 +0000 (11:29 -0400)]
s3: add v2 signature presigned put_object tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Tobias Urdin [Wed, 25 Sep 2024 11:18:21 +0000 (13:18 +0200)]
Add v2 signature presigned get_object tests
This adds tests for get_object presigned URLs
using signature v2.
Also code formatting.
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
Casey Bodley [Tue, 3 Sep 2024 14:53:00 +0000 (10:53 -0400)]
Merge pull request #579 from galsalomon66/tracker_65651
Casey Bodley [Thu, 29 Aug 2024 14:50:47 +0000 (10:50 -0400)]
Merge pull request #528 from pritha-srivastava/wip-rgw-oidc-tests
rgw: adding tests for add_client_id_to_oidc_provider
galsalomon66 [Wed, 28 Aug 2024 09:48:09 +0000 (09:48 +0000)]
fix comments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Casey Bodley [Thu, 22 Aug 2024 18:39:30 +0000 (14:39 -0400)]
Merge pull request #578 from clwluvw/upload-part-copy
UploadPartCopy: add test for source bucket with policy
Gal Salomon [Mon, 19 Aug 2024 13:00:16 +0000 (16:00 +0300)]
fix the assert per empty results
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Pritha Srivastava [Mon, 16 Oct 2023 05:39:45 +0000 (11:09 +0530)]
rgw: adding tests for add_client_id_to_oidc_provider
and update_thumbprint_for oidc_provider.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Seena Fallah [Fri, 16 Aug 2024 12:30:17 +0000 (14:30 +0200)]
UploadPartCopy: add test for source bucket with policy
Ref: https://github.com/ceph/ceph/pull/59253
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Casey Bodley [Wed, 14 Aug 2024 13:44:16 +0000 (09:44 -0400)]
Merge pull request #577 from cbodley/wip-cross-tenant
s3: reenable tenanted bucket policy test
Casey Bodley [Tue, 13 Aug 2024 14:23:19 +0000 (10:23 -0400)]
s3: reenable tenanted bucket policy test
the before-call hook url-encodes the ':' part of tenanted bucket names
to resolve SignatureDoesNotMatch errors
removed the list-v2 version of the test since it isn't relevant to
bucket policy test coverage
add a new test case that creates the bucket under the tenanted user,
then uses the main client to access it
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 30 Jul 2024 12:26:23 +0000 (13:26 +0100)]
Merge pull request #572 from clwluvw/s3select-error
s3select: align error codes with the new AWS format
Casey Bodley [Fri, 26 Jul 2024 13:09:31 +0000 (14:09 +0100)]
Merge pull request #574 from clwluvw/sse-c-policy
BucketPolicy: add test for sse-c in conditions
Casey Bodley [Thu, 25 Jul 2024 14:33:14 +0000 (15:33 +0100)]
Merge pull request #573 from clwluvw/public-policy
BucketPolicy: donot allow NotPrincipal with Allow Effect
Seena Fallah [Tue, 23 Jul 2024 18:47:22 +0000 (20:47 +0200)]
BucketPolicy: decouple encryption tests from invalid algo and unencrypted
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 21:07:03 +0000 (23:07 +0200)]
BucketPolicy: add test for sse-c in conditions
Ref. https://github.com/ceph/ceph/pull/58689
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:51:10 +0000 (20:51 +0200)]
BlockPublicPolicy: add test when policy has principal
Ref. https://tracker.ceph.com/issues/67048
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:50:26 +0000 (20:50 +0200)]
PolicyStatus: add test for policy with Principal
Ref. https://github.com/ceph/ceph/pull/58686
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:48:06 +0000 (20:48 +0200)]
BucketPolicy: donot allow NotPrincipal with Allow Effect
Ref. https://github.com/ceph/ceph/pull/58686
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 17 Jul 2024 15:04:21 +0000 (17:04 +0200)]
s3select: align error codes with the new AWS format
ref. https://github.com/ceph/ceph/pull/56864
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Casey Bodley [Fri, 5 Jul 2024 14:51:15 +0000 (15:51 +0100)]
Merge pull request #570 from cbodley/wip-66705
test Get/HeadObject with partNumber for single-multipart upload
Casey Bodley [Fri, 5 Jul 2024 14:04:39 +0000 (15:04 +0100)]
Merge pull request #561 from galsalomon66/fix_non_handled_error_resonse
Fix non handled error response
Casey Bodley [Thu, 4 Jul 2024 21:50:21 +0000 (22:50 +0100)]
Merge pull request #564 from linuxbox2/wip-cbodley-multipart-nostreaming
Wip cbodley multipart nostreaming
Matt Benjamin [Wed, 3 Jul 2024 13:42:37 +0000 (09:42 -0400)]
mark two tests that fail on dbstore
also add @pytest.mark.checksum for new checksum
tests
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Sat, 22 Jun 2024 21:42:21 +0000 (17:42 -0400)]
remove duplicate size assigment [rkhudov review]
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 3 May 2024 20:25:19 +0000 (16:25 -0400)]
add test_post_object_upload_checksum
this tests a two-megabyte binary upload with validated
(awscli-computed) SHA256 checksum, and also verifies failure when
a bad checksum is provided
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 1 May 2024 18:15:36 +0000 (14:15 -0400)]
add test_multipart_checksum_3parts
tests a full multipart upload cycle with 3 unique parts, which
verifies composite checksum computation and the logic to propagate
parts_count to ComleteMultipart
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 1 May 2024 18:05:52 +0000 (14:05 -0400)]
test_multipart_upload_sha256: work around failures re-trying complete-multipart
As described in https://tracker.ceph.com/issues/65746, retrying complete-multipart
after having attempted to complete the same upload with a bad checksum argument
fails with an internal error.
The status code is 500, but I'm unsure if it can be retried again, or whether
the upload can be aborted later.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Wed, 1 May 2024 17:59:09 +0000 (13:59 -0400)]
add "checksum" marker, since new checksum tests reference it
this removes a Pytest warning during execution
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Wed, 26 Jun 2024 14:50:28 +0000 (10:50 -0400)]
test Get/HeadObject with partNumber for single-multipart upload
test_multipart_get_part() tests 'normal' multipart uploads. add a new
test case for a multipart upload with a single part to tests the fix
for https://tracker.ceph.com/issues/66705
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 25 Jun 2024 13:12:21 +0000 (14:12 +0100)]
Merge pull request #569 from cbodley/wip-66655
requirements: unpin pytz version
Casey Bodley [Mon, 24 Jun 2024 17:26:23 +0000 (13:26 -0400)]
requirements: unpin pytz version
Fixes: https://tracker.ceph.com/issues/66655
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 14 May 2024 15:48:37 +0000 (16:48 +0100)]
Merge pull request #565 from bobham-bloomberg/FixListBucketsCtimeTest
Fix wrong assertion of the test: `test_buckets_list_ctime`
Sumedh A. Kulkarni [Tue, 5 Apr 2022 10:25:00 +0000 (04:25 -0600)]
Fix wrong assertion of the test: `test_buckets_list_ctime`
TestName:
s3tests_boto3.functional.test_s3:test_buckets_list_ctime
Problem:
The test creates 5 buckets for a user but in an assertion check,
it asserts false if any bucket of the user has CreationTime less
than a day prior to current time.
Due to this reason the test fails if the user has pre-existing
buckets older than a day.
Solution:
Assert only on the CreationTime of buckets that were created with
test execution.
Signed-off-by: Sumedh A. Kulkarni <sumedh.a.kulkarni@seagate.com>
Co-developed-by: Bob Ham <bham12@bloomberg.net>
Signed-off-by: Bob Ham <bham12@bloomberg.net>
Gal Salomon [Wed, 17 Apr 2024 15:20:37 +0000 (18:20 +0300)]
add handling for EventStreamError exception
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Gal Salomon [Tue, 16 Apr 2024 07:10:32 +0000 (10:10 +0300)]
a change is the RGW error-response require changes in s3-tests
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Casey Bodley [Fri, 12 Apr 2024 17:12:41 +0000 (18:12 +0100)]
Merge pull request #537 from cbodley/wip-iam-user-apis
iam: add tests for account-based IAM apis
Casey Bodley [Wed, 27 Mar 2024 13:58:41 +0000 (13:58 +0000)]
Merge pull request #557 from yuvalif/wip-yuval-mpu-etag
test etag on mpu complete replies
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Yuval Lifshitz [Mon, 25 Mar 2024 16:45:06 +0000 (16:45 +0000)]
test etag on mpu complete replies
this is to cover the fix of: https://tracker.ceph.com/issues/58879
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Matt Benjamin [Fri, 8 Mar 2024 15:10:47 +0000 (10:10 -0500)]
add tests for ObjectSizeGreater(Less)Than
Add tests for the new ObjectSizeGreaterThan and
ObjectSizeLessThan lifecycle operators.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Thu, 7 Mar 2024 19:27:13 +0000 (14:27 -0500)]
add test test_lifecycle_expiration_newer_noncurrent()
This verifies the new NewerNoncurrentVersions lifecycle filter
operator.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>