From: Rishabh Dave Date: Fri, 20 Sep 2019 05:36:47 +0000 (+0530) Subject: qa/cephfs: don't crash if mountpoint dir is already deleted X-Git-Tag: v14.2.11~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9fd1586e91d58c05751e0a144c543d9077d365d0;p=ceph.git qa/cephfs: don't crash if mountpoint dir is already deleted Teuthology jobs crash due to this after the test and it's teardown has run successfully. Signed-off-by: Rishabh Dave (cherry picked from commit af2a8eb24b0dfd3aadfb2f60e5200d6fe4377327) --- diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 4cb685d0c43..5d69eb723fc 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -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(): diff --git a/qa/tasks/cephfs/kernel_mount.py b/qa/tasks/cephfs/kernel_mount.py index 81951e3760f..e749c06119c 100644 --- a/qa/tasks/cephfs/kernel_mount.py +++ b/qa/tasks/cephfs/kernel_mount.py @@ -183,6 +183,7 @@ class KernelMount(CephFSMount): self.mountpoint, ], timeout=(5*60), + check_status=False, ) def _find_debug_dir(self):