[Buildbot-devel] Scheduler issues after upgrade from 0.8.5 to 0.8.6p1

Tom Prince tom.prince at ualberta.net
Fri Jun 8 17:25:15 UTC 2012


Iustin Pop <iustin at google.com> writes:

> Hi all,
>
> I see two strange things after upgrade to 0.8.6p1 but not sure if they
> are bugs or just issues with our config. Both seem to be related to
> schedulers, btw.
>
> First, changes generated by our custom git poller don't seem to be
> picked up anymore. One scheduler example:
>
>   AnyBranchScheduler(name="all",
>                      branches=UNITTEST_BRANCHES,
>                      treeStableTimer=30,
>                      builderNames=builder_tests),
>
> And the change appears in the master log:
>
> 2012-06-08 11:29:16+0000 [-] added change Change(revision=u'656db618b5690b4f655856875933fac9692fb7c7', who=u'Iustin Pop <iustin at google.com>', branch=u'stable-2.6', comments=u'Remove one obsolete hlint override', when=1339154956, category=None, project=u'', repository=u'') to database
>
> But even though 'stable-2.6' is in the UNITTEST_BRANCHES list, it's
> never picked up.

This may be a bug, but almost every time somebody has reported a
scheduler not firing, it has been a misconfiguration somewhere.


> Second issue is that it seem builds generated via 'try' or even
> timed.Nightly sometime are 'stuck' in pending and do not go away for
> hours, until master restart.

I'm not sure what to suggest about this, except to ask for more
information. All the slaves for the assoicated builders are online?


> 2012-06-08 10:07:14+0000 [-] WARN attached_slaves: 0 7
>
> because:
> 2012-06-08 10:17:14+0000 [-] Counter BotMaster.attached_slaves: 0
> 2012-06-08 10:17:14+0000 [-] Counter AbstractBuildSlave.attached_slaves: 7

I'm not sure what causes this, but I wouldn't be suprised if it is
harmless. The metrics code hasn't seem much work, and it looks like the
counter names don't match up everywhere.


> 2012-06-08 10:00:14+0000 [HTTPChannel,0,127.0.0.1] unable to save build qa-kvm-tiny-#3
> 2012-06-08 10:00:14+0000 [HTTPChannel,0,127.0.0.1] Unhandled Error
> &
>   File "/usr/local/lib/python2.6/dist-packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/build.py", line 408, in saveYourself
>    dump(self, open(tmpfilename, "wb"), -1)
>   cPickle.PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed

I think this is fixed by
https://github.com/tomprince/buildbot/commit/pickle-error


  Tom




More information about the devel mailing list