Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

rgw/sts: modifying test_assume_role_creds_expiry - #700

Merged
cbodley merged 1 commit into
ceph:masterfrom
pritha-srivastava:wip-rgw-sts-expired-creds
Mar 24, 2026
Merged

cbodley merged 1 commit into
ceph:masterfrom
pritha-srivastava:wip-rgw-sts-expired-creds

Conversation

@pritha-srivastava

Copy link
Copy Markdown
Contributor

to check for UnauthorizedRequest (401) error code
instead of AccessDenied (403).

Comment thread s3tests_boto3/functional/test_sts.py Resolved
@pritha-srivastava
pritha-srivastava force-pushed the wip-rgw-sts-expired-creds branch from 8a15938 to 8614b68 Compare November 12, 2025 10:44
@pritha-srivastava

pritha-srivastava commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor Author

https://qa-proxy.ceph.com/teuthology/prsrivas-2026-03-23_11:08:35-rgw:sts-wip-rgw-sts-expired-creds-distro-default-trial/117270/teuthology.log

checked force-branch is set to:

force-branch: wip-rgw-sts-expired-creds
git_remote: https://github.com/pritha-srivastava/

the test has passed:

2026-03-23T12:19:07.389 INFO:teuthology.orchestra.run.trial009.stdout:s3tests_boto3/functional/test_sts.py::test_assume_role_creds_expiry PASSED [ 96%]
2026-03-23T12:19:07.781 INFO:teuthology.orchestra.run.trial009.stdout:s3tests_boto3/functional/test_sts.py::test_assume_role_deny_head_nonexistent PASSED [ 96%]

@ivancich @cbodley : the PR is ready to be merged

to check for ExpiredToken (400) error code
instead of AccessDenied (403).

Signed-off-by: Pritha Srivastava <[email protected]>
@pritha-srivastava
pritha-srivastava force-pushed the wip-rgw-sts-expired-creds branch from 8614b68 to c796197 Compare March 24, 2026 04:18
@cbodley
cbodley merged commit c29bf10 into ceph:master Mar 24, 2026
@cbodley

cbodley commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

cherry-picked to ceph-master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants