]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/log
s3-tests.git
9 years agoUse non-broken version of setuptools, and fix bootstrap to be more portable. 145/head
Marcus Watts [Thu, 26 Jan 2017 08:26:55 +0000 (03:26 -0500)]
Use non-broken version of setuptools, and fix bootstrap to be more portable.

Most recent version of setuptools breaks when asked to load requests 0.14.0.
symptom, complains about not being able to import filterfalse thus:
        from six.moves import map, filter, filterfalse
this comes from setuptools, and older versions of setuptools don't have
this problem.

Various versions of centos7 and fedora have interesting names for packages,
centos7: python-pip is python2-pip
fedora24: python-virtualenv is python2-virtualenv
This is somewhat masked by using sudo yum: if the actual package
is installed, rpm knows that the capability is there and does nothing.
But, if the package isn't there, or you haven't chosen to set up
sudo to work that way, this does not work.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
9 years agoMerge pull request #139 from linuxbox2/wip-setuptools
Yehuda Sadeh [Wed, 25 Jan 2017 21:04:03 +0000 (13:04 -0800)]
Merge pull request #139 from linuxbox2/wip-setuptools

bootstrap:  force new setuptools

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agobootstrap: force new setuptools 139/head
Matt Benjamin [Wed, 25 Jan 2017 16:04:51 +0000 (11:04 -0500)]
bootstrap:  force new setuptools

Deal setuptools upgrade problem discussed here:
 https://github.com/pypa/setuptools/issues/940

Now follows the same formula as upstream teuthology.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge pull request #137 from ceph/wip-delete-multi-underscore
Yehuda Sadeh [Mon, 9 Jan 2017 23:42:09 +0000 (15:42 -0800)]
Merge pull request #137 from ceph/wip-delete-multi-underscore

test multi-delete with object with ending underscore

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest multi-delete with object with ending underscore wip-delete-multi-underscore 137/head
Orit Wasserman [Tue, 29 Nov 2016 10:57:03 +0000 (11:57 +0100)]
test multi-delete with object with ending underscore

Fixes: http://tracker.ceph.com/issues/18023
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: adjust tests annotations
Yehuda Sadeh [Fri, 30 Sep 2016 22:12:11 +0000 (15:12 -0700)]
rgw: adjust tests annotations

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #133 from ceph/wip-more-multipart-copy
Yehuda Sadeh [Wed, 2 Nov 2016 18:45:06 +0000 (11:45 -0700)]
Merge pull request #133 from ceph/wip-more-multipart-copy

more multipart copy tests

9 years agoMerge pull request #132 from ceph/wip-17635
Yehuda Sadeh [Wed, 2 Nov 2016 18:44:54 +0000 (11:44 -0700)]
Merge pull request #132 from ceph/wip-17635

add a test for post object with empty conditions

9 years agoMerge pull request #130 from ceph/wip-aws2-aws4
Yehuda Sadeh [Wed, 2 Nov 2016 18:44:37 +0000 (11:44 -0700)]
Merge pull request #130 from ceph/wip-aws2-aws4

rgw: skip aws2 requests when testing aws4

9 years agoMerge pull request #129 from ceph/wip-16930
Yehuda Sadeh [Wed, 2 Nov 2016 18:44:28 +0000 (11:44 -0700)]
Merge pull request #129 from ceph/wip-16930

Wip 16930

9 years agoMerge pull request #117 from tianshan/fix-rgw-roundtrip
Yehuda Sadeh [Wed, 2 Nov 2016 18:43:55 +0000 (11:43 -0700)]
Merge pull request #117 from tianshan/fix-rgw-roundtrip

fix rgw_roundtrip test fail

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #100 from kalantal/patch-1
Yehuda Sadeh [Wed, 2 Nov 2016 18:42:48 +0000 (11:42 -0700)]
Merge pull request #100 from kalantal/patch-1

Update README.rst

