[Buildbot] #3191: TestRealDB.test_getChangesForBuild failing for postgres
Buildbot trac
trac at buildbot.net
Sun Feb 8 18:18:03 UTC 2015
#3191: TestRealDB.test_getChangesForBuild failing for postgres
--------------------+----------------------
Reporter: dustin | Owner: dustin
Type: defect | Status: new
Priority: blocker | Milestone: 0.9.0b1
Version: master | Resolution:
Keywords: |
--------------------+----------------------
Comment (by dustin):
Git bisect blames a52fcdda6797681bd33c00d358dbbff8d066b18b which is
obviously unrelated:
{{{
commit a52fcdda6797681bd33c00d358dbbff8d066b18b
Author: MaximeSangoi <maxime.sangoi at gmail.com>
Date: Fri Dec 19 16:55:44 2014 +0100
Add new module to left menu
www/base/src/app/settings/settings.controller.coffee | 9 +++++++++
www/base/src/app/settings/settings.route.coffee | 27
+++++++++++++++++++++++++++
www/base/src/app/settings/settings.tpl.jade | 9 +++++++++
3 files changed, 45 insertions(+)
}}}
Bisecting just changes in master/ blames
3f160a806dd8795e6ffc5b8c241c89f3cc4160fd, which also *seems* unrelated,
but I can repeatedly see the failure at that commit but not at its parent,
55446d2. The commit is
{{{
commit 3f160a806dd8795e6ffc5b8c241c89f3cc4160fd
Author: Pierre Tardy <pierre.tardy at intel.com>
Date: Fri Jan 23 21:50:41 2015 +0100
fix tests
Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>
diff --git a/master/buildbot/test/fake/fakedb.py
b/master/buildbot/test/fake/fakedb.py
index 9b4f4ea..3b4b4db 100644
--- a/master/buildbot/test/fake/fakedb.py
+++ b/master/buildbot/test/fake/fakedb.py
@@ -827,16 +827,19 @@ class FakeChangesComponent(FakeDBComponent):
return defer.succeed(chdicts)
def getChangesCount(self):
return len(self.changes)
def getChangesForBuild(self, buildid):
pass
+ def getChangeFromSSid(self, ssid):
+ pass
+
def _chdict(self, row):
chdict = row.copy()
del chdict['uids']
if chdict['parent_changeids'] is None:
chdict['parent_changeids'] = []
chdict['when_timestamp'] = _mkdt(chdict['when_timestamp'])
return chdict
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/3191#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list