From aff948588a357cec5c7136485a517d3c46339f4b Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 14 Apr 2026 08:57:33 -0400 Subject: [PATCH] qa: add trivial cephfs-tool bench test Signed-off-by: Patrick Donnelly --- qa/suites/fs/tool/% | 0 qa/suites/fs/tool/.qa | 1 + qa/suites/fs/tool/begin | 1 + qa/suites/fs/tool/clusters/.qa | 1 + qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml | 1 + qa/suites/fs/tool/conf | 1 + qa/suites/fs/tool/distro | 1 + qa/suites/fs/tool/mount/.qa | 1 + qa/suites/fs/tool/mount/fuse.yaml | 1 + qa/suites/fs/tool/objectstore/.qa | 1 + qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml | 1 + qa/suites/fs/tool/overrides/+ | 0 qa/suites/fs/tool/overrides/.qa | 1 + qa/suites/fs/tool/overrides/ignorelist_health.yaml | 1 + .../fs/tool/overrides/ignorelist_wrongly_marked_down.yaml | 1 + qa/suites/fs/tool/overrides/no_client_pidfile.yaml | 1 + qa/suites/fs/tool/overrides/pg_health.yaml | 1 + qa/suites/fs/tool/tasks/.qa | 1 + qa/suites/fs/tool/tasks/tool.yaml | 7 +++++++ 19 files changed, 23 insertions(+) create mode 100644 qa/suites/fs/tool/% create mode 120000 qa/suites/fs/tool/.qa create mode 120000 qa/suites/fs/tool/begin create mode 120000 qa/suites/fs/tool/clusters/.qa create mode 120000 qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml create mode 120000 qa/suites/fs/tool/conf create mode 120000 qa/suites/fs/tool/distro create mode 120000 qa/suites/fs/tool/mount/.qa create mode 120000 qa/suites/fs/tool/mount/fuse.yaml create mode 120000 qa/suites/fs/tool/objectstore/.qa create mode 120000 qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml create mode 100644 qa/suites/fs/tool/overrides/+ create mode 120000 qa/suites/fs/tool/overrides/.qa create mode 120000 qa/suites/fs/tool/overrides/ignorelist_health.yaml create mode 120000 qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml create mode 120000 qa/suites/fs/tool/overrides/no_client_pidfile.yaml create mode 120000 qa/suites/fs/tool/overrides/pg_health.yaml create mode 120000 qa/suites/fs/tool/tasks/.qa create mode 100644 qa/suites/fs/tool/tasks/tool.yaml diff --git a/qa/suites/fs/tool/% b/qa/suites/fs/tool/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/tool/.qa b/qa/suites/fs/tool/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/begin b/qa/suites/fs/tool/begin new file mode 120000 index 000000000000..77af91f7d266 --- /dev/null +++ b/qa/suites/fs/tool/begin @@ -0,0 +1 @@ +.qa/cephfs/begin/ \ No newline at end of file diff --git a/qa/suites/fs/tool/clusters/.qa b/qa/suites/fs/tool/clusters/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/clusters/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml b/qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml new file mode 120000 index 000000000000..d15ecfda012c --- /dev/null +++ b/qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml @@ -0,0 +1 @@ +.qa/cephfs/clusters/1-mds-1-client-coloc.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/conf b/qa/suites/fs/tool/conf new file mode 120000 index 000000000000..16e8cc44b7d7 --- /dev/null +++ b/qa/suites/fs/tool/conf @@ -0,0 +1 @@ +.qa/cephfs/conf \ No newline at end of file diff --git a/qa/suites/fs/tool/distro b/qa/suites/fs/tool/distro new file mode 120000 index 000000000000..23d9e9be86f0 --- /dev/null +++ b/qa/suites/fs/tool/distro @@ -0,0 +1 @@ +.qa/distros/supported \ No newline at end of file diff --git a/qa/suites/fs/tool/mount/.qa b/qa/suites/fs/tool/mount/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/mount/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/mount/fuse.yaml b/qa/suites/fs/tool/mount/fuse.yaml new file mode 120000 index 000000000000..0e55da9fb7ab --- /dev/null +++ b/qa/suites/fs/tool/mount/fuse.yaml @@ -0,0 +1 @@ +.qa/cephfs/mount/fuse.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/objectstore/.qa b/qa/suites/fs/tool/objectstore/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/objectstore/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml b/qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml new file mode 120000 index 000000000000..a59cf5175069 --- /dev/null +++ b/qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml @@ -0,0 +1 @@ +.qa/objectstore/bluestore-bitmap.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/overrides/+ b/qa/suites/fs/tool/overrides/+ new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/tool/overrides/.qa b/qa/suites/fs/tool/overrides/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/overrides/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/overrides/ignorelist_health.yaml b/qa/suites/fs/tool/overrides/ignorelist_health.yaml new file mode 120000 index 000000000000..5cb891a95c3c --- /dev/null +++ b/qa/suites/fs/tool/overrides/ignorelist_health.yaml @@ -0,0 +1 @@ +.qa/cephfs/overrides/ignorelist_health.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml b/qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml new file mode 120000 index 000000000000..f317cb714ca2 --- /dev/null +++ b/qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml @@ -0,0 +1 @@ +.qa/cephfs/overrides/ignorelist_wrongly_marked_down.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/overrides/no_client_pidfile.yaml b/qa/suites/fs/tool/overrides/no_client_pidfile.yaml new file mode 120000 index 000000000000..8888f33274be --- /dev/null +++ b/qa/suites/fs/tool/overrides/no_client_pidfile.yaml @@ -0,0 +1 @@ +.qa/overrides/no_client_pidfile.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/overrides/pg_health.yaml b/qa/suites/fs/tool/overrides/pg_health.yaml new file mode 120000 index 000000000000..5b6be3a65b62 --- /dev/null +++ b/qa/suites/fs/tool/overrides/pg_health.yaml @@ -0,0 +1 @@ +.qa/cephfs/overrides/pg_health.yaml \ No newline at end of file diff --git a/qa/suites/fs/tool/tasks/.qa b/qa/suites/fs/tool/tasks/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/tool/tasks/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/tool/tasks/tool.yaml b/qa/suites/fs/tool/tasks/tool.yaml new file mode 100644 index 000000000000..e4c520045565 --- /dev/null +++ b/qa/suites/fs/tool/tasks/tool.yaml @@ -0,0 +1,7 @@ +tasks: + - exec: + client.0: + - cephfs-tool -i 0 bench --dir-prefix test1 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=1 --iterations 3 + - cephfs-tool -i 0 bench --dir-prefix test2 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=16 --iterations 3 + - cephfs-tool -i 0 bench --dir-prefix test1 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=1 --iterations 3 --per-thread-mount + - cephfs-tool -i 0 bench --dir-prefix test2 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=16 --iterations 3 --per-thread-mount -- 2.47.3