[Buildbot-devel] Need help.

Li Chao lchao at idengines.com
Fri Mar 31 20:58:56 UTC 2006


Hello, All,

I am new to buildbot. I create buildmaster and buildbot slave on the
same host and write some simple step to do the svn update only. My code
is like: 

 

source=s(step.SVN, mode='update',timeout=5*60, retry=(10,3),
baseURL='http://svn/svn/jupiter/trunk/', defaultBranch='releng')

 

Then when I start it, it will check out the code in the "$Basedir/build"
directory. I have two questions. 

1.    My svn mode is update. How come every time it deleted the "build"
directory and check out the new code again instead of updating the
existing code? I don't have a shell command "rm" to delete the "build"
directory.  

2.    The build failed every time. It successfully checked out the code,
but it showed "Fail to kill the process". You know what the problem is .


The logfile looks like: 

 

starting svn operation
rm -rf
/amd/xserve/Volumes/RAID0/Home/releng/buildbot/jupiter_slave2/updatecomp
ile/build
 in dir
/amd/xserve/Volumes/RAID0/Home/releng/buildbot/jupiter_slave2/updatecomp
ile (timeout 300 secs)
 argv: ['rm', '-rf',
'/amd/xserve/Volumes/RAID0/Home/releng/buildbot/jupiter_slave2/updatecom
pile/build']
 environment: {.........}
 
svn checkout --revision HEAD http://svn/svn/jupiter/trunk/releng build
 in dir
/amd/xserve/Volumes/RAID0/Home/releng/buildbot/jupiter_slave2/updatecomp
ile (timeout 300 secs)
 argv: ['svn', 'checkout', '--revision', 'HEAD',
'http://svn/svn/jupiter/trunk/releng', 'build']
 environment: {...}
A  build/bin
A  build/bin/cron
.....
....
..
Checked out revision 5993.
 
command timed out: 300 seconds without output, killing pid 3230
SIGKILL failed to kill process
 
remoteFailed: [Failure instance: Traceback from remote host -- Traceback
(most recent call last):
Failure: buildbot.slave.commands.TimeoutError: SIGKILL failed to kill
process
]

 

 

 

Thanks a million.

Victor 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060331/85395d75/attachment.html>


More information about the devel mailing list