Project

General

Profile

Actions

Bug #42252

closed

mimic: test_21501 (tasks.cephfs.test_volume_client.TestVolumeClient) failure

Added by Venky Shankar over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

2019-10-08T13:19:12.860 INFO:teuthology.orchestra.run.smithi026:> sudo adjust-ulimits daemon-helper kill python3 -c '
2019-10-08T13:19:12.860 INFO:teuthology.orchestra.run.smithi026:> from __future__ import print_function
2019-10-08T13:19:12.860 INFO:teuthology.orchestra.run.smithi026:> from ceph_volume_client import CephFSVolumeClient, VolumePath
2019-10-08T13:19:12.860 INFO:teuthology.orchestra.run.smithi026:> from sys import version_info as sys_version_info
2019-10-08T13:19:12.860 INFO:teuthology.orchestra.run.smithi026:> from rados import OSError as rados_OSError
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> import logging
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> log = logging.getLogger("ceph_volume_client")
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> log.addHandler(logging.StreamHandler())
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> log.setLevel(logging.DEBUG)
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> vc = CephFSVolumeClient("manila", "/etc/ceph/ceph.conf", "ceph", None, None)
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:> vc.connect()
2019-10-08T13:19:12.861 INFO:teuthology.orchestra.run.smithi026:>
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:> vp = VolumePath("grpid", "volid")
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:> create_result = vc.create_volume(vp, 1024*1024*10)
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:> print(create_result['"'"'mount_path'"'"'])
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:>
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:> vc.disconnect()
2019-10-08T13:19:12.862 INFO:teuthology.orchestra.run.smithi026:>         '
2019-10-08T13:19:13.034 INFO:teuthology.orchestra.run.smithi026.stderr:Connecting to RADOS with config /etc/ceph/ceph.conf...
2019-10-08T13:19:13.073 INFO:teuthology.orchestra.run.smithi026.stderr:Connection to RADOS complete
2019-10-08T13:19:13.073 INFO:teuthology.orchestra.run.smithi026.stderr:Connecting to cephfs...
2019-10-08T13:19:13.073 INFO:teuthology.orchestra.run.smithi026.stderr:CephFS initializing...
2019-10-08T13:19:13.076 INFO:teuthology.orchestra.run.smithi026.stderr:CephFS mounting...
2019-10-08T13:19:13.076 INFO:teuthology.orchestra.run.smithi026.stderr:Traceback (most recent call last):
2019-10-08T13:19:13.076 INFO:teuthology.orchestra.run.smithi026.stderr:  File "<string>", line 11, in <module>
2019-10-08T13:19:13.076 INFO:teuthology.orchestra.run.smithi026.stderr:  File "/usr/lib/python3.6/site-packages/ceph_volume_client.py", line 483, in connect
2019-10-08T13:19:13.077 INFO:teuthology.orchestra.run.smithi026.stderr:    self.fs.mount(filesystem_name=to_bytes(self.fs_name))
2019-10-08T13:19:13.077 INFO:teuthology.orchestra.run.smithi026.stderr:TypeError: mount() takes no keyword arguments
2019-10-08T13:19:13.078 INFO:teuthology.orchestra.run.smithi026.stderr:disconnect
2019-10-08T13:19:13.078 INFO:teuthology.orchestra.run.smithi026.stderr:Disconnecting cephfs...
2019-10-08T13:19:13.079 INFO:teuthology.orchestra.run.smithi026.stderr:Disconnecting cephfs complete
2019-10-08T13:19:13.079 INFO:teuthology.orchestra.run.smithi026.stderr:Disconnecting rados...
2019-10-08T13:19:13.080 INFO:teuthology.orchestra.run.smithi026.stderr:Disconnecting rados complete
2019-10-08T13:19:13.161 INFO:teuthology.orchestra.run.smithi026.stderr:daemon-helper: command failed with exit status 1
2019-10-08T13:19:13.166 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-10-08T13:19:13.167 INFO:tasks.cephfs_test_runner:test_21501 (tasks.cephfs.test_volume_client.TestVolumeClient) ... ERROR

From: /ceph/teuthology-archive/yuriw-2019-10-08_01:35:28-fs-wip-yuri3-testing-2019-10-07-1952-mimic-testing-basic-smithi/4367848/teuthology.log


Files

vstart_runner.log (39.3 KB) vstart_runner.log Rishabh Dave, 11/19/2019 10:42 AM
Actions #1

Updated by Venky Shankar over 4 years ago

@Rishabh, this happens when using python3.

Actions #2

Updated by Venky Shankar over 4 years ago

Venky Shankar wrote:

@Rishabh, this happens when using python3.

2019-10-08T17:58:51.637 INFO:teuthology.orchestra.run.smithi068.stderr:Traceback (most recent call last):
2019-10-08T17:58:51.637 INFO:teuthology.orchestra.run.smithi068.stderr:  File "<string>", line 9, in <module>
2019-10-08T17:58:51.637 INFO:teuthology.orchestra.run.smithi068.stderr:  File "/usr/lib/python3.6/site-packages/ceph_volume_client.py", line 484, in connect
2019-10-08T17:58:51.638 INFO:teuthology.orchestra.run.smithi068.stderr:    self.recover()
2019-10-08T17:58:51.638 INFO:teuthology.orchestra.run.smithi068.stderr:  File "/usr/lib/python3.6/site-packages/ceph_volume_client.py", line 291, in recover
2019-10-08T17:58:51.638 INFO:teuthology.orchestra.run.smithi068.stderr:    match = re.search(regex, d.d_name.decode(encoding='utf-8'))
2019-10-08T17:58:51.638 INFO:teuthology.orchestra.run.smithi068.stderr:AttributeError: 'str' object has no attribute 'decode'
Actions #3

Updated by Rishabh Dave over 4 years ago

Couldn't reproduce this issue locally; test_21501 passed for me.

Actions #4

Updated by Venky Shankar over 4 years ago

Rishabh Dave wrote:

Couldn't reproduce this issue locally; test_21501 passed for me.

with python3? also, I think one of the PRs got reverted, can't remember. Could you please take a look?

Actions #5

Updated by Patrick Donnelly over 4 years ago

  • Description updated (diff)
  • Status changed from New to Rejected
  • Target version deleted (v13.2.7)
  • Pull request ID set to 31017
Actions

Also available in: Atom PDF