Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect the correct Error code returned by S3 "NoSuchTagSetError"i #526

Open
wants to merge 1 commit into
base: ceph-quincy
Choose a base branch
from

Conversation

TejasC88
Copy link

this should resolve seen on ceph-quincy

'FAIL: s3tests_boto3.functional.test_s3.test_set_bucket_tagging'
b' File "/home/cephuser/s3-tests/s3tests_boto3/functional/test_s3.py", line 7800, in test_set_bucket_tagging'
b" eq(error_code, 'NoSuchTagSet')"
b"AssertionError: 'NoSuchTagSetError' != 'NoSuchTagSet'"

Signed-off-by: Tejas Chandramouli <tchandra@redhat.com>
@@ -7797,7 +7797,7 @@ def test_set_bucket_tagging():
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
status, error_code = _get_status_and_error_code(e.response)
eq(status, 404)
eq(error_code, 'NoSuchTagSet')
eq(error_code, 'NoSuchTagSetError')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NoSuchTagSetError is not the correct error code. this was fixed for https://tracker.ceph.com/issues/55460, and the s3tests were changed to use the correct NoSuchTagSet in #452. that change is present on the ceph-quincy branch: 722c2a9

according to the quincy backport https://tracker.ceph.com/issues/55614, this was fixed in quincy v17.2.7. so earlier point releases are expected to fail on this test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants