[Buildbot-commits] [Buildbot] #834: log message stream encoding inserts spurious newlines into logs

Buildbot buildbot-devel at lists.sourceforge.net
Thu Oct 21 20:16:39 UTC 2010


#834: log message stream encoding inserts spurious newlines into logs
-------------------+--------------------------------------------------------
Reporter:  dustin  |        Owner:            
    Type:  defect  |       Status:  closed    
Priority:  minor   |    Milestone:  0.8.2     
 Version:  0.8.0   |   Resolution:  worksforme
Keywords:          |  
-------------------+--------------------------------------------------------
Changes (by dustin):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 My hypothesis was that this occurred when a chunk boundary fell between
 the \r and \n in in a windows-style newline.  I wrote a buildstep that
 just spews short lines, using usePTY=True, but I don't see this replicated
 there.

 I can't find any examples in the metabuildbot anymore, so I can't look at
 the underlying logfile to see if it's an encoding (write) error or
 formatting (read).

 If I remember, this wasn't a case of *duplicate* newlines; it was a case
 of a newline inserted in the *middle* of what should otherwise have been a
 single line.  So my hypothesis doesn't satisfy that anyway.

 The log buffering and compressing may have mitigated or solved this bug.

 Closing as WORKSFORME for now; let's reopen if it appears again, and
 attach the compressed logfile in that case.

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


More information about the Commits mailing list