]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
10 years agos3tests: Add test_multipart_copy_multiple_sizes 75/head
Javier M. Mellid [Wed, 2 Sep 2015 16:46:43 +0000 (18:46 +0200)]
s3tests: Add test_multipart_copy_multiple_sizes

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
10 years agos3tests: Add test_multipart_copy_small
Javier M. Mellid [Wed, 2 Sep 2015 16:46:07 +0000 (18:46 +0200)]
s3tests: Add test_multipart_copy_small

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
10 years agoMerge pull request #70 from tobegit3hub/fix_example_in_readme
Yehuda Sadeh [Thu, 13 Aug 2015 17:31:47 +0000 (10:31 -0700)]
Merge pull request #70 from tobegit3hub/fix_example_in_readme

Fix the example which is deprecated in README.rst

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #53 from andrewgaul/mpu-invalid-parts
Yehuda Sadeh [Thu, 13 Aug 2015 17:28:45 +0000 (10:28 -0700)]
Merge pull request #53 from andrewgaul/mpu-invalid-parts

Add multipart tests with invalid parts

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #64 from andrewgaul/cache-control-expires-headers
Yehuda Sadeh [Thu, 13 Aug 2015 17:27:14 +0000 (10:27 -0700)]
Merge pull request #64 from andrewgaul/cache-control-expires-headers

Add tests for Cache-Control and Expires headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #59 from robbat2/wip-website-fuzzy
Yehuda Sadeh [Thu, 13 Aug 2015 17:21:51 +0000 (10:21 -0700)]
Merge pull request #59 from robbat2/wip-website-fuzzy

fuzz: Write fuzzer rules for WebsiteConfiguration.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoUse test_bucket_list_empty as example in README 70/head
tobe [Mon, 3 Aug 2015 12:30:46 +0000 (20:30 +0800)]
Use test_bucket_list_empty as example in README

10 years agoFix the example which is deprecated in README.rst
tobe [Mon, 3 Aug 2015 02:32:04 +0000 (10:32 +0800)]
Fix the example which is deprecated in README.rst

Signed-off-by: tobe <tobeg3oogle@gmail.com>
10 years agoMerge pull request #66 from ceph/wip-12302
Zack Cerza [Tue, 14 Jul 2015 17:58:50 +0000 (11:58 -0600)]
Merge pull request #66 from ceph/wip-12302

Remove "--allow-hosts None" because it magically makes things work

10 years agoRemove "--allow-hosts None" because it magically makes things work 66/head
Dan Mick [Tue, 14 Jul 2015 17:19:37 +0000 (10:19 -0700)]
Remove "--allow-hosts None" because it magically makes things work

Fixes: 12302
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoAdd tests for Cache-Control and Expires headers 64/head
Andrew Gaul [Tue, 30 Jun 2015 22:42:32 +0000 (15:42 -0700)]
Add tests for Cache-Control and Expires headers

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agos3tests: fix for python 2.6
Yehuda Sadeh [Tue, 30 Jun 2015 18:26:35 +0000 (11:26 -0700)]
s3tests: fix for python 2.6

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #63 from andrewgaul/unneeded_head_bucket
Yehuda Sadeh [Tue, 30 Jun 2015 17:12:52 +0000 (10:12 -0700)]
Merge pull request #63 from andrewgaul/unneeded_head_bucket

Remove unneeded called to _head_bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoRemove unneeded called to _head_bucket 63/head
Andrew Gaul [Tue, 30 Jun 2015 17:06:23 +0000 (10:06 -0700)]
Remove unneeded called to _head_bucket

Test does not consume obj_count or bytes_used and this function now
returns a dict of optional headers.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agos3tests: adjust copy tests to test copy of larger objects
Yehuda Sadeh [Wed, 17 Jun 2015 20:10:23 +0000 (13:10 -0700)]
s3tests: adjust copy tests to test copy of larger objects

rgw has different code paths for objects > 512k

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #58 from robbat2/wip-unique-testname
Yehuda Sadeh [Wed, 17 Jun 2015 20:31:30 +0000 (13:31 -0700)]
Merge pull request #58 from robbat2/wip-unique-testname

tests must have unique names, otherwise they override existing tests.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #61 from andrewgaul/range-get-content-range
Yehuda Sadeh [Wed, 17 Jun 2015 20:30:32 +0000 (13:30 -0700)]
Merge pull request #61 from andrewgaul/range-get-content-range

