]> git.apps.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
4 weeks agoMerge pull request #680 from soumyakoduri/wip-skoduri-exp-date
Soumya Koduri [Sat, 16 Aug 2025 17:49:48 +0000 (23:19 +0530)]
Merge pull request #680 from soumyakoduri/wip-skoduri-exp-date

rgw/cloud-restore: verify if the expiry-date is updated

Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
5 weeks agorgw/cloud-restore: verify if the expiry-date is updated 680/head
Soumya Koduri [Mon, 4 Aug 2025 05:58:28 +0000 (11:28 +0530)]
rgw/cloud-restore: verify if the expiry-date is updated

This is the test-case for https://github.com/ceph/ceph/pull/64804.
If the `restoe-object` request is re-issued on a cloud-restored object,
it should update restoration period accordingly from the time the request
is re-issued.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
6 weeks agoMerge pull request #678 from galsalomon66/fix_assert_upon_empty_result
Gal Salomon [Fri, 1 Aug 2025 06:23:49 +0000 (09:23 +0300)]
Merge pull request #678 from galsalomon66/fix_assert_upon_empty_result

fix upon an empty results.

6 weeks agoa fix for empty results.for some of the queries 678/head
gal salomon [Tue, 29 Jul 2025 13:38:14 +0000 (16:38 +0300)]
a fix for empty results.for some of the queries
an empty result that may rarely happen, could cause an assertion.
the fix handle that cases.

Signed-off-by: gal salomon <gal.salomon@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
6 weeks agoMerge pull request #663 from cbodley/wip-s3-conditional-write
Ali Masarwa [Mon, 28 Jul 2025 16:24:55 +0000 (19:24 +0300)]
Merge pull request #663 from cbodley/wip-s3-conditional-write

s3: test conditional put_object() and delete_object()

Reviewed-by: Ali Masarwa <amasarwa@redhat.com>
6 weeks agoMerge pull request #664 from ArbitCode/wip-raja-get-account-summary-tests
Raja [Mon, 28 Jul 2025 09:10:19 +0000 (14:40 +0530)]
Merge pull request #664 from ArbitCode/wip-raja-get-account-summary-tests

rgw/sts: GetAccountSummary test

6 weeks agos3: more testing for conditional put 663/head 673/head
Ali Masarwa [Sun, 27 Jul 2025 12:18:26 +0000 (15:18 +0300)]
s3: more testing for conditional put

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
7 weeks agoMerge pull request #661 from ArbitCode/wip-raja-get-caller-identity-tests
Raja [Tue, 22 Jul 2025 14:41:57 +0000 (20:11 +0530)]
Merge pull request #661 from ArbitCode/wip-raja-get-caller-identity-tests

rgw/sts: GetCallerIndentity test

7 weeks agos3: fixed tests
Ali Masarwa [Wed, 9 Jul 2025 15:43:00 +0000 (18:43 +0300)]
s3: fixed tests

we expected an error if we delete non-existent objects but that is not
true

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
7 weeks agos3: test delete_objects() with Size
Casey Bodley [Thu, 3 Jul 2025 20:49:54 +0000 (16:49 -0400)]
s3: test delete_objects() with Size

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test delete_objects() with LastModifiedTime
Casey Bodley [Thu, 3 Jul 2025 20:49:41 +0000 (16:49 -0400)]
s3: test delete_objects() with LastModifiedTime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test delete_objects() with ETag
Casey Bodley [Thu, 3 Jul 2025 20:42:14 +0000 (16:42 -0400)]
s3: test delete_objects() with ETag

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test delete_object() with IfMatchSize
Casey Bodley [Thu, 3 Jul 2025 21:19:24 +0000 (17:19 -0400)]
s3: test delete_object() with IfMatchSize

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test delete_object() with IfMatchLastModifiedTime
Casey Bodley [Thu, 3 Jul 2025 21:19:07 +0000 (17:19 -0400)]
s3: test delete_object() with IfMatchLastModifiedTime

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test delete_object() with IfMatch
Casey Bodley [Thu, 3 Jul 2025 18:17:13 +0000 (14:17 -0400)]
s3: test delete_object() with IfMatch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 weeks agos3: test put_object() with IfMatch and IfNoneMatch
Casey Bodley [Fri, 27 Jun 2025 18:05:45 +0000 (14:05 -0400)]
s3: test put_object() with IfMatch and IfNoneMatch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 weeks agoMerge pull request #672 from ceph/wip-dm-70853
Matt Benjamin [Thu, 17 Jul 2025 12:56:34 +0000 (08:56 -0400)]
Merge pull request #672 from ceph/wip-dm-70853

