Project

General

Profile

Bug #38270

kcephfs TestClientLimits.test_client_pin fails with "client caps fell below min"

Added by Venky Shankar 4 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Testing
Target version:
Start date:
Due date:
% 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:

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


Related issues

Copied to fs - Backport #38686: luminous: kcephfs TestClientLimits.test_client_pin fails with "client caps fell below min" In Progress
Copied to fs - Backport #38687: mimic: kcephfs TestClientLimits.test_client_pin fails with "client caps fell below min" New

History

#1 Updated by Patrick Donnelly 4 months ago

  • Assignee set to Zheng Yan
  • Target version set to v14.0.0
  • Backport set to mimic,luminous
  • Component(FS) kceph, qa-suite added

#2 Updated by Patrick Donnelly 3 months ago

  • Target version changed from v14.0.0 to v15.0.0

#3 Updated by Patrick Donnelly 3 months ago

  • Status changed from New to Need Review
  • Target version changed from v15.0.0 to v14.0.0
  • Start date deleted (02/12/2019)
  • Pull request ID set to 26818

#4 Updated by Patrick Donnelly 3 months ago

  • Status changed from Need Review to Pending Backport
  • Labels (FS) qa added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #38686: luminous: kcephfs TestClientLimits.test_client_pin fails with "client caps fell below min" added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #38687: mimic: kcephfs TestClientLimits.test_client_pin fails with "client caps fell below min" added

Also available in: Atom PDF