[Buildbot-commits] [Buildbot] #1963: FileUpload creates truncated file when buildslave is not on localhost

Buildbot nobody at buildbot.net
Wed May 25 04:41:57 UTC 2011


#1963: FileUpload creates truncated file when buildslave is not on localhost
----------------------+------------------------
Reporter:  landry     |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.3p1    |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by dustin):

 So I bet that the previous step isn't done writing that file when it's
 uploaded.

 "BZh9" is a BZ2 header - http://en.wikipedia.org/wiki/Bzip2#File_format

 So it's getting the bytes from the file - just only 14 of them.  Is the
 file on NFS?  Are you sure 'make package' is done by the time 'make'
 exits?  IIRC there are versions of tar which don't wait for the
 compression subprocess to exit before exiting -- maybe bzip is still
 running?  Running 'make package && sleep 10' might help.

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


More information about the Commits mailing list