delete, rgwlc: delete marker tests

8 weeks agoMerge branch 'master' into wip-dm-70853 wip-dm-70853 672/head
Matt Benjamin [Thu, 17 Jul 2025 12:56:23 +0000 (08:56 -0400)]
Merge branch 'master' into wip-dm-70853

8 weeks agoMerge pull request #674 from nbalacha/wip-nbalacha-cleanup
Yuval Lifshitz [Thu, 17 Jul 2025 11:00:28 +0000 (14:00 +0300)]
Merge pull request #674 from nbalacha/wip-nbalacha-cleanup

bucket_logging: remove duplicate function

8 weeks agobucket_logging: remove duplicate function 674/head
N Balachandran [Thu, 17 Jul 2025 08:53:32 +0000 (14:23 +0530)]
bucket_logging: remove duplicate function

Removes the duplicate _verify_record_field function definition.

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
8 weeks agoMerge pull request #667 from nbalacha/wip-nbalacha-71730
Yuval Lifshitz [Wed, 16 Jul 2025 15:16:09 +0000 (18:16 +0300)]
Merge pull request #667 from nbalacha/wip-nbalacha-71730

bucket-logging: test for log record fields

8 weeks agoMerge pull request #670 from nbalacha/wip-nbalacha-71731
Yuval Lifshitz [Wed, 16 Jul 2025 15:08:45 +0000 (18:08 +0300)]
Merge pull request #670 from nbalacha/wip-nbalacha-71731

bucket-logging: test the AuthType log field

8 weeks agodelete, rgwlc: delete marker tests
Matt Benjamin [Mon, 14 Jul 2025 16:58:26 +0000 (12:58 -0400)]
delete, rgwlc: delete marker tests

0. non-creation in non-versioned buckets
1. creation in versioned buckets
2. creation in versioning-suspended buckets
3. delete-marker expiration (lifecycle)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2 months agorgw/sts: GetCallerIndentity test 661/head
Raja Sharma [Thu, 26 Jun 2025 05:58:52 +0000 (11:28 +0530)]
rgw/sts: GetCallerIndentity test

Signed-off-by: Raja Sharma <raja@ibm.com>
2 months agobucket-logging: test the AuthType log field 670/head
N Balachandran [Fri, 4 Jul 2025 11:35:07 +0000 (17:05 +0530)]
bucket-logging: test the AuthType log field

Adds a test to check the value of the AuthType field.

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agobucket-logging: fix typo 667/head
N Balachandran [Thu, 3 Jul 2025 10:37:20 +0000 (16:07 +0530)]
bucket-logging: fix typo

Fixes typo in function name.

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agobucket-logging: tests for the ACLRequired field
N Balachandran [Thu, 3 Jul 2025 10:10:00 +0000 (15:40 +0530)]
bucket-logging: tests for the ACLRequired field

Tests that the AclRequired field is set correctly in the bucket logging record.

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agoMerge pull request #666 from nbalacha/wip-nbalacha-typo
Yuval Lifshitz [Tue, 1 Jul 2025 08:31:29 +0000 (11:31 +0300)]
Merge pull request #666 from nbalacha/wip-nbalacha-typo

readme: fix typo

2 months agoreadme: fix typo 666/head
N Balachandran [Tue, 1 Jul 2025 03:31:20 +0000 (09:01 +0530)]
readme: fix typo

Fixed typos in the example commands.

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agorgw/sts: GetAccountSummary test 664/head
Raja Sharma [Sat, 28 Jun 2025 04:13:33 +0000 (09:43 +0530)]
rgw/sts: GetAccountSummary test

Signed-off-by: Raja Sharma <raja@ibm.com>
2 months agoMerge pull request #658 from yuvalif/wip-yuval-bucket-logging-key
Yuval Lifshitz [Wed, 25 Jun 2025 12:42:36 +0000 (15:42 +0300)]
Merge pull request #658 from yuvalif/wip-yuval-bucket-logging-key

