akiradeveloper / akashic-storage

Filey system backed S3-compatible storage in Scala/Akka-Http
Apache License 2.0
22 stars 2 forks source link

ERROR: s3tests.functional.test_headers.test_object_create_bad_md5_none #15

Closed akiradeveloper closed 8 years ago

akiradeveloper commented 8 years ago

Not sure why it says they are different... (looks equivalent)

ERROR: s3tests.functional.test_headers.test_object_create_bad_md5_none

Traceback (most recent call last): File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/s3tests/functional/test_headers.py", line 243, in test_object_create_bad_md5_none key.set_contents_from_string('bar') File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 1426, in set_contents_from_string encrypt_key=encrypt_key) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 1293, in set_contents_from_file chunked_transfer=chunked_transfer, size=size) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 750, in send_file chunked_transfer=chunked_transfer, size=size) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 951, in _send_file_internal query_args=query_args File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/connection.py", line 665, in make_request retry_handler=retry_handler File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/connection.py", line 1071, in make_request retry_handler=retry_handler) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/connection.py", line 940, in _mexe request.body, request.headers) File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 882, in sender if not self.should_retry(response, chunked_transfer): File "/home/travis/build/akiradeveloper/akashic-storage/s3-tests/s3-tests-clone/virtualenv/local/lib/python2.7/site-packages/boto/s3/key.py", line 983, in should_retry '%s vs. %s' % (self.etag, self.md5)) S3DataError: BotoClientError: ETag from S3 did not match computed MD5. 37b51d194a7513e45b56f6524f2d51f2 vs. 37b51d194a7513e45b56f6524f2d51f2 -------------------- >> begin captured logging << -------------------- boto: DEBUG: path=/hoge-36kp5mui93t3h41zet8saher-5/ boto: DEBUG: auth_path=/hoge-36kp5mui93t3h41zet8saher-5/ boto: DEBUG: Method: PUT boto: DEBUG: Path: /hoge-36kp5mui93t3h41zet8saher-5/ boto: DEBUG: Data: boto: DEBUG: Headers: {} boto: DEBUG: Host: 127.0.0.1:10946 boto: DEBUG: Port: 10946 boto: DEBUG: Params: {} boto: DEBUG: establishing HTTP connection: kwargs={'port': 10946, 'timeout': 70} boto: DEBUG: Token: None boto: DEBUG: StringToSign: PUT

Sat, 23 Jan 2016 05:57:53 GMT /hoge-36kp5mui93t3h41zet8saher-5/ boto: DEBUG: Signature: AWS ABCDEFGHIJKLMNOPQRST:yyciIql4jZ76zSzKtoJFx+rMX9Q= boto: DEBUG: Final headers: {'Date': 'Sat, 23 Jan 2016 05:57:53 GMT', 'Content-Length': '0', 'Authorization': u'AWS ABCDEFGHIJKLMNOPQRST:yyciIql4jZ76zSzKtoJFx+rMX9Q=', 'User-Agent': 'Boto/2.39.0 Python/2.7.3 Linux/3.13.0-63-generic'} boto: DEBUG: Response headers: [('content-length', '0'), ('x-amz-request-id', '6G5FJqcKoAunOuEd'), ('content-type', 'text/plain;charset=utf-8')] boto: DEBUG: path=/hoge-36kp5mui93t3h41zet8saher-5/foo boto: DEBUG: auth_path=/hoge-36kp5mui93t3h41zet8saher-5/foo boto: DEBUG: Method: PUT boto: DEBUG: Path: /hoge-36kp5mui93t3h41zet8saher-5/foo boto: DEBUG: Data: boto: DEBUG: Headers: {'Content-Length': '3', 'Content-MD5': u'N7UdGUp1E+RbVvZSTy1R8g==', 'Content-Type': 'application/octet-stream', 'Expect': '100-Continue', 'User-Agent': 'Boto/2.39.0 Python/2.7.3 Linux/3.13.0-63-generic'} boto: DEBUG: Host: 127.0.0.1:10946 boto: DEBUG: Port: 10946 boto: DEBUG: Params: {} boto: DEBUG: Token: None boto: DEBUG: StringToSign: PUT

application/octet-stream Sat, 23 Jan 2016 05:57:53 GMT /hoge-36kp5mui93t3h41zet8saher-5/foo boto: DEBUG: Signature: AWS ABCDEFGHIJKLMNOPQRST:+XwzwNVj5vrdSJdgW6AFmy/613Y= boto: DEBUG: Final headers: {'Content-Length': '3', 'User-Agent': 'Boto/2.39.0 Python/2.7.3 Linux/3.13.0-63-generic', 'Expect': '100-Continue', 'Date': 'Sat, 23 Jan 2016 05:57:53 GMT', 'Content-Type': 'application/octet-stream', 'Authorization': u'AWS ABCDEFGHIJKLMNOPQRST:+XwzwNVj5vrdSJdgW6AFmy/613Y='} --------------------- >> end captured logging << ---------------------

akiradeveloper commented 8 years ago

resolved