9 years agofix broken test
Yehuda Sadeh [Tue, 1 Nov 2016 23:08:00 +0000 (16:08 -0700)]
fix broken test

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #131 from ceph/wip-put-acl-underscore
Yehuda Sadeh [Thu, 20 Oct 2016 19:33:52 +0000 (12:33 -0700)]
Merge pull request #131 from ceph/wip-put-acl-underscore

test set_acl for keys with special characters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoadd a test for post object with empty conditions wip-17635 132/head
Yehuda Sadeh [Thu, 20 Oct 2016 19:21:46 +0000 (12:21 -0700)]
add a test for post object with empty conditions

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agomore multipart copy tests wip-more-multipart-copy 133/head
Yehuda Sadeh [Fri, 30 Sep 2016 01:17:52 +0000 (18:17 -0700)]
more multipart copy tests

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest set_acl for keys with special characters wip-put-acl-underscore 131/head
Orit Wasserman [Thu, 20 Oct 2016 10:11:08 +0000 (12:11 +0200)]
test set_acl for keys with special characters

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agotest concurrent bucket set acl wip-16930 129/head
Yehuda Sadeh [Fri, 30 Sep 2016 23:08:17 +0000 (16:08 -0700)]
test concurrent bucket set acl

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #124 from tipabu/complete-multipart
Yehuda Sadeh [Tue, 4 Oct 2016 16:56:17 +0000 (09:56 -0700)]
Merge pull request #124 from tipabu/complete-multipart

Complete multi-part upload during dry-run

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoComplete multi-part upload during dry-run 124/head
Tim Burke [Fri, 9 Sep 2016 00:54:18 +0000 (17:54 -0700)]
Complete multi-part upload during dry-run

While it may be valuable to verify that deleting a non-existent key
is OK, that doesn't seem to be the point of this test.

Signed-off-by: Tim Burke <tim.burke@gmail.com>
9 years agoMerge pull request #127 from ceph/fix_copy_obj_versioned_bucket
Yehuda Sadeh [Fri, 30 Sep 2016 02:05:54 +0000 (19:05 -0700)]
Merge pull request #127 from ceph/fix_copy_obj_versioned_bucket

Fix copy obj versioned bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: skip aws2 requests when testing aws4 wip-aws2-aws4 130/head
Yehuda Sadeh [Thu, 19 May 2016 19:45:32 +0000 (12:45 -0700)]
rgw: skip aws2 requests when testing aws4

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #126 from ceph/rgw-lifecycle-testing
Yehuda Sadeh [Thu, 29 Sep 2016 17:47:07 +0000 (10:47 -0700)]
Merge pull request #126 from ceph/rgw-lifecycle-testing

S3 lifecycle tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoS3 lifecycle tests rgw-lifecycle-testing 126/head
Daniel Gryniewicz [Fri, 5 Aug 2016 15:51:48 +0000 (11:51 -0400)]
S3 lifecycle tests

Test S3 lifecycle expiration.  This requires the test harnass code in
RGW to make sure it doesn't take days so expire anything.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
9 years agotest copy object on a multipart object fix_copy_obj_versioned_bucket 127/head
Orit Wasserman [Fri, 16 Sep 2016 08:30:17 +0000 (10:30 +0200)]
test copy object on a multipart object

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agofix test_object_copy_versioned_bucket
Orit Wasserman [Wed, 14 Sep 2016 12:23:49 +0000 (14:23 +0200)]
fix test_object_copy_versioned_bucket

Do not use _create_key_with_random_content as it creates a new bucket.
Check objects content and size

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #125 from ceph/versioned_copy_obj
Yehuda Sadeh [Wed, 14 Sep 2016 10:45:10 +0000 (03:45 -0700)]
Merge pull request #125 from ceph/versioned_copy_obj

Add testing for copy object to/from a versioned bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoAdd testing for copy object to/from a versioned bucket 125/head
Orit Wasserman [Wed, 14 Sep 2016 08:23:29 +0000 (10:23 +0200)]
Add testing for copy object to/from a versioned bucket

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #123 from ceph/get_special_key
Yehuda Sadeh [Wed, 14 Sep 2016 10:00:33 +0000 (03:00 -0700)]
Merge pull request #123 from ceph/get_special_key

