Project

General

Profile

Actions

Bug #43567

closed

qa: UnicodeDecodeError in TestGetAndPut.test_put_and_get_without_target_directory

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

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

0%

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

Description

decode() is run on a type str -

2020-01-13 15:07:24,721.721 INFO:__main__:======================================================================
2020-01-13 15:07:24,721.721 INFO:__main__:ERROR: test_put_and_get_without_target_directory (tasks.cephfs.test_cephfs_shell.TestGetAndPut)
2020-01-13 15:07:24,721.721 INFO:__main__:----------------------------------------------------------------------
2020-01-13 15:07:24,721.721 INFO:__main__:Traceback (most recent call last):
2020-01-13 15:07:24,721.721 INFO:__main__:  File "/home/rishabh/repos/ceph/fs-shell-retval/qa/tasks/cephfs/test_cephfs_shell.py", line 185, in test_put_and_get_without_target_directory
2020-01-13 15:07:24,722.722 INFO:__main__:    self.run_cephfs_shell_cmd("!mkdir p1")
2020-01-13 15:07:24,722.722 INFO:__main__:  File "/home/rishabh/repos/ceph/fs-shell-retval/qa/tasks/cephfs/test_cephfs_shell.py", line 56, in run_cephfs_shell_cmd
2020-01-13 15:07:24,722.722 INFO:__main__:    stderr=StringIO(), stdin=stdin)
2020-01-13 15:07:24,722.722 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 390, in run
2020-01-13 15:07:24,722.722 INFO:__main__:    proc.wait()
2020-01-13 15:07:24,722.722 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 179, in wait
2020-01-13 15:07:24,722.722 INFO:__main__:    out, err = out.decode(), err.decode()
2020-01-13 15:07:24,722.722 INFO:__main__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128)
2020-01-13 15:07:24,722.722 INFO:__main__:
2020-01-13 15:07:24,722.722 INFO:__main__:----------------------------------------------------------------------
2020-01-13 15:07:24,722.722 INFO:__main__:Ran 1 test in 16.701s
2020-01-13 15:07:24,722.722 INFO:__main__:
2020-01-13 15:07:24,723.723 INFO:__main__:FAILED (errors=1)

Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #45227: octopus: qa: UnicodeDecodeError in TestGetAndPut.test_put_and_get_without_target_directoryResolvedNathan CutlerActions
Actions

Also available in: Atom PDF