]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
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

4 years agoadding datatime queries from #395 402/head
galsalomon66 [Thu, 25 Nov 2021 09:57:52 +0000 (11:57 +0200)]
adding datatime queries from #395

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agoMerge pull request #415 from cbodley/wip-list-multipart-owner
Ali Maredia [Thu, 18 Nov 2021 19:31:12 +0000 (14:31 -0500)]
Merge pull request #415 from cbodley/wip-list-multipart-owner

check Owner/Initiator fields of ListMultipartUploads response

4 years agorollback to use like without escape syntax (explore valgrind issue)
galsalomon66 [Fri, 12 Nov 2021 09:39:45 +0000 (11:39 +0200)]
rollback to use like without escape syntax (explore valgrind issue)

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agomodify the queries syntax to like-escape; the queries semantics is the same; results...
galsalomon66 [Thu, 11 Nov 2021 14:15:49 +0000 (16:15 +0200)]
modify the queries syntax to like-escape; the queries semantics is the same; results are the same; it is a part of exploring valgrind issue around like-operator

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agocheck Owner/Initiator fields of ListMultipartUploads response 415/head
Casey Bodley [Fri, 29 Oct 2021 17:06:30 +0000 (13:06 -0400)]
check Owner/Initiator fields of ListMultipartUploads response

new test case test_list_multipart_upload_owner() uses two different
users to initiate multipart uploads, then tests that
list_multipart_uploads() shows the correct user ids and display names
for each upload

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoadd output-serialization tests; add syntax-error tests; run_s3select_output should...
galsalomon66 [Thu, 21 Oct 2021 00:32:57 +0000 (03:32 +0300)]
add output-serialization tests; add syntax-error tests; run_s3select_output should merge into run_s3select

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agoremove comments from the like-expressions
gal salomon [Sun, 17 Oct 2021 11:03:39 +0000 (14:03 +0300)]
remove comments from the like-expressions

Signed-off-by: gal salomon <gal.salomon@gmail.com>
4 years agoMerge pull request #400 from iraj465/wip-new-multi-delete-objects-tests
Ali Maredia [Wed, 8 Sep 2021 19:58:40 +0000 (15:58 -0400)]
Merge pull request #400 from iraj465/wip-new-multi-delete-objects-tests

rgw/s3_boto3:Adds new delete_objects tests

4 years agoMerge pull request #411 from mkogan1/multipart-extra-complete2
Ali Maredia [Wed, 8 Sep 2021 14:44:20 +0000 (10:44 -0400)]
Merge pull request #411 from mkogan1/multipart-extra-complete2

test extra complete_multipart_upload()

4 years agotest extra complete_multipart_upload() 411/head
Mark Kogan [Sun, 25 Apr 2021 11:21:26 +0000 (14:21 +0300)]
test extra complete_multipart_upload()

After the 1st successfull one should also return 200 OK

related tracker issue: https://tracker.ceph.com/issues/50141
related pr: https://github.com/ceph/ceph/pull/40594

Signed-off-by: Mark Kogan <mkogan@redhat.com>
4 years agoMerge pull request #410 from Rjerk/wip-fix-doc-example
Ali Maredia [Tue, 7 Sep 2021 20:06:14 +0000 (16:06 -0400)]
Merge pull request #410 from Rjerk/wip-fix-doc-example

docs: fix wrong example in README.rst

4 years agodocs: fix wrong example in README.rst 410/head
Liu Lan [Mon, 6 Sep 2021 11:25:09 +0000 (19:25 +0800)]
docs: fix wrong example in README.rst

Run: S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_bucket_list_empty

But get an error: "ERROR: Failure: ValueError (No such test test_bucket_list_empty)".

Because test_bucket_list_empty is a test case in s3tests_boto3 directory.

Signed-off-by: Liu Lan <liulan_yewu@cmss.chinamobile.com>
4 years agoMerge pull request #403 from pritha-srivastava/wip-rgw-sts-abac
Ali Maredia [Fri, 3 Sep 2021 14:57:08 +0000 (10:57 -0400)]
Merge pull request #403 from pritha-srivastava/wip-rgw-sts-abac

rgw sts abac tests

