From 867091f673ccf4fb79ad24d2e5bedfbb99ac5c1e 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) Conflicts: qa/tasks/cephfs/test_admin.py: The commit 9d0ab233d822668e88c873bc1314e984feaf1296 is not backported --- 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 b2c3d0e78a0..27f9942cba7 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -1786,8 +1786,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 != "v18.2.6": - 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_single_path_rootsquash_issue_56067(self): -- 2.39.5