Project

General

Profile

Actions

Bug #45425

closed

qa/cephfs: mount.py must use StringIO instead of BytesIO

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

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

0%

Source:
Q/A
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

2020-04-30T05:22:28.901 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-04-30T05:22:28.902 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-rishabh-fs-shell-exit-if-args/qa/tasks/cephfs/test_cephfs_shell.py", line 759, in test_df_for_invalid_directory
2020-04-30T05:22:28.902 INFO:tasks.cephfs_test_runner:    errmsg='error in stat')
2020-04-30T05:22:28.902 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-rishabh-fs-shell-exit-if-args/qa/tasks/cephfs/test_cephfs_shell.py", line 72, in negtest_cephfs_shell_cmd
2020-04-30T05:22:28.903 INFO:tasks.cephfs_test_runner:    self.assertIn(errmsg, proc.stderr.getvalue().lower())
2020-04-30T05:22:28.903 INFO:tasks.cephfs_test_runner:  File "/usr/lib/python3.6/unittest/case.py", line 1086, in assertIn
2020-04-30T05:22:28.903 INFO:tasks.cephfs_test_runner:    if member not in container:
2020-04-30T05:22:28.904 INFO:tasks.cephfs_test_runner:TypeError: a bytes-like object is required, not 'str'
Actions #1

Updated by Rishabh Dave almost 4 years ago

  • Pull request ID set to 34941
  • Labels (FS) qa added
Actions #2

Updated by Rishabh Dave almost 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0
  • Source set to Q/A
  • Component(FS) qa-suite added
Actions

Also available in: Atom PDF