4 years agorgw/sts: test to use role tag as iam:ResourceTag in 403/head
Pritha Srivastava [Fri, 23 Jul 2021 06:38:07 +0000 (12:08 +0530)]
rgw/sts: test to use role tag as iam:ResourceTag in
role's trust policy.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agorgw/sts: test for s3:ResourceTag in role's permission policy
Pritha Srivastava [Fri, 16 Jul 2021 07:47:54 +0000 (13:17 +0530)]
rgw/sts: test for s3:ResourceTag in role's permission policy

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agorgw/sts: adding test for aws:TagKeys that can be used in the
Pritha Srivastava [Thu, 15 Jul 2021 10:10:04 +0000 (15:40 +0530)]
rgw/sts: adding test for aws:TagKeys that can be used in the
condition element of the role's trust policy and the role's
permission policy.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agorgw/sts: adding test for aws:PrincipalTag in role permission
Pritha Srivastava [Thu, 15 Jul 2021 08:45:54 +0000 (14:15 +0530)]
rgw/sts: adding test for aws:PrincipalTag in role permission
policy.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agorgw/sts: adding test to check for aws:RequestTag
Pritha Srivastava [Thu, 15 Jul 2021 08:03:08 +0000 (13:33 +0530)]
rgw/sts: adding test to check for aws:RequestTag
in the condition element of a role's trust policy.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agorgw/sts: adding tests for testing assumerolewithwebidentity
Pritha Srivastava [Wed, 14 Jul 2021 10:10:39 +0000 (15:40 +0530)]
rgw/sts: adding tests for testing assumerolewithwebidentity
using 'sub' and 'azp' fields in the web token.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agoMerge pull request #408 from cbodley/wip-52037
Ali Maredia [Wed, 11 Aug 2021 17:49:57 +0000 (13:49 -0400)]
Merge pull request #408 from cbodley/wip-52037

object-lock: test changes between retention modes

4 years agoMerge pull request #409 from ceph/wip-ssl-verify-fix
Ali Maredia [Wed, 11 Aug 2021 17:13:59 +0000 (13:13 -0400)]
Merge pull request #409 from ceph/wip-ssl-verify-fix

Disable ssl verify by default

4 years agodisable ssl verify by default wip-ssl-verify-fix 409/head
Ali Maredia [Tue, 10 Aug 2021 18:41:05 +0000 (14:41 -0400)]
disable ssl verify by default

Signed-off-by: Ali Maredia <amaredia@redhat.com>
4 years agoMerge pull request #405 from psathyan/wip-ssl-verify
Ali Maredia [Mon, 9 Aug 2021 16:01:25 +0000 (12:01 -0400)]
Merge pull request #405 from psathyan/wip-ssl-verify

Add support for disabling SSL certificate verification

4 years agoAdd support for disabling SSL certificate verification 405/head
Pragadeeswaran Sathyanarayanan [Fri, 30 Jul 2021 04:14:29 +0000 (09:44 +0530)]
Add support for disabling SSL certificate verification

Signed-off-by: Pragadeeswaran Sathyanarayanan <psathyan@redhat.com>
4 years agoMerge pull request #365 from markhoughton-microfocus/issue_47586_tests
Casey Bodley [Thu, 5 Aug 2021 15:28:44 +0000 (11:28 -0400)]
Merge pull request #365 from markhoughton-microfocus/issue_47586_tests

Tests for multi-object delete with object lock

4 years agoAdd tests for issue 47586. 365/head
Mark Houghton [Mon, 19 Oct 2020 16:58:56 +0000 (17:58 +0100)]
Add tests for issue 47586.

4 years agoobject-lock: test changes between retention modes 408/head
Casey Bodley [Tue, 3 Aug 2021 21:04:15 +0000 (17:04 -0400)]
object-lock: test changes between retention modes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agonuke_prefixed_buckets waits up to 60 seconds for object locks to expire
Casey Bodley [Wed, 4 Aug 2021 19:00:04 +0000 (15:00 -0400)]
nuke_prefixed_buckets waits up to 60 seconds for object locks to expire

objects locked in GOVERNANCE mode can be removed with
BypassGovernanceRetention, but some tests may leave an object locked in
COMPLIANCE mode, which blocks deletion until the retention period
expires

nuke_prefixed_buckets now checks the retention policy of objects that it
fails to delete with AccessDenied, and will wait up to 60 seconds for
locks to expire before retrying the deletes. if the wait exceeds 60
seconds, it instead throws an error without deleting the bucket

instead of doing this in nuke_prefixed_buckets, we could potentially
have each object-lock test case handle this manually, but that would
add a separate delay to each test case

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agonuke_prefixed_buckets deletes objects in batches
Casey Bodley [Wed, 4 Aug 2021 17:56:39 +0000 (13:56 -0400)]
nuke_prefixed_buckets deletes objects in batches