test get object with special key name

Reviewed-by: Andrew Gaul <andrew@gaul.org>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest get object with special key name 123/head
Orit Wasserman [Mon, 5 Sep 2016 07:53:27 +0000 (09:53 +0200)]
test get object with special key name

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #119 from ceph/empty_object_range
Yehuda Sadeh [Fri, 12 Aug 2016 17:24:21 +0000 (10:24 -0700)]
Merge pull request #119 from ceph/empty_object_range

Add range request to an empty object

9 years agoAdd range request to an empty object empty_object_range 119/head
Orit Wasserman [Fri, 22 Jul 2016 12:49:21 +0000 (14:49 +0200)]
Add range request to an empty object

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agofix rgw_roundtrip test fail 117/head
Tianshan Qu [Mon, 4 Jul 2016 11:02:59 +0000 (19:02 +0800)]
fix rgw_roundtrip test fail

boto no longer rewind itself in set_contents_from_file, which will trigger the assert in
realistic/RandomContentFile::seek

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
9 years agoMerge pull request #116 from andrewgaul/rfc2616
Yehuda Sadeh [Mon, 6 Jun 2016 23:47:21 +0000 (02:47 +0300)]
Merge pull request #116 from andrewgaul/rfc2616

Annotate tests which create non-RFC2616 headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoAnnotate tests which create non-RFC2616 headers 116/head
Andrew Gaul [Mon, 6 Jun 2016 23:19:27 +0000 (16:19 -0700)]
Annotate tests which create non-RFC2616 headers

Signed-off-by: Andrew Gaul <andrew@gaul.org>
9 years agoMerge pull request #115 from jmunhoz/fix-20160602
Yehuda Sadeh [Fri, 3 Jun 2016 06:53:56 +0000 (09:53 +0300)]
Merge pull request #115 from jmunhoz/fix-20160602

rgw: aws4: add test cases with missing signed headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: aws4: fix test_object_create_missing_signed_header_aws4 115/head
Javier M. Mellid [Thu, 2 Jun 2016 20:57:48 +0000 (20:57 +0000)]
rgw: aws4: fix test_object_create_missing_signed_header_aws4

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years agorgw: aws4: fix test_object_create_missing_signed_custom_header_aws4
Javier M. Mellid [Thu, 2 Jun 2016 20:33:40 +0000 (20:33 +0000)]
rgw: aws4: fix test_object_create_missing_signed_custom_header_aws4

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years agoMerge pull request #110 from ceph/wip-15886
Yehuda Sadeh [Fri, 20 May 2016 23:24:02 +0000 (16:24 -0700)]
Merge pull request #110 from ceph/wip-15886

rgw: add a new multipart test

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #112 from ceph/wip-add-libxslt
Yehuda Sadeh [Thu, 19 May 2016 15:25:29 +0000 (08:25 -0700)]
Merge pull request #112 from ceph/wip-add-libxslt

add missing libxml2-dev and libxslt-dev dependencies

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoadd zlib-devel wip-add-libxslt 112/head
Orit Wasserman [Thu, 19 May 2016 15:12:46 +0000 (17:12 +0200)]
add zlib-devel

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoadd missing libxml2-dev and libxslt-dev dependencies
Orit Wasserman [Thu, 19 May 2016 12:22:03 +0000 (14:22 +0200)]
add missing libxml2-dev and libxslt-dev dependencies

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #109 from wido/origin-wildcard-test
Yehuda Sadeh [Tue, 17 May 2016 23:19:33 +0000 (16:19 -0700)]
Merge pull request #109 from wido/origin-wildcard-test

