Repository navigation
qa: restructure erasure-code thrash suites with pool-config separation - #71826
Conversation
bill-scales
left a comment
There was a problem hiding this comment.
Looking fairly good - a couple of points:
-
thrash-erasure-code-big include all the profiles, includes ones that use more than 12 osds? Is that a bug?
-
It would be a minor improvement if off.yaml, on.yaml and the fast directory under thrash-erasure-code-big were symbolic links to .qa/erasure-code-code/off/off.yaml, .qa/erasure-code-code/on/on.yaml and .qa/erasure-code-code/fast rather than duplicating files
-
See the output from running src/script/verify-qa - you are missing symbolic links to .qa in quite a few directories.
f1cd391 to
e4afc15
Compare
All changes addressed |
|
@CJamesIBM - While creating the Shaman build, I encountered the following error. Could you please resolve the issue and add the |
e4afc15 to
a697a0e
Compare
|
Rebased on main |
|
This PR has been added to wip-bharath20-testing-20261002.224634-main. |
|
@CJamesIBM There are many tests that didn't run due to the restructuring in this PR. For example, the restructuring caused two facets to combine namely, In the above case, the file I will therefore ask for the PR to be removed from the QA batch. |
|
@sseshasa Thanks for the info, I'll take a look |
b8373ae to
504c9ab
Compare
|
Test responsible looks to be old upgrade test related to firefly release, no current suite is actually using it so I have just removed it. Sanity checking with my own teuthology runs now |
|
This PR has been removed from wip-bharath20-testing-20261002.224634-main. |
|
This PR has been added to wip-bharath20-testing-20261002.224634-main. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
"Check for missing .qa links" (src/script/verify-qa) found no .qa link in qa/suites/rados/singleton/ec-feature-test, qa/suites/rados/thrash-erasure-code/clusters and qa/suites/rados/thrash-erasure-code/workloads, which the copy of ceph#71826 creates. Add them, as verify-qa does. Assisted-by: Claude Code
|
There is one minor issue with this PR that caused several jobs in the QA run to fail with the following error: |
Checking |
|
RADOS approved: https://tracker.ceph.com/projects/rados/wiki/MAIN#httpstrackercephcomissues81368 (assuming that you fix the yaml) |
Combined 6 thrash-erasure-code variants into one unified suite using new pool-config structure that separates pool configuration from workload definitions. This enables better test matrix expansion and reduces duplication.
Changes:
- Created qa/erasure-code-profile/ with reusable profile definitions
- Created qa/erasure-code/ec_optimizations/ hierarchy with on/off variants
- Removed legacy suite directories (thrash-erasure-code-{big,isa,shec,overwrites,crush-4-nodes})
- Added cluster size directories (standard/big/crush-test)
- Added % markers for proper test matrix expansion
- Updated rados.py and radosbench.py to support new structure
Signed-off-by: Callum James <[email protected]>
504c9ab to
b302c16
Compare
|
Failing test YAMLs changed technique from Failing tests now passing Also rebased |
Callum James, ceph#72644: "1. Yeah, let's add those back with this PR since we are adding num_zones" (ceph#72644 (comment)). The rebase onto main's ceph#71826 left out three num_zones lines that the PREREQ copy had: the info log in _validate_pool_config() of rados.py and radosbench.py, which reminds that a pool over zones needs osd_pool_default_flag_ec_optimizations, "num_zones: 2" in the pool-config example of the rados task's docstring, and the num_zones option in the radosbench task's docstring. They are back as they were. Assisted-by: Claude Code Signed-off-by: Alex Ainscow <[email protected]>
Summary
Consolidates 6 separate erasure-code thrash suite directories into two unified suites (
thrash-erasure-codeandthrash-erasure-code-big) by introducing a 'pool-config' approach which separates pool/profile configuration from workload definitions. This enables a proper teuthology matrix expansion across all EC Profiles and optimization flags without unnecessary duplication.Note:
thrash-erasure-code-bigremains as a unique suite as it was the only one using a different cluster setup. Interestingly, despite it's name, the cluster it uses is actually smaller.Motivation
Previously, the test suite has 6 independent
thrash-erasure-code-*directories:thrash-erasure-codethrash-erasure-code-bigthrash-erasure-code-isathrash-erasure-code-shecthrash-erasure-code-overwritesthrash-erasure-code-crush-4-nodesEach suite duplicated the same cluster setups, thrasher configs, mon election/msgr-failures/objectstore/recovery-overrides setup, and
ec_optimizationson/off toggles. Adding a new profile or workload required editing multiple directories.What Changed
New
pool-configoverride mechanism (rados.py,radosbench.py)Both task files now support a
use-pool-config: truekey. When set, pool configuration (ec_pool,erasure_code_profile,erasure_code_crush,erasure_code_overwrites,fast_read,min_size) is read fromoverrides.ceph.pool-configin the teuthology context rather than being hardcoded in each workload YAML. Task level config still takes precedence overpool-configvalues.New shared profile library (
qa/erasure-code-profile/)18 profile YAML files for various plugin/parameter combinations. Each file writes into o
verrides.ceph.pool-config. ISA profiles include thearch: x86_64guard. These are the source for all profile definitions - suite level profile files are symlinks back to here.New shared matrix (
qa/erasure-code/)%ec_optimizations/off/—off.yaml+profile/symlinks (18 profiles)on/—on.yaml+profile/symlinks (15 profiles)fast/fast.yaml—fast_read: truenormal.yaml—fast_read: falseUnified
thrash-erasure-codesuiteThe suite now has a single
erasure-codedimension (a symlink toqa/erasure-code/) which expands as a full matrix across all 18 profilesx2 optimization statesx2fast_readstates. The old workloads that embedded profile configuration inline (e.g.ec-rados-plugin=jerasure-k=2-m=1.yaml) are replaced with 7 generic workloads that defer topool-config.rados-default.yamlec-rados-plugin=*.yaml(profile-specific workloads)rados-small-obj.yamlec-small-objects.yaml,ec-small-objects-fast-read.yamlrados-small-obj-delete.yamlec-small-objects-many-deletes.yamlrados-bench.yamlec-radosbench.yamlrados-overwrites.yamlec-small-objects-overwrites.yaml(from overwrites suite)rados-snaps-overwrites.yamlec-snaps-few-objects-overwrites.yamlrados-pool-snaps-overwrites.yamlec-pool-snaps-few-objects-overwrites.yamlRestructured
thrash-erasure-code-bigsuiteRetains its own inline
erasure-code/ec_optimizations/tree with a reduced profile set (profiles compatible with a 12-OSD cluster), but profile files are now symlinks toqa/erasure-code-profile/rather than inline copies. The old inlineworkloads/with per-profile files is replaced with a singlerados-default.yamlusinguse-pool-config: true.Removed suites
thrash-erasure-code-isa,thrash-erasure-code-shec,thrash-erasure-code-overwrites, andthrash-erasure-code-crush-4-nodesare deleted. Their coverage is fully preserved within the unifiedthrash-erasure-codematrix.Before / After Comparison
thrash-erasure-code*)thrash-erasure-code,thrash-erasure-code-big)qa/erasure-code-profile/, referenced via symlinksqa/erasure-code/ec_optimizations/{on,off}/qa/erasure-code-profile/, add symlinks toprofile/dirsthrash-erasure-code/workloads/overrides.ceph.pool-configat matrix expansion timeradosbench.pyEC featuresrados.pyChecklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.