]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: switch to use the merge fragment for fscrypt 55857/head
authorXiubo Li <xiubli@redhat.com>
Wed, 29 Mar 2023 05:04:47 +0000 (13:04 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jun 2024 12:09:39 +0000 (20:09 +0800)
Currently only the upstream kclient supports fscrypt feature.

Fixes: https://tracker.ceph.com/issues/59195
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 04fab9b5f967eab51beef5429e2b6317909bde38)

12 files changed:
qa/suites/fs/fscrypt/tasks/% [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/0-client.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-common.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-dbench.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-ffsb.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-iozone.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-pjd.yaml [new file with mode: 0644]
qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml [deleted file]
qa/suites/fs/fscrypt/tasks/fscrypt-dbench.yaml [deleted file]
qa/suites/fs/fscrypt/tasks/fscrypt-ffsb.yaml [deleted file]
qa/suites/fs/fscrypt/tasks/fscrypt-iozone.yaml [deleted file]
qa/suites/fs/fscrypt/tasks/fscrypt-pjd.yaml [deleted file]

diff --git a/qa/suites/fs/fscrypt/tasks/% b/qa/suites/fs/fscrypt/tasks/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/fscrypt/tasks/0-client.yaml b/qa/suites/fs/fscrypt/tasks/0-client.yaml
new file mode 100644 (file)
index 0000000..ed20ce9
--- /dev/null
@@ -0,0 +1,7 @@
+teuthology:
+  postmerge:
+    # Once can we make sure the distro kernels have included the fscrypt feature
+    # or the ceph-fuse have supported the fscrypt feature we can remove this
+    # restriction.
+    - if not is_kupstream() then reject() end
+task:
diff --git a/qa/suites/fs/fscrypt/tasks/1-tests/fscrypt-common.yaml b/qa/suites/fs/fscrypt/tasks/1-tests/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/1-tests/fscrypt-dbench.yaml b/qa/suites/fs/fscrypt/tasks/1-tests/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/1-tests/fscrypt-ffsb.yaml b/qa/suites/fs/fscrypt/tasks/1-tests/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/1-tests/fscrypt-iozone.yaml b/qa/suites/fs/fscrypt/tasks/1-tests/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/1-tests/fscrypt-pjd.yaml b/qa/suites/fs/fscrypt/tasks/1-tests/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
diff --git a/qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml b/qa/suites/fs/fscrypt/tasks/fscrypt-common.yaml
deleted file mode 100644 (file)
index 5cb34d9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-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
deleted file mode 100644 (file)
index 324bc64..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644 (file)
index 0c70fe9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644 (file)
index 5e9bb5a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644 (file)
index 6d8f709..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-tasks:
-- workunit:
-    timeout: 6h
-    clients:
-      client.0:
-        - fs/fscrypt.sh none pjd
-        - fs/fscrypt.sh unlocked pjd