[Buildbot-commits] [Buildbot] #1803: gitpoller failure when workdir has no parent directory

Buildbot nobody at buildbot.net
Tue Feb 8 20:35:37 UTC 2011


#1803: gitpoller failure when workdir has no parent directory
----------------------+-----------------------
Reporter:  anton      |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.3p1    |   Keywords:
----------------------+-----------------------
 My gitpoller config contains:

         workdir='gitpoller-project',

 Which causes the following error:


 {{{
 2011-02-08 04:38:30-0600 [-] gitpoller: creating parent directories for
 workdir
 2011-02-08 04:38:30-0600 [-] Unhandled Error
         Traceback (most recent call last):
           File "/usr/lib/python2.6/site-
 packages/buildbot-0.8.3p1-py2.6.egg/buildbot/master.py", line 1041, in
 <lambda>
             d.addCallback(lambda res:
 self.loadConfig_Sources(change_sources))
           File "/usr/lib/python2.6/site-
 packages/buildbot-0.8.3p1-py2.6.egg/buildbot/master.py", line 1125, in
 loadConfig_Sources
             d.addCallback(addNewOnes)
           File "/usr/lib/python2.6/site-packages/Twisted-10.2.0-py2.6
 -linux-ppc64.egg/twisted/internet/defer.py", line 297, in addCallback
             callbackKeywords=kw)
           File "/usr/lib/python2.6/site-packages/Twisted-10.2.0-py2.6
 -linux-ppc64.egg/twisted/internet/defer.py", line 286, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/usr/lib/python2.6/site-packages/Twisted-10.2.0-py2.6
 -linux-ppc64.egg/twisted/internet/defer.py", line 542, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/usr/lib/python2.6/site-
 packages/buildbot-0.8.3p1-py2.6.egg/buildbot/master.py", line 1123, in
 addNewOnes
             [self.change_svc.addSource(s) for s in added_sources]
           File "/usr/lib/python2.6/site-
 packages/buildbot-0.8.3p1-py2.6.egg/buildbot/changes/manager.py", line 70,
 in addSource
             source.setServiceParent(self)
           File "/usr/lib/python2.6/site-packages/Twisted-10.2.0-py2.6
 -linux-ppc64.egg/twisted/application/service.py", line 184, in
 setServiceParent
             self.parent.addService(self)
           File "/usr/lib/python2.6/site-packages/Twisted-10.2.0-py2.6
 -linux-ppc64.egg/twisted/application/service.py", line 304, in addService
             service.startService()
           File "/usr/lib/python2.6/site-
 packages/buildbot-0.8.3p1-py2.6.egg/buildbot/changes/gitpoller.py", line
 66, in startService
             os.makedirs(dirpath)
           File "/usr/lib64/python2.6/os.py", line 157, in makedirs
             mkdir(name, mode)
         exceptions.OSError: [Errno 2] No such file or directory: ''

 }}}

 Patch to follow.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1803>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list