speed up the cleanup by using delete_objects() with batches of 128

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #397 from TRYTOBE8TME/wip-new-sts-tests
Matt Benjamin [Thu, 29 Jul 2021 16:43:34 +0000 (12:43 -0400)]
Merge pull request #397 from TRYTOBE8TME/wip-new-sts-tests

sts: Addition of new STS tests

4 years agoMerge pull request #404 from flipkart-incubator/aws_sse_s3
Casey Bodley [Tue, 27 Jul 2021 15:08:22 +0000 (11:08 -0400)]
Merge pull request #404 from flipkart-incubator/aws_sse_s3

rgw/s3_boto3: Add tests for bucket encryption APIs

4 years agosearch for the cause of the valgrind issue; remove the like expression that may cause it
galsalomon66 [Tue, 27 Jul 2021 05:26:28 +0000 (08:26 +0300)]
search for the cause of the valgrind issue; remove the like expression that may cause it

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
4 years agorgw/s3_boto3: Add tests for bucket encryption APIs 404/head
Rahul Dev Parashar [Mon, 26 Jul 2021 10:45:02 +0000 (16:15 +0530)]
rgw/s3_boto3: Add tests for bucket encryption APIs

Tests are added for GetBucketEncryption, PutBucketEncryption,
and DeleteBucketEncryption APIs.

Related PR: https://github.com/ceph/ceph/pull/42222

Signed-off-by: Rahul Dev Parashar <rahul.dev@flipkart.com>
4 years agorgw/sts: Addition of new STS tests for testing 397/head
Kalpesh Pandya [Tue, 6 Jul 2021 06:51:33 +0000 (12:21 +0530)]
rgw/sts: Addition of new STS tests for testing
session policies alongwith role's permission policy
and bucket policy.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
4 years agoMerge pull request #401 from SoftIron/object-retention-iso8601
Ali Maredia [Fri, 16 Jul 2021 00:47:07 +0000 (20:47 -0400)]
Merge pull request #401 from SoftIron/object-retention-iso8601

Add test to check retain date is in iso 8601 format

4 years agochore:Removes unused scaffolds 400/head
iraj465 [Thu, 15 Jul 2021 21:59:36 +0000 (03:29 +0530)]
chore:Removes unused scaffolds

4 years agorgw/boto3_s3:Adds delete_objects key limit for list-objects-v2
iraj465 [Thu, 15 Jul 2021 21:45:53 +0000 (03:15 +0530)]
rgw/boto3_s3:Adds delete_objects key limit for list-objects-v2

4 years agochore:Bump the list-objects to paginator
iraj465 [Thu, 15 Jul 2021 21:37:21 +0000 (03:07 +0530)]
chore:Bump the list-objects to paginator

4 years agoMerge pull request #399 from iraj465/wip-new-lifecycle-transition-tests
Ali Maredia [Thu, 15 Jul 2021 20:14:55 +0000 (16:14 -0400)]
Merge pull request #399 from iraj465/wip-new-lifecycle-transition-tests

rgw/s3_boto3:Adds lifecycle transition tests

4 years agoAdd test to check retain date is in iso 8601 format 401/head
Danny Abukalam [Wed, 14 Jul 2021 22:03:35 +0000 (18:03 -0400)]
Add test to check retain date is in iso 8601 format

Signed-off-by: Danny Abukalam <danny@softiron.com>
4 years agorgw/s3_boto3:Adds new delete_objects tests for checking key delete limit
iraj465 [Tue, 13 Jul 2021 17:50:35 +0000 (23:20 +0530)]
rgw/s3_boto3:Adds new delete_objects tests for checking key delete limit

4 years agorgw/s3_boto3:Adds lifecycle transition test for invalid iso8601 date 399/head
iraj465 [Tue, 13 Jul 2021 17:44:51 +0000 (23:14 +0530)]
rgw/s3_boto3:Adds lifecycle transition test for invalid iso8601 date

4 years agos3select: test progress stats 396/head
Albin Antony [Wed, 30 Jun 2021 15:36:07 +0000 (21:06 +0530)]
s3select: test progress stats

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agos3select: align s3select tests with ceph
Albin Antony [Tue, 18 May 2021 02:09:22 +0000 (07:39 +0530)]
s3select: align s3select tests with ceph

