[Buildbot-devel] SingleBranchScheduler in 0.8.5 does not show "next in ... minutes" anymore?

André Anjos andre.anjos at idiap.ch
Thu Feb 2 20:29:09 UTC 2012


Hello all,

Just upgraded to 0.8.5. The code base seems more streamlined which is
very nice. Everything works as expected after a few changes here and
there (I'm migrating from 0.8.1). The only thing we cannot make work
is a feature we used to have before in which, when a change was
submitted to the repository, a countdown for the (incremental) build
would be displayed on the relevant column of the waterfall page.

The countdowns for the Nightly schedulers work just fine. What does
not work anymore is the "treeStableTimer" countdown on incremental
builds using the SingleBranchScheduler. Is this expected or is there a
way to fix it?

Here is the relevant code in my master.cfg:

c['schedulers'] = []

#Defines the filter that is required by the incremental builder
increm_filter = filter.ChangeFilter(branch='master')

#The incremental builds run when people check-in code. We tipically wait 10
#minutes before starting to avoid the commit avalanche effect
c['schedulers'].append(
    basic.SingleBranchScheduler(
      name="incremental",
      treeStableTimer=600,
      change_filter=increm_filter,
      builderNames=["linux-x86_64-debug-incremental"],
      )
    )

The changes are triggered by github post-commit hook notifications via
the WebStatus API as indicated on the buildbot manual. The changes are
received OK and the build happens, as programmed, 10 minutes after the
change has been received. The only problem seems to be related to the
countdown which is no longer displayed.

Suggestions?

Thanks, A

-- 
Dr. André Anjos
Idiap Research Institute
Centre du Parc - rue Marconi 19
CH-1920 Martigny, Suisse
Phone: +41 27 721 7763
Fax: +41 27 721 7712
http://andreanjos.org




More information about the devel mailing list