]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
2 weeks agos3control: add test_account_public_access_block() 669/head
Casey Bodley [Tue, 1 Jul 2025 16:07:23 +0000 (12:07 -0400)]
s3control: add test_account_public_access_block()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 weeks agoiam: use config account_id instead of parsing ARNs
Casey Bodley [Mon, 31 Mar 2025 18:27:50 +0000 (14:27 -0400)]
iam: use config account_id instead of parsing ARNs

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 weeks agoadd account_id field to config sections
Casey Bodley [Mon, 31 Mar 2025 18:16:13 +0000 (14:16 -0400)]
add account_id field to config sections

use fallback=None to make account_id optional. getters may return None
for non-account users

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge pull request #739 from linuxbox2/wip-reup-etag
Casey Bodley [Thu, 7 May 2026 12:43:02 +0000 (08:43 -0400)]
Merge pull request #739 from linuxbox2/wip-reup-etag

rgw/multipart: test idempotent complete-multipart cksum and etag

3 weeks agoMerge pull request #716 from mheler/target_by_bucket
mheler [Wed, 6 May 2026 10:08:00 +0000 (05:08 -0500)]
Merge pull request #716 from mheler/target_by_bucket

s3tests: add tests for per-bucket cloud transition targeting

4 weeks agoMerge pull request #729 from cheese-cakee/wip-75416-test-log-request-id
Yuval Lifshitz [Thu, 30 Apr 2026 08:01:09 +0000 (11:01 +0300)]
Merge pull request #729 from cheese-cakee/wip-75416-test-log-request-id

test: add test for standard access log request ID

4 weeks agoMerge pull request #728 from jacquesh/add-complete-unstarted-multipart-upload
Casey Bodley [Wed, 29 Apr 2026 17:16:27 +0000 (13:16 -0400)]
Merge pull request #728 from jacquesh/add-complete-unstarted-multipart-upload

s3: Add a test for attempting to complete an unstarted multipart upload

4 weeks agos3: add fails_on_dbstore mark 728/head
Casey Bodley [Wed, 29 Apr 2026 17:13:04 +0000 (13:13 -0400)]
s3: add fails_on_dbstore mark

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 weeks agoMerge pull request #741 from cbodley/wip-74398
Casey Bodley [Tue, 28 Apr 2026 12:00:23 +0000 (08:00 -0400)]
Merge pull request #741 from cbodley/wip-74398

s3: add test_head_object_404_with_policy_prefix()

4 weeks agoMerge pull request #740 from nbalacha/wip-nbalacha-76206
Yuval Lifshitz [Tue, 28 Apr 2026 07:35:20 +0000 (10:35 +0300)]
Merge pull request #740 from nbalacha/wip-nbalacha-76206

rgw-bucket-logging: handle presigned SigV2 requests

4 weeks agorgw-bucket-logging: handle presigned SigV2 requests 740/head
N Balachandran [Wed, 22 Apr 2026 09:56:29 +0000 (15:26 +0530)]
rgw-bucket-logging: handle presigned SigV2 requests

Adds a test to check that the log record AuthenticationType is
correctly set to QueryString for SigV2 presigned URLs.

Fixes: https://tracker.ceph.com/issues/76206
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
4 weeks agoMerge pull request #736 from cbodley/wip-74595
Casey Bodley [Mon, 27 Apr 2026 13:15:13 +0000 (09:15 -0400)]
Merge pull request #736 from cbodley/wip-74595

sns: test sns:ListTopics with non-root account user

5 weeks agos3: add test_head_object_404_with_policy_prefix() 741/head
Casey Bodley [Thu, 23 Apr 2026 16:39:56 +0000 (12:39 -0400)]
s3: add test_head_object_404_with_policy_prefix()

Fixes: https://tracker.ceph.com/issues/74398
Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 weeks agorgw/multipart: test idempotent complete-multipart cksum and etag 739/head
Matt Benjamin [Tue, 21 Apr 2026 17:29:23 +0000 (13:29 -0400)]
rgw/multipart: test idempotent complete-multipart cksum and etag

Verify that correct etag and checksum (if any) are returned from
a complete-multipart operation that is retried.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 weeks agosns: test sns:ListTopics with non-root account user 736/head
Casey Bodley [Thu, 16 Apr 2026 15:52:43 +0000 (11:52 -0400)]
sns: test sns:ListTopics with non-root account user

test that identity policy can grant access to ListTopics

Fixes: https://tracker.ceph.com/issues/74595
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agoMerge pull request #734 from cbodley/wip-75943
Casey Bodley [Fri, 10 Apr 2026 15:14:33 +0000 (11:14 -0400)]
Merge pull request #734 from cbodley/wip-75943

s3: replace deprecated ssl.wrap_socket()

