]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: cephfs add fscrypt test suite for kclient
authorXiubo Li <xiubli@redhat.com>
Tue, 25 Oct 2022 06:39:53 +0000 (14:39 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 1 Dec 2022 08:33:10 +0000 (16:33 +0800)
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 <xiubli@redhat.com>
34 files changed:
qa/suites/fs/fscrypt/% [new file with mode: 0644]
qa/suites/fs/fscrypt/.qa [new symlink]
qa/suites/fs/fscrypt/begin [new symlink]
qa/suites/fs/fscrypt/bluestore-bitmap.yaml [new symlink]
qa/suites/fs/fscrypt/clusters/.qa [new symlink]
qa/suites/fs/fscrypt/clusters/1-mds-1-client.yaml [new symlink]
qa/suites/fs/fscrypt/conf [new symlink]
qa/suites/fs/fscrypt/distro/$ [new file with mode: 0644]
qa/suites/fs/fscrypt/distro/.qa [new symlink]
qa/suites/fs/fscrypt/distro/centos_latest.yaml [new symlink]
qa/suites/fs/fscrypt/distro/ubuntu_latest.yaml [new symlink]
qa/suites/fs/fscrypt/mount/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/% [new file with mode: 0644]
qa/suites/fs/fscrypt/mount/kclient/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/mount-syntax/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/mount-syntax/v1.yaml [new symlink]
qa/suites/fs/fscrypt/mount/kclient/mount.yaml [new symlink]
qa/suites/fs/fscrypt/mount/kclient/overrides/% [new file with mode: 0644]
qa/suites/fs/fscrypt/mount/kclient/overrides/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/overrides/distro/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/.qa [new symlink]
qa/suites/fs/fscrypt/mount/kclient/overrides/distro/testing/k-testing.yaml [new symlink]
qa/suites/fs/fscrypt/overrides/+ [new file with mode: 0644]
qa/suites/fs/fscrypt/overrides/.qa [new symlink]
qa/suites/fs/fscrypt/overrides/ignorelist_health.yaml [new symlink]
qa/suites/fs/fscrypt/overrides/ignorelist_health_more.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/overrides/ignorelist_wrongly_marked_down.yaml [new symlink]
qa/suites/fs/fscrypt/overrides/pg-warn.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/.qa [new symlink]
qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/fscrypt-dbench.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/fscrypt-ffsb.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/fscrypt-iozone.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/fscrypt-pjd.yaml [new file with mode: 0644]

diff --git a/qa/suites/fs/fscrypt/% b/qa/suites/fs/fscrypt/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/.qa b/qa/suites/fs/fscrypt/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..77af91f
--- /dev/null
@@ -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 (symlink)
index 0000000..fb603bc
--- /dev/null
@@ -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 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -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 (symlink)
index 0000000..64bdb79
--- /dev/null
@@ -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 (symlink)
index 0000000..6d47129
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/distro/.qa b/qa/suites/fs/fscrypt/distro/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..bd9854e
--- /dev/null
@@ -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 (symlink)
index 0000000..3a09f9a
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/mount/kclient/.qa b/qa/suites/fs/fscrypt/mount/kclient/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..3315775
--- /dev/null
@@ -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 (symlink)
index 0000000..9967f23
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/mount/kclient/overrides/.qa b/qa/suites/fs/fscrypt/mount/kclient/overrides/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..bec80be
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/overrides/.qa b/qa/suites/fs/fscrypt/overrides/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..5cb891a
--- /dev/null
@@ -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 (file)
index 0000000..9483525
--- /dev/null
@@ -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 (symlink)
index 0000000..f317cb7
--- /dev/null
@@ -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 (file)
index 0000000..4ae54a4
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (file)
index 0000000..5cb34d9
--- /dev/null
@@ -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 (file)
index 0000000..324bc64
--- /dev/null
@@ -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 (file)
index 0000000..0c70fe9
--- /dev/null
@@ -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 (file)
index 0000000..5e9bb5a
--- /dev/null
@@ -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 (file)
index 0000000..6d8f709
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- workunit:
+    timeout: 6h
+    clients:
+      client.0:
+        - fs/fscrypt.sh none pjd
+        - fs/fscrypt.sh unlocked pjd