run auth-related tests from ceph/s3-tests as part of CI - #9
Merged
Conversation
With the Go HTTP server, it's impossible to pass
s3tests/functional/test_headers.py::{test_bucket_create_bad_expect_mismatch,test_object_create_bad_expect_mismatch}.
To pass more ceph/s3-tests, the PutObject action-related endpoint handles more headers now.
…bucket_put_bad_canned_acl I don't believe there's a lot of value in trying to pass this specific test because it's purely ACL-related.
amwolff
force-pushed
the
ceph/s3-tests
branch
from
December 10, 2025 12:43
6de617c to
a35a337
Compare
This should help pass s3tests/functional/test_headers.py::test_object_create_bad_contentlength_mismatch_below_aws2
This is needed for at least one of ceph/s3-tests tests to pass. N.B. AWS S3 also does that.
amwolff
force-pushed
the
ceph/s3-tests
branch
3 times, most recently
from
December 16, 2025 12:39
ab3e88b to
36fe91c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change creates a mock S3 server that uses awsig and runs ceph/s3-tests (or at least their auth-related counterparts) against it to ensure that we return correct errors when sent invalid requests.
Related PRs: