]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: Disable a test for kernel mount
authorKotresh HR <khiremat@redhat.com>
Wed, 13 Aug 2025 11:03:29 +0000 (11:03 +0000)
committerKotresh HR <khiremat@redhat.com>
Mon, 8 Sep 2025 08:10:33 +0000 (13:40 +0530)
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 <khiremat@redhat.com>
(cherry picked from commit 485f37ac1fe7d233685ce1a1f9ac5360c142b1f5)

qa/tasks/cephfs/test_admin.py

index 80693c425d731dff5e3a844f09d4b86236b3d28c..a2eb2f45eadc50415ecc00eeda4033c8ab1524b5 100644 (file)
@@ -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):