Commit graph

705 commits

Author SHA1 Message Date
Marcus Watts
ddc150439d 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>
2017-01-26 04:17:41 -05:00
Yehuda Sadeh
60f71aee50 Merge pull request #139 from linuxbox2/wip-setuptools
bootstrap:  force new setuptools

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-25 13:04:03 -08:00
Matt Benjamin
53b9284431 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>
2017-01-25 13:32:53 -05:00
Zhang Shaowen
fba689ac1e add lifecycle validate test cases.
Fixes: http://tracker.ceph.com/issues/18541
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-01-17 10:50:28 +08:00
Yehuda Sadeh
735c55654c 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>
2017-01-09 15:42:09 -08:00
Orit Wasserman
e856cbcee6 test multi-delete with object with ending underscore
Fixes: http://tracker.ceph.com/issues/18023
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-12-01 11:03:52 +01:00
Yehuda Sadeh
f2d087ed8a rgw: adjust tests annotations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-02 11:52:16 -07:00
Yehuda Sadeh
39db936348 Merge pull request #133 from ceph/wip-more-multipart-copy
more multipart copy tests
2016-11-02 11:45:06 -07:00
Yehuda Sadeh
26b505a12d Merge pull request #132 from ceph/wip-17635
add a test for post object with empty conditions
2016-11-02 11:44:54 -07:00
Yehuda Sadeh
3641923f23 Merge pull request #130 from ceph/wip-aws2-aws4
rgw: skip aws2 requests when testing aws4
2016-11-02 11:44:37 -07:00
Yehuda Sadeh
f135d2fc1a Merge pull request #129 from ceph/wip-16930
Wip 16930
2016-11-02 11:44:28 -07:00
Yehuda Sadeh
7139293aa0 Merge pull request #117 from tianshan/fix-rgw-roundtrip
fix rgw_roundtrip test fail

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-02 11:43:55 -07:00
Yehuda Sadeh
433c95d3fe Merge pull request #100 from kalantal/patch-1
Update README.rst
2016-11-02 11:42:48 -07:00
Yehuda Sadeh
9a2e9bbd02 fix broken test
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-01 16:09:09 -07:00
Yehuda Sadeh
953f2b4625 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>
2016-10-20 12:33:52 -07:00
Yehuda Sadeh
634d96f5c6 add a test for post object with empty conditions
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-20 12:21:46 -07:00
Yehuda Sadeh
b9aab7cb1c more multipart copy tests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-20 11:46:40 -07:00
Orit Wasserman
14da8e5b9d test set_acl for keys with special characters
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-10-20 12:11:08 +02:00
Yehuda Sadeh
e6a6ec1cd9 test concurrent bucket set acl
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 15:37:43 -07:00
Yehuda Sadeh
5bc2f21564 Merge pull request #124 from tipabu/complete-multipart
Complete multi-part upload during dry-run

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 09:56:17 -07:00
Tim Burke
316a814b59 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>
2016-09-30 17:00:57 -07:00
Yehuda Sadeh
dc9e6ce374 rgw: adjust tests annotations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-30 15:12:11 -07:00
Yehuda Sadeh
05f11d4c32 Merge pull request #127 from ceph/fix_copy_obj_versioned_bucket
Fix copy obj versioned bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:05:54 -07:00
Yehuda Sadeh
0a4e05a53c more multipart copy tests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:04:45 -07:00
Yehuda Sadeh
46b28af391 rgw: skip aws2 requests when testing aws4
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:04:45 -07:00
Yehuda Sadeh
7d716a656d rgw: skip aws2 requests when testing aws4
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 13:34:22 -07:00
Yehuda Sadeh
b62fad7b0b Merge pull request #126 from ceph/rgw-lifecycle-testing
S3 lifecycle tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 10:47:07 -07:00
Daniel Gryniewicz
e33a2f6fb9 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>
2016-09-26 13:34:44 -04:00
Orit Wasserman
c62e264e89 test copy object on a multipart object
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-09-16 11:41:52 +02:00
Orit Wasserman
7a437905f2 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>
2016-09-14 14:23:49 +02:00
Yehuda Sadeh
6ca6f7c70e 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>
2016-09-14 03:45:10 -07:00
Orit Wasserman
c961cdd10e Add testing for copy object to/from a versioned bucket
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-09-14 12:31:07 +02:00
Yehuda Sadeh
4e530d396f 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>
2016-09-14 03:00:33 -07:00
Orit Wasserman
29caf70ccd test get object with special key name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-09-06 10:00:56 +02:00
Yehuda Sadeh
64020ce81c Merge pull request #119 from ceph/empty_object_range
Add range request to an empty object
2016-08-12 10:24:21 -07:00
Orit Wasserman
21ade20826 Add range request to an empty object
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-07-22 14:49:21 +02:00
Tianshan Qu
6dcec183a3 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>
2016-07-04 19:13:14 +08:00
Yehuda Sadeh
56aa87d664 Merge pull request #116 from andrewgaul/rfc2616
Annotate tests which create non-RFC2616 headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-06-07 02:47:21 +03:00
Andrew Gaul
e29168f8b9 Annotate tests which create non-RFC2616 headers
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2016-06-06 16:30:26 -07:00
Yehuda Sadeh
456a534136 Merge pull request #115 from jmunhoz/fix-20160602
rgw: aws4: add test cases with missing signed headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-06-03 09:53:56 +03:00
Javier M. Mellid
520eaa0b62 rgw: aws4: fix test_object_create_missing_signed_header_aws4
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-02 21:32:00 +00:00
Javier M. Mellid
ff9fb2d8ea rgw: aws4: fix test_object_create_missing_signed_custom_header_aws4
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-02 21:08:41 +00:00
Yehuda Sadeh
45a4b336cc Merge pull request #110 from ceph/wip-15886
rgw: add a new multipart test

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 16:24:02 -07:00
Yehuda Sadeh
bdb385a28d Merge pull request #112 from ceph/wip-add-libxslt
add missing libxml2-dev and libxslt-dev dependencies

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-19 08:25:29 -07:00
Orit Wasserman
2f07f93007 add zlib-devel
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-05-19 17:12:46 +02:00
Orit Wasserman
18e4e528fd add missing libxml2-dev and libxslt-dev dependencies
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-05-19 14:22:03 +02:00
Yehuda Sadeh
6154f37036 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>
2016-05-17 16:19:33 -07:00
Yehuda Sadeh
14d58a3bda Merge remote-tracking branch 'dreamhost/wip-static-website'
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>

Conflicts:
	s3tests/functional/test_s3.py
2016-05-17 16:00:12 -07:00
Yehuda Sadeh
66f320a8d5 Merge pull request #111 from ceph/wip-ifmodified
s3tests: modify test_get_object_ifmodifiedsince_failed

Reviewed-by: Andrew Gaul <andrew@gaul.org>
2016-05-17 15:55:07 -07:00
Yehuda Sadeh
99f237e552 s3tests: modify test_get_object_ifmodifiedsince_failed
Use key's last_modified instead of local time

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-17 15:46:27 -07:00