]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: don't crash if mountpoint dir is already deleted 34461/head
authorRishabh Dave <ridave@redhat.com>
Fri, 20 Sep 2019 05:36:47 +0000 (11:06 +0530)
committerVicente Cheng <freeze.bilsted@gmail.com>
Fri, 3 Jul 2020 08:54:38 +0000 (08:54 +0000)
Teuthology jobs crash due to this after the test and it's teardown has
run successfully.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit af2a8eb24b0dfd3aadfb2f60e5200d6fe4377327)

qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/kernel_mount.py

index 4cb685d0c43fb17aa5fd0d8122649f627595e6b9..5d69eb723fc51a19d4c53ce72d78dc867967f3c1 100644 (file)
@@ -349,7 +349,8 @@ class FuseMount(CephFSMount):
                 ],
                 cwd=self.test_dir,
                 stderr=stderr,
-                timeout=(60*5)
+                timeout=(60*5),
+                check_status=False,
             )
         except CommandFailedError:
             if "No such file or directory" in stderr.getvalue():
index 81951e3760f694a5ca892da524f5dd5d3f184534..e749c06119c08e1fbbc3443f64b2a664b4d0464a 100644 (file)
@@ -183,6 +183,7 @@ class KernelMount(CephFSMount):
                 self.mountpoint,
             ],
             timeout=(5*60),
+            check_status=False,
         )
 
     def _find_debug_dir(self):