From: Xiubo Li Date: Tue, 25 Oct 2022 06:39:53 +0000 (+0800) Subject: qa: cephfs add fscrypt test suite for kclient X-Git-Tag: v18.1.0~743^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=22f01ee61ef6f45d8a7883a04d0e2f186f13b4ca;p=ceph.git qa: cephfs add fscrypt test suite for kclient For both io path and common test cases in xfstests. Currently only support the centos and ubuntu distros. But for rhel we couldn't install the 'userspace-rcu-devel', 'device-mapper-devel' and 'libedit-devel' dependency packages. Fixes: https://tracker.ceph.com/issues/58133 Signed-off-by: Xiubo Li --- diff --git a/qa/suites/fs/fscrypt/% b/qa/suites/fs/fscrypt/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/fscrypt/.qa b/qa/suites/fs/fscrypt/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/begin b/qa/suites/fs/fscrypt/begin new file mode 120000 index 000000000000..77af91f7d266 --- /dev/null +++ b/qa/suites/fs/fscrypt/begin @@ -0,0 +1 @@ +.qa/cephfs/begin/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/bluestore-bitmap.yaml b/qa/suites/fs/fscrypt/bluestore-bitmap.yaml new file mode 120000 index 000000000000..fb603bc9a64c --- /dev/null +++ b/qa/suites/fs/fscrypt/bluestore-bitmap.yaml @@ -0,0 +1 @@ +.qa/cephfs/objectstore-ec/bluestore-bitmap.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/clusters/.qa b/qa/suites/fs/fscrypt/clusters/.qa new file mode 120000 index 000000000000..fea2489fdf6d --- /dev/null +++ b/qa/suites/fs/fscrypt/clusters/.qa @@ -0,0 +1 @@ +../.qa \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/clusters/1-mds-1-client.yaml b/qa/suites/fs/fscrypt/clusters/1-mds-1-client.yaml new file mode 120000 index 000000000000..64bdb79fe7e7 --- /dev/null +++ b/qa/suites/fs/fscrypt/clusters/1-mds-1-client.yaml @@ -0,0 +1 @@ +.qa/cephfs/clusters/1-mds-1-client.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/conf b/qa/suites/fs/fscrypt/conf new file mode 120000 index 000000000000..6d47129847fa --- /dev/null +++ b/qa/suites/fs/fscrypt/conf @@ -0,0 +1 @@ +.qa/cephfs/conf/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/distro/$ b/qa/suites/fs/fscrypt/distro/$ new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/fscrypt/distro/.qa b/qa/suites/fs/fscrypt/distro/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/distro/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/distro/centos_latest.yaml b/qa/suites/fs/fscrypt/distro/centos_latest.yaml new file mode 120000 index 000000000000..bd9854e70298 --- /dev/null +++ b/qa/suites/fs/fscrypt/distro/centos_latest.yaml @@ -0,0 +1 @@ +.qa/distros/supported/centos_latest.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/distro/ubuntu_latest.yaml b/qa/suites/fs/fscrypt/distro/ubuntu_latest.yaml new file mode 120000 index 000000000000..3a09f9abb05c --- /dev/null +++ b/qa/suites/fs/fscrypt/distro/ubuntu_latest.yaml @@ -0,0 +1 @@ +.qa/distros/supported/ubuntu_latest.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/.qa b/qa/suites/fs/fscrypt/mount/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/% b/qa/suites/fs/fscrypt/mount/kclient/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/fscrypt/mount/kclient/.qa b/qa/suites/fs/fscrypt/mount/kclient/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/.qa b/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/v1.yaml b/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/v1.yaml new file mode 120000 index 000000000000..3315775c11c3 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/mount-syntax/v1.yaml @@ -0,0 +1 @@ +.qa/cephfs/mount/kclient/mount-syntax/v1.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/mount.yaml b/qa/suites/fs/fscrypt/mount/kclient/mount.yaml new file mode 120000 index 000000000000..9967f23e2838 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/mount.yaml @@ -0,0 +1 @@ +.qa/cephfs/mount/kclient/mount.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/% b/qa/suites/fs/fscrypt/mount/kclient/overrides/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/.qa b/qa/suites/fs/fscrypt/mount/kclient/overrides/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/overrides/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/.qa b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/.qa b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/k-testing.yaml b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/k-testing.yaml new file mode 120000 index 000000000000..bec80be29539 --- /dev/null +++ b/qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/k-testing.yaml @@ -0,0 +1 @@ +.qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/overrides/+ b/qa/suites/fs/fscrypt/overrides/+ new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/fscrypt/overrides/.qa b/qa/suites/fs/fscrypt/overrides/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/overrides/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/overrides/ignorelist_health.yaml b/qa/suites/fs/fscrypt/overrides/ignorelist_health.yaml new file mode 120000 index 000000000000..5cb891a95c3c --- /dev/null +++ b/qa/suites/fs/fscrypt/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/fscrypt/overrides/ignorelist_health_more.yaml b/qa/suites/fs/fscrypt/overrides/ignorelist_health_more.yaml new file mode 100644 index 000000000000..9483525271c6 --- /dev/null +++ b/qa/suites/fs/fscrypt/overrides/ignorelist_health_more.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + log-ignorelist: + - Reduced data availability + - Degraded data redundancy diff --git a/qa/suites/fs/fscrypt/overrides/ignorelist_wrongly_marked_down.yaml b/qa/suites/fs/fscrypt/overrides/ignorelist_wrongly_marked_down.yaml new file mode 120000 index 000000000000..f317cb714ca2 --- /dev/null +++ b/qa/suites/fs/fscrypt/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/fscrypt/overrides/pg-warn.yaml b/qa/suites/fs/fscrypt/overrides/pg-warn.yaml new file mode 100644 index 000000000000..4ae54a40d319 --- /dev/null +++ b/qa/suites/fs/fscrypt/overrides/pg-warn.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + global: + mon pg warn min per osd: 0 diff --git a/qa/suites/fs/fscrypt/tasks/.qa b/qa/suites/fs/fscrypt/tasks/.qa new file mode 120000 index 000000000000..a602a0353e75 --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml new file mode 100644 index 000000000000..5cb34d9818e9 --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml @@ -0,0 +1,5 @@ +tasks: + - cephfs_test_runner: + fail_on_skip: false + modules: + - tasks.cephfs.test_fscrypt diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-dbench.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-dbench.yaml new file mode 100644 index 000000000000..324bc64c339a --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/fscrypt-dbench.yaml @@ -0,0 +1,7 @@ +tasks: +- workunit: + timeout: 6h + clients: + client.0: + - fs/fscrypt.sh none dbench + - fs/fscrypt.sh unlocked dbench diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-ffsb.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-ffsb.yaml new file mode 100644 index 000000000000..0c70fe9635ed --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/fscrypt-ffsb.yaml @@ -0,0 +1,7 @@ +tasks: +- workunit: + timeout: 6h + clients: + client.0: + - fs/fscrypt.sh none ffsb + - fs/fscrypt.sh unlocked ffsb diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-iozone.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-iozone.yaml new file mode 100644 index 000000000000..5e9bb5aa312d --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/fscrypt-iozone.yaml @@ -0,0 +1,7 @@ +tasks: +- workunit: + timeout: 6h + clients: + client.0: + - fs/fscrypt.sh none iozone + - fs/fscrypt.sh unlocked iozone diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-pjd.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-pjd.yaml new file mode 100644 index 000000000000..6d8f709bdae9 --- /dev/null +++ b/qa/suites/fs/fscrypt/tasks/fscrypt-pjd.yaml @@ -0,0 +1,7 @@ +tasks: +- workunit: + timeout: 6h + clients: + client.0: + - fs/fscrypt.sh none pjd + - fs/fscrypt.sh unlocked pjd