[Buildbot-devel] buildbot throws exception when git retry

Guo Hongruan camelguo at gmail.com
Thu Jan 14 05:15:32 UTC 2010


Hi guys,
   I configured git to retry 30 seconds when fails to connect with the  
server. But when git try to reconnect the server, It throw the following  
exception.
   Who can give me some hint?

Thanks a lot!

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


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