Actions
Bug #52972
closedceph-api-nightly-{octopus,nautilus}-backend: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 104-107: ordinal not in range(256)
Status:
Closed
Priority:
High
Assignee:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Both nightlies (nautilus and octopus) started failing a week ago. The error seems to be related to the encoding used (console?), but given the job template (ceph-api-nightly/config/definitions/ceph-api-nightly.yml) is the same for all the three main branches and this is not failing in pacific...
It happens while installing teuthology package:
+ timeout 2h ./run-backend-api-tests.sh created virtual environment CPython3.8.5.final.0-64 in 111ms creator CPython3Posix(dest=/tmp/tmp.AksQci4eUl/venv, clear=False, global=False) seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/home/jenkins-build/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1) activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator Requirement already satisfied: setuptools>=12 in ./venv/lib/python3.8/site-packages (44.0.0) Collecting teuthology[test] ... Collecting ansible-core<2.12,>=2.11.5 Downloading ansible-core-2.11.6.tar.gz (7.0 MB) ERROR: Exception: Traceback (most recent call last): File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main status = self.run(options, args) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 357, in run resolver.resolve(requirement_set) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 282, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement(req) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement local_path = unpack_url( File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 282, in unpack_url return unpack_http_url( File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 164, in unpack_http_url unpack_file(from_path, location, content_type) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/utils/unpacking.py", line 261, in unpack_file untar_file(filename, location) File "/tmp/tmp.AksQci4eUl/venv/lib/python3.8/site-packages/pip/_internal/utils/unpacking.py", line 222, in untar_file with open(path, 'wb') as destfp: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 104-107: ordinal not in range(256) Build step 'Execute shell' marked build as failure
A difference I noticed between the last successful run in Octopus and first one failing was the addition of some package: ansible-core
At this online diff it can be observed the differences between both.
It could also be an issue in teuthology rather than in the build env?
Actions