[Buildbot-commits] [Buildbot] #2337: gitpoller fails to fetch commit following twisted errors
Buildbot
nobody at buildbot.net
Wed Oct 10 12:37:42 UTC 2012
#2337: gitpoller fails to fetch commit following twisted errors
--------------------------+------------------------
Reporter: Clement | Owner:
Type: undecided | Status: reopened
Priority: major | Milestone: undecided
Version: 0.8.6p1 | Resolution:
Keywords: git gitpoller |
--------------------------+------------------------
Comment (by dustin):
short enough to include here..
{{{
2012-10-08 16:00:43+0200 [-] gitpoller: processing 3 changes:
['01c238e049c71fbd212994af1158ae64d525953a',
'cc29fa99d708fbb7639a8b4a7bb2aa5fbaa8240f',
'f83bfb5226ad39d18599895ae35e9de60f437653'] from "git at git:my_project"
2012-10-08 16:00:43+0200 [-] checking for User Object from git Change for:
Flo <flo>
2012-10-08 16:00:44+0200 [-] added change
Change(revision=u'01c238e049c71fbd212994af1158ae64d525953a',
who=u'Flo<flo>', branch=u'master', comments=u'commit1', when=1349704649,
category=None, project=u'my_project', repository=u'git at git:my_project',
codebase=u'') to database
2012-10-08 16:00:44+0200 [-] checking for User Object from git Change for:
Flo <flo>
2012-10-08 16:00:44+0200 [-] added change
Change(revision=u'cc29fa99d708fbb7639a8b4a7bb2aa5fbaa8240f', who=u'Flo
<flo>', branch=u'master', comments=u'commit2', when=1349704650,
category=None, project=u'my_project', repository=u'git at git:my_project',
codebase=u'') to database
2012-10-08 16:00:44+0200 [-] trying to poll branch master of
git at git:my_project
Traceback (most recent call last):
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1101, in gotResult
_inlineCallbacks(r, g, deferred)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1043, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
line 382, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/buildbot-0.8.7-py2.7.egg/buildbot/changes/gitpoller.py", line
116, in poll
yield self._process_changes(rev, branch)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1045, in _inlineCallbacks
result = g.send(result)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/buildbot-0.8.7-py2.7.egg/buildbot/changes/gitpoller.py", line
205, in _process_changes
self._get_commit_files(rev),
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/buildbot-0.8.7-py2.7.egg/buildbot/changes/gitpoller.py", line
154, in _get_commit_files
d = self._dovccmd('log', args, path=self.workdir)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/buildbot-0.8.7-py2.7.egg/buildbot/changes/gitpoller.py", line
232, in _dovccmd
[command] + args, path=path, env=os.environ)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/utils.py",
line 169, in getProcessOutputAndValue
reactor)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/utils.py",
line 25, in _callProtocolWithDeferred
reactor.spawnProcess(p, executable, (executable,)+tuple(args),
env, path)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-
x86_64.egg/twisted/internet/posixbase.py", line 346, in spawnProcess
processProtocol, uid, gid, childFDs)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-
x86_64.egg/twisted/internet/process.py", line 689, in __init__
self._fork(path, uid, gid, executable, args, environment,
fdmap=fdmap)
File "/modules/buildbot/0.8.7/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-
x86_64.egg/twisted/internet/process.py", line 396, in _fork
self.pid = os.fork()
exceptions.OSError: [Errno 513] Unknown error 513
2012-10-08 16:00:45+0200 [-] gitpoller: processing 0 changes: [] from
"git at git:my_project"
2012-10-08 16:00:45+0200 [-] gitpoller: processing 0 changes: [] from
"git at git:my_project"
2012-10-08 16:00:45+0200 [-] gitpoller: processing 0 changes: [] from
"git at git:my_project"
2012-10-08 16:00:58+0200 [-] Loading builder lint on master's build 167
from on-disk pickle
}}}
So, this is a different bug than the original, but we might as well handle
it here.
This looks like an OS-level problem -- why can't Buildbot fork? selinux
maybe? I don't have a 513 error code on my Linux system. You don't
specify an operating system.
--
Ticket URL: <http://trac.buildbot.net/ticket/2337#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list