There is error with logging and non-ascii characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Fuel QA Team |
Bug Description
During swarm run[0] there were an error:
2016-10-10 11:58:10 - ERROR decorators.py:126 -- Traceback (most recent call last):
File "/home/
result = func(*args, **kwargs)
File "/home/
self.
File "/home/
cmd=
File "/home/
sudo=sudo
File "/home/
raise_
File "/home/
stderr=
File "/home/
message += "\n\tSTDERR:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 16: ordinal not in range(128)
cp command returns to stdout '`':
cp /tmp/x /tmp/y
cp: cannot stat ‘/tmp/x’: No such file or directory
And it is non-ascii character.
Additional info:
It may cause troubleshoot pain.
[0] https:/
Changed in fuel: | |
assignee: | Alexey Stepanov (astepanov-m) → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
status: | New → Fix Committed |
Has been fixed in the fuel-devops 3.0.3
чт, 13 окт. 2016 г. в 15:36, Maksym Strukov <email address hidden>:
> ** Changed in: fuel /bugs.launchpad .net/bugs/ 1631986 jenkins/ workspace/ 10.0.system_ test.ubuntu. custom_ graph/fuelweb_ test/helpers/ decorators. py", jenkins/ workspace/ 10.0.system_ test.ubuntu. custom_ graph/fuelweb_ test/tests/ tests_custom_ graph/test_ custom_ graph.py" , graph_leakage ubuntu_ target_ image(2, cluster_id) jenkins/ workspace/ 10.0.system_ test.ubuntu. custom_ graph/fuelweb_ test/tests/ tests_custom_ graph/test_ custom_ graph.py" , target_ image jenkins/ workspace/ 10.0.system_ test.ubuntu. custom_ graph/fuelweb_ test/helpers/ ssh_manager. py", jenkins/ workspace/ 10.0.system_ test.ubuntu. custom_ graph/fuelweb_ test/helpers/ ssh_manager. py", err=raise_ on_err jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ devops/ helpers/ ssh_client. py", ret['stderr_ str']) jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ devops/ error.py" , \n{}".format( self.stderr) /product- mirantis. net/job/ 10.0.system_ test.ubuntu. custom_ graph/99/ console /bugs.launchpad .net/fuel/ +bug/1631986/ +subscriptions
> Assignee: Alexey Stepanov (astepanov-m) => Fuel QA Team (fuel-qa)
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> There is error with logging and non-ascii characters
>
> Status in Fuel for OpenStack:
> New
>
> Bug description:
> During swarm run[0] there were an error:
>
> 2016-10-10 11:58:10 - ERROR decorators.py:126 -- Traceback (most recent
> call last):
> File
> "/home/
> line 120, in wrapper
> result = func(*args, **kwargs)
> File
> "/home/
> line 168, in custom_
> self.move_
> File
> "/home/
> line 77, in move_ubuntu_
> cmd=move_img_cmd)
> File
> "/home/
> line 314, in execute_on_remote
> sudo=sudo
> File
> "/home/
> line 275, in check_call
> raise_on_
> File
> "/home/
> line 586, in check_call
> stderr=
> File
> "/home/
> line 44, in __init__
> message += "\n\tSTDERR:
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in
> position 16: ordinal not in range(128)
>
> cp command returns to stdout '`':
> cp /tmp/x /tmp/y
> cp: cannot stat ‘/tmp/x’: No such file or directory
>
> And it is non-ascii character.
>
>
> Additional info:
> It may cause troubleshoot pain.
>
> [0] https:/
>
> ci.infra.
>
> To manage notifications about this bug go to:
> https:/
>
--
Best regards, Alexey Stepanov.