]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
2 years agoAdd test_versioning_concurrent_multi_object_delete 463/head
Cory Snyder [Thu, 21 Jul 2022 18:33:51 +0000 (18:33 +0000)]
Add test_versioning_concurrent_multi_object_delete

Tests that concurrent multi-object delete requests which specify
the same versioned object instances return successful object
responses within response body.

relates to: https://tracker.ceph.com/issues/56646

Signed-off-by: Cory Snyder <csnyder@iland.com>
2 years agoMerge pull request #506 from galsalomon66/json_s3tests
Casey Bodley [Mon, 15 May 2023 14:36:15 +0000 (10:36 -0400)]
Merge pull request #506 from galsalomon66/json_s3tests

Json s3tests

2 years agoMerge pull request #505 from cbodley/wip-59218
Ali Maredia [Tue, 11 Apr 2023 02:41:11 +0000 (22:41 -0400)]
Merge pull request #505 from cbodley/wip-59218

test_sse_s3_default_multipart_upload verifies encryption header

2 years agoprogress nessage is sent back upon processing the object, the change make sure it... 506/head
galsalomon66 [Mon, 10 Apr 2023 09:26:59 +0000 (12:26 +0300)]
progress nessage is sent back upon processing the object, the change make sure it stay with the max result

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2 years agomodifying of the run_s3select routine; to handle the different statuses (progress...
galsalomon66 [Sun, 9 Apr 2023 12:02:24 +0000 (15:02 +0300)]
modifying of the run_s3select routine; to handle the different statuses (progress,stats,end)

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2 years agoMerge pull request #501 from mkogan1/wip-chunked-trans-enc
Casey Bodley [Fri, 7 Apr 2023 13:19:38 +0000 (09:19 -0400)]
Merge pull request #501 from mkogan1/wip-chunked-trans-enc

Test object PUT with chunked transfer encoding

2 years agoupon removing the payload tag, the response index should be changed also
galsalomon66 [Tue, 4 Apr 2023 22:30:00 +0000 (01:30 +0300)]
upon removing the payload tag, the response index should be changed also

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2 years agoMerge pull request #503 from cbodley/wip-multi-delete
Ali Maredia [Fri, 31 Mar 2023 18:26:25 +0000 (14:26 -0400)]
Merge pull request #503 from cbodley/wip-multi-delete

boto3: multi-object-delete tests use client.delete_objects()

2 years agotest_sse_s3_default_multipart_upload verifies encryption header 505/head
Casey Bodley [Thu, 30 Mar 2023 18:27:27 +0000 (14:27 -0400)]
test_sse_s3_default_multipart_upload verifies encryption header

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #502 from cbodley/wip-58960
Casey Bodley [Tue, 21 Mar 2023 21:09:04 +0000 (17:09 -0400)]
Merge pull request #502 from cbodley/wip-58960

s3website: collections.Container removed from python3.10

2 years agoMerge pull request #495 from cbodley/wip-get-object-torrent
Ali Maredia [Tue, 14 Mar 2023 16:40:35 +0000 (12:40 -0400)]
Merge pull request #495 from cbodley/wip-get-object-torrent

add test_get_object_torrent

2 years agoboto3: multi-object-delete tests use client.delete_objects() 503/head
Casey Bodley [Mon, 13 Mar 2023 17:00:25 +0000 (13:00 -0400)]
boto3: multi-object-delete tests use client.delete_objects()

when the tests were converted from boto2, they were rewritten as loops
over client.delete_object(). switch back to multi-delete

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agos3website: collections.Container removed from python3.10 502/head
Casey Bodley [Sun, 12 Mar 2023 19:33:34 +0000 (15:33 -0400)]
s3website: collections.Container removed from python3.10

Fixes: https://tracker.ceph.com/issues/58960
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoadd test_get_object_torrent 495/head
Casey Bodley [Sun, 19 Feb 2023 17:32:47 +0000 (12:32 -0500)]
add test_get_object_torrent

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #500 from soumyakoduri/wip-skoduri-lifecycle
Casey Bodley [Wed, 8 Mar 2023 13:48:51 +0000 (08:48 -0500)]
Merge pull request #500 from soumyakoduri/wip-skoduri-lifecycle

lifecycle: Fix test_lifecycle_expiration_header_* testcases

2 years agotest object PUT with chunked transfer enconding 501/head
Mark Kogan [Tue, 7 Mar 2023 14:08:51 +0000 (14:08 +0000)]
test object PUT with chunked transfer enconding

Before the RGW fix PR was responding with 411 instead of 200

RGW fix PR: https://github.com/ceph/ceph/pull/50235

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2 years agolifecycle: Fix test_lifecycle_expiration_header_* testcases 500/head
Soumya Koduri [Tue, 7 Mar 2023 09:47:47 +0000 (15:17 +0530)]
lifecycle: Fix test_lifecycle_expiration_header_* testcases

Few checks were incorrectly mapped when switched to 'assert'. This
commit fixes the same.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agoMerge pull request #499 from soumyakoduri/wip-bz58916
Casey Bodley [Mon, 6 Mar 2023 17:59:35 +0000 (12:59 -0500)]
Merge pull request #499 from soumyakoduri/wip-bz58916

dbstore: add back missing 'fails_on_dbstore' tag

2 years agoMerge pull request #490 from cbodley/wip-489
Casey Bodley [Mon, 6 Mar 2023 14:19:56 +0000 (09:19 -0500)]
Merge pull request #490 from cbodley/wip-489

boto3: list_versions() omits empty KeyMarker/VersionIdMarker

2 years agodbstore: add back missing 'fails_on_dbstore' tag 499/head
Soumya Koduri [Mon, 6 Mar 2023 14:18:01 +0000 (19:48 +0530)]
dbstore: add back missing 'fails_on_dbstore' tag

Mark testcase "test_lifecycle_expiration_header_and_tags_head" as
fails_on_dbstore

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agoMerge pull request #498 from m-ildefons/wip/tox-ini-fixes
Casey Bodley [Sun, 5 Mar 2023 15:06:56 +0000 (10:06 -0500)]
Merge pull request #498 from m-ildefons/wip/tox-ini-fixes

QoL: Fix tox.ini syntax and other minor things

2 years agoQoL: Fix tox.ini syntax and other minor things 498/head
Moritz Röhrich [Tue, 28 Feb 2023 11:19:54 +0000 (12:19 +0100)]
QoL: Fix tox.ini syntax and other minor things

- Fix tox.ini syntax

Modern tox versions require the expected environment variables to be
listed one by one on separate lines in tox.ini

- Add `venv` to list of ignored names for git

This is a common name for a local Python virtual environment. Less
typing than `virtualenv`

- Add `tox` to requirements.txt

Installing `tox` via `pip` has the advantage of including it in the
virtual environment, thus avoiding trouble on operating systems shipping
by default with python3.6 or older. It's also nice that `pip install -r
requirements.txt` is now sufficient to set up the testing environment,
after initializing the virtual environment with a moder-enough python
version.

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
2 years agoMerge pull request #496 from cbodley/wip-58762
Soumya Koduri [Mon, 27 Feb 2023 05:40:40 +0000 (11:10 +0530)]
Merge pull request #496 from cbodley/wip-58762

iam: add back missing fails_on_dbstore tags

2 years agoiam: add back missing fails_on_dbstore tags 496/head
Casey Bodley [Fri, 24 Feb 2023 16:43:52 +0000 (11:43 -0500)]
iam: add back missing fails_on_dbstore tags

Fixes: https://tracker.ceph.com/issues/58762
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #484 from yuvalif/fix-sts-error-handling
Casey Bodley [Mon, 20 Feb 2023 16:48:41 +0000 (11:48 -0500)]
Merge pull request #484 from yuvalif/fix-sts-error-handling

better error handling in the STS tests

2 years agoMerge pull request #487 from robbat2/rgw_post_content_length
Casey Bodley [Mon, 20 Feb 2023 14:28:53 +0000 (09:28 -0500)]
Merge pull request #487 from robbat2/rgw_post_content_length

test_post_object_upload_size_below_minimum_rgw_max_chunk_size: new testcase for size validation bug

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agotest_post_object_upload_size_rgw_chunk_size_bug: new testcase 487/head
Robin H. Johnson [Wed, 1 Feb 2023 00:39:39 +0000 (16:39 -0800)]
test_post_object_upload_size_rgw_chunk_size_bug: new testcase

`ERR_TOO_SMALL` is wrongly returned if all of the following are true,
- the get_data returns multiple items (chunks)
- the length of the last item is smaller than the POST Policy's min
  value for content-length-range.

The check should be `(ofs < min_len)` instead of `(len < min_len)`

This is further confirmed by the next line of `s->obj_size = ofs`

Move the `int len` scope inside loop to try and prevent the bug in
future.

The bug was refactored in 2016, but was introduced in Oct 2012, when
this functionality was first added to RGW in commit 7bb3504d3f0974e9863f536e9af0ce8889d6888f.

Reference: https://github.com/ceph/ceph/blob/933a42f9af349b3b222270e7f19f1fe151d89e8e/src/rgw/rgw_op.cc#L4474-L4513
Reference: https://github.com/ceph/ceph/commit/7bb3504d3f0974e9863f536e9af0ce8889d6888f
Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
2 years agoboto3: list_versions() omits empty KeyMarker/VersionIdMarker 490/head
Casey Bodley [Fri, 17 Feb 2023 02:15:19 +0000 (21:15 -0500)]
boto3: list_versions() omits empty KeyMarker/VersionIdMarker

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agobetter error handling in the STS tests 484/head
Yuval Lifshitz [Wed, 25 Jan 2023 09:12:20 +0000 (11:12 +0200)]
better error handling in the STS tests

also, give more accurate instruction on how to run the tests

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2 years agos3select: json output serialization
Albin Antony [Mon, 3 Oct 2022 12:48:02 +0000 (18:18 +0530)]
s3select: json output serialization

Signed-off-by: Albin Antony <aantony@redhat.com>
2 years agoMerge pull request #486 from cbodley/wip-58365
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>
2 years agotest_s3: remove test_user_policy() 486/head
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>
2 years agoMerge pull request #482 from cbodley/wip-tox-pytest
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

2 years agotest_headers: add custom marks for auth_common/aws2/aws4 482/head
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>
2 years agoremove boostrap
Casey Bodley [Sun, 22 Jan 2023 16:50:40 +0000 (11:50 -0500)]
remove boostrap

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agocleanup duplicate lines
Casey Bodley [Sun, 22 Jan 2023 00:48:29 +0000 (19:48 -0500)]
cleanup duplicate lines

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoremove nose dependency from requirements.txt
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>
2 years agonose: remove nose attrs and imports
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>
2 years agopytest: replace nose eq() with assert ==
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>
2 years agopytest: replace nose SkipTest with pytest.skip()
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>
2 years agopytest: replace @nose.with_setup with fixtures
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>
2 years agopytest: add custom marks for each nose @attr
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>
2 years agoremove tests tagged fails_strict_rfc2616
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>
2 years agopytest: add global configfile and autouse teardown fixtures
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>
2 years agopytest: add tox.ini to run pytest, update README
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>
3 years agoMerge pull request #476 from cbodley/wip-botocore-sigv2
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

3 years agopin botocore to resolve v2 signature failures 476/head
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>
3 years agoMerge pull request #472 from galsalomon66/fixes_related_to_new_csv_parser_2
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

3 years agoremove comment 472/head
galsalomon66 [Mon, 17 Oct 2022 21:37:29 +0000 (00:37 +0300)]
remove comment

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
3 years agoMerge pull request #473 from cbodley/wip-copyobj-tails
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

3 years agoadd test_object_copy_16m to test refcounting of tail objects 473/head
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>
3 years agothe use of std::to_string change the double presentation(not accuracy)
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>
3 years agothe upgraded CSV parser has some impact on engine result. (redundant comma, quote...
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>
3 years agoMerge pull request #471 from soumyakoduri/wip-skoduri-cloud
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

3 years agocloud-transition: Adjust lc wait time 471/head
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>
3 years agoMerge pull request #439 from zalsader/patch-1
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

3 years agoMerge pull request #469 from soumyakoduri/dbstore_test_master
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'

3 years agodbstore: Update the tests marked 'fails_on_dbstore' 469/head
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>
3 years agoMerge pull request #461 from ifed01/origin/wip-ifed-fix-s3-loc-tests
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

3 years agoMerge pull request #464 from shriya-deshmukh/delete-bucket-tagging-test-case
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.

3 years agorgw/s3_boto3: Added http status code verification for DeleteBucketTagging 464/head
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>
3 years agoMerge pull request #460 from soumyakoduri/user_policy_tests
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

3 years agoFix User Policy test failures on dbstore 460/head
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>
3 years agoTest case for locked and "marked-deleted" object version removal. 461/head
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>

3 years agoMerge pull request #453 from Seagate/master
Ali Maredia [Tue, 28 Jun 2022 16:03:24 +0000 (12:03 -0400)]
Merge pull request #453 from Seagate/master

Contributing User Policy tests

3 years agoAdded put/get/list/delete User Policy Tests 453/head
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>
3 years agoMerge pull request #457 from cbodley/wip-bad-tests
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

3 years agoremove tests that fail on boto3's parameter validation 457/head
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>
3 years agoMerge pull request #452 from cbodley/wip-no-such-tag-set
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>
3 years agofix GetBucketTagging error code 452/head
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>
3 years agoAdd support for rocky linux 439/head
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>
3 years agoMerge pull request #450 from soumyakoduri/dbstore-tests
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

3 years agoMerge pull request #442 from soumyakoduri/cloudtier_tests
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

3 years agoTag sse* tests with 'fails_on_dbstore' attr 450/head
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>
3 years agoMerge pull request #449 from cbodley/wip-cloud-config-sample
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

3 years agos3tests.conf.SAMPLE: comment out [s3 cloud] section 449/head
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>
3 years agoAdjust wait time for cloud-transition test failures 442/head
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>
3 years agoMerge pull request #440 from mdw-at-linuxbox/sse-s3-5
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>
3 years agosse s3 jumbo patch - all in one fixes for sse-s3 logic 440/head
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>
3 years agoMerge pull request #441 from soumyakoduri/dbstore-tests
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

3 years agoTag testcases failing on dbstore with 'fails_on_dbstore' attr 441/head
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>
3 years agoMerge pull request #435 from soumyakoduri/lc_tests
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

3 years agolifecycle: Adjust lc wait time 435/head
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>
3 years agoMerge pull request #429 from soumyakoduri/lc_tests
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

3 years agolifecycle/deletemarker_expiration: Increase timer window 429/head
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>
3 years agoMerge pull request #421 from soumyakoduri/lc_tests
Casey Bodley [Fri, 4 Feb 2022 16:01:42 +0000 (11:01 -0500)]
Merge pull request #421 from soumyakoduri/lc_tests

Enable Lifecycle tests

3 years agoEnable lifecycle tests 421/head
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>
3 years agoAdd testcases for rgw cloudtransition feature
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>
3 years agoMerge pull request #424 from psathyan/fix_check_grants
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

3 years agoMerge pull request #428 from TRYTOBE8TME/wip-sts-error
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

3 years agotest_sts: Changing code for proper cleanup 428/head
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>
3 years agoMerge pull request #426 from galsalomon66/revert_install_arrow
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 …

3 years agorevert the arrow installation(causing failure on some distro"s, such as fedora) 426/head
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>
3 years agoMerge pull request #419 from galsalomon66/parquet_s3tests
Gal Salomon [Tue, 11 Jan 2022 21:15:08 +0000 (23:15 +0200)]
Merge pull request #419 from galsalomon66/parquet_s3tests

parquet tests

3 years agofix output-serialization tests(upon comparing query results need to remove redundant... 419/head
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>
3 years agoImproving check_grants reliability 424/head
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>
3 years agomerging master tests into parquet branch
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>
3 years agofix for assert of error messages
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>
3 years agoremove redundant comma. s3select-engine produced redundant result column before...
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>
3 years agoMerge pull request #402 from galsalomon66/progress-stats
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