rgw/logging: add tests for logging object key format

2 months agoMerge pull request #653 from yuvalif/test-logging-conf-mtime
Yuval Lifshitz [Wed, 25 Jun 2025 12:42:01 +0000 (15:42 +0300)]
Merge pull request #653 from yuvalif/test-logging-conf-mtime

rgw/logging: test conf last modified time

2 months agoMerge pull request #651 from yuvalif/test-log-obj-order
Yuval Lifshitz [Wed, 25 Jun 2025 12:41:27 +0000 (15:41 +0300)]
Merge pull request #651 from yuvalif/test-log-obj-order

rgw/logging: test log object name order

2 months agoMerge pull request #650 from yuvalif/logging-mpu-standard-mode
Yuval Lifshitz [Wed, 25 Jun 2025 12:40:59 +0000 (15:40 +0300)]
Merge pull request #650 from yuvalif/logging-mpu-standard-mode

rgw/logging: test mpu complete in standard mode

2 months agoMerge pull request #649 from yuvalif/test-logging-object-meta
Yuval Lifshitz [Wed, 25 Jun 2025 12:40:22 +0000 (15:40 +0300)]
Merge pull request #649 from yuvalif/test-logging-object-meta

rgw/logging: test object metadata changes in journal mode

2 months agoMerge pull request #648 from yuvalif/logging_wildcrd_policy_test
Yuval Lifshitz [Wed, 25 Jun 2025 12:39:50 +0000 (15:39 +0300)]
Merge pull request #648 from yuvalif/logging_wildcrd_policy_test

rgw/logging: add tests to verify wildcrad policy

2 months agoMerge pull request #647 from yuvalif/flushed-logging-object-name
Yuval Lifshitz [Wed, 25 Jun 2025 12:39:25 +0000 (15:39 +0300)]
Merge pull request #647 from yuvalif/flushed-logging-object-name

rgw/logging: add tests for flushed object name

2 months agorgw/logging: add tests for logging object key format 658/head
Yuval Lifshitz [Tue, 3 Jun 2025 15:23:58 +0000 (15:23 +0000)]
rgw/logging: add tests for logging object key format

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 months agorgw/logging: test conf last modified time 653/head
Yuval Lifshitz [Tue, 20 May 2025 09:26:32 +0000 (09:26 +0000)]
rgw/logging: test conf last modified time

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 months agoMerge pull request #655 from mertsunacoglu/wip-copy-source
Casey Bodley [Thu, 19 Jun 2025 16:18:24 +0000 (12:18 -0400)]
Merge pull request #655 from mertsunacoglu/wip-copy-source

Add tests for % included characters for copy source

3 months agoMerge pull request #657 from thotz/fix-test_restore_object_permanent-failure
Casey Bodley [Thu, 12 Jun 2025 16:11:00 +0000 (12:11 -0400)]
Merge pull request #657 from thotz/fix-test_restore_object_permanent-failure

increase time out for restore op in test_restore_object_permanent

3 months agofix: Fix typo 655/head
Emin [Tue, 10 Jun 2025 08:47:56 +0000 (10:47 +0200)]
fix: Fix typo

Signed-off-by: Emin <emin.sunacoglu@clyso.com>
3 months agoincrease time out for restore op in test_restore_object_permanent 657/head
Jiffin Tony Thottan [Fri, 30 May 2025 12:39:21 +0000 (18:09 +0530)]
increase time out for restore op in test_restore_object_permanent
and in test_lifecycle_expiration_size_gt() for lc.

Fixes: https://tracker.ceph.com/issues/71348
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
3 months agoMerge pull request #659 from cbodley/wip-website-generate-routing
Casey Bodley [Fri, 6 Jun 2025 13:29:14 +0000 (09:29 -0400)]
Merge pull request #659 from cbodley/wip-website-generate-routing

pytest: use parametrize for s3website test_routing_generator()

3 months agowebsite: routing_setup() as pytest fixture 659/head
Casey Bodley [Wed, 4 Jun 2025 22:31:39 +0000 (18:31 -0400)]
website: routing_setup() as pytest fixture

