[Buildbot-commits] [Buildbot] #2478: Triggerable schedulers not triggered, "sourcestamps.repository may not be NULL"
Buildbot trac
trac at buildbot.net
Thu Mar 21 10:10:12 UTC 2013
#2478: Triggerable schedulers not triggered, "sourcestamps.repository may not be
NULL"
-------------------------+-----------------------
Reporter: thomaswayden | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7p1 | Keywords:
-------------------------+-----------------------
When the build of project A finishes, I'm trying to kick off a build of
the latest revision of project B with the bits from A installed.
So at the end of my build steps I added:
{{{
trigger.Trigger(schedulerNames=['projectB-trigger'], alwaysUseLatest =
True)
}}}
But the corresponding Triggerable is never called and I have this in my
master log:
{{{
2013-03-21 01:16:52+0100 [-] releaseLocks(<BuilditStep object at
0x10e9a4f10>): []
2013-03-21 01:16:52+0100 [-] step 'Buildit' complete: success
2013-03-21 01:16:53+0100 [-] releaseLocks(<buildbot.steps.trigger.Trigger
object at 0x10e9a4950>): []
2013-03-21 01:16:53+0100 [-] step 'trigger' complete: success
2013-03-21 01:16:53+0100 [-] <Build projectA-build>: build finished
2013-03-21 01:16:54+0100 [-] setting expectations for next time
2013-03-21 01:16:54+0100 [-] new expectations: 2473.42296886 seconds
2013-03-21 01:16:55+0100 [-] releaseLocks(<BuildSlave 'slave'>): []
2013-03-21 01:16:58+0100 [-] (ignored) while invoking Triggerable
schedulers:
Traceback (most recent call last):
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 422, in errback
self._startRunCallbacks(fail)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 489, in _startRunCallbacks
self._runCallbacks()
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 576, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1127, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/buildbot/schedulers/base.py", line 356, in
addBuildsetForSourceStampSetDetails
sourcestampsetid=new_setid)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/python/threadpool.py", line 172, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/buildbot/db/pool.py", line 182, in __thd
rv = callable(arg, *args, **kwargs)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/buildbot/db/sourcestamps.py", line 64, in thd
sourcestampsetid=sourcestampsetid))
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/sqlalchemy/engine/base.py", line 1449, in execute
params)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/Users/test/buildbot/sandbox/lib/python2.7/site-
packages/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (IntegrityError)
sourcestamps.repository may not be NULL u'INSERT INTO sourcestamps
(branch, revision, patchid, repository, codebase, project,
sourcestampsetid) VALUES (?, ?, ?, ?, ?, ?, ?)' (None, None, None, None,
'', '', 80)
}}}
I'm running the latest version (0.8.7p1).
Am I doing anything wrong?
Thanks!
--
Ticket URL: <http://trac.buildbot.net/ticket/2478>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list