Test Content-Range header in range requests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #60 from andrewgaul/range-get-invalid-range
Yehuda Sadeh [Wed, 17 Jun 2015 20:30:17 +0000 (13:30 -0700)]
Merge pull request #60 from andrewgaul/range-get-invalid-range

Test range get with invalid range

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoTest range get with invalid range 60/head
Andrew Gaul [Wed, 17 Jun 2015 04:06:34 +0000 (21:06 -0700)]
Test range get with invalid range

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoTest Content-Range header in range requests 61/head
Andrew Gaul [Wed, 17 Jun 2015 15:26:15 +0000 (08:26 -0700)]
Test Content-Range header in range requests

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agos3tests: fix multipart test
Yehuda Sadeh [Tue, 16 Jun 2015 22:32:19 +0000 (15:32 -0700)]
s3tests: fix multipart test

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agofuzz: Write fuzzer rules for WebsiteConfiguration. 59/head
Robin H. Johnson [Sun, 14 Jun 2015 22:20:17 +0000 (15:20 -0700)]
fuzz: Write fuzzer rules for WebsiteConfiguration.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
10 years agotests must have unique names, otherwise they override existing tests. 58/head
Robin H. Johnson [Mon, 15 Jun 2015 04:31:30 +0000 (21:31 -0700)]
tests must have unique names, otherwise they override existing tests.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
10 years agoMerge pull request #56 from jmunhoz/bug-11753
Yehuda Sadeh [Thu, 28 May 2015 08:39:08 +0000 (01:39 -0700)]
Merge pull request #56 from jmunhoz/bug-11753

s3tests: Test copying foreign object in foreign bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agos3tests: Test copying foreign object in foreign bucket 56/head
Javier M. Mellid [Wed, 27 May 2015 09:27:08 +0000 (11:27 +0200)]
s3tests: Test copying foreign object in foreign bucket

User should be able to copy non-owned objects inside non-owned buckets when
they have full permissions to both bucket and object.

Test for issue #11639

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
10 years agoMerge pull request #55 from ceph/wip-bootstrap-pkg-install
Yehuda Sadeh [Fri, 15 May 2015 17:36:34 +0000 (10:36 -0700)]
Merge pull request #55 from ceph/wip-bootstrap-pkg-install

bootstrap: apt/yum install the list of dependencies

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agobootstrap: apt/yum install the list of dependencies 55/head
Ken Dreyer [Fri, 15 May 2015 17:15:33 +0000 (11:15 -0600)]
bootstrap: apt/yum install the list of dependencies

If RPM or DEB packages are missing, don't print to STDERR and bail.
Instead, assume that the user has sudo rights, and attempt to install
the missing packages for the user automatically.

10 years agos3tests: more thorough multipart resend tests
Yehuda Sadeh [Thu, 14 May 2015 00:10:07 +0000 (17:10 -0700)]
s3tests: more thorough multipart resend tests

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoradosgw-admin: test resend of a multipart upload part
Yehuda Sadeh [Wed, 13 May 2015 00:06:11 +0000 (17:06 -0700)]
radosgw-admin: test resend of a multipart upload part

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoAdd multipart tests with invalid parts 53/head
Andrew Gaul [Sat, 2 May 2015 17:51:30 +0000 (10:51 -0700)]
Add multipart tests with invalid parts

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoMerge pull request #52 from andrewgaul/nuke-empty-bucket
Yehuda Sadeh [Fri, 1 May 2015 20:14:39 +0000 (13:14 -0700)]
Merge pull request #52 from andrewgaul/nuke-empty-bucket

Handle empty bucket while nuking

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoHandle empty bucket while nuking 52/head
Andrew Gaul [Fri, 1 May 2015 20:09:51 +0000 (13:09 -0700)]
Handle empty bucket while nuking

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoMerge pull request #51 from andrewgaul/nuke-bucket-without-versions
Yehuda Sadeh [Fri, 24 Apr 2015 21:50:49 +0000 (14:50 -0700)]
Merge pull request #51 from andrewgaul/nuke-bucket-without-versions

Fall back when nuking buckets

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoFall back when nuking buckets 51/head
Andrew Gaul [Fri, 24 Apr 2015 21:35:35 +0000 (14:35 -0700)]
Fall back when nuking buckets