Add test to verify if Asterisk Origin is returned when * is set as a …

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge remote-tracking branch 'dreamhost/wip-static-website'
Yehuda Sadeh [Tue, 17 May 2016 23:00:12 +0000 (16:00 -0700)]
Merge remote-tracking branch 'dreamhost/wip-static-website'

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Conflicts:
s3tests/functional/test_s3.py

9 years agoMerge pull request #111 from ceph/wip-ifmodified
Yehuda Sadeh [Tue, 17 May 2016 22:49:44 +0000 (15:49 -0700)]
Merge pull request #111 from ceph/wip-ifmodified

s3tests: modify test_get_object_ifmodifiedsince_failed

Reviewed-by: Andrew Gaul <andrew@gaul.org>
9 years agos3tests: modify test_get_object_ifmodifiedsince_failed wip-ifmodified 111/head
Yehuda Sadeh [Tue, 17 May 2016 21:33:40 +0000 (14:33 -0700)]
s3tests: modify test_get_object_ifmodifiedsince_failed

Use key's last_modified instead of local time

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #74 from andrewgaul/conditional-get
Yehuda Sadeh [Tue, 17 May 2016 17:12:57 +0000 (10:12 -0700)]
Merge pull request #74 from andrewgaul/conditional-get

Add tests for conditional gets

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: add a new multipart test wip-15886 110/head
Yehuda Sadeh [Mon, 16 May 2016 21:44:22 +0000 (14:44 -0700)]
rgw: add a new multipart test

test for the following ceph issue:
http://tracker.ceph.com/issues/15886

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agos3website: Refactor strings & aid debugging 92/head
Robin H. Johnson [Thu, 21 Apr 2016 22:10:15 +0000 (15:10 -0700)]
s3website: Refactor strings & aid debugging

Refactor duplicated static sites template content, and include a debug copy of
the WebsiteConf XML in every bucket for ease of debug with the test generator.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agofunctional._make_request: go back to simple version of httplib.request.
Robin H. Johnson [Sun, 27 Mar 2016 02:36:46 +0000 (02:36 +0000)]
functional._make_request: go back to simple version of httplib.request.

The httplib.request function automatically constructs the following
headers:
content-length, host, accept-encoding

Until such time as we need to override those values in incompatible
ways, simply use it.

Fixes: https://github.com/ceph/s3-tests/pull/92#issuecomment-185970260
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoRefactor _make_bucket_request.
Robin H. Johnson [Sat, 30 Jan 2016 17:38:45 +0000 (17:38 +0000)]
Refactor _make_bucket_request.

s3tests.functional._make_bucket_request is now a special case of
_make_request, as requested by
https://github.com/ceph/s3-tests/pull/92#commitcomment-15775972

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agowebsite: include Forbidden in 403 test per https://github.com/dreamhost/s3-tests...
Robin H. Johnson [Sat, 30 Jan 2016 17:14:15 +0000 (17:14 +0000)]
website: include Forbidden in 403 test per https://github.com/dreamhost/s3-tests/commit/802c8a3ee985a90e35b21ffab5f670c2eeecf8a9#commitcomment-15776266.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: RGW does not have custom 404 message descriptions per s3 error codes yet.
Robin H. Johnson [Fri, 29 Jan 2016 05:31:15 +0000 (05:31 +0000)]
website: RGW does not have custom 404 message descriptions per s3 error codes yet.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: Use better test annotation for routingrules tests.
Robin H. Johnson [Fri, 29 Jan 2016 04:02:08 +0000 (04:02 +0000)]
website: Use better test annotation for routingrules tests.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: Support both NoSuchWebsiteConfiguration and NoSuchKey for fetching the websi...
Robin H. Johnson [Fri, 29 Jan 2016 04:01:45 +0000 (04:01 +0000)]
website: Support both NoSuchWebsiteConfiguration and NoSuchKey for fetching the website config subresource.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agos3website: Allow tests to be skipped if website support disabled in RGW.
Robin H. Johnson [Fri, 29 Jan 2016 03:49:54 +0000 (03:49 +0000)]
s3website: Allow tests to be skipped if website support disabled in RGW.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoFix whitespace.
Robin H. Johnson [Fri, 29 Jan 2016 03:50:06 +0000 (03:50 +0000)]
Fix whitespace.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoAnnotate many tests that fail on AWS (tested on EU region)
Robin H. Johnson [Fri, 29 Jan 2016 03:28:51 +0000 (03:28 +0000)]
Annotate many tests that fail on AWS (tested on EU region)

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: Improve XML handling and x-amz-website-redirect-location tests
Robin H. Johnson [Tue, 26 Jan 2016 00:22:51 +0000 (00:22 +0000)]
website: Improve XML handling and x-amz-website-redirect-location tests

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoLots of tests, that pass on AmazonS3 unless the phase of the moon is wrong. There...
Robin H. Johnson [Tue, 23 Jun 2015 06:52:52 +0000 (06:52 +0000)]
Lots of tests, that pass on AmazonS3 unless the phase of the moon is wrong. There is a non-trivial degree of lag in S3 applying WebsiteConfiguration changes sometimes, eu-west-1 was taking 20+ seconds during part of the last day. Compounded by the Amazon eventual-consistency made developing these tests difficult at times.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoWork on tests.
Robin H. Johnson [Mon, 22 Jun 2015 17:17:18 +0000 (17:17 +0000)]
Work on tests.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoUpdate redirect checks for x-amz-website-redirect-location
Robin H. Johnson [Sun, 21 Jun 2015 05:06:26 +0000 (05:06 +0000)]
Update redirect checks for x-amz-website-redirect-location

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoUse new XML checks.
Robin H. Johnson [Sun, 21 Jun 2015 05:05:30 +0000 (05:05 +0000)]
Use new XML checks.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoAdd XML improvements.
Robin H. Johnson [Sun, 21 Jun 2015 05:04:51 +0000 (05:04 +0000)]
Add XML improvements.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoImprove test attribute.
Robin H. Johnson [Fri, 19 Jun 2015 17:09:53 +0000 (17:09 +0000)]
Improve test attribute.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoAdd tests for x-amz-website-redirect-location, code still pending.
Robin H. Johnson [Fri, 19 Jun 2015 17:09:40 +0000 (17:09 +0000)]
Add tests for x-amz-website-redirect-location, code still pending.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: refactor and add redirect testcases, so far 3 failures out of 27 new tests.
Robin H. Johnson [Fri, 19 Jun 2015 06:09:09 +0000 (06:09 +0000)]
website: refactor and add redirect testcases, so far 3 failures out of 27 new tests.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoFixup path stuff for redirect test.
Robin H. Johnson [Thu, 18 Jun 2015 04:41:09 +0000 (04:41 +0000)]
Fixup path stuff for redirect test.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoPrepare for better testcases, with fixture functions.
Robin H. Johnson [Wed, 17 Jun 2015 04:33:49 +0000 (04:33 +0000)]
Prepare for better testcases, with fixture functions.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: Clean up imports.
Robin H. Johnson [Wed, 17 Jun 2015 01:03:07 +0000 (01:03 +0000)]
website: Clean up imports.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: Start redirect tests.
Robin H. Johnson [Wed, 17 Jun 2015 00:44:06 +0000 (00:44 +0000)]
website: Start redirect tests.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: improve test structure.
Robin H. Johnson [Wed, 17 Jun 2015 00:43:46 +0000 (00:43 +0000)]
website: improve test structure.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agowebsite: bucket-level tests (indexdoc, errordoc)
Robin H. Johnson [Mon, 15 Jun 2015 05:19:13 +0000 (05:19 +0000)]
website: bucket-level tests (indexdoc, errordoc)

This adds tests for the new S3 Website code under development at on the
wip-static-website-robbat2-master branch (see the robbat2 fork).

The ErrorDoc tests with a valid uploaded ErrorDoc show that my existing
code fails as expected :-). All other IndexDoc cases pass already.

