Skip to content

Commit

Permalink
qa: cephfs add fscrypt test suite support for kclient
Browse files Browse the repository at this point in the history
Signed-off-by: Xiubo Li <xiubli@redhat.com>
  • Loading branch information
lxbsz committed Oct 26, 2022
1 parent 4864542 commit 671d972
Show file tree
Hide file tree
Showing 17 changed files with 82 additions and 0 deletions.
Empty file added qa/suites/fs/fscrypt/%
Empty file.
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/.qa
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/bluestore-bitmap.yaml
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/centos_latest.yaml
Empty file added qa/suites/fs/fscrypt/clusters/%
Empty file.
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/clusters/.qa
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/clusters/1-mds-4-client.yaml
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/conf
Empty file.
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/overrides/.qa
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/overrides/ignorelist_health.yaml
5 changes: 5 additions & 0 deletions qa/suites/fs/fscrypt/overrides/pg-warn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
overrides:
ceph:
conf:
global:
mon pg warn min per osd: 0
Empty file added qa/suites/fs/fscrypt/tasks/%
Empty file.
1 change: 1 addition & 0 deletions qa/suites/fs/fscrypt/tasks/.qa
39 changes: 39 additions & 0 deletions qa/suites/fs/fscrypt/tasks/0-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
tasks:
- install:
extra_packages:
rpm:
- python3-cephfs
- cephfs-top
- cephfs-mirror
# For kernel_untar_build workunit
extra_system_packages:
rpm:
- bison
- flex
- elfutils-libelf-devel
- openssl-devel
- NetworkManager
- iproute
- util-linux
# for xfstests-dev
- libacl-devel
- libaio-devel
- libattr-devel
- libtool
- libuuid-devel
- xfsdump
- xfsprogs
- xfsprogs-devel
# for fsx
- libaio-devel
- libtool
- libuuid-devel
- xfsprogs-devel
# for postgres
- postgresql
- postgresql-server
- postgresql-contrib
syslog:
ignorelist:
- WARNING*.*check_session_state
- WARNING*.*__ceph_remove_cap
28 changes: 28 additions & 0 deletions qa/suites/fs/fscrypt/tasks/1-client-sanity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
overrides:
kclient:
all:
mountpoint: /tmp/fscrypt-cephfs
tasks:
- workunit:
timeout: 6h
clients:
client.0:
- fs/fscrypt.sh none ffsb_test_dir_none
- fs/ffsb.sh ffsb_test_dir_none
- fs/fscrypt.sh unlocked ffsb_test_dir_locked
- fs/ffsb.sh ffsb_test_dir_locked
client.1:
- fs/fscrypt.sh none pjd_test_dir_none
- fs/pjd.sh pjd_test_dir_none
- fs/fscrypt.sh unlocked pjd_test_dir_locked
- fs/pjd.sh pjd_test_dir_locked
client.2:
- fs/fscrypt.sh none dbench_test_dir_none
- fs/dbench.sh dbench_test_dir_none
- fs/fscrypt.sh unlocked dbench_test_dir_locked
- fs/dbench.sh dbench_test_dir_locked
client.3:
- fs/fscrypt.sh none iozone_test_dir_none
- fs/iozone.sh iozone_test_dir_none
- fs/fscrypt.sh unlocked iozone_test_dir_locked
- fs/iozone.sh iozone_test_dir_locked

0 comments on commit 671d972

Please sign in to comment.