]> git.apps.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
6 months agorgw/cloud-transition: increase time out for test cases 639/head
Jiffin Tony Thottan [Mon, 7 Apr 2025 09:38:09 +0000 (15:08 +0530)]
rgw/cloud-transition: increase time out for test cases

Fixes: https://tracker.ceph.com/issues/69411
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
7 months agoMerge pull request #634 from yuvalif/wip-bucket-logging-policy
Casey Bodley [Tue, 1 Apr 2025 17:19:07 +0000 (13:19 -0400)]
Merge pull request #634 from yuvalif/wip-bucket-logging-policy

rgw/logging: bucket logging policy

7 months agoMerge pull request #626 from linuxbox2/wip-crc64nvme
Casey Bodley [Mon, 31 Mar 2025 19:41:12 +0000 (15:41 -0400)]
Merge pull request #626 from linuxbox2/wip-crc64nvme

Wip crc64nvme

7 months agorgw/logging: test bucket logging with accounts 634/head
Yuval Lifshitz [Mon, 31 Mar 2025 18:15:06 +0000 (18:15 +0000)]
rgw/logging: test bucket logging with accounts

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agorgw/logging: fix tenant test
Yuval Lifshitz [Fri, 28 Mar 2025 13:52:41 +0000 (13:52 +0000)]
rgw/logging: fix tenant test

tests were failing in teuthology since the tenanted user name
already have the tenant in its name

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agoenhance additional checksum tests 626/head
Matt Benjamin [Mon, 3 Mar 2025 18:31:21 +0000 (13:31 -0500)]
enhance additional checksum tests

includes tests for CRC64NVME, tests for selecting
COMPOSITE and FULL_OBJECT checksums

a decomposed matrix of tests for all checksum types

also removes the mixed checksum upload case that no longer
works in recent boto3

cleanups, add sha1

checksum validation failure (mismatch) returns BadDigest

multipart checksum matrix helper now validates checksum and checksum type
for all operations which can return them (complete-multipart, head-object,
and get-object-attributes)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 months agoadd minimal put-object for CRC64NVME
Matt Benjamin [Wed, 26 Feb 2025 02:04:55 +0000 (21:04 -0500)]
add minimal put-object for CRC64NVME

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 months agoMerge pull request #635 from cbodley/wip-69527
Casey Bodley [Thu, 27 Mar 2025 21:49:28 +0000 (17:49 -0400)]
Merge pull request #635 from cbodley/wip-69527

test put_bucket_acl with group uri

7 months agorgw/logging: add bucket logging permission tests
Yuval Lifshitz [Thu, 27 Mar 2025 18:28:07 +0000 (18:28 +0000)]
rgw/logging: add bucket logging permission tests

this is to cover new functionality added in:
https://github.com/ceph/ceph/pull/62284

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agorgw/logging: add more bucket logging error cases
Yuval Lifshitz [Thu, 27 Mar 2025 14:02:49 +0000 (14:02 +0000)]
rgw/logging: add more bucket logging error cases

this is to cover these checks:
* source bucket ownership
* "requester pays" on log bucket

that were added in: https://github.com/ceph/ceph/pull/62284

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agorgw/logging: add basic policy to target bucket
Yuval Lifshitz [Wed, 26 Mar 2025 13:52:16 +0000 (13:52 +0000)]
rgw/logging: add basic policy to target bucket

this commit needed to be able to run bucket logging regression
against: https://github.com/ceph/ceph/pull/62284
since target bucket requires policy for bucket logging to work
this only covers the positive cases from bucket logging policy
perspective

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agotest put_bucket_acl with group uri 635/head
Casey Bodley [Wed, 26 Mar 2025 20:10:14 +0000 (16:10 -0400)]
test put_bucket_acl with group uri

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw/logging: add missing marker to remove warnings
Yuval Lifshitz [Wed, 26 Mar 2025 13:51:28 +0000 (13:51 +0000)]
rgw/logging: add missing marker to remove warnings

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agoMerge pull request #614 from jzhu116-bloomberg/wip-63799
Casey Bodley [Mon, 24 Mar 2025 17:48:11 +0000 (13:48 -0400)]
Merge pull request #614 from jzhu116-bloomberg/wip-63799

add test case for stacked delete-markers

