-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport manager-3.3] test(manager): Introduce the sanity test on mixed cluster (vnodes+tablets) #7749
Conversation
Manager's _generate_load method has been worked to take keyspace_name as a parameter instead of keyspace_name_to_replace. That allows to generate the load for specific keyspace and makes the code more clear and understandable. assemble_and_run_all_stress_cmd_by_ks_names method was introduced to run stress commands for keyspaces with provided names. It was decided to keep it as separate method to not overcomplicate the existing one (assemble_and_run_all_stress_cmd). (cherry picked from commit b2b76a4)
Extend create_keyspace method to include tablets configuration to disable tablets (currently enabled by default) and provide initial number of tablets. (cherry picked from commit 5681a09)
There is no system_auth ks in Scylla with enabled raft topology. Thus, the test should check whether consistent topology changes are enabled or not to form the valid list of repaired keyspaces. (cherry picked from commit 486b5a8)
The new test performs sanity checks for cluster consisting of vnodes and tablets simultaneously. (cherry picked from commit b2cd1ca)
@mikliapko can you look into why it's failing the checks ? (are those are not broken on master ? after #7632 merged ?) |
So, we have a different behavior in master and release branches - the pre-commit checks are passing for master, but failing for manager-3.3 and manager-3.2. |
if it was just per-commit... but how's he unittest is broken on those branches ? |
unittests are fine in this manager-3.3 branch. There was a problem with unittests only in manager-3.2 branch. |
o.k |
Issued the PR #7762 to resolve this inconsistency between branches. |
Since all checks are green after inconsistency issues resolution, merging this PR |
The PR partially addresses scylladb/scylla-manager#3853.
The PR consists of:
Testing
https://jenkins.scylladb.com/view/staging/job/scylla-staging/job/mikita/job/manager-master/job/ubuntu22-sanity-test/16/
https://jenkins.scylladb.com/job/scylla-staging/job/mikita/job/manager-master/job/ubuntu22-vnodes-tablets-cluster-test/
https://jenkins.scylladb.com/view/staging/job/scylla-staging/job/mikita/job/manager-master/job/debian11-sanity-test/2/
https://jenkins.scylladb.com/view/staging/job/scylla-staging/job/mikita/job/manager-master/job/ubuntu22-upgrade-test/1/
https://jenkins.scylladb.com/view/staging/job/scylla-staging/job/mikita/job/manager-master/job/ubuntu22-sanity-test/17/
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)(cherry picked from commit b2b76a4)
(cherry picked from commit 5681a09)
(cherry picked from commit 486b5a8)
(cherry picked from commit b2cd1ca)
Parent PR: #7632