]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: accept eio for mount failure
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 30 Oct 2020 21:45:52 +0000 (14:45 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 3 Nov 2020 21:00:57 +0000 (13:00 -0800)
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 <pdonnell@redhat.com>
qa/tasks/cephfs/test_multifs_auth.py

index 36fc5c51ecf067878ce021591bb736cf929c1422..2f21cf654d2f36ab66ac0eec2b35abd09f62e983 100644 (file)
@@ -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