c80e9d2118ca5bcdec5285898a532f8e18faa6b6 had removed the use of
routing_setup() without adding a fixture to replace it. this had broken
routing_check(), but we hadn't noticed it because pytest hadn't
supported the 'yield' pattern in test_routing_generator() to call it

test_routing_generator() now uses this routing_setup fixture to provide
the kwargs that had previously been injected into routing_check() via
@common.with_setup_kwargs(setup=routing_setup, teardown=routing_teardown)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agowebsite: use pytest parametrize for test_routing_generator()
Casey Bodley [Wed, 4 Jun 2025 16:31:44 +0000 (12:31 -0400)]
website: use pytest parametrize for test_routing_generator()

resolves error with recent pytest:

==================================== ERRORS ====================================
____________ ERROR collecting s3tests/functional/test_s3_website.py ____________
'yield' keyword is allowed in fixtures, but not in tests (test_routing_generator)

use https://docs.pytest.org/en/7.1.x/example/parametrize.html instead to
generate a test_routing_generator() for each entry in ROUTING_RULES_TESTS

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #656 from cbodley/wip-bucket-logging-roll-time-assert-len
Casey Bodley [Tue, 3 Jun 2025 14:41:12 +0000 (10:41 -0400)]
Merge pull request #656 from cbodley/wip-bucket-logging-roll-time-assert-len

add missing 'assert' to test_bucket_logging_roll_time

3 months agoMerge pull request #654 from cbodley/wip-70607
Casey Bodley [Wed, 28 May 2025 21:39:37 +0000 (17:39 -0400)]
Merge pull request #654 from cbodley/wip-70607

s3: avoid 100-continue bug for test_encryption_sse_c_deny_algo_with_bucket_policy

3 months agoadd missing 'assert' to test_bucket_logging_roll_time 656/head
Casey Bodley [Wed, 28 May 2025 15:09:18 +0000 (11:09 -0400)]
add missing 'assert' to test_bucket_logging_roll_time

saw a failure after this:
```
        response = client.list_objects_v2(Bucket=log_bucket_name)
        keys = _get_keys(response)
        len(keys) == 1

>       key = keys[0]
E       IndexError: list index out of range

s3tests_boto3/functional/test_s3.py:16637: IndexError
```

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agos3: fix: Changed test so that it accepts the character that has % sign in it as a key
Emin [Mon, 26 May 2025 14:10:19 +0000 (16:10 +0200)]
s3: fix: Changed test so that it accepts the character that has % sign in it as a key

3 months agos3: Add tests for test_upload_part_copy_percent_encoded_key
Emin [Mon, 26 May 2025 10:58:14 +0000 (12:58 +0200)]
s3: Add tests for test_upload_part_copy_percent_encoded_key

3 months agos3: avoid 100-continue bug for test_encryption_sse_c_deny_algo_with_bucket_policy 654/head
Casey Bodley [Thu, 22 May 2025 18:35:49 +0000 (14:35 -0400)]
s3: avoid 100-continue bug for test_encryption_sse_c_deny_algo_with_bucket_policy

was failing for a reason unrelated to sse-c or bucket policy

Fixes: https://tracker.ceph.com/issues/70607
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agos3: test retry after error instead of 100-continue
Casey Bodley [Thu, 22 May 2025 18:33:00 +0000 (14:33 -0400)]
s3: test retry after error instead of 100-continue

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 months agorgw/logging: test part upload in mpu in standard mode 650/head
Yuval Lifshitz [Tue, 13 May 2025 16:48:35 +0000 (16:48 +0000)]
rgw/logging: test part upload in mpu in standard mode

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agorgw/logging: test log object name order 651/head
Yuval Lifshitz [Tue, 13 May 2025 16:04:42 +0000 (16:04 +0000)]
rgw/logging: test log object name order

verify that the names of the log objects in the log bucket
are lexicographically ordered

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agorgw/logging: test mpu complete in standard mode
Yuval Lifshitz [Mon, 12 May 2025 18:09:30 +0000 (18:09 +0000)]
rgw/logging: test mpu complete in standard mode

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agorgw/logging: test object metadata changes in journal mode 649/head
Yuval Lifshitz [Mon, 12 May 2025 15:47:57 +0000 (15:47 +0000)]
rgw/logging: test object metadata changes in journal mode

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agoMerge pull request #600 from gaul/copy
Casey Bodley [Fri, 9 May 2025 16:35:27 +0000 (12:35 -0400)]
Merge pull request #600 from gaul/copy

