Skip to content

run auth-related tests from ceph/s3-tests as part of CI - #9

Merged
amwolff merged 16 commits into
mainfrom
ceph/s3-tests
Dec 16, 2025
Merged

run auth-related tests from ceph/s3-tests as part of CI#9
amwolff merged 16 commits into
mainfrom
ceph/s3-tests

Conversation

@amwolff

@amwolff amwolff commented Dec 8, 2025

Copy link
Copy Markdown
Owner

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:

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.
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
amwolff force-pushed the ceph/s3-tests branch 3 times, most recently from ab3e88b to 36fe91c Compare December 16, 2025 12:39
@amwolff
amwolff merged commit 46a8dec into main Dec 16, 2025
3 checks passed
@amwolff
amwolff deleted the ceph/s3-tests branch December 16, 2025 13:02
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.

1 participant