Some S3 implementations do not support object versioning - fall back
to listing without versions.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agos3tests: cleanup, set bucket acls if permission denied
Yehuda Sadeh [Fri, 24 Apr 2015 20:49:59 +0000 (13:49 -0700)]
s3tests: cleanup, set bucket acls if permission denied

retry bucket removal after setting the bucket permissions if we're
getting pemission denied. This will make sure the bucket gets removed.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #50 from andrewgaul/test-object-acl-canned-during-create
Yehuda Sadeh [Fri, 24 Apr 2015 16:16:45 +0000 (09:16 -0700)]
Merge pull request #50 from andrewgaul/test-object-acl-canned-during-create

Add test_object_acl_canned_during_create

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoAdd test_object_acl_canned_during_create 50/head
Andrew Gaul [Thu, 23 Apr 2015 23:28:11 +0000 (16:28 -0700)]
Add test_object_acl_canned_during_create

This mirrors test_bucket_acl_canned_during_create.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoMerge pull request #47 from andrewgaul/copy-blob-content-type
Yehuda Sadeh [Mon, 6 Apr 2015 17:00:38 +0000 (10:00 -0700)]
Merge pull request #47 from andrewgaul/copy-blob-content-type

Replace and retain Content-Type in copy tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoReplace and retain Content-Type in copy tests 47/head
Andrew Gaul [Sat, 4 Apr 2015 20:01:13 +0000 (13:01 -0700)]
Replace and retain Content-Type in copy tests

Also set user metadata during put instead of issuing an additional
copy.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoMerge pull request #45 from andrewgaul/head-operation-tests
Yehuda Sadeh [Tue, 17 Mar 2015 16:35:04 +0000 (09:35 -0700)]
Merge pull request #45 from andrewgaul/head-operation-tests

Do not rely on Ceph extensions in head bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #46 from andrewgaul/container-create-acl
Yehuda Sadeh [Tue, 17 Mar 2015 16:33:10 +0000 (09:33 -0700)]
Merge pull request #46 from andrewgaul/container-create-acl

Test setting container ACLs during create bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #44 from ceph/wip-10551
Yehuda Sadeh [Tue, 17 Mar 2015 16:31:17 +0000 (09:31 -0700)]
Merge pull request #44 from ceph/wip-10551

Add fails_on_mod_proxy_fcgi to functional.test_s3.test_100_continue

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoTest setting container ACLs during create bucket 46/head
Andrew Gaul [Mon, 16 Mar 2015 01:03:45 +0000 (18:03 -0700)]
Test setting container ACLs during create bucket

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoDo not rely on Ceph extensions in head bucket 45/head
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>
10 years agoAdd fails_on_mod_proxy_fcgi to functional.test_s3.test_100_continue 44/head
Andrew Schoen [Wed, 4 Mar 2015 21:10:40 +0000 (15:10 -0600)]
Add fails_on_mod_proxy_fcgi to functional.test_s3.test_100_continue

Backport: hammer, firefly

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #42 from andrewgaul/copy-replace-retain-metadata
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>
10 years agoCopy tests for replacing and retaining metadata 42/head
Andrew Gaul [Mon, 2 Mar 2015 22:12:10 +0000 (14:12 -0800)]
Copy tests for replacing and retaining metadata

10 years agos3tests: add tests of acl settings by alt user
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>
10 years agos3tests: add missing imports
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>
10 years agoMerge pull request #37 from andrewgaul/empty-content-length
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>
10 years agoMerge pull request #36 from andrewgaul/starts-with-nonalpha
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>
10 years agoMerge pull request #34 from andrewgaul/abort-multipart-upload-not-found
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>
10 years agoMerge pull request #33 from andrewgaul/multi-delete
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>
10 years agoMerge pull request #32 from andrewgaul/xml-special-characters
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>
10 years agoMerge pull request #31 from andrewgaul/get-location
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>
10 years agoMerge pull request #29 from andrewgaul/multipart-upload-empty-small
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>
10 years agoMerge pull request #18 from andrewgaul/bad-digest
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>
10 years agoMerge pull request #16 from andrewgaul/put-object-correct-etag
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>
10 years agoMerge pull request #15 from andrewgaul/half-open-range-requests
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>
10 years agoMerge pull request #12 from andrewgaul/short-write-disable-retries
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>
10 years agoMerge pull request #11 from andrewgaul/long-bucket-name-tests
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>
10 years agos3tests: fix test_bucket_create_bad_contentlength_empty
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>
11 years agos3tests: test POST with bad access key
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>
11 years agoMerge branch 'wip-rgw-versioning-4'
Yehuda Sadeh [Fri, 30 Jan 2015 15:29:42 +0000 (07:29 -0800)]
Merge branch 'wip-rgw-versioning-4'

11 years agoMerge remote-tracking branch 'github/next'
Yehuda Sadeh [Thu, 29 Jan 2015 23:37:35 +0000 (15:37 -0800)]
Merge remote-tracking branch 'github/next'

11 years agoMerge branch 'wip-bi-sharding-3' into wip-rgw-versioning-3 wip-rgw-versioning-4
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

11 years agos3tests: 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>
11 years agoMerge pull request #27 from xylv/wip-test-issue-10311
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>
11 years agos3tests: test list bucket versions wip-rgw-object-versioning wip-rgw-versioning-3
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>
11 years agos3tests: concurrent object versioning tests
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>
11 years agos3tests: versioned get_acl, put_acl
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>
11 years agos3test: add a new multi obj delete test
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>
11 years agos3test: add versioned multi delete
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>
11 years agotest: fixes
Yehuda Sadeh [Fri, 12 Dec 2014 18:14:37 +0000 (10:14 -0800)]
test: fixes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agos3test: test copy version
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>
11 years agotest_s3: add versioned multipart upload test
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>
11 years agos3tests: more object versioning tests
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>
11 years agos3tests: object version removal and delete marker test
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>
11 years agos3tests: extend object versions test
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>
11 years agos3tests: add test_versioning_obj_create_read_remove()
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>
11 years agofunctional: add test_versioning_bucket_create_suspend()
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>
11 years agoteardown: clean object versions
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>
11 years agoMerge pull request #38 from ceph/wip-bi-sharding-3
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

11 years agos3tests: send raw http requests to test redirects wip-bi-sharding-3 38/head 40/head
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>
11 years agoDo not check error_code with empty content length 37/head
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.

11 years agoUse unique name in starts with nonalpha test 36/head
Andrew Gaul [Tue, 6 Jan 2015 21:41:56 +0000 (13:41 -0800)]
Use unique name in starts with nonalpha test

11 years agoAdd test for aborting a bogus multi-part upload 34/head
Andrew Gaul [Sat, 3 Jan 2015 03:28:21 +0000 (19:28 -0800)]
Add test for aborting a bogus multi-part upload

11 years agoEnsure multi-delete removes keys 33/head
Andrew Gaul [Wed, 31 Dec 2014 23:49:46 +0000 (15:49 -0800)]
Ensure multi-delete removes keys

11 years agoAdd test for keys with XML special characters 32/head
Andrew Gaul [Tue, 30 Dec 2014 23:54:54 +0000 (15:54 -0800)]
Add test for keys with XML special characters

11 years agoAdd test for querying location 31/head
Andrew Gaul [Tue, 30 Dec 2014 00:15:11 +0000 (16:15 -0800)]
Add test for querying location

11 years agoTest to find mismatched MD5 18/head
Andrew Gaul [Sat, 23 Aug 2014 22:52:19 +0000 (15:52 -0700)]
Test to find mismatched MD5

Also clarify the invalid digest test.

11 years agoTest empty and small multi-part uploads 29/head
Andrew Gaul [Tue, 23 Dec 2014 04:15:33 +0000 (20:15 -0800)]
Test empty and small multi-part uploads

11 years agoCorrectly generate non-mod 1024 parts in generator
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.

11 years agoMerge pull request #28 from ceph/wip-bad-auth-test
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

11 years agotest_object_create_bad_authorization_incorrect: fixes wip-bad-auth-test 28/head
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>
11 years agoMerge pull request #26 from ceph/wip-10066
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>
11 years agoRevert "test_bucket_create_exists should fail on recreate"
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>
11 years agos3tests: add regression test for bug #10311 - rgw: Object is deleted automatically... 27/head
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>
11 years agofix broken/commented tests 26/head
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>
11 years agouse the new helpers for realistic files
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>