Bug #15655

[CWL] encoding error when printing error log tail

Added by Peter Amstutz 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/09/2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
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.

15655-unicode-log-fail.cwl (257 Bytes) 15655-unicode-log-fail.cwl Eric Biagiotti, 10/09/2019 12:25 PM

Subtasks

Task #15664: Review 15655-logtail-encodingResolvedPeter Amstutz


Related issues

Related to Arvados - Bug #15358: [cwl] CWL conformance test formattest2 fails with C localeResolved07/03/2019

Associated revisions

Revision a169f9fe
Added by Eric Biagiotti about 2 months ago

Merge branch '15655-logtail-encoding'

refs #15655

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <>

Revision bf6b6974 (diff)
Added by Eric Biagiotti 29 days ago

Merge branch '15655-logtail-encoding'

refs #15655

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <>

Revision 06eee168 (diff)
Added by Eric Biagiotti 29 days ago

Merge branch '15655-logtail-encoding'

refs #15655

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <>

History

#1 Updated by Peter Amstutz 2 months ago

  • Description updated (diff)

#2 Updated by Peter Amstutz 2 months ago

  • Target version changed from 2019-09-25 Sprint to 2019-10-09 Sprint

#3 Updated by Tom Morris 2 months ago

  • Assigned To set to Eric Biagiotti

#4 Updated by Peter Amstutz 2 months ago

May be related to (or even fixed by) #15358

#5 Updated by Peter Amstutz 2 months ago

  • Related to Bug #15358: [cwl] CWL conformance test formattest2 fails with C locale added

#6 Updated by Eric Biagiotti 2 months ago

  • Status changed from New to In Progress

#9 Updated by Eric Biagiotti about 2 months ago

  • Release set to 27
  • Status changed from In Progress to Resolved

Also available in: Atom PDF