All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util.
@ 2016-06-17 16:05 Aníbal Limón
  2016-06-20  7:42 ` Beth 'pidge' Flanagan
  0 siblings, 1 reply; 3+ messages in thread
From: Aníbal Limón @ 2016-06-17 16:05 UTC (permalink / raw)
  To: yocto

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@linux.intel.com>
---
 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
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util.
  2016-06-17 16:05 [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util Aníbal Limón
@ 2016-06-20  7:42 ` Beth 'pidge' Flanagan
  2016-06-20 15:05   ` Aníbal Limón
  0 siblings, 1 reply; 3+ messages in thread
From: Beth 'pidge' Flanagan @ 2016-06-20  7:42 UTC (permalink / raw)
  To: Aníbal Limón, yocto

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@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util.
  2016-06-20  7:42 ` Beth 'pidge' Flanagan
@ 2016-06-20 15:05   ` Aníbal Limón
  0 siblings, 0 replies; 3+ messages in thread
From: Aníbal Limón @ 2016-06-20 15:05 UTC (permalink / raw)
  To: pidge, yocto

[-- Attachment #1: Type: text/plain, Size: 2372 bytes --]



On 06/20/2016 02:42 AM, Beth 'pidge' Flanagan wrote:
> 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@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?

I ran into my machine and it works ok, but for BitbakeShell related
changes we need to wait the integration of other related changes into
Error report web because with the new changes the AB starts to send a
new field to the ERW and it possible could cause problems.

	alimon

> 
> -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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-20 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 16:05 [PATCH][yocto-autobuilder] autobuilder/Autobuilder.p: Add missing import of buildbot.util Aníbal Limón
2016-06-20  7:42 ` Beth 'pidge' Flanagan
2016-06-20 15:05   ` Aníbal Limón

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.