mock in CI fails with: ERROR: 'ascii' codec can't encode characters
by Yedidyah Bar David
https://jenkins.ovirt.org/job/ovirt-setup-lib_standard-check-patch/9/
08:06:14 ERROR: 'ascii' codec can't encode characters in position
73796-73798: ordinal not in range(128)
08:06:14 Traceback (most recent call last):
08:06:14 File "/usr/libexec/mock/mock", line 977, in <module>
08:06:14 main()
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File "/usr/libexec/mock/mock", line 766, in main
08:06:14 run_command(options, args, config_opts, commands,
buildroot, state)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File "/usr/libexec/mock/mock", line 793, in run_command
08:06:14 commands.init()
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/backend.py", line 165, in
init
08:06:14 self.buildroot.initialize(**kwargs)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 93, in
initialize
08:06:14 self._init(prebuild=prebuild, do_log=do_log)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 183,
in _init
08:06:14 self.plugins.call_hooks('postinit')
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/plugin.py", line 78, in
call_hooks
08:06:14 hook(*args, **kwargs)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/plugins/root_cache.py",
line 178, in _rootCachePostInitHook
08:06:14 self._rebuild_root_cache()
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
96, in trace
08:06:14 result = func(*args, **kw)
08:06:14 File
"/usr/lib/python2.7/site-packages/mockbuild/plugins/root_cache.py",
line 219, in _rebuild_root_cache
08:06:14 cache_log.write(self.buildroot.pkg_manager.init_install_output.encode())
08:06:14 UnicodeEncodeError: 'ascii' codec can't encode characters in
position 73796-73798: ordinal not in range(128)
Known issue?
Thanks,
--
Didi
5 years, 6 months