Actions
Bug #38270
closedkcephfs TestClientLimits.test_client_pin fails with "client caps fell below min"
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph, qa-suite
Labels (FS):
qa
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
test_client_pin assert failure as below (http://pulpito.ceph.com/yuriw-2019-02-06_16:27:19-kcephfs-wip-yuri6-testing-2019-02-06-0416-luminous-testing-basic-smithi/3557504/)
2019-02-06T23:25:15.592 INFO:tasks.cephfs_test_runner:====================================================================== 2019-02-06T23:25:15.592 INFO:tasks.cephfs_test_runner:ERROR: test_client_pin (tasks.cephfs.test_client_limits.TestClientLimits) 2019-02-06T23:25:15.592 INFO:tasks.cephfs_test_runner:---------------------------------------------------------------------- 2019-02-06T23:25:15.592 INFO:tasks.cephfs_test_runner:Traceback (most recent call last): 2019-02-06T23:25:15.592 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri6-testing-2019-02-06-0416-luminous/qa/tasks/cephfs/test_client_limits.py", line 107, in test_client_pin 2019-02-06T23:25:15.593 INFO:tasks.cephfs_test_runner: self._test_client_pin(True, 800) 2019-02-06T23:25:15.593 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri6-testing-2019-02-06-0416-luminous/qa/tasks/cephfs/test_client_limits.py", line 99, in _test_client_pin 2019-02-06T23:25:15.593 INFO:tasks.cephfs_test_runner: self.wait_until_true(expected_caps, timeout=60) 2019-02-06T23:25:15.593 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri6-testing-2019-02-06-0416-luminous/qa/tasks/ceph_test_case.py", line 139, in wait_until_true 2019-02-06T23:25:15.593 INFO:tasks.cephfs_test_runner: if condition(): 2019-02-06T23:25:15.594 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri6-testing-2019-02-06-0416-luminous/qa/tasks/cephfs/test_client_limits.py", line 91, in expected_caps 2019-02-06T23:25:15.594 INFO:tasks.cephfs_test_runner: raise RuntimeError("client caps fell below min!") 2019-02-06T23:25:15.595 INFO:tasks.cephfs_test_runner:RuntimeError: client caps fell below min!
Happens only with kcephfs. According to Zheng:
<yanzheng> Kernel removes inodes without valid caps from its cache
<yanzheng> So num_caps become 1
Actions