Skip to content

rgw/test: add more output in boto3 versioning testing#67190

Merged
ivancich merged 1 commit intoceph:mainfrom
ivancich:wip-log-more-versioning-test
Feb 5, 2026
Merged

rgw/test: add more output in boto3 versioning testing#67190
ivancich merged 1 commit intoceph:mainfrom
ivancich:wip-log-more-versioning-test

Conversation

@ivancich
Copy link
Member

@ivancich ivancich commented Feb 3, 2026

Saw a spurious error in this test (the assert) and figured it'd be helpful if more information were logged in case another error occurs.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@ivancich
Copy link
Member Author

ivancich commented Feb 4, 2026

@jzhu116-bloomberg : would you mind reviewing this since you were the last to touch this section of code?

@ivancich ivancich force-pushed the wip-log-more-versioning-test branch from cc7c9ee to e203f0a Compare February 4, 2026 18:06
Saw a spurious error in this test and figured it'd be helpful if more
information was logged in case another spurious error occcurs.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
@ivancich ivancich force-pushed the wip-log-more-versioning-test branch from e203f0a to 0ae8f31 Compare February 4, 2026 18:07
@ivancich ivancich requested a review from chardan February 4, 2026 18:08
@ivancich
Copy link
Member Author

ivancich commented Feb 5, 2026

jenkins test api

@ivancich ivancich added needs-qa wip-eric-testing-2 for ivancich testing and removed needs-review labels Feb 5, 2026
@ivancich
Copy link
Member Author

ivancich commented Feb 5, 2026

@ivancich ivancich merged commit 7f1ac34 into ceph:main Feb 5, 2026
12 of 13 checks passed
log.info(f"json_out has length of { len(json_out) }")
idx_list = list(map(lambda v: v['idx'], json_out))
log.info(f"json_out has idx's of { idx_list }")
assert(len(json_out) == 4,
Copy link
Contributor

Choose a reason for hiding this comment

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

workunits/rgw/test_rgw_versioning.py:78: error: Assertion is always true, perhaps remove parentheses?

this is causing run-tox-qa failures in make check, tracked in https://tracker.ceph.com/issues/74809

Copy link
Member Author

Choose a reason for hiding this comment

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

Will get a fix out.

@ivancich
Copy link
Member Author

ivancich commented Feb 9, 2026

Fix has been merged: #67247

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants