[Buildbot-devel] the retry parameter of source.Git in buildbot.steps does not work at all

Guo Hongruan camelguo at gmail.com
Fri Jan 15 12:46:48 UTC 2010


Hi guys,
   I found that the retry parameter of source.Git in buildbot.steps does  
not work at all. If the buildbot failed to checkout source code from Git,  
it can not retry the next time. Instead of retry to checkout source code,  
the buildbot throw out an exception and causes the builder failed.

source.Git(repourl=repository, branch=oebranch, mode='update',retry=(30,5))

    This is the raw error information output by buildbot:

remoteFailed: [Failure instance: Traceback from remote host -- Traceback  
(most recent call last):
   File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py",  
line 228, in mainLoop
     self.runUntilCurrent()
   File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line  
561, in runUntilCurrent
     call.func(*call.args, **call.kw)
   File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line  
239, in callback
     self._startRunCallbacks(result)
   File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line  
304, in _startRunCallbacks
     self._runCallbacks()
--- <exception caught here> ---
   File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line  
317, in _runCallbacks
     self.result = callback(self.result, *args, **kw)
   File "/usr/lib/python2.5/site-packages/buildbot/slave/commands.py", line  
1532, in <lambda>
     d.addCallback(lambda res: self.doVCFull())
   File "/usr/lib/python2.5/site-packages/buildbot/slave/commands.py", line  
2113, in doVCFull
     os.mkdir(self._fullSrcdir())
exceptions.OSError: [Errno 17] File exists:  
'/opt/testslave/oe_oe_inc_nightly_glibc/build'

-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the devel mailing list