Update s3-tests to handle the error-response (return 400, and error-description)

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agoMerge pull request #389 from cbodley/wip-test-49780
Casey Bodley [Mon, 28 Jun 2021 15:11:23 +0000 (11:11 -0400)]
Merge pull request #389 from cbodley/wip-test-49780

sts: test role policy around nonexistent objects

4 years agoMerge pull request #386 from cbodley/wip-bucket-ctime
Casey Bodley [Mon, 28 Jun 2021 15:09:11 +0000 (11:09 -0400)]
Merge pull request #386 from cbodley/wip-bucket-ctime

test that listed buckets have creation time

4 years agoMerge pull request #393 from ofriedma/wip-ofriedma-mp-upload-bucket-policy
ofriedma [Thu, 27 May 2021 14:34:41 +0000 (17:34 +0300)]
Merge pull request #393 from ofriedma/wip-ofriedma-mp-upload-bucket-policy

test multipart upload with bucket policy

4 years agoMerge pull request #391 from ceph/tethology_s3select_apr19
Ali Maredia [Fri, 21 May 2021 18:51:26 +0000 (14:51 -0400)]
Merge pull request #391 from ceph/tethology_s3select_apr19

modifying tests to be align with change of s3select compare sign( == …

4 years agotest multipart upload with bucket policy 393/head
Or Friedmann [Thu, 13 May 2021 16:11:00 +0000 (19:11 +0300)]
test multipart upload with bucket policy

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
4 years agomodifying tests to be align with change of s3select compare sign( == -> = ) tethology_s3select_apr19 391/head
gal salomon [Wed, 5 May 2021 08:35:32 +0000 (11:35 +0300)]
modifying tests to be align with change of s3select compare sign( == -> = )

Signed-off-by: gal salomon <gal.salomon@gmail.com>
4 years agoMerge pull request #382 from albin-antony/master
Gal Salomon [Fri, 9 Apr 2021 07:26:24 +0000 (10:26 +0300)]
Merge pull request #382 from albin-antony/master

s3select: align s3-tests with new changes in s3select

4 years agotests 382/head
Albin Antony [Wed, 31 Mar 2021 11:00:30 +0000 (16:30 +0530)]
tests

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agosts: test role policy around nonexistent objects 389/head
Casey Bodley [Wed, 7 Apr 2021 15:33:46 +0000 (11:33 -0400)]
sts: test role policy around nonexistent objects

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agotests
Albin Antony [Mon, 29 Mar 2021 13:26:38 +0000 (18:56 +0530)]
tests

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agotests
Albin Antony [Mon, 22 Mar 2021 10:54:26 +0000 (16:24 +0530)]
tests

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agos3select: align s3-tests with new changes in s3select s3test_align_with_parquet_version
Albin Antony [Wed, 20 Jan 2021 07:46:05 +0000 (13:16 +0530)]
s3select: align s3-tests with new changes in s3select

Fix when then, date functions and NULL, add escape, trim tests

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agotest that listed buckets have creation time 386/head
Casey Bodley [Thu, 11 Mar 2021 21:36:24 +0000 (16:36 -0500)]
test that listed buckets have creation time

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #381 from ceph/fix_test_file_permission_add_attrib
Ali Maredia [Thu, 14 Jan 2021 05:02:58 +0000 (00:02 -0500)]
Merge pull request #381 from ceph/fix_test_file_permission_add_attrib

change test_s3select.py permission; add s3select attribute

4 years agochange test_s3select.py permission; add s3select attribute fix_test_file_permission_add_attrib 381/head
galsalomon66 [Wed, 13 Jan 2021 07:24:31 +0000 (09:24 +0200)]
change test_s3select.py permission; add s3select attribute

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
5 years agoMerge pull request #373 from ceph/fix_function_names
Gal Salomon [Wed, 16 Dec 2020 11:43:21 +0000 (13:43 +0200)]
Merge pull request #373 from ceph/fix_function_names

rename charlength and character_length function names

5 years agoreduce object size for test_like_expression, it may cause timeouts in teuthology... fix_function_names 373/head
galsalomon66 [Tue, 15 Dec 2020 09:51:19 +0000 (11:51 +0200)]
reduce object size for test_like_expression, it may cause timeouts in teuthology runs

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
5 years agorename charlength and character_length function names
galsalomon66 [Sat, 5 Dec 2020 16:58:45 +0000 (18:58 +0200)]
rename charlength and character_length function names

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
5 years agoMerge pull request #371 from ofriedma/wip-ofriedma-test-usage-api
Ali Maredia [Thu, 3 Dec 2020 20:59:40 +0000 (15:59 -0500)]
Merge pull request #371 from ofriedma/wip-ofriedma-test-usage-api

Add test for GetUsage api

Reviewed-by: Ali Maredia <amaredia@redhat.com>
5 years agoAdd test for head bucket usage headers 371/head
Or Friedmann [Thu, 3 Dec 2020 16:28:40 +0000 (18:28 +0200)]
Add test for head bucket usage headers

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
5 years agoAdd test for GetUsage api
Or Friedmann [Thu, 3 Dec 2020 15:53:50 +0000 (17:53 +0200)]
Add test for GetUsage api

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
5 years agoMerge pull request #363 from linuxbox2/master-headbucket-dne
Ali Maredia [Wed, 25 Nov 2020 04:57:51 +0000 (23:57 -0500)]
Merge pull request #363 from linuxbox2/master-headbucket-dne

Add test for HeadBucket on a non-existent bucket

5 years agoMerge pull request #367 from IlsooByun/check_invalid_payload
Casey Bodley [Thu, 19 Nov 2020 15:24:01 +0000 (10:24 -0500)]
Merge pull request #367 from IlsooByun/check_invalid_payload

Check if invalid payload is added after serving errordoc

5 years agoMerge pull request #364 from albin-antony/when-than
Gal Salomon [Thu, 12 Nov 2020 09:53:12 +0000 (11:53 +0200)]
Merge pull request #364 from albin-antony/when-than

s3select tests for coalesce and case

5 years agos3select tests for coalesce and case 364/head
Albin Antony [Tue, 13 Oct 2020 10:06:29 +0000 (15:36 +0530)]
s3select tests for coalesce and case

Signed-off-by: Albin Antony <aantony@redhat.com>
5 years agoCheck if invalid payload is added after serving errordoc 367/head
Ilsoo Byun [Sun, 8 Nov 2020 13:22:32 +0000 (22:22 +0900)]
Check if invalid payload is added after serving errordoc

Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
5 years agoMerge pull request #360 from TRYTOBE8TME/wip-sts-webidentity
Ali Maredia [Mon, 2 Nov 2020 18:36:26 +0000 (13:36 -0500)]
Merge pull request #360 from TRYTOBE8TME/wip-sts-webidentity

Webidentity Test addition to test_sts.py

5 years agoMerge pull request #358 from albin-antony/predicates
Gal Salomon [Sun, 1 Nov 2020 13:18:33 +0000 (15:18 +0200)]
Merge pull request #358 from albin-antony/predicates

s3select predicate tests

5 years agoWebidentity Test addition to test_sts.py 360/head
root [Thu, 24 Sep 2020 10:04:09 +0000 (15:34 +0530)]
Webidentity Test addition to test_sts.py

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Few main changes/additions:
1. Webidentity test addition to test_sts.py.
2. A function named check_webidentity() added to __init__.py in order to check for section presence.
3. Few lines shifted from setup() to get_iam_client() to make them execute only when sts-tests run.
4. Documentation update (for sts section)
5. Changes in s3tests.conf.SAMPLE regarding sts sections

5 years agoMerge pull request #361 from ofriedma/wip-lc-expr-hdr-tags
Matt Benjamin [Thu, 22 Oct 2020 12:21:02 +0000 (08:21 -0400)]
Merge pull request #361 from ofriedma/wip-lc-expr-hdr-tags

Test expiration header for lc rules with tags

5 years agoTest expiration header for lc rules with tags 361/head
Or Friedmann [Wed, 30 Sep 2020 13:25:22 +0000 (16:25 +0300)]
Test expiration header for lc rules with tags

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
5 years agos3select predicate tests 358/head
Albin Antony [Thu, 24 Sep 2020 10:39:20 +0000 (16:09 +0530)]
s3select predicate tests

Signed-off-by: Albin Antony <aantony@redhat.com>
5 years agoMerge pull request #356 from cbodley/wip-test-bucket-recreate-acl
Casey Bodley [Thu, 8 Oct 2020 14:37:09 +0000 (10:37 -0400)]
Merge pull request #356 from cbodley/wip-test-bucket-recreate-acl

test bucket recreation with different acls

5 years agoAdd test for HeadBucket on a non-existent bucket 363/head
Matt Benjamin [Thu, 8 Oct 2020 13:30:50 +0000 (09:30 -0400)]
Add test for HeadBucket on a non-existent bucket

n.b., RGW does not send a response document for this operation,
which seems consistent with
https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>