qa: introduce postmerge for fuse/kclient mounts

Suggested by Patrick and this will check mounter's type.

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
This commit is contained in:
Xiubo Li 2023-03-21 09:37:58 +08:00
parent e123fcaadc
commit ef2cdfdefa
55 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,13 @@
teuthology:
postmerge:
- local function is_kupstream()
return false
end
- local function is_kdistro()
return false
end
- local function is_fuse()
return true
end
tasks: tasks:
- ceph-fuse: - ceph-fuse:

View File

@ -1,2 +1,13 @@
teuthology:
postmerge:
- local function is_kupstream()
return yaml.ktype == 'upstream'
end
- local function is_kdistro()
return yaml.ktype == 'distro'
end
- local function is_fuse()
return false
end
tasks: tasks:
- kclient: - kclient:

View File

@ -1,3 +1,4 @@
kernel: kernel:
client: client:
sha1: distro sha1: distro
ktype: distro

View File

@ -1,3 +1,4 @@
kernel: kernel:
client: client:
branch: testing branch: testing
ktype: upstream

View File

@ -1 +1,2 @@
os_type: centos os_type: centos
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "6.3" os_version: "6.3"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "6.4" os_version: "6.4"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "6.5" os_version: "6.5"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.0" os_version: "7.0"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.1" os_version: "7.1"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.2" os_version: "7.2"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.3" os_version: "7.3"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.4" os_version: "7.4"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: centos os_type: centos
os_version: "7.5" os_version: "7.5"
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: debian os_type: debian
os_version: "6.0" os_version: "6.0"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: debian os_type: debian
os_version: "7.0" os_version: "7.0"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: debian os_type: debian
os_version: "8.0" os_version: "8.0"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: fedora os_type: fedora
os_version: "17" os_version: "17"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: fedora os_type: fedora
os_version: "18" os_version: "18"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: fedora os_type: fedora
os_version: "19" os_version: "19"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: opensuse os_type: opensuse
os_version: "15.1" os_version: "15.1"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: opensuse os_type: opensuse
os_version: "15.2" os_version: "15.2"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: opensuse os_type: opensuse
os_version: "42.3" os_version: "42.3"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: rhel os_type: rhel
os_version: "6.3" os_version: "6.3"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: rhel os_type: rhel
os_version: "6.4" os_version: "6.4"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: rhel os_type: rhel
os_version: "6.5" os_version: "6.5"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: rhel os_type: rhel
os_version: "7.0" os_version: "7.0"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: rhel os_type: rhel
os_version: "7.5" os_version: "7.5"
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -4,3 +4,4 @@ overrides:
selinux: selinux:
whitelist: whitelist:
- scontext=system_u:system_r:logrotate_t:s0 - scontext=system_u:system_r:logrotate_t:s0
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: sle os_type: sle
os_version: "12.2" os_version: "12.2"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: sle os_type: sle
os_version: "12.3" os_version: "12.3"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: sle os_type: sle
os_version: "15.1" os_version: "15.1"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: sle os_type: sle
os_version: "15.2" os_version: "15.2"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "12.04" os_version: "12.04"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "12.10" os_version: "12.10"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "14.04" os_version: "14.04"
ktype: distro

View File

@ -1,3 +1,4 @@
os_type: ubuntu os_type: ubuntu
os_version: "14.04" os_version: "14.04"
arch: aarch64 arch: aarch64
ktype: distro

View File

@ -1,3 +1,4 @@
os_type: ubuntu os_type: ubuntu
os_version: "14.04" os_version: "14.04"
arch: i686 arch: i686
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "16.04" os_version: "16.04"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "18.04" os_version: "18.04"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "20.04" os_version: "20.04"
ktype: distro

View File

@ -1,2 +1,3 @@
os_type: ubuntu os_type: ubuntu
os_version: "22.04" os_version: "22.04"
ktype: distro