Skip to content

Commit

Permalink
fix(manager): switch manager tests to use singleDC cluster
Browse files Browse the repository at this point in the history
Since there is an issue with multiDC cluster restore when the EaR is
turned on (scylladb/scylla-manager#3829),
it was decided to temporarily switch the main part of jobs to run on
singleDC cluster. Only one multiDC cluster job is left for enterprise
version 2022 where EaR is not implemented.

(cherry picked from commit 4da831d)
  • Loading branch information
mikliapko authored and fruch committed May 19, 2024
1 parent b0eac21 commit efc669d
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 16 deletions.
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-east-1',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: 'test-cases/manager/manager-regression-multiDC-set-distro.yaml',
test_config: 'test-cases/manager/manager-regression-singleDC-set-distro.yaml',

timeout: [time: 500, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-west-2',
test_name: 'mgmt_cli_test.MgmtCliTest.test_backup_feature',
test_config: '''["test-cases/manager/manager-regression-multiDC-set-distro.yaml", "configurations/manager/200gb_dataset.yaml"]''',
test_config: '''["test-cases/manager/manager-regression-singleDC-set-distro.yaml", "configurations/manager/200gb_dataset.yaml"]''',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/centos-manager-backup.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-west-2',
test_name: 'mgmt_cli_test.MgmtCliTest.test_backup_feature',
test_config: 'test-cases/manager/manager-regression-multiDC-set-distro.yaml',
test_config: 'test-cases/manager/manager-regression-singleDC-set-distro.yaml',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/centos-manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-west-2',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: 'test-cases/manager/manager-regression-multiDC-set-distro.yaml',
test_config: 'test-cases/manager/manager-regression-singleDC-set-distro.yaml',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/debian10-manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-west-2',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: '''["test-cases/manager/manager-regression-multiDC-set-distro.yaml", "configurations/manager/debian10.yaml"]''',
test_config: '''["test-cases/manager/manager-regression-singleDC-set-distro.yaml", "configurations/manager/debian10.yaml"]''',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/debian11-manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-west-2',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: '''["test-cases/manager/manager-regression-multiDC-set-distro.yaml", "configurations/manager/debian11.yaml"]''',
test_config: '''["test-cases/manager/manager-regression-singleDC-set-distro.yaml", "configurations/manager/debian11.yaml"]''',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/ubuntu20-manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-east-1',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: '''["test-cases/manager/manager-regression-multiDC-set-distro.yaml", "configurations/manager/ubuntu20.yaml"]''',
test_config: '''["test-cases/manager/manager-regression-singleDC-set-distro.yaml", "configurations/manager/ubuntu20.yaml"]''',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
4 changes: 2 additions & 2 deletions jenkins-pipelines/manager/ubuntu22-manager-sanity.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

managerPipeline(
backend: 'aws',
region: '''["us-east-1", "us-west-2"]''',
region: 'us-east-1',
test_name: 'mgmt_cli_test.MgmtCliTest.test_manager_sanity',
test_config: 'test-cases/manager/manager-regression-multiDC-set-distro.yaml',
test_config: 'test-cases/manager/manager-regression-singleDC-set-distro.yaml',

post_behavior_db_nodes: 'destroy',
post_behavior_loader_nodes: 'destroy',
Expand Down
21 changes: 21 additions & 0 deletions test-cases/manager/manager-regression-singleDC-set-distro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
test_duration: 240

stress_cmd: "cassandra-stress write cl=QUORUM n=4000000 -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3)' -mode cql3 native -rate threads=200 -pop seq=400000000..600000000"
stress_read_cmd: "cassandra-stress read cl=QUORUM n=4000000 -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3)' -mode cql3 native -rate threads=200 -pop seq=400000000..600000000"

instance_type_db: 'i4i.large'
instance_type_loader: 'c6i.large'

region_name: 'us-east-1'
n_db_nodes: '3'
n_loaders: 1
n_monitor_nodes: 1

post_behavior_db_nodes: "destroy"
post_behavior_loader_nodes: "destroy"
post_behavior_monitor_nodes: "destroy"

user_prefix: manager-regression
space_node_threshold: 6442

aws_instance_profile_name_db: 'qa-scylla-manager-backup-instance-profile'

0 comments on commit efc669d

Please sign in to comment.