Actions
Bug #15655
closed[CWL] encoding error when printing error log tail
Story points:
-
Release:
Release relationship:
Auto
Description
2019-09-23T14:05:07.603414105Z Traceback (most recent call last): 2019-09-23T14:05:07.603414105Z File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/site-packages/arvados_cwl/arvcontainer.py", line 342, in done 2019-09-23T14:05:07.603414105Z "%s (%s) error log:" % (label, record["uuid"]), maxlen=40) 2019-09-23T14:05:07.603414105Z File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/site-packages/arvados_cwl/done.py", line 74, in logtail 2019-09-23T14:05:07.603414105Z for l in f: 2019-09-23T14:05:07.603414105Z File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/encodings/ascii.py", line 26, in decode 2019-09-23T14:05:07.603414105Z return codecs.ascii_decode(input, self.errors)[0] 2019-09-23T14:05:07.603414105Z UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 173: ordinal not in range(128)
The log in question has non-ascii characters, so this seems to be an arvados-cwl-runner encoding bug.
Files
Updated by Peter Amstutz about 5 years ago
- Target version changed from 2019-09-25 Sprint to 2019-10-09 Sprint
Updated by Peter Amstutz about 5 years ago
May be related to (or even fixed by) #15358
Updated by Peter Amstutz about 5 years ago
- Related to Bug #15358: [cwl] CWL conformance test formattest2 fails with C locale added
Updated by Eric Biagiotti about 5 years ago
- Status changed from New to In Progress
Updated by Eric Biagiotti about 5 years ago
Reproducible with the attached cwl:
$ export LANG=C $ arvados-cwl-runner 15655-unicode-log-fail.cwl
Fixed at fbaa689841e77e152567775d64aaab743dbcdaf0
Tests: https://ci.curoverse.com/view/Developer/job/developer-run-tests/1580/
Conformance: https://ci.curoverse.com/view/CWL/job/arvados-cwl-conformance-tests/257/
Updated by Peter Amstutz about 5 years ago
Eric Biagiotti wrote:
Reproducible with the attached cwl:
[...]
Fixed at fbaa689841e77e152567775d64aaab743dbcdaf0
Tests: https://ci.curoverse.com/view/Developer/job/developer-run-tests/1580/
Conformance: https://ci.curoverse.com/view/CWL/job/arvados-cwl-conformance-tests/257/
Very simple fix, LGTM.
Updated by Eric Biagiotti about 5 years ago
- Status changed from In Progress to Resolved
- Release set to 27
Actions