From 99e7fcd3bbb38af26e50db47b9565045bfc8e4c5 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Wed, 13 Aug 2025 11:03:29 +0000 Subject: [PATCH] qa: Disable a test for kernel mount The kclient fix isn't yet landed in the kernel and hence the test 'test_multifs_single_client_cross_access_r_caps_end' would fail for kernel mount. So disable the failing validation in the test for kclient. Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR (cherry picked from commit 485f37ac1fe7d233685ce1a1f9ac5360c142b1f5) --- qa/tasks/cephfs/test_admin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cephfs/test_admin.py b/qa/tasks/cephfs/test_admin.py index 80693c425d7..a2eb2f45ead 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -1751,8 +1751,10 @@ class TestFsAuthorize(CephFSTestCase): # with 'rw' would end up having 'r' caps with the multifs for # auth caps used as in this test above. if ceph_client_version != "v19.2.2": - captester_fs1_rw.conduct_pos_test_for_write_caps() - captester_fs1_rw.conduct_pos_test_for_new_file_creation() + # The following condition should be removed once the fix lands in kernel + if isinstance(self.mount_a, FuseMount): + captester_fs1_rw.conduct_pos_test_for_write_caps() + captester_fs1_rw.conduct_pos_test_for_new_file_creation() def test_multifs_rootsquash_nofeature(self): -- 2.39.5