Project

General

Profile

Bug #45425

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

Added by Rishabh Dave 5 months ago. Updated 5 months 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:

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'

History

#1 Updated by Rishabh Dave 5 months ago

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

#2 Updated by Rishabh Dave 5 months ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Patrick Donnelly 5 months 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

Also available in: Atom PDF