summaryrefslogtreecommitdiffstats
path: root/qa/suites/nvmeof
diff options
context:
space:
mode:
authorVallari Agrawal <val.agl002@gmail.com>2024-08-07 15:14:17 +0200
committerVallari Agrawal <val.agl002@gmail.com>2024-08-28 14:42:29 +0200
commite5a9cda3267a60c23455906ba50f88d1e372b6a8 (patch)
treef1a8fda9be656f35abea7fccab4b6ee3535bdcb2 /qa/suites/nvmeof
parentqa: Expand nvmeof thrasher and add nvmeof_namespaces.yaml job (diff)
downloadceph-e5a9cda3267a60c23455906ba50f88d1e372b6a8.tar.xz
ceph-e5a9cda3267a60c23455906ba50f88d1e372b6a8.zip
qa/suites/nvmeof/basic: add nvmeof_scalability test
Add test to upscale/downscale nvmeof gateways. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Diffstat (limited to 'qa/suites/nvmeof')
-rw-r--r--qa/suites/nvmeof/basic/base/install.yaml3
-rw-r--r--qa/suites/nvmeof/basic/workloads/nvmeof_namespaces.yaml3
-rw-r--r--qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml39
3 files changed, 41 insertions, 4 deletions
diff --git a/qa/suites/nvmeof/basic/base/install.yaml b/qa/suites/nvmeof/basic/base/install.yaml
index 64b754e4270..88974f0e638 100644
--- a/qa/suites/nvmeof/basic/base/install.yaml
+++ b/qa/suites/nvmeof/basic/base/install.yaml
@@ -3,8 +3,7 @@ tasks:
- install:
extra_packages:
- nvme-cli
-- cephadm:
- watchdog_setup:
+- cephadm:
- cephadm.shell:
host.a:
# get state before nvmeof deployment
diff --git a/qa/suites/nvmeof/basic/workloads/nvmeof_namespaces.yaml b/qa/suites/nvmeof/basic/workloads/nvmeof_namespaces.yaml
index f43549d2d83..a98b5f7ccbf 100644
--- a/qa/suites/nvmeof/basic/workloads/nvmeof_namespaces.yaml
+++ b/qa/suites/nvmeof/basic/workloads/nvmeof_namespaces.yaml
@@ -35,6 +35,5 @@ tasks:
env:
RBD_POOL: mypool
IOSTAT_INTERVAL: '10'
- RUNTIME: '600'
+ RUNTIME: '120'
NEW_NAMESPACES_COUNT: '5'
-
diff --git a/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml b/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml
new file mode 100644
index 00000000000..7d9c23e6ae5
--- /dev/null
+++ b/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml
@@ -0,0 +1,39 @@
+tasks:
+- nvmeof:
+ client: client.0
+ gw_image: quay.io/ceph/nvmeof:1.2 # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
+ rbd:
+ pool_name: mypool
+ image_name_prefix: myimage
+ gateway_config:
+ subsystems_count: 3
+ namespaces_count: 20
+ cli_image: quay.io/ceph/nvmeof-cli:1.2
+
+- cephadm.wait_for_service:
+ service: nvmeof.mypool
+
+- workunit:
+ no_coverage_and_limits: true
+ timeout: 30m
+ clients:
+ client.2:
+ - rbd/nvmeof_setup_subsystem.sh
+ - rbd/nvmeof_basic_tests.sh
+ - rbd/nvmeof_fio_test.sh --rbd_iostat
+ env:
+ RBD_POOL: mypool
+ RBD_IMAGE_PREFIX: myimage
+ IOSTAT_INTERVAL: '10'
+ RUNTIME: '60'
+
+- workunit:
+ no_coverage_and_limits: true
+ timeout: 30m
+ clients:
+ client.2:
+ - rbd/nvmeof_scalability_test.sh nvmeof.a
+ - rbd/nvmeof_scalability_test.sh nvmeof.b
+ env:
+ SCALING_DELAYS: '50'
+