]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
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 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 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 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 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>
5 years agoMerge pull request #362 from TRYTOBE8TME/wip-sts-issue-fix
Casey Bodley [Mon, 5 Oct 2020 21:19:09 +0000 (17:19 -0400)]
Merge pull request #362 from TRYTOBE8TME/wip-sts-issue-fix

STS issue fix (https://tracker.ceph.com/issues/47588)

5 years agoSTS issue fix (https://tracker.ceph.com/issues/47588) 362/head
root [Mon, 5 Oct 2020 19:05:58 +0000 (00:35 +0530)]
STS issue fix (https://tracker.ceph.com/issues/47588)

This is the fix for the issue reported (https://tracker.ceph.com/issues/47588). The issue was with the argument which was passed to the function. After removing that argument (as it's already an optional argument) the issue is fixed.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
5 years agoMerge pull request #359 from huww98/master
Matt Benjamin [Fri, 2 Oct 2020 16:41:19 +0000 (12:41 -0400)]
Merge pull request #359 from huww98/master

Test list_objects_v2 KeyCount with Delimiter

5 years agoMerge pull request #357 from linuxbox2/wip-fixes-911
Matt Benjamin [Thu, 1 Oct 2020 15:26:31 +0000 (11:26 -0400)]
Merge pull request #357 from linuxbox2/wip-fixes-911

Wip fixes 911

5 years agoTest list_objects_v2 KeyCount with Delimiter 359/head
胡玮文 [Thu, 24 Sep 2020 16:28:06 +0000 (00:28 +0800)]
Test list_objects_v2 KeyCount with Delimiter

Test for: https://github.com/ceph/ceph/pull/37396

Signed-off-by: 胡玮文 <huww98@outlook.com>
5 years agoadd noncurrent version expiration rule w/tag filter 357/head
Matt Benjamin [Wed, 16 Sep 2020 17:19:41 +0000 (13:19 -0400)]
add noncurrent version expiration rule w/tag filter

Create 10 object versions (9 noncurrent).  Install a noncurrent
version expiration at 4 days.  Verify that 10 versions exist at
T+20, and only 1 (current) at T+60.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoadd lifecycle expiration test mixing 2-tag filter w/versioning
Matt Benjamin [Tue, 15 Sep 2020 13:57:00 +0000 (09:57 -0400)]
add lifecycle expiration test mixing 2-tag filter w/versioning

By design this test duplicates test_lifecycle_expiration_tags2,
but enables object versioning on the bucket.

The tests install a rule which requires -2- tags to be matched,
and creates 2 objects, one matching only 1 of the required tags,
the other matching both.  Only the 2nd object should expire.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoadd tests for lifecycle expiration w/1 and 2 object tags
Matt Benjamin [Mon, 14 Sep 2020 23:06:32 +0000 (19:06 -0400)]
add tests for lifecycle expiration w/1 and 2 object tags

Note that the 1-tag case contains a filter prefix--which exposes
an apparent bug parsing Filter when it contains a Prefix element
and a single Tag element (without And).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agofix lifecycle expiration days: 0
Matt Benjamin [Mon, 14 Sep 2020 18:23:48 +0000 (14:23 -0400)]
fix lifecycle expiration days: 0

In fact test_lifecycle_expiration_days0 is should fail, as 0-day
expiration is permitted for transition rules but not expiration
rules.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agos/test_set_tagging/test_set_bucket_tagging/;
Matt Benjamin [Fri, 11 Sep 2020 17:52:29 +0000 (13:52 -0400)]
s/test_set_tagging/test_set_bucket_tagging/;

The test exercises bucket tagging, has nothing to do with object
tagging (clarity).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agofix test_lifecycle_expiration_header_{put,head}
Matt Benjamin [Fri, 11 Sep 2020 17:23:41 +0000 (13:23 -0400)]
fix test_lifecycle_expiration_header_{put,head}

Primarily fixes the expiration header() verifier function
check_lifecycle_expiration_header, but also cleans up
prefix handling in setup_lifecycle_expiration().

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agofix and remark on test_lifecycle_expiration_days0
Matt Benjamin [Fri, 11 Sep 2020 14:17:39 +0000 (10:17 -0400)]
fix and remark on test_lifecycle_expiration_days0

1. fix a python3-related KeyError exception

2. note here:  AWS documentation includes examples of "Days 0"
   in use, but boto3 will not accept them--this is why the days0
   test currently sets Days 1

3. delay increased to 30s, to avoid occasional failures due to
   jitter

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agotest bucket recreation with different acls 356/head
Casey Bodley [Thu, 10 Sep 2020 18:39:10 +0000 (14:39 -0400)]
test bucket recreation with different acls

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #355 from TRYTOBE8TME/wip-sts-tests
TRYTOBE8TME [Mon, 17 Aug 2020 09:41:32 +0000 (15:11 +0530)]
Merge pull request #355 from TRYTOBE8TME/wip-sts-tests

STS Tests File and required modification in other files for the same

5 years agoMerge pull request #352 from ceph/validate_test_setup
Gal Salomon [Wed, 12 Aug 2020 10:32:29 +0000 (13:32 +0300)]
Merge pull request #352 from ceph/validate_test_setup

per each new uploaded file(for test), it got unique name(random), and…

5 years agoper each new uploaded file(for test), it got unique name(random), and uploaded file... validate_test_setup 352/head
gal salomon [Fri, 3 Jul 2020 11:49:13 +0000 (14:49 +0300)]
per each new uploaded file(for test), it got unique name(random), and uploaded file is verified for its content

Signed-off-by: gal salomon <gal.salomon@gmail.com>
Signed-off-by: gal salomon <gal.salomon@gmail.com>
5 years agoSTS Tests Files and modification in __init__.py 355/head
root [Thu, 30 Jul 2020 11:35:59 +0000 (17:05 +0530)]
STS Tests Files and modification in __init__.py

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
5 years agoMerge pull request #353 from ceph/add_test_filter
Casey Bodley [Tue, 7 Jul 2020 11:37:49 +0000 (07:37 -0400)]
Merge pull request #353 from ceph/add_test_filter

add filter for s3select tests

5 years agoadd filter for s3select tests add_test_filter 353/head
gal salomon [Mon, 6 Jul 2020 21:10:50 +0000 (00:10 +0300)]
add filter for s3select tests

Signed-off-by: gal salomon <gal.salomon@gmail.com>
5 years agoMerge pull request #342 from ceph/s3select_first_tests_framework
Matt Benjamin [Thu, 25 Jun 2020 16:27:32 +0000 (12:27 -0400)]
Merge pull request #342 from ceph/s3select_first_tests_framework

commit first tests for s3select and initial framework

5 years agofix comments;remove non-used imports;enable test for projection;using get_client() s3select_first_tests_framework 342/head
gal salomon [Sun, 31 May 2020 13:07:58 +0000 (16:07 +0300)]
fix comments;remove non-used imports;enable test for projection;using get_client()

5 years agoadding radom-generated tests, one for where clause , the second for prjection. random...
gal salomon [Tue, 26 May 2020 22:20:31 +0000 (01:20 +0300)]
adding radom-generated tests, one for where clause , the second for prjection. random arithmetical expression is generated and used for building s3-select query; result is compared to python-engine

5 years agoMerge pull request #347 from linuxbox2/wip-fix-lc-expire-timers
Casey Bodley [Tue, 26 May 2020 15:06:40 +0000 (11:06 -0400)]
Merge pull request #347 from linuxbox2/wip-fix-lc-expire-timers

fix/restore test_lifecycle_expiration checks

5 years agoMerge pull request #350 from tchaikov/wip-45691
Casey Bodley [Tue, 26 May 2020 13:01:29 +0000 (09:01 -0400)]
Merge pull request #350 from tchaikov/wip-45691

bootstrap,requirements.txt: bump up setuptools and requests

5 years agobootstrap,requirements.txt: bump up setuptools and requests 350/head
Kefu Chai [Mon, 25 May 2020 04:48:19 +0000 (12:48 +0800)]
bootstrap,requirements.txt: bump up setuptools and requests

Fixes: https://tracker.ceph.com/issues/45691
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agopython linter; replace assert with assert_equal; add complex query test(sum,count...
gal salomon [Tue, 26 May 2020 08:36:38 +0000 (11:36 +0300)]
python linter; replace assert with assert_equal; add complex query test(sum,count,where); add test-schema ;

5 years agousing config parameters
gal salomon [Sat, 23 May 2020 12:10:14 +0000 (15:10 +0300)]
using config parameters

5 years agoMerge pull request #348 from cbodley/wip-bootstrap-virtualenv-deprecated
Casey Bodley [Thu, 21 May 2020 15:08:46 +0000 (11:08 -0400)]
Merge pull request #348 from cbodley/wip-bootstrap-virtualenv-deprecated

bootstrap: remove deprecated virtualenv options

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
5 years agobootstrap: remove deprecated virtualenv options 348/head
Casey Bodley [Thu, 21 May 2020 14:48:34 +0000 (10:48 -0400)]
bootstrap: remove deprecated virtualenv options

this fails on Ubuntu 20.04:

> virtualenv: error: unrecognized arguments: --no-site-packages --distribute

according to `virtualenv -h`:

>   --no-site-packages    DEPRECATED. Retained only for backward compatibility.
>                         Not having access to global site-packages is now the
>                         default behavior.
>   --distribute          DEPRECATED. Retained only for backward compatibility.
>                         This option has no effect.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agofix/restore test_lifecycle_expiration checks 347/head
Matt Benjamin [Tue, 19 May 2020 12:41:39 +0000 (08:41 -0400)]
fix/restore test_lifecycle_expiration checks

Commit bf956df71e56bcdae7d41b9789d8e8d775f76007 adding
listobvjectsv2 tests inadvertently changed the v1
test_lifecycle_expiration test, which it had copied to
create a v2 version.  Revert this.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #345 from huangp0600/hp-dev
Ali Maredia [Fri, 15 May 2020 19:19:42 +0000 (15:19 -0400)]
Merge pull request #345 from huangp0600/hp-dev

Fix: Bucket resource leak when cleanup

5 years agoFix: Bucket resource leak when cleanup 345/head
Pei [Tue, 5 May 2020 08:07:27 +0000 (01:07 -0700)]
Fix: Bucket resource leak when cleanup

In the function of nuke_prefixed_buckets, if some err is thrown when deleting buckets, the left buckets remain uncleaned.
It is kind of resoruce leak on some charged platform. We have to clear them manually.

I know the original code is meant to give the user some hint by rasing error. But the resource leak of left buckets is a little annoying.

This PR would skip the problem point and continue the teardown process. The last client error would be saved and re-raised after the loop completes.

Signed-off-by: Pei <huangp0600@126.com>
Signed-off-by: Pei <phuang1@dev-new-3-3854897.slc07.dev.ebayc3.com>
5 years agoadd tests to validate csv-header-info functionalities is correct
gal salomon [Fri, 8 May 2020 13:51:24 +0000 (16:51 +0300)]
add tests to validate csv-header-info functionalities is correct

5 years agoadding test cases for processing CSV objects with different CSV definitions; validate...
gal salomon [Tue, 28 Apr 2020 16:10:24 +0000 (19:10 +0300)]
adding test cases for processing CSV objects with different CSV definitions; validate null,escape-rules and quotes are processed correctly

5 years agoadding utcnow test
gal salomon [Wed, 15 Apr 2020 14:20:52 +0000 (17:20 +0300)]
adding utcnow test

5 years agoadding tests for date-time functionalities
gal salomon [Thu, 9 Apr 2020 13:43:11 +0000 (16:43 +0300)]
adding tests for date-time functionalities

5 years agoadd complex expression tests; for nested function calls; and different where-clause...
gal salomon [Sat, 4 Apr 2020 13:31:54 +0000 (16:31 +0300)]
add complex expression tests; for nested function calls; and different where-clause which create the same group of values

5 years agoadding test for detection of cyclic reference to alias
gal salomon [Tue, 31 Mar 2020 11:35:51 +0000 (14:35 +0300)]
adding test for detection of cyclic reference to alias