[Buildbot] #3101: exception while rendering logs

Buildbot trac trac at buildbot.net
Tue Dec 9 21:33:54 UTC 2014


#3101: exception while rendering logs
-------------------+--------------------
Reporter:  sa2ajj  |       Owner:
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.9.0
 Version:  master  |  Resolution:
Keywords:  web     |
-------------------+--------------------

Comment (by Ben):

 Logs in the db don't end with a '\n' (See
 https://github.com/buildbot/buildbot/blob/master/master/buildbot/db/logs.py#L107).
 So in order to have one actually ending with a '\n', the original chunk of
 text must have ended with two (i.e. an empty last line).

 It is possible to download the full problematic logs via the 'download'
 button, which makes analyse a bit easier

 According to the 'Trial' step, the 'problems' logs are a subset from the
 'stdio' logs (the last part starting from '=' * 60), so we know pretty
 much what should be expected there.

 The 'stdio' don't have a trailing '\n' (ends with an empty line), which
 make me think that the one in 'problems' doesn't belong there. I just
 don't know who added it / where does it comes from.

 About the test-case above, the test case itself was wrong (thanks
 @dustin).

--
Ticket URL: <http://trac.buildbot.net/ticket/3101#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list