Ticket #2135 (closed undecided: invalid)

Opened 19 months ago

Last modified 19 months ago

GitPoller problem "OSError: [Errno 2] No such file or directory"

Reported by: pigmej Owned by:
Priority: major Milestone: undecided
Version: 0.8.5 Keywords:
Cc:

Description

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)                                                                                                                                     

Change History

comment:1 Changed 19 months ago by pigmej

  • Status changed from new to closed
  • Resolution set to invalid

Ok apt-get install git-core fixed it :)

Note: See TracTickets for help on using tickets.