[Buildbot-commits] [Buildbot] #2135: GitPoller problem "OSError: [Errno 2] No such file or directory"

Buildbot nobody at buildbot.net
Mon Oct 17 20:40:35 UTC 2011


#2135: GitPoller problem "OSError: [Errno 2] No such file or directory"
----------------------+-----------------------
Reporter:  pigmej     |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.5      |   Keywords:
----------------------+-----------------------
 traceback:
 {{{
 2011-10-17 22:34:39+0200 [-] while initializing GitPoller repository
         Traceback (most recent call last):
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/_baseprocess.py", line 60, in
 maybeCallProcessEnded
             proto.processEnded(Failure(reason))
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/utils.py", line 159, in processEnded
             self.deferred.callback((out, err, code))
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 361, in callback
             self._startRunCallbacks(result)
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 542, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/buildbot/changes/gitpoller.py", line 318, in
 _convert_nonzero_to_failure
             raise EnvironmentError('command failed with exit code %d: %s'
 % (code, stderr))
         exceptions.EnvironmentError: command failed with exit code 1: Upon
 execvpe git ['git', 'init', '/tmp/gitpoller_work'] in environment id
 38200288
         :Traceback (most recent call last):
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/process.py", line 414, in _fork
             executable, args, environment)
           File "/opt/buildbot/buildbot_env/lib/python2.6/site-
 packages/twisted/internet/process.py", line 460, in _execChild
             os.execvpe(executable, args, environment)
           File "/opt/buildbot/buildbot_env/lib/python2.6/os.py", line 353,
 in execvpe
             _execvpe(file, args, env)
           File "/opt/buildbot/buildbot_env/lib/python2.6/os.py", line 380,
 in _execvpe
             func(fullname, *argrest)
         OSError: [Errno 2] No such file or directory
 }}}


 poller config:
 {{{
 c['change_source'] = GitPoller(
         repourl = 'git://url/repo.git',
         branch = 'master',
         pollinterval=30)
 }}}

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


More information about the Commits mailing list