Project

General

Profile

Actions

Bug #10268

closed

s3tests.functional.test_s3.test_bucket_create_exists fails with 'S3CreateError not raised'

Added by Sage Weil over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

100%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2014-12-07T07:54:07.801 INFO:teuthology.orchestra.run.burnupi50.stderr:======================================================================
2014-12-07T07:54:07.801 INFO:teuthology.orchestra.run.burnupi50.stderr:FAIL: s3tests.functional.test_s3.test_bucket_create_exists
2014-12-07T07:54:07.802 INFO:teuthology.orchestra.run.burnupi50.stderr:----------------------------------------------------------------------
2014-12-07T07:54:07.802 INFO:teuthology.orchestra.run.burnupi50.stderr:Traceback (most recent call last):
2014-12-07T07:54:07.802 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2014-12-07T07:54:07.802 INFO:teuthology.orchestra.run.burnupi50.stderr:    self.test(*self.arg)
2014-12-07T07:54:07.802 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3.py", line 2664, in test_bucket_create_exists
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:    e = assert_raises(boto.exception.S3CreateError, get_new_bucket, targets.main.default, bucket.name)
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/utils.py", line 19, in assert_raises
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:    raise AssertionError("%s not raised" % excName)
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:AssertionError: S3CreateError not raised
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:-------------------- >> begin captured logging << --------------------
2014-12-07T07:54:07.803 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: path=/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: auth_path=/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Method: PUT
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Path: /test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Data:
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Headers: {}
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Host: burnupi50.front.sepia.ceph.com:7280
2014-12-07T07:54:07.804 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Port: 7280
2014-12-07T07:54:07.805 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Params: {}
2014-12-07T07:54:07.805 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Token: None
2014-12-07T07:54:07.805 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: StringToSign:
2014-12-07T07:54:07.805 INFO:teuthology.orchestra.run.burnupi50.stderr:PUT
2014-12-07T07:54:07.805 INFO:teuthology.orchestra.run.burnupi50.stderr:
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:Sun, 07 Dec 2014 15:53:19 GMT
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Signature:
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:AWS IRQEHPHPOJLJXUVDNRKA:Gy/QyOLWN9Ivs2uyQLX0Uw/gnr0=
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Final headers: {'Date': 'Sun, 07 Dec 2014 15:53:19 GMT', 'Content-Length': 0, 'Authorization': u'AWS IRQEHPHPOJLJXUVDNRKA:Gy/QyOLWN9Ivs2uyQLX0Uw/gnr0=', 'User-Agent': 'Boto/2.34.0 Python/2.7.6 Linux/3.13.0-40-generic'}
2014-12-07T07:54:07.806 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Response headers: [('date', 'Sun, 07 Dec 2014 15:53:19 GMT'), ('transfer-encoding', 'chunked'), ('content-type', 'application/xml'), ('server', 'Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141')]
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: path=/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: auth_path=/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Method: PUT
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Path: /test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Data:
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Headers: {}
2014-12-07T07:54:07.807 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Host: burnupi50.front.sepia.ceph.com:7280
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Port: 7280
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Params: {}
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Token: None
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: StringToSign:
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:PUT
2014-12-07T07:54:07.808 INFO:teuthology.orchestra.run.burnupi50.stderr:
2014-12-07T07:54:07.809 INFO:teuthology.orchestra.run.burnupi50.stderr:
2014-12-07T07:54:07.809 INFO:teuthology.orchestra.run.burnupi50.stderr:Sun, 07 Dec 2014 15:53:19 GMT
2014-12-07T07:54:07.809 INFO:teuthology.orchestra.run.burnupi50.stderr:/test-client.0-21bha90ieefjnd2-151/
2014-12-07T07:54:07.809 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Signature:
2014-12-07T07:54:07.809 INFO:teuthology.orchestra.run.burnupi50.stderr:AWS IRQEHPHPOJLJXUVDNRKA:Gy/QyOLWN9Ivs2uyQLX0Uw/gnr0=
2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Final headers: {'Date': 'Sun, 07 Dec 2014 15:53:19 GMT', 'Content-Length': 0, 'Authorization': u'AWS IRQEHPHPOJLJXUVDNRKA:Gy/QyOLWN9Ivs2uyQLX0Uw/gnr0=', 'User-Agent': 'Boto/2.34.0 Python/2.7.6 Linux/3.13.0-40-generic'}
2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:boto: DEBUG: Response headers: [('date', 'Sun, 07 Dec 2014 15:53:19 GMT'), ('transfer-encoding', 'chunked'), ('content-type', 'application/xml'), ('server', 'Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141')]
2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:--------------------- >> end captured logging << ---------------------

also,

2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:======================================================================
2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:FAIL: s3tests.functional.test_s3.test_list_buckets_invalid_auth
2014-12-07T07:54:07.810 INFO:teuthology.orchestra.run.burnupi50.stderr:----------------------------------------------------------------------
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:Traceback (most recent call last):
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:    self.test(*self.arg)
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3.py", line 3947, in test_list_buckets_invalid_auth
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:    eq(e.error_code, 'InvalidAccessKeyId')
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:AssertionError: u'AccessDenied' != 'InvalidAccessKeyId'
2014-12-07T07:54:07.811 INFO:teuthology.orchestra.run.burnupi50.stderr:-------------------- >> begin captured logging << --------------------

and
2014-12-07T07:54:07.815 INFO:teuthology.orchestra.run.burnupi50.stderr:======================================================================
2014-12-07T07:54:07.815 INFO:teuthology.orchestra.run.burnupi50.stderr:FAIL: s3tests.functional.test_s3.test_list_buckets_bad_auth
2014-12-07T07:54:07.815 INFO:teuthology.orchestra.run.burnupi50.stderr:----------------------------------------------------------------------
2014-12-07T07:54:07.815 INFO:teuthology.orchestra.run.burnupi50.stderr:Traceback (most recent call last):
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:    self.test(*self.arg)
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3.py", line 3958, in test_list_buckets_bad_auth
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:    eq(e.error_code, 'SignatureDoesNotMatch')
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:AssertionError: u'AccessDenied' != 'SignatureDoesNotMatch'
2014-12-07T07:54:07.816 INFO:teuthology.orchestra.run.burnupi50.stderr:-------------------- >> begin captured logging << --------------------

ubuntu@teuthology:/a/teuthology-2014-12-06_02:35:03-smoke-master-distro-basic-multi/639619

Subtasks 2 (0 open2 closed)

Bug #10329: rgw: s3 need to return SignatureDoesNotMatch instead of AccessDeniedResolvedYehuda Sadeh12/16/2014

Actions
Bug #10334: rgw: s3 need to return InvalidAccessKeyId instead of AccessDeniedResolvedYehuda Sadeh12/16/2014

Actions
Actions

Also available in: Atom PDF