Tag copy tests

4 months agoTag copy tests 600/head
Andrew Gaul [Mon, 11 Nov 2024 04:33:07 +0000 (20:33 -0800)]
Tag copy tests

4 months agorgw/logging: add tests to verify wildcrad policy 648/head
Yuval Lifshitz [Wed, 7 May 2025 15:56:18 +0000 (15:56 +0000)]
rgw/logging: add tests to verify wildcrad policy

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agorgw/logging: add tests for flushed object name 647/head
Yuval Lifshitz [Wed, 7 May 2025 09:40:17 +0000 (09:40 +0000)]
rgw/logging: add tests for flushed object name

when using API call to flush the pending logging object of
the bucket, the flshed object name is returned.
tests were added to verify the right name is returned.

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agoMerge pull request #645 from cbodley/wip-71083
Casey Bodley [Wed, 30 Apr 2025 14:28:13 +0000 (10:28 -0400)]
Merge pull request #645 from cbodley/wip-71083

add test coverage for DeleteBucketLifecycle

4 months agoadd test coverage for DeleteBucketLifecycle 645/head
Casey Bodley [Fri, 25 Apr 2025 16:00:23 +0000 (12:00 -0400)]
add test coverage for DeleteBucketLifecycle

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 months agoMerge pull request #641 from yuvalif/wip-yuval-bucket-logging-rollover
Casey Bodley [Thu, 17 Apr 2025 13:07:08 +0000 (09:07 -0400)]
Merge pull request #641 from yuvalif/wip-yuval-bucket-logging-rollover

rgw/logging: mark test that require rollover time set

4 months agorgw/logging: mark test that require rollover time set 641/head
Yuval Lifshitz [Thu, 17 Apr 2025 12:37:03 +0000 (12:37 +0000)]
rgw/logging: mark test that require rollover time set

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agoMerge pull request #628 from thotz/handle-allow-readthrough-in-testcases
Soumya Koduri [Wed, 16 Apr 2025 11:55:43 +0000 (17:25 +0530)]
Merge pull request #628 from thotz/handle-allow-readthrough-in-testcases

rgw/s3tests: handle allow read through values in cloud transitions cases

5 months agoMerge pull request #624 from pritha-srivastava/wip-rgw-remove-fails-on-rgw
Casey Bodley [Mon, 14 Apr 2025 13:50:28 +0000 (09:50 -0400)]
Merge pull request #624 from pritha-srivastava/wip-rgw-remove-fails-on-rgw

rgw/s3tests: removing fails_on_rgw for

5 months agoMerge pull request #563 from clwluvw/restrict-public-buckets
Casey Bodley [Wed, 9 Apr 2025 17:57:50 +0000 (13:57 -0400)]
Merge pull request #563 from clwluvw/restrict-public-buckets

BucketPublicAccessBlock: add tests for RestrictPublicBuckets

5 months agoMerge pull request #639 from thotz/increase-time-out-for-transition-test-cases
Soumya Koduri [Tue, 8 Apr 2025 16:13:04 +0000 (21:43 +0530)]
Merge pull request #639 from thotz/increase-time-out-for-transition-test-cases

rgw/cloud-transition: increase time out for test cases

5 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>
5 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

5 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

5 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>
5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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

5 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

5 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>
5 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>
6 months agorgw/s3tests: handle allow read through values in cloud transitions cases 628/head
Jiffin Tony Thottan [Thu, 6 Mar 2025 10:16:37 +0000 (15:46 +0530)]
rgw/s3tests: handle allow read through values in cloud transitions cases

Check the allow_read_through values for cases test_lifecycle_cloud_transition
and test_read_through

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
6 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>
6 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>
6 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

6 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

6 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>
6 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>
6 months agorgw/s3tests: removing fails_on_rgw for 624/head
Pritha Srivastava [Wed, 26 Feb 2025 06:42:13 +0000 (12:12 +0530)]
rgw/s3tests: removing fails_on_rgw for
test_versioned_concurrent_object_create_concurrent_remove
as the associated tracker is marked as resolved and
the test also passes against main.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
6 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>
6 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>
6 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>
6 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>
6 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