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

Buildbot nobody at buildbot.net
Wed May 25 08:05:09 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 landry):

 As a sidenote, i've ruled out the symlink from the equation. If objdir is
 a real dir, it fails the same.

 The file sure does exist as the previous build steps are :
 {{{
 factory.addStep(SetProperty(name="get package name", command="find objdir/
 -name *.tar.bz2 -exec basename {} \;", property='package_name'))
 factory.addStep(SetProperty(name="get package path", command="find objdir/
 -name *.tar.bz2", property='package_path'))
 }}}
 But those steps don't check for the file size.

 The command run by make package is
 {{{
 tar -c --owner=0 --group=0 --numeric-owner --mode="go-w" -f - firefox |
 bzip2 -vf > firefox-5.0a2.en-US.openbsd4.9-sparc64.tar.bz2
 }}}
 It's in a subshell, but in the middle of make package step, ie the
 langpacks are created after (see full log at
 http://buildbot.rhaalovely.net/builders/mozilla-aurora-
 sparc64/builds/23/steps/package/logs/stdio)

 The file isn't on NFS, but i'll add a sleep 5 command before the
 FileUpload step. To check if that can be the issue, but then i wonder why
 i don't see it on the other host (where buildslave and buildmaster are on
 the same host)

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


More information about the Commits mailing list