Skip to content

test: Let Cls tests run in both Replicated and FastEC Pools - #67448

Merged
MattyWilliams22 merged 3 commits into
ceph:mainfrom
MattyWilliams22:ec-cls-tests
Aug 24, 2026
Merged

MattyWilliams22 merged 3 commits into
ceph:mainfrom
MattyWilliams22:ec-cls-tests

Conversation

@MattyWilliams22

@MattyWilliams22 MattyWilliams22 commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Enabled all of the Cls tests to be run in both Replicated and Fast EC pools

Fixes: https://tracker.ceph.com/issues/75030

  • test: Allow Cls tests to be run in Replicated and Fast EC pools
  • test: Allow Neorados Cls tests to be run in Replicated and Fast EC pools
  • test: Move ObjectWriteOperation declarations inside the loop to avoid accumulation of ops

Previously, Cls method calls were not supported in EC pools, however, this PR demonstrates that the dependent PRs enable Cls method calls in Fast EC pools (Cls is still not supported in Legacy EC pools).

Created test fixtures for librados and neorados that run tests in both Replicated and Fast EC (optimised EC) pools.
Used these test fixtures for all cls and neocls tests. This also reduced code duplication in the process.

Signed-off-by: Matty Williams [email protected]

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.

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test api

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

2 similar comments
@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@MattyWilliams22
MattyWilliams22 marked this pull request as ready for review March 5, 2026 11:28
@MattyWilliams22
MattyWilliams22 requested review from a team as code owners March 5, 2026 11:28
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@MattyWilliams22
MattyWilliams22 removed the request for review from a team August 6, 2026 08:26
All Cls test classes inherit from a common test fixture to reduce code duplication.
The test fixture runs all tests in Replicated and FastEC pools.

Fixes: https://tracker.ceph.com/issues/75030
Assisted-by: IBM-Bob:Claude/GPT
Signed-off-by: Matty Williams <[email protected]>
All Neorados Cls test classes inherit from a common test fixture to reduce code duplication.
The test fixture runs all tests in Replicated and FastEC pools.

Fixes: https://tracker.ceph.com/issues/75030
Assisted-by: IBM-Bob:Claude/GPT
Signed-off-by: Matty Williams <[email protected]>
… accumulation of ops

Make MultiProducerConsumer threads continue instead of crashing when a single command fails.

Fixes: https://tracker.ceph.com/issues/75030
Signed-off-by: Matty Williams <[email protected]>
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath10-testing-20260806.013257-main.

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test api

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@anrao19

anrao19 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/79148
@MattyWilliams22, ACK from RGW

@anrao19 anrao19 added TESTED RGW-TESTED testing from rgw completed and removed wip-anrao6-testing wip-anrao6-testing labels Aug 11, 2026
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

@MattyWilliams22 The tests have been completed and approved by Rados. If any retesting is required from Rados, please feel free to ping me.

@MattyWilliams22
MattyWilliams22 merged commit d5ec9e5 into ceph:main Aug 24, 2026
7 checks passed
@MattyWilliams22
MattyWilliams22 deleted the ec-cls-tests branch August 24, 2026 08:26
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/32706323822

.time_since_epoch().count());
ioctx.set_namespace(nspace);

cleanup_namespace(rados, ioctx, nspace);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I assume #69303 (comment) applies here too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, it does

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.

6 participants