It would be nice to refactor some of this set of tests and extract
common code, because the only variation in some of them is the ACLs on a
single file.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agorefactor out _make_request and _make_bucket_request, with a common _make_raw_request...
Robin H. Johnson [Mon, 15 Jun 2015 05:18:07 +0000 (05:18 +0000)]
refactor out _make_request and _make_bucket_request, with a common _make_raw_request; ready for s3website testing.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoUse py3 print.
Robin H. Johnson [Mon, 15 Jun 2015 05:15:28 +0000 (05:15 +0000)]
Use py3 print.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
9 years agoAdd test to verify if Asterisk Origin is returned when * is set as a Allowed Origin. 109/head
Wido den Hollander [Tue, 19 Apr 2016 15:12:12 +0000 (17:12 +0200)]
Add test to verify if Asterisk Origin is returned when * is set as a Allowed Origin.

For example:

The request sends 'Origin: example.origin' while * is allowed as
a origin by the CORS rule.

The Server should then respond with * if no Authorization was send.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
9 years agoMerge pull request #104 from zhouyuan/update_gevent_1
Loic Dachary [Tue, 12 Apr 2016 06:22:42 +0000 (08:22 +0200)]
Merge pull request #104 from zhouyuan/update_gevent_1

gevent: bump to >=1.0

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agogevent: bump to >=1.0 104/head
Yuan Zhou [Fri, 28 Aug 2015 01:07:21 +0000 (09:07 +0800)]
gevent: bump to >=1.0

There are some DNS resolving issue on 0.13.6.
Bumping to >=1.0 fixes the issues for me.

Fixes: #13885
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
9 years agoMerge pull request #99 from jmunhoz/wip-mp-cp-fails-on-rgw
Orit Wasserman [Tue, 5 Apr 2016 09:12:25 +0000 (11:12 +0200)]
Merge pull request #99 from jmunhoz/wip-mp-cp-fails-on-rgw

Add fails_on_rgw on multipart copy part tests

9 years agoUpdate README.rst 100/head
Justin Restivo [Wed, 30 Mar 2016 16:37:37 +0000 (11:37 -0500)]
Update README.rst

9 years agoUpdate README.rst
Justin Restivo [Wed, 30 Mar 2016 15:25:25 +0000 (10:25 -0500)]
Update README.rst

9 years agoAdd fails_on_rgw on multipart copy part tests 99/head
Javier M. Mellid [Mon, 28 Mar 2016 09:18:18 +0000 (09:18 +0000)]
Add fails_on_rgw on multipart copy part tests

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years agoMerge pull request #97 from ceph/wip-15243
Yehuda Sadeh [Wed, 23 Mar 2016 15:25:47 +0000 (08:25 -0700)]
Merge pull request #97 from ceph/wip-15243

rgw: add a few tests that check for null object versioning behavior

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add a few tests that check for null object versioning behavior wip-15243 97/head
Yehuda Sadeh [Wed, 23 Mar 2016 01:40:39 +0000 (18:40 -0700)]
rgw: add a few tests that check for null object versioning behavior

Deals with ceph issue #15243

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #91 from jmunhoz/wip-x-amz-expires-tc
Yehuda Sadeh [Thu, 4 Feb 2016 16:19:52 +0000 (08:19 -0800)]
Merge pull request #91 from jmunhoz/wip-x-amz-expires-tc

rgw: add X-Amz-Expires test cases

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agorgw: add X-Amz-Expires test cases 91/head
Javier M. Mellid [Wed, 27 Jan 2016 02:19:20 +0000 (02:19 +0000)]
rgw: add X-Amz-Expires test cases

Test X-Amz-Expires under AWS4 auth.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
10 years agoMerge pull request #89 from andrewgaul/atomic-multipart-upload
Yehuda Sadeh [Fri, 18 Dec 2015 20:25:59 +0000 (12:25 -0800)]
Merge pull request #89 from andrewgaul/atomic-multipart-upload

