[Buildbot] #3101: exception while rendering logs

Buildbot trac trac at buildbot.net
Tue Dec 9 19:34:28 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):

 We've been trying to pinpoint the cause of this.

 Same trouble happens there:
 http://nine.buildbot.net/#/builders/7/build/19/step/4/log/problems and the
 log is smaller.

 That is log #1488, the build page shows it having 210 lines. According to
 @sa2ajj, there are 211 lines in that log in the db, that logs ends with
 '\n\ (i.e. line #212 is empty.)

 Same as been observed with the log #1470, this one has 11 lines according
 to the build page, and that one has 12 lines (the 13th is empty). Only it
 doesn't show the trouble as the chunk is smaller that the asked part of
 the logs.

 Those logs are coming from the `Trial` step
 (buildbot.step.python_twisted). It's one big addCompletelog with a string
 that ends with '\n'. (Well, PR-1435 tries to address that, I hope it just
 doesn't removes the problem we have at hand ...)

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


More information about the bugs mailing list