Project

General

Profile

Actions

Bug #45813

closed

qa/cephfs: tests kclient crash with "unexpected keyword" error

Added by Rishabh Dave almost 4 years ago. Updated almost 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
qa
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

mount_wait() was added to mount.py with the assumption that all mount methods accept mountpoint in this commit. However, LocalKernelMount.mount() is not programmed to accept it which leads to crash for vstart_runner.py runs.

2020-06-02 16:16:38,594.594 INFO:__main__:======================================================================
2020-06-02 16:16:38,594.594 INFO:__main__:ERROR: test_cd_with_args (tasks.cephfs.test_cephfs_shell.TestCD)
2020-06-02 16:16:38,594.594 INFO:__main__:----------------------------------------------------------------------
2020-06-02 16:16:38,594.594 INFO:__main__:Traceback (most recent call last):
2020-06-02 16:16:38,594.594 INFO:__main__:  File "/home/rishabh/repos/ceph/master/qa/tasks/cephfs/cephfs_test_case.py", line 145, in setUp
2020-06-02 16:16:38,595.595 INFO:__main__:    self.mounts[i].mount_wait()
2020-06-02 16:16:38,595.595 INFO:__main__:  File "/home/rishabh/repos/ceph/master/qa/tasks/cephfs/mount.py", line 340, in mount_wait
2020-06-02 16:16:38,595.595 INFO:__main__:    mount_options=mount_options)
2020-06-02 16:16:38,595.595 INFO:__main__:TypeError: mount() got an unexpected keyword argument 'mountpoint'
2020-06-02 16:16:38,595.595 INFO:__main__:

Related issues 1 (0 open1 closed)

Is duplicate of CephFS - Bug #45300: qa/tasks/vstart_runner.py: TypeError: mount() got an unexpected keyword argument 'mountpoint'ResolvedXiubo Li

Actions
Actions #1

Updated by Rishabh Dave almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 35346
Actions #2

Updated by Rishabh Dave almost 4 years ago

  • Status changed from Fix Under Review to Duplicate
Actions #3

Updated by Patrick Donnelly almost 4 years ago

  • Is duplicate of Bug #45300: qa/tasks/vstart_runner.py: TypeError: mount() got an unexpected keyword argument 'mountpoint' added
Actions

Also available in: Atom PDF