7 months agoMerge pull request #625 from cbodley/wip-70191
Casey Bodley [Wed, 19 Mar 2025 18:42:25 +0000 (14:42 -0400)]
Merge pull request #625 from cbodley/wip-70191

s3: test bucket policy evaluation for CreateMultipartUpload

7 months agoMerge pull request #567 from clwluvw/policy-remove-self-access
Casey Bodley [Wed, 19 Mar 2025 12:23:12 +0000 (08:23 -0400)]
Merge pull request #567 from clwluvw/policy-remove-self-access

BucketPolicy: add tests for ConfirmRemoveSelfBucketAccess header

7 months agoBucketPolicy: add tests for ConfirmRemoveSelfBucketAccess header 567/head
Seena Fallah [Wed, 22 May 2024 15:57:25 +0000 (17:57 +0200)]
BucketPolicy: add tests for ConfirmRemoveSelfBucketAccess header

Refrence: https://github.com/ceph/ceph/pull/57629
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
7 months agoMerge pull request #627 from soumyakoduri/wip-skoduri-restore
Soumya Koduri [Sat, 15 Mar 2025 11:48:04 +0000 (17:18 +0530)]
Merge pull request #627 from soumyakoduri/wip-skoduri-restore

cloud-restore:  Add testcase for restoring non-current versioned objects

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
8 months agocloud-restore: testcase for non-current versioned object 627/head
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>
8 months agoMerge pull request #599 from shreyanshjain7174/restore-s3tests
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>
8 months agoMerge pull request #622 from cbodley/wip-70013
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

8 months agoMerge pull request #621 from cbodley/wip-69936
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

8 months agomark test_versioning_stack_delete_merkers fails_on_dbstore 614/head
Jane Zhu [Thu, 27 Feb 2025 22:07:31 +0000 (22:07 +0000)]
mark test_versioning_stack_delete_merkers fails_on_dbstore

Signed-off-by: Jane Zhu <jzhu116@bloomberg.net>
8 months agos3: test bucket policy evaluation for CreateMultipartUpload 625/head
Casey Bodley [Wed, 26 Feb 2025 21:47:03 +0000 (16:47 -0500)]
s3: test bucket policy evaluation for CreateMultipartUpload

test case for https://tracker.ceph.com/issues/70191

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 months agorunning cloud restore tests seperately 599/head
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>
8 months agos3: test that object lock can be enabled on an existing bucket 622/head
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>
8 months agorgw/restore: s3tests to test restore object functionality.
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>
8 months agos3: reenable tests with range requests and checksums 621/head
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>
8 months agoMerge pull request #619 from cbodley/wip-unpin-botocore
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

8 months agoMerge pull request #620 from ArbitCode/wip-rgw-raja-remove-clientid-oidc-provider
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

8 months agorgw/iam: add RemoveClientIDFromOpenIDConnectProvider 620/head
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>
8 months agosns: clear region_name for s3 clients 619/head
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>
8 months agos3: disable checksum calculation for test_object_create_bad_contentlength_negative
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>
8 months agoiam: remove invalid Bucket param from list_buckets()
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>
8 months agos3: disable multipart/ranged tests with checksum failures
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>
8 months agos3: disable request_checksum_calculation for test_multipart_checksum_upload_fallback
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>
8 months agos3: clean up use of tenanted bucket names
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>
8 months agos3: sse-kms policy tests use v4 client
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>
8 months agos3: mark sigv2 tests with fails_on_rgw
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>
8 months agorequirements: unpin botocore version
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>
8 months agoMerge pull request #616 from ceph/wip-alimasa-sns-cross-tenant
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>
8 months agorgw|BN: fix test to expect authorization failure wip-alimasa-sns-cross-tenant 616/head
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>
9 months agoMerge pull request #611 from ArbitCode/wip-raja-fix-multipart-upload-cant-get-obj-tag
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

9 months agoMerge branch 'ceph:master' into wip-raja-fix-multipart-upload-cant-get-obj-tag 611/head
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

9 months agoMerge pull request #610 from ArbitCode/wip-raja-rgw-test-support-64526
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

9 months agoadd test case for stacked delete-markers
Jane Zhu [Thu, 23 Jan 2025 22:06:40 +0000 (22:06 +0000)]
add test case for stacked delete-markers

