From: Patrick Donnelly Date: Fri, 30 Oct 2020 21:45:52 +0000 (-0700) Subject: qa: accept eio for mount failure X-Git-Tag: v17.0.0~721^2~12 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c099ff9ebfa968cf9160412aabbe53c60aca04ec;p=ceph-ci.git qa: accept eio for mount failure Example: 2020-10-30T03:37:33.752 INFO:tasks.cephfs_test_runner:====================================================================== 2020-10-30T03:37:33.752 INFO:tasks.cephfs_test_runner:FAIL: test_mount_mon_and_osd_caps_present_mds_caps_absent (tasks.cephfs.test_multifs_auth.TestClientsWithoutAuth) 2020-10-30T03:37:33.752 INFO:tasks.cephfs_test_runner:---------------------------------------------------------------------- 2020-10-30T03:37:33.753 INFO:tasks.cephfs_test_runner:Traceback (most recent call last): 2020-10-30T03:37:33.753 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_batrick_ceph_cephfs-qa-reorg/qa/tasks/cephfs/test_multifs_auth.py", line 311, in test_mount_mon_and_osd_caps_present_mds_caps_absent 2020-10-30T03:37:33.753 INFO:tasks.cephfs_test_runner: self.check_that_mount_failed_for_right_reason(retval[2]) 2020-10-30T03:37:33.753 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_batrick_ceph_cephfs-qa-reorg/qa/tasks/cephfs/test_multifs_auth.py", line 269, in check_that_mount_failed_for_right_reason 2020-10-30T03:37:33.753 INFO:tasks.cephfs_test_runner: raise AssertionError('can\'t find expected set of words in the ' 2020-10-30T03:37:33.754 INFO:tasks.cephfs_test_runner:AssertionError: can't find expected set of words in the stderr 2020-10-30T03:37:33.754 INFO:tasks.cephfs_test_runner:self.errmsgs - ('permission denied', 'no mds server is up or the cluster is laggy', 'no such file or directory') 2020-10-30T03:37:33.754 INFO:tasks.cephfs_test_runner:stderr - mount error 5 = input/output error From: /ceph/teuthology-archive/pdonnell-2020-10-30_02:26:51-fs-master-distro-basic-smithi/5573109/teuthology.log Fixes: https://tracker.ceph.com/issues/23718 Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/test_multifs_auth.py b/qa/tasks/cephfs/test_multifs_auth.py index 36fc5c51ecf..2f21cf654d2 100644 --- a/qa/tasks/cephfs/test_multifs_auth.py +++ b/qa/tasks/cephfs/test_multifs_auth.py @@ -237,7 +237,8 @@ class TestClientsWithoutAuth(TestMultiFS): # laggy" to "permission denied". self.kernel_errmsgs = ('permission denied', 'no mds server is up or ' 'the cluster is laggy', 'no such file or ' - 'directory') + 'directory', + 'input/output error') # TODO: When MON and OSD caps are assigned for a Ceph FS to a # client but MDS caps are not, ceph-fuse prints "operation not