Test begin to overwrite file with MPU then abort

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoTest begin to overwrite file with MPU then abort 89/head
Andrew Gaul [Fri, 18 Dec 2015 20:12:59 +0000 (12:12 -0800)]
Test begin to overwrite file with MPU then abort

Signed-off-by: Andrew Gaul <andrew@gaul.org>
10 years agoMerge pull request #79 from dreamhost/wip-proxy
Yehuda Sadeh [Fri, 18 Dec 2015 20:02:08 +0000 (12:02 -0800)]
Merge pull request #79 from dreamhost/wip-proxy

Improve proxy error support: "Bad Request" case

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoImprove proxy error support: "Bad Request" case 79/head
Robin H. Johnson [Wed, 7 Oct 2015 19:31:31 +0000 (12:31 -0700)]
Improve proxy error support: "Bad Request" case

If you are run the S3 testsuite against a reverse proxy (eg haproxy)
rather than RGW directly, some of the tests will return errors from the
proxy, rather than haproxy itself.

Some proxies differ from RGW in the exact case of 'Bad Request', so do
the match in a case-insensitive manner. Haproxy for example returns 'Bad
request'.

This removes the need for some of the prior fails_on_dho test tags, as
the failure was due to haproxy.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
10 years agoMerge pull request #88 from andrewgaul/head-zero-bytes
Yehuda Sadeh [Fri, 18 Dec 2015 17:57:19 +0000 (09:57 -0800)]
Merge pull request #88 from andrewgaul/head-zero-bytes

Add test for HEAD of a zero-byte object

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #87 from dreamhost/wip-cleanup-buckets
Yehuda Sadeh [Fri, 18 Dec 2015 17:56:36 +0000 (09:56 -0800)]
Merge pull request #87 from dreamhost/wip-cleanup-buckets

s3tests: do not exit cleanup after first bucket!

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #85 from dreamhost/wip-test-issue11563
Yehuda Sadeh [Fri, 18 Dec 2015 17:56:02 +0000 (09:56 -0800)]
Merge pull request #85 from dreamhost/wip-test-issue11563

Add test for COPY Content-Type header

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #83 from andrewgaul/list-objects-public-read-bucket
Yehuda Sadeh [Fri, 18 Dec 2015 17:54:46 +0000 (09:54 -0800)]
Merge pull request #83 from andrewgaul/list-objects-public-read-bucket

Anonymously list private and public-read buckets

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #77 from andrewgaul/special-key-names
Yehuda Sadeh [Fri, 18 Dec 2015 17:52:58 +0000 (09:52 -0800)]
Merge pull request #77 from andrewgaul/special-key-names

Consolidate test_object_create_special_characters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #73 from andrewgaul/ends-with-delimiter
Yehuda Sadeh [Fri, 18 Dec 2015 17:51:03 +0000 (09:51 -0800)]
Merge pull request #73 from andrewgaul/ends-with-delimiter

Test listing a blob which ends with delimiter

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #49 from andrewgaul/copy-bucket-key-not-found
Yehuda Sadeh [Fri, 18 Dec 2015 17:50:20 +0000 (09:50 -0800)]
Merge pull request #49 from andrewgaul/copy-bucket-key-not-found

Copy tests for non-existent buckets and keys

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #30 from andrewgaul/bucket-create-exists
Yehuda Sadeh [Fri, 18 Dec 2015 17:49:10 +0000 (09:49 -0800)]
Merge pull request #30 from andrewgaul/bucket-create-exists

Handle idempotent and BucketAlreadyOwnedByYou

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #84 from jmunhoz/wip-aws4-support
Yehuda Sadeh [Fri, 18 Dec 2015 17:46:29 +0000 (09:46 -0800)]
Merge pull request #84 from jmunhoz/wip-aws4-support

rgw: add AWS4 auth testing support

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agorgw: add AWS4 auth testing support 84/head
Javier M. Mellid [Fri, 23 Oct 2015 09:52:05 +0000 (11:52 +0200)]
rgw: add AWS4 auth testing support

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>