Project

General

Profile

Bug #35828

Updated by Patrick Donnelly over 5 years ago

<pre>
2018-09-05T06:58:59.672 INFO:tasks.cephfs_test_runner:======================================================================
2018-09-05T06:58:59.672 INFO:tasks.cephfs_test_runner:ERROR: test_discontinuous_mdsmap (tasks.cephfs.test_failover.TestFailover)
2018-09-05T06:58:59.672 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_batrick_ceph_kcephfs-distro-kernel/qa/tasks/cephfs/test_failover.py", line 319, in test_discontinuous_mdsmap
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: self.fs.wait_for_state('up:resolve', rank=1, timeout=30)
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_batrick_ceph_kcephfs-distro-kernel/qa/tasks/cephfs/filesystem.py", line 950, in wait_for_state
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: mds_info = status.get_rank(self.id, rank)
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_batrick_ceph_kcephfs-distro-kernel/qa/tasks/cephfs/filesystem.py", line 121, in get_rank
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner: raise RuntimeError("FSCID {0} has no rank {1}".format(fscid, rank))
2018-09-05T06:58:59.673 INFO:tasks.cephfs_test_runner:RuntimeError: FSCID 10 has no rank 1
2018-09-05T06:58:59.674 INFO:tasks.cephfs_test_runner:
2018-09-05T06:58:59.674 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2018-09-05T06:58:59.674 INFO:tasks.cephfs_test_runner:Ran 9 tests in 623.782s
</pre>

From: /ceph/teuthology-archive/pdonnell-2018-09-04_22:02:16-kcephfs-wip-pdonnell-testing-20180904.143045-distro-basic-smithi/2980084/teuthology.log

Test needs to be resilient to the rank not having an MDS.

Back