<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I tried to sign up to log into the issue tracker but the capta is
evidently not working. If anyone wants to give me the username
dvitek that would work.<br>
<br>
1) With the web application, the "force build" form seems to ignore
the contents of the "Your name" field. It always sends email to
anonymous@ instead of the username provided by the client. The
"Build properties" end up saying:<br>
<table class="table table-hover table-striped table-condensed
ng-scope ng-isolate-scope" properties="properties"
style="box-sizing: border-box; border-collapse: collapse;
border-spacing: 0px; max-width: 100%; width: 1140px;
margin-bottom: 20px; color: rgb(51, 51, 51); font-family:
"Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 20px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<tbody style="box-sizing: border-box;">
<tr ng-repeat="(name, value) in properties | publicFields"
class="ng-scope" style="box-sizing: border-box;">
<td class="text-left ng-binding" style="box-sizing:
border-box; padding: 5px; text-align: left; line-height:
1.42857; vertical-align: top; border-top-width: 1px;
border-top-style: solid; border-top-color: rgb(221, 221,
221); background-color: rgb(245, 245, 245);">owner</td>
<td class="text-center ng-binding" style="box-sizing:
border-box; padding: 5px; text-align: center; line-height:
1.42857; vertical-align: top; border-top-width: 1px;
border-top-style: solid; border-top-color: rgb(221, 221,
221); background-color: rgb(245, 245, 245);">anonymous</td>
<td class="text-right ng-binding" style="box-sizing:
border-box; padding: 5px; text-align: right; line-height:
1.42857; vertical-align: top; border-top-width: 1px;
border-top-style: solid; border-top-color: rgb(221, 221,
221); background-color: rgb(245, 245, 245);">Force Build
Form</td>
</tr>
</tbody>
</table>
Old versions of buildbot would email the specified username if the
forced build failed. The new one just causes bounces because it
always emails anonymous@.<br>
<br>
2) If I take an existing buildmaster, adjust the configuration so it
has a many-to-many (builder, tag) relation, and then run "buildbot
reconfig" I get a couple exceptions. I do not know if the same
thing happens if there is no pre-existing database. In the old
configuration that did not cause problems where no builder had more
than one tag. Some old tags went away entirely.<br>
<br>
This constriant violation happens every time buildbot reconfig or
buildbot start runs.<br>
<br>
2016-07-29 14:33:01-0400 [-] Got fatal Exception on DB<br>
Traceback (most recent call last):<br>
Failure: sqlalchemy.exc.IntegrityError:
(pysqlite2.dbapi2.IntegrityError) columns builderid, tagid are not
unique [SQL: u'INSERT INTO builders_tags (builderid, tagid) VALUES
(?, ?)'] [parameters: ((172, 23), (172, 23))]<br>
<br>
<br>
2016-07-29 14:33:01-0400 [-] Unhandled error in Deferred:<br>
2016-07-29 14:33:01-0400 [-] Unhandled Error<br>
Traceback (most recent call last):<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 434, in errback<br>
self._startRunCallbacks(fail)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 501, in _startRunCallbacks<br>
self._runCallbacks()<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 588, in _runCallbacks<br>
current.result = callback(current.result, *args, **kw)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1184, in gotResult<br>
_inlineCallbacks(r, g, deferred)<br>
--- <exception caught here> ---<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1126, in _inlineCallbacks<br>
result = result.throwExceptionIntoGenerator(g)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
line 389, in throwExceptionIntoGenerator<br>
return g.throw(self.type, self.value, self.tb)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/db/builders.py",
line 69, in updateBuilderInfo<br>
defer.returnValue((yield self.db.pool.do(thd)))<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py",
line 246, in inContext<br>
result = inContext.theWork()<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py",
line 262, in <lambda><br>
inContext.theWork = lambda: context.call(ctx, func,
*args, **kw)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
line 118, in callWithContext<br>
return self.currentContext().callWithContext(ctx, func,
*args, **kw)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
line 81, in callWithContext<br>
return func(*args,**kw)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/db/pool.py",
line 175, in __thd<br>
rv = callable(arg, *args, **kwargs)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/db/builders.py",
line 65, in thd<br>
for tagid in tagsids]).close()<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
line 914, in execute<br>
return meth(self, multiparams, params)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/sql/elements.py",
line 323, in _execute_on_connection<br>
return connection._execute_clauseelement(self,
multiparams, params)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
line 1010, in _execute_clauseelement<br>
compiled_sql, distilled_params<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
line 1146, in _execute_context<br>
context)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
line 1341, in _handle_dbapi_exception<br>
exc_info<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/util/compat.py",
line 202, in raise_from_cause<br>
reraise(type(exception), exception, tb=exc_tb,
cause=cause)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
line 1116, in _execute_context<br>
context)<br>
File
"/tmp/neiltmp/lib/python2.7/site-packages/sqlalchemy/engine/default.py",
line 447, in do_executemany<br>
cursor.executemany(statement, parameters)<br>
sqlalchemy.exc.IntegrityError:
(pysqlite2.dbapi2.IntegrityError) columns builderid, tagid are not
unique [SQL: u'INSERT INTO builders_tags (builderid, tagid) VALUES
(?, ?)'] [parameters: ((172, 23), (172, 23))]<br>
<br>
<br>
<br>
This exception occurred the when reconfig ran after previously
running without the tag changes.<br>
<br>
2016-07-29T14:35:37-0400 [-] during reconfig:<br>
Traceback (most recent call last):<br>
File
"/usr/local/lib/python2.7/dist-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1274, in unwindGenerator<br>
return _inlineCallbacks(None, gen, Deferred())<br>
File
"/usr/local/lib/python2.7/dist-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1128, in _inlineCallbacks<br>
result = g.send(result)<br>
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/process/measured_service.py",
line 29, in reconfigServiceWithBuildbotConfig<br>
yield super(MeasuredBuildbotServiceManager,
self).reconfigServiceWithBuildbotConfig(new_config)<br>
File
"/usr/local/lib/python2.7/dist-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1274, in unwindGenerator<br>
return _inlineCallbacks(None, gen, Deferred())<br>
--- <exception caught here> ---<br>
File
"/usr/local/lib/python2.7/dist-packages/Twisted-16.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
line 1128, in _inlineCallbacks<br>
result = g.send(result)<br>
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/util/service.py",
line 426, in reconfigServiceWithBuildbotConfig<br>
yield svc.reconfigServiceWithSibling(config_sibling)<br>
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/util/service.py",
line 141, in reconfigServiceWithSibling<br>
if self.configured and sibling == self:<br>
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.9.0rc1-py2.7.egg/buildbot/util/__init__.py",
line 138, in __cmp__<br>
return cmp(self_list, them_list)<br>
exceptions.TypeError: cannot compare sets using cmp()<br>
<br>
2016-07-29T14:35:37-0400 [-] WARNING: reconfig partially applied;
master may malfunction<br>
<br>
<br>
A couple other random questions after the upgrade to 0.9:<br>
<br>
Is there any way to make the "Builders" page always show the result
of the most recent run, even if it's older than the time horizon it
seems to want to show?<br>
<br>
Do you know what it means if a builder's page shows a build is
'building' but the build's page says it is 'finished (n days ago)'?<br>
<br>
- Dave<br>
<br>
PS<br>
There might be a javascript memory drag on the "builders" page. If
I leave it open overnight, chrome will invariably have a crashed tab
in the morning.<br>
<br>
</body>
</html>