Ali Maredia [Tue, 20 Feb 2024 17:16:16 +0000 (12:16 -0500)]
Merge pull request #550 from hmaheswa/ceph-pacific-lc-header-fix
fixing intermittent lifecycle_expiration_header failures(2!=1) beacause of datetime.now() on different timezone
Hemanth Sai Maheswarla [Sat, 17 Feb 2024 06:46:16 +0000 (12:16 +0530)]
fixing intermittent lifecycle_expiration_header failures(2!=1) beacause of datetime.now() on different timezone
Signed-off-by: Hemanth Sai Maheswarla <hemanthsaimaheswarla@Hemanths-MacBook-Pro.local>
Tobias Urdin [Sun, 4 Feb 2024 14:28:28 +0000 (14:28 +0000)]
Add more testing for presigned URLs
This improves the testing for presigned URLs for
both get_object and put_object when using
generate_presigned_url().
It covers the case where you pass for example
a x-amz-acl (ACL in params for generated_presigned_url)
header that should be signed.
Tests the regression in [1].
[1] https://tracker.ceph.com/issues/64308
Signed-off-by: Tobias Urdin <tobias.urdin@binero.se>
(cherry picked from commit
3eab156575cef9de40470abf38ffe25e5634796a)
Conflicts:
s3tests_boto3/functional/test_s3.py pytest assert -> nose eq()
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>
(cherry picked from commit
5b08b26453d8362c87a496b0a9cd448a6c331ddf)
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>
(cherry picked from commit
1af1880b7a771bc6dc1d429fad3636b4b15c7a84)
Tobias Urdin [Wed, 2 Aug 2023 09:28:20 +0000 (09:28 +0000)]
Add test to verify HTTP OPTIONS on presigned URL
Related: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit
c0a1880d4cd3b7c7469edd5ba91def29d871e9c8)
Conflicts:
s3tests_boto3/functional/test_s3.py: nose->pytest changes
(cherry picked from commit
8fb5d9a59c52adda9cc8172c96611398944be478)
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>
Soumya Koduri [Tue, 9 Aug 2022 18:25:45 +0000 (23:55 +0530)]
Merge pull request #466 from ceph/ceph-pacific-lifecycle-expiration-fixes
Ceph pacific lifecycle expiration fixes
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>
(cherry picked from commit
cb830ebae196395be9d3498505121bb4b96d2382)
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>
(cherry picked from commit
0f3f35ef018794cc0511d33d9122bedaa4062064)
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>
(cherry picked from commit
5f96a32045aa50da674df000f462def06308e10b)
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>
(cherry picked from commit
b252638369f56ab171bc88d54d71025ce8b8d6c7)
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>
(cherry picked from commit
ea3caaa76bf80094596753cc8abab776f9c50253)
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>
(cherry picked from commit
ea7d5fb563351b176d787b744cafd4ae58aa7b71)
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>
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>
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>
(cherry picked from commit
ef8f65d917877601f0d18f08dd8ae81f03d0ee1c)
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>
(cherry picked from commit
f4f7812efd5b42a3b255148ab67424a4a00ba2fb)
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>
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>
Albin Antony [Thu, 24 Sep 2020 10:39:20 +0000 (16:09 +0530)]
s3select predicate tests
Signed-off-by: Albin Antony <aantony@redhat.com>
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
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>
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>
(cherry picked from commit
c08de72d55202381628737a11bb1a4079257d016)
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>
(cherry picked from commit
f6218fa1deaa83e802e246cbb3c0936a2cfb833c)
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>
(cherry picked from commit
daf9062a225831a420e471ee0459abc799c45439)
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>
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>
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>
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>
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>
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>
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>
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>
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>
(cherry picked from commit
fce9a52ef4311c6a89d05452776affe63dfbafe6)
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()
(cherry picked from commit
72e251ed69af4cd69de311d39c7f492292528c70)
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
(cherry picked from commit
fb39ac4829816e19a502e7c4d7c4f9f9ab941945)
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 ;
(cherry picked from commit
e006dd47537ba56dfcdad2fcf27f15d21ed209d6)
gal salomon [Sat, 23 May 2020 12:10:14 +0000 (15:10 +0300)]
using config parameters
(cherry picked from commit
1a9d3677f7f77597bc8208232ee0bb4f7ef7322c)
gal salomon [Fri, 8 May 2020 13:51:24 +0000 (16:51 +0300)]
add tests to validate csv-header-info functionalities is correct
(cherry picked from commit
5dc8bc75ab3365d652945c63bd3bceaddb46f825)
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
(cherry picked from commit
94b19862284f13d351ea4e5164300a3841fbf091)
gal salomon [Wed, 15 Apr 2020 14:20:52 +0000 (17:20 +0300)]
adding utcnow test
(cherry picked from commit
4c7c279f7017a3510543de5c4b2dff4f15255e65)
gal salomon [Thu, 9 Apr 2020 13:43:11 +0000 (16:43 +0300)]
adding tests for date-time functionalities
(cherry picked from commit
5925f0fb3f5918fed5c30ff53475c72bf5e13a5a)
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
(cherry picked from commit
c1bce6ac705d79a3530c30c2f4d5450570abcd3c)
gal salomon [Tue, 31 Mar 2020 11:35:51 +0000 (14:35 +0300)]
adding test for detection of cyclic reference to alias
(cherry picked from commit
d543619e7162aaedbff58b8f30f4d08da14c5493)
gal salomon [Sun, 29 Mar 2020 14:23:05 +0000 (17:23 +0300)]
adding aggregation tests
(cherry picked from commit
f42872fd53478d5510dff236ee96a5f0559f0096)
gal salomon [Thu, 26 Mar 2020 15:49:55 +0000 (17:49 +0200)]
adding alias test case
(cherry picked from commit
74daf86fe5e08f9a4dfb945f3e4b538504803dbb)
gal salomon [Mon, 23 Mar 2020 11:36:32 +0000 (13:36 +0200)]
commit first tests for s3select and initial framework
(cherry picked from commit
dac38694ef8897dc5721c0125e3a538aa530b9ae)
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>
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>
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>
(cherry picked from commit
a0c15c80ad95257d713e7587f070772f416122d6)
Abhishek L [Mon, 30 Mar 2020 13:25:57 +0000 (15:25 +0200)]
Merge pull request #343 from theanalyst/ceph-master-public-buckets-qa
Ceph master public buckets backport
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:06:09 +0000 (17:06 +0100)]
fix ignore public acls with py3 compatible code
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
4d675235ddc12478a0075fe937e2e4919f0ad5b9)
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:22:42 +0000 (15:22 +0200)]
add tests for ignore public acls
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
3b1571ace6c27a1f8995e42576e1d779848d110f)
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:22:19 +0000 (15:22 +0200)]
add test for block public policy
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
b4516725f28aad87796e442682fec23a4fb7e7e3)
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:21:20 +0000 (15:21 +0200)]
use empty bodies for canned acl tests with BlockPublicAccess
This should be a temporary workaround until #42208 is fixed
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
d02c1819f67011d6869b86d4497cf6c31fc7be5c)
Abhishek Lekshmanan [Tue, 8 Oct 2019 08:47:23 +0000 (10:47 +0200)]
remove redundant get_client calls
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
4996430709ba3910a7cb8380f25f81c0e3da88a0)
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:03:10 +0000 (17:03 +0100)]
add ability to get svc client for s3config set of apis
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
6d3f574a8ec8e61a2d5591a4c448b5b9e6404598)
Abhishek Lekshmanan [Tue, 8 Oct 2019 08:46:38 +0000 (10:46 +0200)]
add tests for public access configuration
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
1ad38530e07b388e54f4aee93d4b55344b015132)
Abhishek Lekshmanan [Fri, 30 Aug 2019 09:34:51 +0000 (11:34 +0200)]
add a few test cases for public bucket policies
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
3f9d31c6c77ee8e12cb95511898e3c59a6dee62b)
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:01:30 +0000 (17:01 +0100)]
boto3: add bucket policy status checks for public ACLs
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
02b1d50ca7064ced156482b86817b44356683ad2)
Ali Maredia [Fri, 17 Jan 2020 15:02:25 +0000 (10:02 -0500)]
Merge pull request #340 from theanalyst/bootstrap-suse
bootstrap: add support for *suse distributions
Abhishek Lekshmanan [Wed, 15 Jan 2020 19:34:17 +0000 (20:34 +0100)]
bootstrap: add support for *suse distributions
Also reformatted the bootstrap script to parse /etc/os-release instead, so that
more distro/pkg manager support could be added at a later point in time and
fixed the error message
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Wed, 15 Jan 2020 13:48:54 +0000 (08:48 -0500)]
Merge pull request #337 from ceph/wip-python-3-port
Wip python 3 port
Ali Maredia [Wed, 18 Dec 2019 20:37:20 +0000 (15:37 -0500)]
remove all non-functional tests and infra
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Adam C. Emerson [Fri, 22 Mar 2019 17:58:30 +0000 (13:58 -0400)]
Port functional tests from python 2 to python 3
Add fails_on_rgw to tests not passing. Some
tests from the master branch do not pass on the
rgw yet. Others waiting on rgw tracker issues to
be resolved.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Abhishek L [Fri, 20 Dec 2019 17:30:21 +0000 (18:30 +0100)]
Merge pull request #314 from theanalyst/iam/user-policy-basic
iam: add a very basic user policy smoke test
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Pritha Srivastava <prsivas@redhat.com>
Reviewed-By: Yuval Lifshitz <yuvalif@yahoo.com>
Abhishek L [Fri, 20 Dec 2019 17:28:23 +0000 (18:28 +0100)]
Merge pull request #311 from theanalyst/encoding-type
list-objects: add basic tests for encoding
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek Lekshmanan [Fri, 6 Dec 2019 16:00:13 +0000 (17:00 +0100)]
iam: explicitly set a region for the iam client
Avoids region not defined errors
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 24 Oct 2019 15:18:38 +0000 (17:18 +0200)]
iam: add a very basic user policy smoke test
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Ali Maredia [Wed, 11 Dec 2019 15:29:21 +0000 (10:29 -0500)]
Merge pull request #331 from yehudasa/wip-which
bootstrap: different packages for 'which'
Ali Maredia [Tue, 10 Dec 2019 18:04:08 +0000 (13:04 -0500)]
Merge pull request #321 from romayalon/tags-order-fix
test_put_obj_with_tags
Yehuda Sadeh [Mon, 9 Dec 2019 12:20:55 +0000 (14:20 +0200)]
bootstrap: different packages for 'which'
Either debianutils or which.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Ali Maredia [Sun, 8 Dec 2019 19:04:39 +0000 (14:04 -0500)]
Merge pull request #330 from yehudasa/wip-bash
bootstrap: switch to bash
Yehuda Sadeh [Sat, 7 Dec 2019 09:23:03 +0000 (11:23 +0200)]
bootstrap: switch to bash
Use of declare that is bash specific was introduced in:
d44c923405e22ea8b6cc1ab4316be3cc07f29b5
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Mon, 25 Nov 2019 16:49:25 +0000 (11:49 -0500)]
Merge pull request #326 from ceph/wip-bootstrap-fix
Minor fix to Centos 8 bootstrap changes
Ali Maredia [Mon, 25 Nov 2019 05:22:44 +0000 (00:22 -0500)]
Merge pull request #156 from gaul/read-unreadable-object
Test reading an unreadable object
Ali Maredia [Mon, 25 Nov 2019 05:09:54 +0000 (00:09 -0500)]
Merge pull request #278 from gaul/x-rgw
Ignore missing x-rgw-* headers
Ali Maredia [Sun, 24 Nov 2019 23:04:42 +0000 (18:04 -0500)]
Minor fix to Centos 8 bootstrap changes
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Gaul [Wed, 22 May 2019 07:21:43 +0000 (16:21 +0900)]
Ignore missing x-rgw-* headers
Continue to require them in test_bucket_head_extended. Only Ceph
supports these headers.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
Andrew Gaul [Tue, 14 Mar 2017 22:56:13 +0000 (15:56 -0700)]
Test reading an unreadable object
Signed-off-by: Andrew Gaul <andrew@gaul.org>
Ali Maredia [Thu, 21 Nov 2019 18:10:56 +0000 (13:10 -0500)]
Merge pull request #319 from liranmauda/liran-fix-bootstrap-for-version-8
Fixing bootstap for RHEL/Centos 8
Casey Bodley [Wed, 13 Nov 2019 16:54:33 +0000 (11:54 -0500)]
Merge pull request #296 from gaul/can-test-website-501
Do not run website tests when server emits 501
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Romy [Wed, 6 Nov 2019 11:19:39 +0000 (13:19 +0200)]
fix lists compare
liranmauda [Sun, 3 Nov 2019 13:04:15 +0000 (15:04 +0200)]
Fixing bootstap for RHEL/Centos 8
Fixing bootstap for RHEL/Centos 8
- When VERSION_ID is less than 8, installing the python packages, otherwise installing the python2 packages.
- When we are using the python2-virtualenv, we will run virtualenv-2.
- Making sure we have which installed
Ali Maredia [Tue, 29 Oct 2019 03:56:38 +0000 (23:56 -0400)]
Merge pull request #307 from peter-ginchev/fix_listobjects_v2_tests
Fix validate_bucket_listv2
Abhishek Lekshmanan [Fri, 18 Oct 2019 14:11:18 +0000 (16:11 +0200)]
list-objects: add basic tests for encoding
Fixes: https://tracker.ceph.com/issues/41870
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Ali Maredia [Mon, 7 Oct 2019 13:42:14 +0000 (09:42 -0400)]
Merge pull request #309 from hairesis/master
Push #306 to master branch.
Andrea Baglioni [Mon, 23 Sep 2019 20:02:23 +0000 (21:02 +0100)]
sse-kms test keys parametrization
Signed-off-by: Andrea Baglioni <andrea.baglioni@workday.com>
Andrea Baglioni [Tue, 24 Sep 2019 15:49:13 +0000 (16:49 +0100)]
sse-kms: adding missing kms test to parametrization
Peter Ginchev [Mon, 30 Sep 2019 11:38:45 +0000 (14:38 +0300)]
Fix validate_bucket_listv2
NextContinuationToken is not cleartext, and we shouldn't assume that.
Also, the test should use it for ContinuationToken
Ali Maredia [Tue, 24 Sep 2019 18:42:46 +0000 (14:42 -0400)]
Merge pull request #305 from cbodley/wip-validate-bucket-name
Fix create_bucket tests as per new bucket naming conventions
Soumya Koduri [Thu, 20 Jun 2019 18:14:13 +0000 (23:44 +0530)]
Fix create_bucket tests as per new bucket naming conventions
As per amazon s3 spec -
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-s3-bucket-naming-requirements.html
The s3 bucket names should not contain upper case letters or underscore.
Name cannot end with dash or have consecutive periods, or dashes adjacent to periods
Name length shouldn't exceed 63 characters.
These rules are being enforced via
- https://github.com/ceph/ceph/pull/26787
This patch is to update the respective testcases as well.
Note: check_invalid_bucket_name() seems to have been broken. It should
try to create bucket using invalid name. Have addressed it in this
patch. Because of this few testcases (which were incorrectly passing
earlier) are failing in validate_bucket_name. Have marked them
'fails_on_rgw' as done for test_bucket_create_naming_bad_punctuation
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Wed, 11 Sep 2019 14:30:44 +0000 (10:30 -0400)]
Merge pull request #304 from cbodley/wip-fails-with-subdomain
boto2: tag more tests with fails_with_subdomain
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Tue, 10 Sep 2019 19:14:49 +0000 (15:14 -0400)]
boto2: tag more tests with fails_with_subdomain
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 30 Aug 2019 12:58:30 +0000 (08:58 -0400)]
Merge pull request #286 from zhangsw/lifecycle-expiration-versioning
Add a case for lifecycle expiration on versining enabled bucket.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Thu, 22 Aug 2019 18:13:09 +0000 (14:13 -0400)]
Merge pull request #297 from albin-antony/mutuallyexclusive
startafter and continuation token shouldn't be returned if they are not specified in the request
J. Eric Ivancich [Tue, 13 Aug 2019 21:09:52 +0000 (17:09 -0400)]
Merge pull request #295 from tianshan/test_pr_29215
add test case for list with delimiter not skip special keys
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
albIN7 [Tue, 6 Aug 2019 15:48:43 +0000 (21:18 +0530)]
startafter or continuation token shouldn't be returned if they are not specified in the request
Signed-off-by: Albin Antony <aantony@redhat.com>
Andrew Gaul [Mon, 29 Jul 2019 21:16:38 +0000 (14:16 -0700)]
Do not run website tests when server emits 501
Signed-off-by: Andrew Gaul <andrew@gaul.org>