]>
git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
Andrew Gaul [Tue, 5 Aug 2014 20:08:24 +0000 (13:08 -0700)]
Do not rely on Ceph extensions in head bucket
This commit allows test_bucket_head test_bucket_head,
test_bucket_head_extended, test_multipart_upload, and
test_abort_multipart_upload to succeed against AWS-S3. Also use
public buckets for head tests since they do not require private
buckets.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
Yehuda Sadeh [Mon, 2 Mar 2015 22:20:16 +0000 (14:20 -0800)]
Merge pull request #42 from andrewgaul/copy-replace-retain-metadata
Copy tests for replacing and retaining metadata
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Andrew Gaul [Mon, 2 Mar 2015 22:12:10 +0000 (14:12 -0800)]
Copy tests for replacing and retaining metadata
Yehuda Sadeh [Sat, 28 Feb 2015 00:49:44 +0000 (16:49 -0800)]
s3tests: add tests of acl settings by alt user
verify ownership
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 19:50:55 +0000 (11:50 -0800)]
s3tests: add missing imports
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:38:21 +0000 (10:38 -0800)]
Merge pull request #37 from andrewgaul/empty-content-length
Do not check error_code with empty content length
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:37:42 +0000 (10:37 -0800)]
Merge pull request #36 from andrewgaul/starts-with-nonalpha
Use unique name in starts with nonalpha test
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:36:33 +0000 (10:36 -0800)]
Merge pull request #34 from andrewgaul/abort-multipart-upload-not-found
Add test for aborting a bogus multi-part upload
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:35:45 +0000 (10:35 -0800)]
Merge pull request #33 from andrewgaul/multi-delete
Ensure multi-delete removes keys
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:35:08 +0000 (10:35 -0800)]
Merge pull request #32 from andrewgaul/xml-special-characters
Add test for keys with XML special characters
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:34:05 +0000 (10:34 -0800)]
Merge pull request #31 from andrewgaul/get-location
Add test for querying location
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:30:51 +0000 (10:30 -0800)]
Merge pull request #29 from andrewgaul/multipart-upload-empty-small
Test empty and small multi-part uploads
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:26:44 +0000 (10:26 -0800)]
Merge pull request #18 from andrewgaul/bad-digest
Test to find mismatched MD5
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:25:02 +0000 (10:25 -0800)]
Merge pull request #16 from andrewgaul/put-object-correct-etag
Test that put object returns correct ETag
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:24:12 +0000 (10:24 -0800)]
Merge pull request #15 from andrewgaul/half-open-range-requests
Test half-open range requests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:17:48 +0000 (10:17 -0800)]
Merge pull request #12 from andrewgaul/short-write-disable-retries
Disable retries to test short writes
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:16:20 +0000 (10:16 -0800)]
Merge pull request #11 from andrewgaul/long-bucket-name-tests
Call get_new_bucket_name in long bucket name tests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 27 Feb 2015 18:23:09 +0000 (10:23 -0800)]
s3tests: fix test_bucket_create_bad_contentlength_empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 5 Feb 2015 17:39:13 +0000 (09:39 -0800)]
s3tests: test POST with bad access key
Tests issue #10698
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 30 Jan 2015 15:29:42 +0000 (07:29 -0800)]
Merge branch 'wip-rgw-versioning-4'
Yehuda Sadeh [Thu, 29 Jan 2015 23:37:35 +0000 (15:37 -0800)]
Merge remote-tracking branch 'github/next'
Yehuda Sadeh [Thu, 22 Jan 2015 23:24:07 +0000 (15:24 -0800)]
Merge branch 'wip-bi-sharding-3' into wip-rgw-versioning-3
Conflicts:
s3tests/functional/test_s3.py
Yehuda Sadeh [Wed, 14 Jan 2015 00:46:33 +0000 (16:46 -0800)]
s3tests: send raw http requests to test redirects
Since we fixed the rgw redirect code, it turns out that boto actually
follows on them. We just want to check if redirect is sent.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 21 Jan 2015 22:49:47 +0000 (14:49 -0800)]
Merge pull request #27 from xylv/wip-test-issue-10311
s3tests: add regression test for bug #10311 - rgw: Object is deleted automatically if conditional PUT returns 412
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 9 Jan 2015 00:11:23 +0000 (16:11 -0800)]
s3tests: test list bucket versions
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 24 Dec 2014 00:26:47 +0000 (16:26 -0800)]
s3tests: concurrent object versioning tests
test concurrent creation and removal
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 23 Dec 2014 18:14:38 +0000 (10:14 -0800)]
s3tests: versioned get_acl, put_acl
modify a specific version acl, check this specific version, check it
didn't affect object head acls.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 23 Dec 2014 01:00:43 +0000 (17:00 -0800)]
s3test: add a new multi obj delete test
Validate creation of delete marker.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 22 Dec 2014 23:47:13 +0000 (15:47 -0800)]
s3test: add versioned multi delete
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 12 Dec 2014 18:14:37 +0000 (10:14 -0800)]
test: fixes
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 24 Nov 2014 18:47:16 +0000 (10:47 -0800)]
s3test: test copy version
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 17 Nov 2014 19:08:13 +0000 (11:08 -0800)]
test_s3: add versioned multipart upload test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 15 Nov 2014 00:57:51 +0000 (16:57 -0800)]
s3tests: more object versioning tests
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Fri, 31 Oct 2014 00:05:13 +0000 (17:05 -0700)]
s3tests: object version removal and delete marker test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 30 Oct 2014 20:19:59 +0000 (13:19 -0700)]
s3tests: extend object versions test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 29 Oct 2014 22:26:57 +0000 (15:26 -0700)]
s3tests: add test_versioning_obj_create_read_remove()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 28 Oct 2014 23:04:39 +0000 (16:04 -0700)]
functional: add test_versioning_bucket_create_suspend()
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 28 Oct 2014 22:20:58 +0000 (15:20 -0700)]
teardown: clean object versions
also don't set acls on buckets, objects before removing, no need for
that.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Alfredo Deza [Mon, 19 Jan 2015 17:17:36 +0000 (12:17 -0500)]
Merge pull request #38 from ceph/wip-bi-sharding-3
s3tests: send raw http requests to test redirects
Yehuda Sadeh [Wed, 14 Jan 2015 00:46:33 +0000 (16:46 -0800)]
s3tests: send raw http requests to test redirects
Since we fixed the rgw redirect code, it turns out that boto actually
follows on them. We just want to check if redirect is sent.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Andrew Gaul [Tue, 6 Jan 2015 21:53:26 +0000 (13:53 -0800)]
Do not check error_code with empty content length
This matches test_bucket_create_bad_contentlength_negative.
Andrew Gaul [Tue, 6 Jan 2015 21:41:56 +0000 (13:41 -0800)]
Use unique name in starts with nonalpha test
Andrew Gaul [Sat, 3 Jan 2015 03:28:21 +0000 (19:28 -0800)]
Add test for aborting a bogus multi-part upload
Andrew Gaul [Wed, 31 Dec 2014 23:49:46 +0000 (15:49 -0800)]
Ensure multi-delete removes keys
Andrew Gaul [Tue, 30 Dec 2014 23:54:54 +0000 (15:54 -0800)]
Add test for keys with XML special characters
Andrew Gaul [Tue, 30 Dec 2014 00:15:11 +0000 (16:15 -0800)]
Add test for querying location
Andrew Gaul [Sat, 23 Aug 2014 22:52:19 +0000 (15:52 -0700)]
Test to find mismatched MD5
Also clarify the invalid digest test.
Andrew Gaul [Tue, 23 Dec 2014 04:15:33 +0000 (20:15 -0800)]
Test empty and small multi-part uploads
Andrew Gaul [Tue, 23 Dec 2014 02:19:44 +0000 (18:19 -0800)]
Correctly generate non-mod 1024 parts in generator
Also move implementation to utils and add unit tests.
Alfredo Deza [Tue, 16 Dec 2014 21:03:17 +0000 (16:03 -0500)]
Merge pull request #28 from ceph/wip-bad-auth-test
test_object_create_bad_authorization_incorrect: fixes
Yehuda Sadeh [Tue, 16 Dec 2014 20:56:53 +0000 (12:56 -0800)]
test_object_create_bad_authorization_incorrect: fixes
The test should expect BadSignature. Also, provide a key that does not
already exist on aws.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Josh Durgin [Tue, 16 Dec 2014 07:17:51 +0000 (23:17 -0800)]
Merge pull request #26 from ceph/wip-10066
fixes/improves weird hashing issues on readwrite tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Alfredo Deza [Mon, 15 Dec 2014 15:41:59 +0000 (10:41 -0500)]
Revert "test_bucket_create_exists should fail on recreate"
This reverts commit
c82649b6353893770af8cd453af38d61dfd1e363 .
The suite does not support duality in behaviors (e.g.
US Standard vs. Regional behavior) so we adhere to US
Standard only.
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Ray Lv [Mon, 15 Dec 2014 08:47:34 +0000 (16:47 +0800)]
s3tests: add regression test for bug #10311 - rgw: Object is deleted automatically if conditional PUT returns 412
Test for bug #10311
Signed-off-by: Ray Lv <raylv@yahoo-inc.com>
Alfredo Deza [Fri, 12 Dec 2014 18:53:43 +0000 (13:53 -0500)]
fix broken/commented tests
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Alfredo Deza [Fri, 12 Dec 2014 18:53:19 +0000 (13:53 -0500)]
use the new helpers for realistic files
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Alfredo Deza [Fri, 12 Dec 2014 18:52:43 +0000 (13:52 -0500)]
always seek back to 0, remove chunk usage
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Yehuda Sadeh [Fri, 12 Dec 2014 18:42:54 +0000 (10:42 -0800)]
Merge pull request #23 from xylv/wip-test-issue-8562
s3tests: add conditional put test
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Alfredo Deza [Fri, 12 Dec 2014 16:12:10 +0000 (11:12 -0500)]
adding a new FileValidator
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Alfredo Deza [Fri, 12 Dec 2014 16:09:27 +0000 (11:09 -0500)]
new tests for the new pseudo-random content files
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Alfredo Deza [Wed, 10 Dec 2014 21:55:54 +0000 (16:55 -0500)]
adding a proof for the realistic bugs
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Alfredo Deza [Thu, 4 Dec 2014 14:43:25 +0000 (09:43 -0500)]
Merge pull request #19 from andrewgaul/query-string-authorization-expiration
Test query string authorization expiration
Alfredo Deza [Thu, 4 Dec 2014 14:37:11 +0000 (09:37 -0500)]
Merge pull request #17 from andrewgaul/delete-object-non-existent-bucket
Test delete object on non-existent bucket
Alfredo Deza [Thu, 4 Dec 2014 14:32:08 +0000 (09:32 -0500)]
Merge pull request #24 from andrewgaul/list-bucket
Improve list bucket invalid and bad auth tests
Alfredo Deza [Thu, 4 Dec 2014 14:28:31 +0000 (09:28 -0500)]
Merge pull request #9 from andrewgaul/bucket-create-exists
test_bucket_create_exists should fail on recreate
Andrew Gaul [Thu, 4 Dec 2014 04:38:00 +0000 (20:38 -0800)]
Improve list bucket invalid and bad auth tests
Explicitly test invalid access keys and valid access keys but invalid
secret keys. Also disable anonymous list bucket test for AWS.
radosgw uses this for connectivity testing but AWS does not allow it:
http://ceph.com/docs/master/radosgw/config/#verify-the-runtime
http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html
Ray Lv [Wed, 19 Nov 2014 06:48:23 +0000 (06:48 +0000)]
s3tests: add conditional put test
Test for issue #8562
Signed-off-by: Ray Lv <raylv@yahoo-inc.com>
Josh Durgin [Mon, 20 Oct 2014 20:45:39 +0000 (13:45 -0700)]
Merge pull request #22 from ceph/wip-configurable-copy
test_s3: add is_slow_backend
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Yehuda Sadeh [Tue, 14 Oct 2014 18:47:02 +0000 (11:47 -0700)]
test_s3: fix test_list_multipart_upload()
Test was calling _multipart_upload() with extra useless param, this
broke when we added a new param to the function.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Mon, 13 Oct 2014 19:52:09 +0000 (12:52 -0700)]
Merge pull request #21 from lpabon/small_multipart_upload
Multipart test with 10k small objects.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Luis Pabón [Mon, 13 Oct 2014 14:10:27 +0000 (10:10 -0400)]
Multipart test with 10k small objects.
Test detects that the server returns the correct error
code
Signed-off-by: Luis Pabón <lpabon@redhat.com>
Yehuda Sadeh [Fri, 3 Oct 2014 22:09:27 +0000 (15:09 -0700)]
test_s3: add is_slow_backend
for slow ec region copy
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 26 Aug 2014 21:03:47 +0000 (14:03 -0700)]
readwrite: dump a more meaningful message on md5 read error
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Andrew Gaul [Sun, 24 Aug 2014 01:34:02 +0000 (18:34 -0700)]
Test query string authorization expiration
Andrew Gaul [Fri, 22 Aug 2014 18:04:36 +0000 (11:04 -0700)]
Test that put object returns correct ETag
Andrew Gaul [Fri, 22 Aug 2014 18:05:09 +0000 (11:05 -0700)]
Test delete object on non-existent bucket
Andrew Gaul [Tue, 12 Aug 2014 19:25:56 +0000 (12:25 -0700)]
Test half-open range requests
Andrew Gaul [Sat, 2 Aug 2014 04:23:36 +0000 (21:23 -0700)]
Disable retries to test short writes
Previously test_object_create_bad_contentlength_mismatch_above failed
with:
Traceback (most recent call last):
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gaul/work/s3-tests/s3tests/functional/test_headers.py", line 343, in test_object_create_bad_contentlength_mismatch_above
e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, content)
File "/home/gaul/work/s3-tests/s3tests/functional/utils.py", line 11, in assert_raises
callableObj(*args, **kwargs)
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 1379, in set_contents_from_string
encrypt_key=encrypt_key)
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 1246, in set_contents_from_file
chunked_transfer=chunked_transfer, size=size)
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 725, in send_file
chunked_transfer=chunked_transfer, size=size)
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 914, in _send_file_internal
query_args=query_args
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/s3/connection.py", line 658, in make_request
retry_handler=retry_handler
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/connection.py", line 1048, in make_request
retry_handler=retry_handler)
File "/home/gaul/work/s3-tests/virtualenv/local/lib/python2.7/site-packages/boto/connection.py", line 1004, in _mexe
raise BotoServerError(response.status, response.reason, body)
BotoServerError: BotoServerError: 400 Bad Request
Andrew Gaul [Fri, 1 Aug 2014 23:36:12 +0000 (16:36 -0700)]
Call get_new_bucket_name in long bucket name tests
Previously test_bucket_create_naming_good_long_251 and
test_bucket_list_long_name could fail with BucketAlreadyOwnedByYou.
Andrew Gaul [Thu, 31 Jul 2014 08:27:57 +0000 (01:27 -0700)]
test_bucket_create_exists should fail on recreate
AWS S3 has two behaviors for recreating a bucket depending if you use
the us-standard or another region:
>>> bucket = conn.create_bucket('gaul-default', location=Location.DEFAULT)
>>> bucket = conn.create_bucket('gaul-default', location=Location.DEFAULT)
>>> bucket = conn.create_bucket('gaul-uswest', location=Location.USWest)
>>> bucket = conn.create_bucket('gaul-uswest', location=Location.USWest)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 499, in create_bucket
response.status, response.reason, body)
boto.exception.S3CreateError: S3CreateError: 409 Conflict
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to create the named bucket succeeded and you already own it.</Message><BucketName>gaul-uswest</BucketName><RequestId>
24B6DC3170365CD7 </RequestId><HostId>hUynMTyqc9WZFxAJ2RFK6P7BqmmeHHlMl9xL2NOy56xBUnOZCAlHqGvtMeGeAfVs</HostId></Error>
Additional discussion:
https://issues.apache.org/jira/browse/JCLOUDS-334
Yehuda Sadeh [Fri, 18 Jul 2014 20:51:22 +0000 (13:51 -0700)]
test_s3: add bucket listing tests
Test prefix, delimiter, common prefixes, max_keys.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Yehuda Sadeh [Wed, 16 Jul 2014 20:22:38 +0000 (13:22 -0700)]
rgw: add more multipart upload tests
Check for issue #8846.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 3 Jun 2014 23:14:59 +0000 (16:14 -0700)]
s3tests: extende multipart upload test
Test for issue #8452
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Yehuda Sadeh [Tue, 1 Apr 2014 19:20:24 +0000 (12:20 -0700)]
test_s3: add some debug prints for multi region test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 1 Apr 2014 19:20:16 +0000 (12:20 -0700)]
test_s3: extend multipart test
Make test use a multipart upload with different part sizes, to exercise
code that triggered #7935.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Tue, 1 Apr 2014 19:20:08 +0000 (12:20 -0700)]
test_s3: extend multi-delete test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sandon Van Ness [Fri, 10 Jan 2014 03:09:39 +0000 (19:09 -0800)]
Added pip 1.5 workaround.
Setuptools needs to be upgraded with --no-use-wheel. A change we
already were using in other projects.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Yehuda Sadeh [Sat, 7 Sep 2013 04:54:46 +0000 (21:54 -0700)]
Merge branch 'next'
Yehuda Sadeh [Sat, 7 Sep 2013 04:54:25 +0000 (21:54 -0700)]
Merge branch 'wip-6078' into next
Yehuda Sadeh [Wed, 4 Sep 2013 23:45:00 +0000 (16:45 -0700)]
rgw: extend cors tests
Checks all sort of issues related to #6078.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Joe Buck [Sat, 31 Aug 2013 06:38:04 +0000 (23:38 -0700)]
fix nuke_buckets for non-region tests
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Joe Buck [Thu, 29 Aug 2013 22:37:15 +0000 (15:37 -0700)]
Moving region_sync to utils
Since other classes need to do syncs,
let's move it to the utils file.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Thu, 29 Aug 2013 22:48:09 +0000 (15:48 -0700)]
Rework nuke_buckets
Nuke all buckets on the master, sync, and then
nuke any remaining buckets on non-master regions.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Wed, 28 Aug 2013 16:36:42 +0000 (09:36 -0700)]
Improve post-test cleanup
The multi-region tests were not being diligent
about cleaning up their buckets / keys
and making sure that those deletes were synced.
This was causing the nuke_prefixed_buckets()
method to run into errors.
This patch adds more cleanup code and
validation of that cleanup within
the pertinent tests.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Joe Buck [Wed, 21 Aug 2013 22:47:04 +0000 (15:47 -0700)]
Add support for default_region
Changes to actually use the
'default_region' setting in the
S3TEST_CONF file.
Previously, the first connection set
was assumed to be the default.
This means that the parse order
of the S3TEST_CONF file was dictating
how the tests behaved, resulting in
failures in some cases.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Yehuda Sadeh [Wed, 28 Aug 2013 02:47:07 +0000 (19:47 -0700)]
rgw: more extensive CORS testing
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Joe Buck [Mon, 26 Aug 2013 20:58:59 +0000 (13:58 -0700)]
readwrite: add missing traceback object
An error code path was missing the traceback
object and was causing a key error when
that path was executed.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Yehuda Sadeh [Fri, 16 Aug 2013 17:55:54 +0000 (10:55 -0700)]
Merge branch 'next'
Conflicts:
s3tests/functional/test_s3.py
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Joe Buck [Fri, 9 Aug 2013 04:47:34 +0000 (21:47 -0700)]
readwrite: error propagation code
This is my attempt at enabling errors
in the readwrite.py to propate up
to the calling teuthology task.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Joe Buck [Fri, 2 Aug 2013 23:49:20 +0000 (16:49 -0700)]
readwrite.py: adding parameters
Add an optional parameter to trigger deterministic
file name creation (for separate write/read tasks).
Also, change the behavior when zero writers
are specified to actually generate no data.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>