Missing text from job output when using ANSI escape sequences

the output displayed usually misses a few characters here and there.
see https://travis-ci.org/github/erwindon/SaltGUI/builds/714432038
on line 336, the first character is missing.
the same output has a few more of such cases
sometimes it also happens in the middle of a line of text.

If you look at the raw log output (with the “Raw Log” button)


You see that, after https://travis-ci.org/github/erwindon/SaltGUI/builds/714432038#L334

3000.3: Pulling from erwindon/saltgui-saltminion-ubuntu

there are a lot of control characters streamed to the log. Many of these are probably not displayable, and we are not handling them well.

Some tools use these escape sequences to display some nifty things on the console, but these are not very well suited for stream-oriented log display like ours.

I’m sorry to say, but I don’t think we can do a whole lot in this regard.

1 Like

The bit that qualifies this as a bug is Travis advertizes itself as an xterm terminal without secret variables – thus giving programs the right to use any sequences that an xterm would understand and expect the same results.