]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/cephfs: don't crash if mountpoint dir is already deleted
authorRishabh Dave <ridave@redhat.com>
Fri, 20 Sep 2019 05:36:47 +0000 (11:06 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 6 Nov 2019 06:06:10 +0000 (11:36 +0530)
Teuthology jobs crash due to this after the test and it's teardown has
run successfully.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/kernel_mount.py

index 86027546b80b1612fd6dd5974e751ff2c6cce99c..7fd9d528bd6205824565242790c5cfdf1faf0339 100644 (file)
@@ -344,7 +344,8 @@ class FuseMount(CephFSMount):
                     self.mountpoint,
                 ],
                 stderr=stderr,
-                timeout=(60*5)
+                timeout=(60*5),
+                check_status=False,
             )
         except CommandFailedError:
             if "No such file or directory" in stderr.getvalue():
index 3aa4b5bb74b53c05c4ff015af20e66e2adcdea94..9acea3f491e4e28978365e71b29a27dd05140021 100644 (file)
@@ -184,6 +184,7 @@ class KernelMount(CephFSMount):
                 self.mountpoint,
             ],
             timeout=(5*60),
+            check_status=False,
         )
 
     def _find_debug_dir(self):