Signed-off-by: Jane Zhu <jzhu116@bloomberg.net>
9 months agotest-case to fix obj by multipart upload cant get tag
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>
9 months agoMerge pull request #607 from yuvalif/wip-yuval-bucket-logging-tenant
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>
9 months agorgw test-case to support x-expected-bucket-owner 610/head
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>
9 months agorgw/logging: fix typo in readme 607/head
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>
9 months agorgw/logging: add cleanup tests
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>
9 months agorgw/logging: test log bucket encryption error
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>
9 months agorgw/logging: test source and log have different names
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>
9 months agorgw/logging: test tenant support
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>
9 months agoMerge pull request #571 from linuxbox2/wip-get-objattrs
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

9 months agoMerge pull request #549 from jzhu116-bloomberg/wip-63995
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>
9 months agomark attribute tests as failing on dbstore (for now) 571/head
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>
9 months agomore tests for GetObjectAttributes
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>
9 months agomultipart fallback to create-multipart checksum algorithm
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>
9 months agotest get_object_attributes
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>
10 months agoMerge pull request #606 from yuvalif/wip-yuval-bucket-logging-flush
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>
10 months agoMerge pull request #601 from pritha-srivastava/wip-rgw-merge-store-tests
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)

10 months agoMerge pull request #605 from clwluvw/read-stats
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

10 months agoHeadBucket: add read-stats query string for usage test 605/head
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>
10 months agorgw/logging: tests for flush API 606/head
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>
10 months agoMerge pull request #576 from yuvalif/wip-yuval-bucket-logging
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

10 months agorgw/logging: basic set of tests for bucket logging 576/head
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>
11 months agoMerge pull request #603 from ArbitCode/wip-raja-rgw-test-fix-68211
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

11 months agoMerge pull request #604 from cbodley/wip-69001
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

11 months agoMerge pull request #602 from pritha-srivastava/wip-rgw-change-err-code
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

11 months agosts: remove test_get_session_token_permanent_creds_denied 604/head
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>
11 months agorgw:modify testcase rgw header when bucket quota or user is disabled 603/head
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
11 months agorgw/s3tests: making the tests generic to check only 602/head
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>
11 months agorgw/s3-tests: adding a test to check put, get, delete and 601/head
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>
11 months agorgw/s3-test: adding test to set, get, delete and then get
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>
12 months agoMerge pull request #593 from soumyakoduri/wip-skoduri-lc-noncur
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

12 months agoUpdating lifecycle_noncur* tests to include objects with instance empty 593/head
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>
13 months agoMerge pull request #591 from cbodley/wip-68292
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

13 months agoMerge pull request #589 from tobias-urdin/v2-presigned-get
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

13 months agos3: test GetObject with PartNumber and SSE-C encryption 591/head
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>
13 months agos3: add v2 signature presigned put_object tests 589/head
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>
13 months agoAdd v2 signature presigned get_object tests
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>
14 months agoMerge pull request #579 from galsalomon66/tracker_65651
Casey Bodley [Tue, 3 Sep 2024 14:53:00 +0000 (10:53 -0400)]
Merge pull request #579 from galsalomon66/tracker_65651

14 months agoMerge pull request #528 from pritha-srivastava/wip-rgw-oidc-tests
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

14 months agofix comments 579/head
galsalomon66 [Wed, 28 Aug 2024 09:48:09 +0000 (09:48 +0000)]
fix comments

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
14 months agoMerge pull request #578 from clwluvw/upload-part-copy
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

14 months agofix the assert per empty results
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>
14 months agorgw: adding tests for add_client_id_to_oidc_provider 528/head
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>
14 months agoUploadPartCopy: add test for source bucket with policy 578/head
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>
14 months agoMerge pull request #577 from cbodley/wip-cross-tenant
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

14 months agos3: reenable tenanted bucket policy test 577/head
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>
15 months agoMerge pull request #572 from clwluvw/s3select-error
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

15 months agoMerge pull request #574 from clwluvw/sse-c-policy
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

15 months agoMerge pull request #573 from clwluvw/public-policy
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

15 months agoBucketPolicy: decouple encryption tests from invalid algo and unencrypted 574/head
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>
15 months agoBucketPolicy: add test for sse-c in conditions
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>
15 months agoBlockPublicPolicy: add test when policy has principal 573/head
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>
15 months agoPolicyStatus: add test for policy with Principal
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>
15 months agoBucketPolicy: donot allow NotPrincipal with Allow Effect
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>
15 months agos3select: align error codes with the new AWS format 572/head
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>