DreamHost support missing ACLs, bucket expiration rules
The test suite runs successfully when pointed at DreamHost DreamObjects service, except for:
- Private/Public ACL setting and getting fails.
- setting, getting, deleting bucket expiration rules all fail.
./run-tests.py 1..20 24..42 44..51 58.. succeeds.
The document says that bucket lifecycle is not supported. http://docs.dreamobjects.net/api.html
I'd appreciate a review of the idea here, which is to intentionally skip tests in the test suite known to fail because the API is unsupported by that particular service. If we had a working exit status code, we could push this all the way down into the command calls in s3cmd, instead of doing it in the test suite.
Maybe we could have run-tests FULL (which is default and tests full API) and run-test BASIC (tests only basic / partial API). Google storage also supports the "basic" the S3 rest API too. https://developers.google.com/storage/docs/migrating Then we could have a note (in a text file) listing which platforms we believe support the full S3 rest API and which ones only the basic one.
Thanks for the pointer to the Google Storage docs. I gave it a try - it doesn't like the S3 bulk delete API, which we're now using for several testsuite operations, including remove bucket, and sync with deletes. Phooey.
Traceback (most recent call last):
File "s3cmd", line 2413, in
On Fri, Apr 18, 2014 at 8:25 AM, matteobar [email protected] wrote:
Maybe we could have run-tests FULL (which is default and tests full API) and run-test BASIC (tests only basic / partial API). Google storage also supports the "basic" the S3 rest API too. https://developers.google.com/storage/docs/migrating Then we could have a note (in a text file) listing which platforms we believe support the full S3 rest API and which ones only the basic one.
— Reply to this email directly or view it on GitHubhttps://github.com/s3tools/s3cmd/issues/312#issuecomment-40808126 .
There is now run-tests-minio.py to have a test with a smaller subset of s3. having tests whitelisted/blacklisted per service could be nice but fit badly with the tendency to run s3 servers on each one own domain. Also sadly the auto test is currently a lot state-full and so it is hard to randomly skip some tests and still have the auto test working as intended and completing.