[Pkg-salt-team] Bug#888551: salt FTBFS: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 828: ordinal not in range(128)

Adrian Bunk bunk at debian.org
Sat Jan 27 00:58:54 UTC 2018


Source: salt
Version: 2017.7.2+dfsg1-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=salt&arch=all&ver=2017.7.2%2Bdfsg1-1&stamp=1516915304&raw=0

...
======================================================================
ERROR: test_list_products (unit.modules.test_zypper.ZypperTestCase)
[CPU:0.0%|MEM:23.2%] 
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/salt-2017.7.2+dfsg1/tests/unit/modules/test_zypper.py", line 236, in test_list_products
    'stdout': get_test_data(filename)
  File "/<<BUILDDIR>>/salt-2017.7.2+dfsg1/tests/unit/modules/test_zypper.py", line 53, in get_test_data
    return rfh.read()
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 828: ordinal not in range(128)

======================================================================
ERROR: test_non_ascii (unit.templates.test_jinja.TestGetTemplate)
[CPU:0.0%|MEM:23.2%] 
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/salt-2017.7.2+dfsg1/tests/unit/templates/test_jinja.py", line 341, in test_non_ascii
    result = fp.read()
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

======================================================================
ERROR: test_non_ascii_encoding (unit.templates.test_jinja.TestGetTemplate)
[CPU:0.0%|MEM:23.2%] 
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/salt-2017.7.2+dfsg1/tests/unit/templates/test_jinja.py", line 303, in test_non_ascii_encoding
    fp_.read(),
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

----------------------------------------------------------------------
Ran 5870 tests in 702.684s

FAILED (errors=3, skipped=1503, expected failures=2)
debian/rules:18: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the pkg-salt-team mailing list