[ovirt-devel] make check on master fails due to UnicodeDecodeError

Shani Leviim sleviim at redhat.com
Tue Apr 10 11:51:39 UTC 2018


Hi there,
I'm trying to run make check, and I have ~13 tests on vdsm/tests which
failes due to the following:

  File "/home/sleviim/git/vdsm/lib/vdsm/api/vdsmapi.py", line 212, in
__init__
    loaded_schema = pickle.load(f)
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0:
ordinal not in range(128)

(Those lines are common to all failures)

Here is an example:

======================================================================
ERROR: test_ok_response (vdsmapi_test.DataVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sleviim/git/vdsm/tests/vdsmapi_test.py", line 96, in
test_ok_response
    _schema.schema().verify_retval(
  File "/home/sleviim/git/vdsm/tests/vdsmapi_test.py", line 67, in schema
    self._schema = vdsmapi.Schema(paths, True)
  File "/home/sleviim/git/vdsm/lib/vdsm/api/vdsmapi.py", line 212, in
__init__
    loaded_schema = pickle.load(f)
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0:
ordinal not in range(128)

I've also tried to git clean -dxf && ./autogen.sh --system but it didn't
help.

Can you please assist?
Thanks!



*Regards,*

*Shani Leviim*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20180410/c05f77bd/attachment.html>


More information about the Devel mailing list