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: v15.1.0~639^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=af2a8eb24b0dfd3aadfb2f60e5200d6fe4377327;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 --- diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 86027546b80b..7fd9d528bd62 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -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(): diff --git a/qa/tasks/cephfs/kernel_mount.py b/qa/tasks/cephfs/kernel_mount.py index 3aa4b5bb74b5..9acea3f491e4 100644 --- a/qa/tasks/cephfs/kernel_mount.py +++ b/qa/tasks/cephfs/kernel_mount.py @@ -184,6 +184,7 @@ class KernelMount(CephFSMount): self.mountpoint, ], timeout=(5*60), + check_status=False, ) def _find_debug_dir(self):