[yocto] [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util.

Beth 'pidge' Flanagan pidge at toganlabs.com
Mon Jun 20 00:42:18 PDT 2016


On Fri, 2016-06-17 at 11:05 -0500, Aníbal Limón wrote:
> When try to start Autobuilder fails with the next exception,
> 
> 2016-06-07 17:06:45-0500 [-] LOADING CONFIG FILE
> 2016-06-07 17:06:45-0500 [-] error while parsing config file:
> 
> Traceback (most recent call last):
>           File
> "/home/alimon/repos/yocto-autobuilder/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-
> x86_64.egg/twisted/internet/defer.py",
> line 551, in _runCallbacks
> ......
> ......
> ......
>           File
> "/home/alimon/repos/yocto-autobuilder/lib/python2.7/site-
> packages/autobuilder/Autobuilder.py",
> line 54, in createBuildsets
>             util.naturalSort(buildersSorted)
>         exceptions.NameError: global name 'util' is not defined
> 
> Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>

Pulled into master.

I'm going to have a few patches today to pull in. One from Bill Randle,
and if you have the rebase done for our bitbakeshell branch, that as
well, so we might want to consider getting production updated.

Have we run your BitbakeShell branch of the devel cluster (or any
cluster not on a single machine, which is generally where we find
issues) yet?

-b


> ---
>  lib/python2.7/site-packages/autobuilder/Autobuilder.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/python2.7/site-packages/autobuilder/Autobuilder.py
> b/lib/python2.7/site-packages/autobuilder/Autobuilder.py
> index 6c3e578..23f0a74 100644
> --- a/lib/python2.7/site-packages/autobuilder/Autobuilder.py
> +++ b/lib/python2.7/site-packages/autobuilder/Autobuilder.py
> @@ -19,6 +19,7 @@ from buildbot.schedulers.basic  import
> SingleBranchScheduler
>  from buildbot.changes import filter
>  from buildbot.changes.pb import PBChangeSource
>  from buildbot.changes.gitpoller import *
> +from buildbot import util
>  from lib.ABTools import capitalize
>  import ast
>  import BuildSet



More information about the yocto mailing list