7 weeks agos3: replace deprecated ssl.wrap_socket() 734/head
Casey Bodley [Thu, 9 Apr 2026 15:49:20 +0000 (11:49 -0400)]
s3: replace deprecated ssl.wrap_socket()

this was deprecated in python 3.7 and removed in 3.12

Fixes: https://tracker.ceph.com/issues/75943
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agoRemove fails_on_rgw to facilitate testing a fix
Jacques Heunis [Tue, 7 Apr 2026 12:10:10 +0000 (13:10 +0100)]
Remove fails_on_rgw to facilitate testing a fix

Signed-off-by: Jacques Heunis <jheunis@bloomberg.net>
2 months agotest: add test for standard access log request ID 729/head
cheese-cakee [Wed, 25 Mar 2026 20:00:15 +0000 (01:30 +0530)]
test: add test for standard access log request ID

Add test_bucket_logging_request_id to verify that the RequestID field
in the standard access log matches the x-amz-request-id returned in
the S3 PUT object response.

Related: ceph/ceph#67984, tracker.ceph.com/issues/75416
Signed-off-by: cheese-cakee <farzanaman99@gmail.com>
2 months agoMerge pull request #700 from pritha-srivastava/wip-rgw-sts-expired-creds
Casey Bodley [Tue, 24 Mar 2026 13:30:36 +0000 (09:30 -0400)]
Merge pull request #700 from pritha-srivastava/wip-rgw-sts-expired-creds

rgw/sts: modifying test_assume_role_creds_expiry

2 months agorgw/sts: modifying test_assume_role_creds_expiry 700/head
Pritha Srivastava [Thu, 9 Oct 2025 06:31:43 +0000 (12:01 +0530)]
rgw/sts: modifying test_assume_role_creds_expiry
to check for ExpiredToken (400) error code
instead of AccessDenied (403).

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2 months agoMerge pull request #722 from cbodley/wip-74399
Casey Bodley [Thu, 19 Mar 2026 19:53:27 +0000 (15:53 -0400)]
Merge pull request #722 from cbodley/wip-74399

iam: test identity policy for ListRoles

2 months agoiam: test identity policy for ListRoles 722/head
Casey Bodley [Thu, 15 Jan 2026 19:25:51 +0000 (14:25 -0500)]
iam: test identity policy for ListRoles

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agos3: Add a test for attempting to complete an unstarted multipart upload
Jacques Heunis [Mon, 16 Mar 2026 15:13:02 +0000 (15:13 +0000)]
s3: Add a test for attempting to complete an unstarted multipart upload

The AWS documentation for CompleteMultipartUpload specifies that the call will
return a 404 with the text "NoSuchUpload" to indicate that the specified
multipart upload does not exist. This could be the result of an invalid upload
ID or a multipart upload that has been aborted or completed.

Of particular significance is the requirement that this API call return a
400-series error (indicating a client-side problem) and not a 500-series error
(indicating a server-size problem).
At the time of writing, Ceph returns a 500 in this scenario which may be
handled incorrectly by client SDKs and is likely to be misinterpreted by Ceph
monitoring as an increase in errors that require operator intervention to fix.

CompleteMultipartUpload docs available at:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html

Signed-off-by: Jacques Heunis <jheunis@bloomberg.net>
4 months agoMerge pull request #720 from nbalacha/wip-nbalacha-74322
Yuval Lifshitz [Tue, 27 Jan 2026 12:35:36 +0000 (14:35 +0200)]
Merge pull request #720 from nbalacha/wip-nbalacha-74322

rgw/bucket-logging: set RetainUntilDate to the future

4 months agorgw/bucket-logging: set retain date to the future 720/head
N Balachandran [Tue, 6 Jan 2026 05:10:59 +0000 (10:40 +0530)]
rgw/bucket-logging: set retain date to the future

Sets the date for PutObjectRetention to 60 days in the
future.

Fixes: https://tracker.ceph.com/issues/74322
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
5 months agos3tests: add tests for per-bucket cloud transition targeting 716/head
Matthew N. Heler [Fri, 12 Dec 2025 01:14:22 +0000 (19:14 -0600)]
s3tests: add tests for per-bucket cloud transition targeting

Add tests to validate the target_by_bucket feature which allows each
source bucket to transition objects to a dedicated destination bucket
rather than sharing a common target.

New tests:
- test_lifecycle_cloud_transition_target_by_bucket: validates objects
  land in bucket-specific targets without source bucket name prefix
- test_lifecycle_cloud_transition_target_by_bucket_multiple_buckets:
  validates isolation between different source buckets

Each test will perform a restore of the object transitioned.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
5 months agoMerge pull request #704 from sungjoon-koh/wip-part-cksum
Casey Bodley [Thu, 4 Dec 2025 19:14:24 +0000 (14:14 -0500)]
Merge pull request #704 from sungjoon-koh/wip-part-cksum

s3: test checksum for get_object with part number