Re: [yocto] [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal

2016-07-12 Thread Aníbal Limón
On 07/12/2016 11:09 AM, Joshua G Lock wrote: > On Mon, 2016-07-11 at 16:37 -0500, Aníbal Limón wrote: >> The error report is generated into AB master and currently we >> don't have a method to get AB worker distro, so set to universal. > > Can you elaborate a bit

[yocto] [[PATCH][yocto-autobuilder] 1/2] buildbot/steps/transfer.py: Fix typo in DirectoryDownload step.

2016-07-11 Thread Aníbal Limón
DirectoryDownload step is based on UploadDirectory and i miss to upgrade the error log when the buildslave don't support downloadDirectory previously said uploadDirectory. Signed-off-by: Aníbal Limón --- .../site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/transfer.py | 2 +- 1

[yocto] [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal

2016-07-11 Thread Aníbal Limón
The error report is generated into AB master and currently we don't have a method to get AB worker distro, so set to universal. Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [yocto] [Recipe reporting system] Upgradable recipe name list

2016-07-01 Thread Aníbal Limón
.23.6Alexander Kanavin > babeltrace1.3.2 1.4.0 Alexander Kanavin > mkelfimage4.0+gitX 4.4+gitAUTOINC+58... Alexander Kanavin > mkelfimage has been removed... > desktop-file-util... 0.22 0.23

[yocto] [PATCH][yocto-autobuilder] nightly-world-lsb.conf: Update buildstep name DownloadBitbakeErrorReports -> DownloadErrorReports

2016-06-28 Thread Aníbal Limón
The reference of the buildsteps for download error reports was updated [1] but, i forget to update this one. [1] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=e1e7c3b86720786ae4f60da008f68d4cf5d58559 Signed-off-by: Aníbal Limón --- buildset-config.controller/nightly

Re: [yocto] [[yocto-autobuilder][PATCHv2] 00/15] Add support for generate bitbake/oe-selftest error reports

2016-06-28 Thread Aníbal Limón
out that, i sent another patch for fix it, https://lists.yoctoproject.org/pipermail/yocto/2016-June/030860.html alimon > > > -b > > On Tue, 2016-06-21 at 18:07 -0500, Aníbal Limón wrote: >> This v2 adds support for generate also oe-selftest reports this is >>

[yocto] [PATCH] nightly-world-lsb.conf: Update name buildstep DownloadBitbakeErrorReports -> DownloadErrorReports

2016-06-28 Thread Aníbal Limón
The reference of the buildsteps for download error reports was updated [1] but, i forget to update this one. [1] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=e1e7c3b86720786ae4f60da008f68d4cf5d58559 Signed-off-by: Aníbal Limón --- buildset-config.controller/nightly

Re: [yocto] [[yocto-autobuilder][PATCHv2] 00/15] Add support for generate bitbake/oe-selftest error reports

2016-06-23 Thread Aníbal Limón
On 06/22/2016 03:17 PM, Aníbal Limón wrote: > > > On 06/22/2016 02:44 AM, Beth 'pidge' Flanagan wrote: >> On Tue, 2016-06-21 at 18:07 -0500, Aníbal Limón wrote: >>> This v2 adds support for generate also oe-selftest reports this is >>> almost >>

Re: [yocto] [[yocto-autobuilder][PATCHv2] 00/15] Add support for generate bitbake/oe-selftest error reports

2016-06-22 Thread Aníbal Limón
On 06/22/2016 02:44 AM, Beth 'pidge' Flanagan wrote: > On Tue, 2016-06-21 at 18:07 -0500, Aníbal Limón wrote: >> This v2 adds support for generate also oe-selftest reports this is >> almost >> the previous version with changes requested in review [1], the next

[yocto] [[yocto-autobuilder][PATCHv2] 15/15] buildset-config: Update references from DownloadBitbakeErrorReports to DownloadErrorReports

2016-06-21 Thread Aníbal Limón
Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep. Signed-off-by: Aníbal Limón --- buildset-config.controller/build-appliance.conf | 2 +- buildset-config.contr

[yocto] [[yocto-autobuilder][PATCHv2] 14/15] autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to DownloadErrorReports

2016-06-21 Thread Aníbal Limón
Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep. Signed-off-by: Aníbal Limón --- .../buildsteps/DownloadBitbakeErrorReports.py | 42 -- .../autobu

[yocto] [[yocto-autobuilder][PATCHv2] 12/15] buildsteps/RunOeSelftest.py: Add support for create/save error reports

2016-06-21 Thread Aníbal Limón
Now when oe-selftest fails the error report for send to the Error report web are created and saved in the controller. Since oe-selftest is intended to do a build system testing the values for MACHINE, TARGET_SYS and DISTRO are provided so use universal value instead. Signed-off-by: Aníbal Limón

[yocto] [[yocto-autobuilder][PATCHv2] 13/15] nightly-oe-selftest.conf: Add steps for Download and Send error report.

2016-06-21 Thread Aníbal Limón
These steps are needed for enable sending of Oe selftest error reports to the Error report WEB. Signed-off-by: Aníbal Limón --- buildset-config.controller/nightly-oe-selftest.conf | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildset-config.controller/nightly-oe

[yocto] [[yocto-autobuilder][PATCHv2] 10/15] autobuilder/lib/{ABtools, builsteps}.py: Create save_error_report func

2016-06-21 Thread Aníbal Limón
Create new generic function save_error_report based on _saveBitbakeErrorReport in order to use the same function on OESelftest error reports. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/ABTools.py | 13 .../site-packages/autobuilder/lib/buildsteps.py

[yocto] [[yocto-autobuilder][PATCHv2] 11/15] autobuilder/lib/ABTools.py: Add get_lsb_distro function

2016-06-21 Thread Aníbal Limón
Try to get Linux distribution ID using lsb_release if lsb_release isn't installed use information provided by linux_distribution() method in platform returns "DISTRONAME-VERSION". Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/ABTools.py | 29 ++

[yocto] [[yocto-autobuilder][PATCHv2] 07/15] buiidsets: Add DownloadBitbakeErrorReport step

2016-06-21 Thread Aníbal Limón
Add DownloadBitbakeErrorReport step to buildsets that uses bitbake, this step is responsable to download bitbake error reports (if bitbake fails) to slave in order to send it to Error report web. Signed-off-by: Aníbal Limón --- buildset-config.controller/build-appliance.conf | 1

[yocto] [[yocto-autobuilder][PATCHv2] 09/15] autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report types.

2016-06-21 Thread Aníbal Limón
The error report type values changed so update it to match the new ones. Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py b

[yocto] [[yocto-autobuilder][PATCHv2] 08/15] lib/buildsteps.py: BitbakeShellCommand add support for error_type

2016-06-21 Thread Aníbal Limón
When generate bitbake error reports two type of errors could be happen a bitbake generic one or when is running bitbake-selftest. Also split the command removing environment only leave the bitbake command and it's arguments. Signed-off-by: Aníbal Limón --- lib/python2.7/site-pac

[yocto] [[yocto-autobuilder][PATCHv2] 06/15] autobuilder/buildsteps: Add DownloadBitbakeErrorReports step

2016-06-21 Thread Aníbal Limón
Now the worker is responsible of sending error reports to ERW so in order to don't duplicate functionality add this step for download bitbake error reports generated in master AB. Signed-off-by: Aníbal Limón --- .../buildsteps/DownloadBitbakeErrorReports.py | 42

[yocto] [[yocto-autobuilder][PATCHv2] 05/15] buildbot: Add support for DirectoryDownload transfer step

2016-06-21 Thread Aníbal Limón
tarfile into specific directory. Signed-off-by: Aníbal Limón --- .../buildbot/steps/transfer.py | 86 +- .../buildslave/commands/registry.py| 1 + .../buildslave/commands/transfer.py| 79 3 files changed, 164

[yocto] [[yocto-autobuilder][PATCHv2] 04/15] lib/ABTools: Add functions for get errordir path in controller and worker

2016-06-21 Thread Aníbal Limón
get_error_report_controller_dir: Returns controller error report dir where bitbake exception/errors are stored. get_error_report_worker_dir: Returns controller error report dir where recipe task failures are stored. Also update the current sources to use that functions. Signed-off-by: Aníbal

[yocto] [[yocto-autobuilder][PATCHv2] 03/15] lib/buildsteps: BitbakeShellCommand add support for create error reports

2016-06-21 Thread Aníbal Limón
When bitbake command fails and isn't a recipe task failure then create an error report and store into yocto-controller folder for be able to transfer to the worker in order to send to the Error report web. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py

[yocto] [[yocto-autobuilder][PATCHv2] 02/15] lib/buildsteps.py: Add BitbakeLogLineObserver for BitbakeShellCommands.

2016-06-21 Thread Aníbal Limón
The BitbakeLogLineObserver look into stdio output of bitbake process and identify for exception/errors into log, Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py| 51 ++ 1 file changed, 51 insertions(+) diff --git a/lib/python2.7/site

[yocto] [[yocto-autobuilder][PATCHv2] 01/15] lib/buildsteps.py: Add BitbakeShellCommand class

2016-06-21 Thread Aníbal Limón
d-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 7 +-- .../site-packages/autobuilder/buildsteps/BuildToolchainImages.py | 7 +-- .../site-packages/autobuilder/buildsteps/GetBitbakeVersion.py | 6 -- .../site-packages/autobu

[yocto] [[yocto-autobuilder][PATCHv2] 00/15] Add support for generate bitbake/oe-selftest error reports

2016-06-21 Thread Aníbal Limón
] https://lists.yoctoproject.org/pipermail/yocto/2016-June/030515.html [2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=contrib/alimon/devel Aníbal Limón (15): lib/buildsteps.py: Add BitbakeShellCommand class lib/buildsteps.py: Add BitbakeLogLineObserver for

[yocto] [[PATCH][AUH] 3/3] upgradehelper.py: Disable _order_pkgs_to_upgrade functionality

2016-06-20 Thread Aníbal Limón
The _order_pkgs_to_upgrade function order a set of packages to be upgraded based on bitbake dependency graph, currently _order_pkgs_to_upgrade is broken so disable it while fix. Signed-off-by: Aníbal Limón --- upgradehelper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[yocto] [[PATCH][AUH] 1/3] Small fixes to use with Python3.

2016-06-20 Thread Aníbal Limón
[YOCTO #9747] Signed-off-by: Aníbal Limón --- modules/recipe/svn.py | 2 +- modules/utils/emailhandler.py | 2 +- upgradehelper.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/recipe/svn.py b/modules/recipe/svn.py index 6d60529..6dadafd

[yocto] [[PATCH][AUH] 2/3] upgradehelper.py: Move build of gcc runtime after discover packages

2016-06-20 Thread Aníbal Limón
If no packages are found to upgrade, it didn't make sense to build gcc runtime before is only a waste of time. Signed-off-by: Aníbal Limón --- upgradehelper.py | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/upgradehelper.py b/upgradehelp

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

2016-06-20 Thread Aníbal Limón
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-050

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

2016-06-17 Thread Aníbal Limón
lSort(buildersSorted) exceptions.NameError: global name 'util' is not defined Signed-off-by: Aníbal Limón --- 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/pytho

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-15 Thread Aníbal Limón
On 06/15/2016 08:19 AM, Joshua G Lock wrote: > On Tue, 2016-06-14 at 12:03 -0500, Aníbal Limón wrote: >> >> On 06/14/2016 10:57 AM, Aníbal Limón wrote: >>> >>> >>> On 06/14/2016 10:09 AM, Lock, Joshua G wrote: >>>> On Thu, 2016-06

Re: [yocto] [[PATCH][error-report-web] 5/8] Post/models.py: Build model add support for Error type.

2016-06-14 Thread Aníbal Limón
On 06/14/2016 11:44 AM, Aníbal Limón wrote: > > > On 06/14/2016 08:30 AM, Michael Wood wrote: >> On 14/06/16 00:32, Aníbal Limón wrote: >>> In order to support other errors not only Recipe ones adds >>> a ERROR_TYPE field to the Build model defaults to "

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-14 Thread Aníbal Limón
On 06/14/2016 10:57 AM, Aníbal Limón wrote: > > > On 06/14/2016 10:09 AM, Lock, Joshua G wrote: >> On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: >>> Hi folks, >>> >>> Currently we support to send error reports to errors.yoctoproject.or

Re: [yocto] [[PATCH][error-report-web] 5/8] Post/models.py: Build model add support for Error type.

2016-06-14 Thread Aníbal Limón
On 06/14/2016 08:30 AM, Michael Wood wrote: > On 14/06/16 00:32, Aníbal Limón wrote: >> In order to support other errors not only Recipe ones adds >> a ERROR_TYPE field to the Build model defaults to "Recipe". >> >> Add a class for store BuildErrorTyp

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-14 Thread Aníbal Limón
On 06/14/2016 10:09 AM, Lock, Joshua G wrote: > On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: >> Hi folks, >> >> Currently we support to send error reports to errors.yoctoproject.org >> about failing tasks on bitbake using SendErrorReport buildstep but w

[yocto] [[PATCH][error-report-web] 8/8] Post/{models, views}.py: Add FAILURE field on BuildFailure model

2016-06-13 Thread Aníbal Limón
In order to support filters using django Paginator adds a FAILURE field by default contains "RECIPE: TASK" when ERROR_TYPE is Recipe instead contains only "TASK". [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/migrations/0006_buildfailure_failure.py | 28 ++

[yocto] [[PATCH][error-report-web] 7/8] views/templates: Add support for display different type of errors

2016-06-13 Thread Aníbal Limón
Now we have a set of different type of errors not only Recipe ones this change enable support for display it based on design did by Belen Barros [1]. [YOCTO #7583] [1] https://bugzilla.yoctoproject.org/attachment.cgi?id=3214 Signed-off-by: Aníbal Limón --- Post/views.py| 16

[yocto] [[PATCH][error-report-web] 3/8] Post/models.py: Increase the TASK field length

2016-06-13 Thread Aníbal Limón
Now bitbake exception/errors can be published into ERW so TASK in bitbake is the command line executed. [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/migrations/0004_auto_20160530_1126.py | 20 Post/models.py | 2 +- 2 files changed, 21

[yocto] [[PATCH][error-report-web] 2/8] urls.py: RedirectView, fix warnings about change of default value in django 1.9

2016-06-13 Thread Aníbal Limón
RedirectView.permanent' will change from True to False in Django 1.9. Set an explicit value to silence this warning. url(r'^Errors/Search/Args/$', RedirectView.as_view(pattern_name="Post.views.search",query_string=True), {'mode':results_mode.SEARCH }), [YOCTO

[yocto] [[PATCH][error-report-web] 6/8] Post/{models, parser}.py: Add support for receive/store error_type.

2016-06-13 Thread Aníbal Limón
For compatibility reasons if error_type isn't specified in the JSON payload use BuildErrorType.RECIPE by default. [YOCTO #7584] Signed-off-by: Aníbal Limón --- Post/models.py | 10 ++ Post/parser.py | 11 +-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a

[yocto] [[PATCH][error-report-web] 5/8] Post/models.py: Build model add support for Error type.

2016-06-13 Thread Aníbal Limón
In order to support other errors not only Recipe ones adds a ERROR_TYPE field to the Build model defaults to "Recipe". Add a class for store BuildErrorType currently supported Recipe, Core, Bitbake selftest and OE selftest. [YOCTO #7583] Signed-off-by: Aníbal Limón --- Post/

[yocto] [[PATCH][error-report-web] 4/8] Post/migrations/0003_auto_20150603_0913.py: Replace tabs for spaces

2016-06-13 Thread Aníbal Limón
When try to migrate using python3 it raises an exception because found tabs inside the migration. Signed-off-by: Aníbal Limón --- Post/migrations/0003_auto_20150603_0913.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Post/migrations/0003_auto_20150603_0913.py b

[yocto] [[PATCH][error-report-web] 1/8] requirements.txt: Update requeriments for use 1.8 LTS Django version.

2016-06-13 Thread Aníbal Limón
[YOCTO #9733] Signed-off-by: Aníbal Limón --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9521321..909d054 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -Django==1.7.3 +Django<1.9 pyt

[yocto] [[PATCH][error-report-web] 0/8] Allow other type of errors and django 1.8

2016-06-13 Thread Aníbal Limón
] https://bugzilla.yoctoproject.org/attachment.cgi?id=3214 Aníbal Limón (8): requirements.txt: Update requeriments for use 1.8 LTS Django version. urls.py: RedirectView, fix warnings about change of default value in django 1.9 Post/models.py: Increase the TASK field length Post

Re: [yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-13 Thread Aníbal Limón
On 06/13/2016 03:48 AM, Beth 'pidge' Flanagan wrote: > On Thu, 2016-06-09 at 16:23 -0500, Aníbal Limón wrote: >> Hi folks, >> >> Currently we support to send error reports to errors.yoctoproject.org >> about failing tasks on bitbake using SendErrorRepo

[yocto] [yocto-autobuilder] [RFC] Add support for generate bitbake error reports

2016-06-09 Thread Aníbal Limón
Hi folks, Currently we support to send error reports to errors.yoctoproject.org about failing tasks on bitbake using SendErrorReport buildstep but we have a lack of bitbake related errors like exceptions. A bug exist to implement this support into Error report web [1], i'm working on it but for g

Re: [yocto] [PATCH][opkg-utils] opkg-build: Exit when fail to list files.

2016-04-01 Thread Aníbal Limón
Hi, Comments below, alimon On 03/31/2016 11:26 PM, Mike Looijmans wrote: > On 31-03-16 23:27, Aníbal Limón wrote: >> We have an issue when ls segfaults in some cases [1] so it's >> better to detect the failure at this level instead of continue >> the build p

[yocto] [PATCH][opkg-utils] opkg-build: Exit when fail to list files.

2016-03-31 Thread Aníbal Limón
We have an issue when ls segfaults in some cases [1] so it's better to detect the failure at this level instead of continue the build process. [YOCTO #8926] [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8926#c0 Signed-off-by: Aníbal Limón --- opkg-build | 8 1 file chang

[yocto] [PATCH] opkg-build: Exit when fail to list files.

2016-03-31 Thread Aníbal Limón
We have an issue when ls segfaults in some cases [1] so it's better to detect the failure at this level instead of continue the build process. [YOCTO #8926] [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8926#c0 Signed-off-by: Aníbal Limón --- opkg-build | 8 1 file chang

[yocto] [PATCH][rrs] tools/rrs_distros.py: Fix distro_check.create_distro_packages_list call

2016-03-28 Thread Aníbal Limón
Now create_distro_packages_list requires d to be passed, this change was done to enable proxy support into create_distro_packages_list function. Signed-off-by: Aníbal Limón --- rrs/tools/rrs_distros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrs/tools/rrs_distros.py

[yocto] [PATCH][rrs] rrs: Fix frontpage redirect

2016-03-22 Thread Aníbal Limón
We was experimenting fixed redirects due to urls are cached at init of rrs. Move the redirect Release, Milestone selection to a view called FrontPageRedirect. Signed-off-by: Aníbal Limón --- rrs/urls.py | 17 +++-- rrs/views.py | 12 ++-- 2 files changed, 13 insertions

[yocto] [PATCH][yocto-docs] distrodata: Add documentation about usage distrodata/checkpkg.

2016-03-19 Thread Aníbal Limón
[YOCTO #7894] Signed-off-by: Aníbal Limón --- documentation/ref-manual/ref-classes.xml | 19 +++ 1 file changed, 19 insertions(+) diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 9625894..ab6d3d3 100644 --- a/documentation

[yocto] [PATCH][autobuilder] lib/buildsteps.py: Add BitbakeShellCommand class for dump bitbake logs

2016-02-29 Thread Aníbal Limón
: Aníbal Limón --- .../autobuilder/buildsteps/BuildImages.py | 4 +++- .../autobuilder/buildsteps/BuildToolchainImages.py | 4 +++- .../autobuilder/buildsteps/GetBitbakeVersion.py| 4 +++- .../autobuilder/buildsteps/RunESDKSanityTests.py | 4 +++- .../autobuilder/buildsteps

Re: [yocto] [[PATCHv2][autobuilder] 4/4] buildset-config.toaster: Remove unused template toaster-build.

2016-02-22 Thread Aníbal Limón
Agree. On 02/22/2016 09:37 AM, Flanagan, Elizabeth wrote: > I'm going to pull all but this patch (4/4), because I'll eventually > need this configuration. > > -b > > On 22 February 2016 at 15:15, Aníbal Limón > wrote: >> Signed-off-by: Aníbal Limón >&

[yocto] [[PATCHv2][autobuilder] 3/4] buildset-config.toaster: Add toaster-tests.conf buildset.

2016-02-22 Thread Aníbal Limón
The toaster-tests buildset contains steps for run toaster tests in a clean way, a Sleep step is needed after setup toaster for give certain time to let toaster ends setup. Signed-off-by: Aníbal Limón --- buildset-config.toaster/toaster-tests.conf | 21 + buildset

[yocto] [[PATCHv2][autobuilder] 4/4] buildset-config.toaster: Remove unused template toaster-build.

2016-02-22 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- buildset-config.toaster/toaster-build.conf | 29 - 1 file changed, 29 deletions(-) delete mode 100644 buildset-config.toaster/toaster-build.conf diff --git a/buildset-config.toaster/toaster-build.conf b/buildset-config.toaster

[yocto] [[PATCHv2][autobuilder] 1/4] autobuilder/lib: Add buildsteps module for provide helpers

2016-02-22 Thread Aníbal Limón
Add ShellCommandCleanEnv helper for run command in a clean enviroment a shell for run the command can be specified also the variables to preserve in the new enviroment. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py| 42 ++ 1 file changed

[yocto] [[PATCHv2][autobuilder] 2/4] autobuilder/buildsteps: Add Toaster buildsteps.

2016-02-22 Thread Aníbal Limón
Adds Toaster buildsteps for setup toaster environment (installs requirements), start/stop a toaster instance and run tests. Signed-off-by: Aníbal Limón --- .../autobuilder/buildsteps/ToasterRunTests.py | 31 .../autobuilder/buildsteps/ToasterSetupVenv.py | 31

[yocto] [[PATCH][autobuilder] 8/8] buildsteps/ToasterRunTests.py: Now call run tests with verbose.

2016-02-19 Thread Aníbal Limón
In order to avoid kill by timeout call the toaster run tests with verbose option. Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/buildsteps/ToasterRunTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python2.7/site-packages/autobuilder

[yocto] [[PATCH][autobuilder] 7/8] buildset-config.toaster/toaster-tests.conf: Add Sleep step

2016-02-19 Thread Aníbal Limón
Sleep step is needed before RunTests to give certain time to toaster for finish the initial setup. Signed-off-by: Aníbal Limón --- buildset-config.toaster/toaster-tests.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/buildset-config.toaster/toaster-tests.conf b/buildset-config.toaster

[yocto] [[PATCH][autobuilder] 4/8] buildset-config.toaster: Add toaster-tests.conf.

2016-02-19 Thread Aníbal Limón
The toaster-test.conf file provides buildsteps for run toaster testing. For now only setup/start/stop toaster. Signed-off-by: Aníbal Limón --- buildset-config.toaster/toaster-tests.conf | 19 +++ buildset-config.toaster/yoctoAB.conf | 2 +- 2 files changed, 20 insertions

[yocto] [[PATCH][autobuilder] 5/8] buildsteps/ToasterRunTests.py: Add step for run toaster tests. buildset-config.toaster/toaster-tests.conf: Add ToasterRunTests step.

2016-02-19 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- buildset-config.toaster/toaster-tests.conf | 1 + .../autobuilder/buildsteps/ToasterRunTests.py | 31 ++ 2 files changed, 32 insertions(+) create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/ToasterRunTests.py

[yocto] [[PATCH][autobuilder] 3/8] autobuilder/buildsteps: Add ToasterStart and ToasterStop buildsteps.

2016-02-19 Thread Aníbal Limón
These buildsteps servers for start/stop toaster in a clean way. Signed-off-by: Aníbal Limón --- .../autobuilder/buildsteps/ToasterStart.py | 32 + .../autobuilder/buildsteps/ToasterStop.py | 33 ++ 2 files changed, 65 insertions

[yocto] [[PATCH][autobuilder] 2/8] autobuilder/buildsteps: Add ToasterSetupVenv step.

2016-02-19 Thread Aníbal Limón
ToasterSetupVenv creates a virtualenv and install requeriments for run toaster and toaster tests. Signed-off-by: Aníbal Limón --- .../autobuilder/buildsteps/ToasterSetupVenv.py | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 lib/python2.7/site-packages

[yocto] [[PATCH][autobuilder] 6/8] autobuilder/lib/buildsteps.py: ShellCommandCleanEnv preserve PATH

2016-02-19 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py b/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py index 8b719fa

[yocto] [[PATCH][autobuilder] 0/8] Add toaster test suite support

2016-02-19 Thread Aníbal Limón
Aníbal Limón (8): autobuilder/lib: Add buildsteps module for provide helpers autobuilder/buildsteps: Add ToasterSetupVenv step. autobuilder/buildsteps: Add ToasterStart and ToasterStop buildsteps. buildset-config.toaster: Add toaster-tests.conf. buildsteps/ToasterRunTests.py: Add step

[yocto] [[PATCH][autobuilder] 1/8] autobuilder/lib: Add buildsteps module for provide helpers

2016-02-19 Thread Aníbal Limón
Add ShellCommandCleanEnv helper for run command in a clean enviroment a shell for run the command can be specified also the variables to preserve in the new enviroment. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py| 41 ++ 1 file changed

[yocto] [[PATCH][qa-tools] 16/16] README.md: Add recommendation to use vncserver for run Toaster tests.

2016-02-09 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- README.md | 13 + 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a07e27f..4ffc021 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,16 @@ detected when use dash. === Toaster === - firefox web browser for use selenium

[yocto] [[PATCH][qa-tools] 15/16] toaster/helpers.py: Fix ToasterHelper setup method git checkout.

2016-02-09 Thread Aníbal Limón
27;jethro' which can not be resolved as commit? Signed-off-by: Aníbal Limón --- toaster/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toaster/helpers.py b/toaster/helpers.py index dca594f..489a60f 100644 --- a/toaster/helpers.py +++ b/toaster/helpers.p

[yocto] [[PATCH][qa-tools] 14/16] toaster/toaster.py: Add command line options.

2016-02-09 Thread Aníbal Limón
Now toaster script can receive options from command line like the repository/branch and the work directory to use. Signed-off-by: Aníbal Limón --- toaster/toaster.py | 39 ++- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/toaster/toaster.py b

[yocto] [[PATCH][qa-tools] 13/16] toaster: Add header to specify license to MIT.

2016-02-09 Thread Aníbal Limón
Also add the COPYRIGHT.MIT license file. Signed-off-by: Aníbal Limón --- COPYING.MIT| 17 + toaster/helpers.py | 4 toaster/toaster.py | 4 3 files changed, 25 insertions(+) create mode 100644 COPYING.MIT diff --git a/COPYING.MIT b/COPYING.MIT new file mode

[yocto] [[PATCH][qa-tools] 10/16] Reorder source code tree,

2016-02-09 Thread Aníbal Limón
Get rid of unnecessary level of tests folder. Move toaster/__init__.py to toaster/toaster.py program. Add empty toaster/__init__.py and external/__init__.py for said to python to use folder as module. Signed-off-by: Aníbal Limón --- external/__init__.py | 0 tests/toaster/__init__.py

[yocto] [[PATCH][qa-tools] 12/16] toaster/toaster.py: Add missing shebang to call python.

2016-02-09 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- toaster/toaster.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toaster/toaster.py b/toaster/toaster.py index d3c5fff..9f477cb 100755 --- a/toaster/toaster.py +++ b/toaster/toaster.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import unittest, time, re

[yocto] [[PATCH][qa-tools] 11/16] README.md: Update with information about setup, toaster and maintainence.

2016-02-09 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- README.md | 34 +++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4efe1a8..a07e27f 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,46 @@ Scripts used by Yocto QA Team for automatize

[yocto] [[PATCH][qa-tools] 08/16] toaster/helper.py: Add force mode to stop method.

2016-02-09 Thread Aníbal Limón
The stop method have force mode because toaster without production setup have known issues when is on load, the server response 503 service unavailable. This mode iterates over process to found PID's of toaster instance then sends SIGKILL to it. Signed-off-by: Aníbal Limón --- requeriment

[yocto] [[PATCH][qa-tools] 09/16] toaster/__init__.py: Update toaster test to match new ToasterHelper.

2016-02-09 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- tests/toaster/__init__.py | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/toaster/__init__.py b/tests/toaster/__init__.py index 3762094..d3c5fff 100755 --- a/tests/toaster/__init__.py +++ b/tests/toaster/__init__.py @@ -10,7

[yocto] [[PATCH][qa-tools] 06/16] tests/toaster/helpers.py: Fix toaster_start deadlocks.

2016-02-09 Thread Aníbal Limón
When call toaster_start on failing scenarios (already started) it becomes blocked on process.communicate() function so add my own function for solve this issue. The new function uses a tempfile instead of PIPE for avoid deadlocks. Signed-off-by: Aníbal Limón --- tests/toaster/helpers.py | 38

[yocto] [[PATCH][qa-tools] 07/16] ts/toaster/helpers.py: Add new class ToasterHelper instead functions.

2016-02-09 Thread Aníbal Limón
In order to provide a better interface add a ToasterHelper class the functionality is the same so only modified functions to match method definitions. Signed-off-by: Aníbal Limón --- tests/toaster/helpers.py | 62 ++-- 1 file changed, 34 insertions

[yocto] [[PATCH][qa-tools] 05/16] tests/toaster/helpers.py: When execute bash remove interactive mode.

2016-02-09 Thread Aníbal Limón
From: Aníbal Limón Bash interactive mode isn't useful so remove it. Signed-off-by: Aníbal Limón --- tests/toaster/helpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/toaster/helpers.py b/tests/toaster/helpers.py index 49f34da..7b82e88 100644 --- a/

[yocto] [[PATCH][qa-tools] 04/16] tests/toaster/__init__.py: Add support for clone/setup/start/stop

2016-02-09 Thread Aníbal Limón
From: Aníbal Limón The main idea is to have an script for execute tests against toaster so for now the arguments to execute toaster tests are fixed but will be configured with args in the console. Signed-off-by: Aníbal Limón --- tests/toaster/__init__.py | 23 +++ 1 file

[yocto] [[PATCH][qa-tools] 02/16] utils/run/toaster.sh: Get rid of toaster shell script.

2016-02-09 Thread Aníbal Limón
From: Aníbal Limón A module in python will be created for have toaster helpers with clone, setup, start, stop. Signed-off-by: Aníbal Limón --- utils/run/toaster.sh | 20 1 file changed, 20 deletions(-) delete mode 100755 utils/run/toaster.sh diff --git a/utils/run

[yocto] [[PATCH][qa-tools] 03/16] toaster: Add helpers for clone, setup, start and stop.

2016-02-09 Thread Aníbal Limón
From: Aníbal Limón README.md: Toaster tests requires bash so add it. TODO is add a sanity module for test this kind of issues like shell compatibility. Signed-off-by: Aníbal Limón --- README.md| 4 tests/toaster/helpers.py | 43

[yocto] [[PATCH][qa-tools] 00/16] Add Toaster test suite support

2016-02-09 Thread Aníbal Limón
are for create an buildset for our AB in order to run toaster tests. Also the changes can be found at, http://git.yoctoproject.org/cgit/cgit.cgi/qa-tools/log/?h=devel Aníbal Limón (16): README.md: Update instructions on how install host deps on debian. utils/run/toaster.sh

[yocto] [[PATCH][qa-tools] 01/16] README.md: Update instructions on how install host deps on debian.

2016-02-09 Thread Aníbal Limón
From: Aníbal Limón Signed-off-by: Aníbal Limón --- README.md | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d40c47..b5e6c8f 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,9 @@ Scripts used by Yocto QA Team for automatize QA process

[yocto] [PATCH 1/2] ptest-runner_2.0: Add ptest-runner_2.0 recipe.

2016-01-25 Thread Aníbal Limón
. - Only run certain ptests. Proposed features: - Adds support for per ptest output file. - Adds support for run ptests in parallel (review possible colisions in ptests). [YOCTO #8021] Signed-off-by: Aníbal Limón --- .../ptest-runner/ptest-runner_2.0.bb

[yocto] [PATCH 2/2] Revert "dev-manual: Updated "Running ptset" section"

2016-01-25 Thread Aníbal Limón
Due to now we use the same name for the new recipe ptest-runner instead of ptest-runner2 for maintain compatibility with old instructions/code. This reverts commit afc6cbaa80907b20b1e76cdd1620d98e1d51b976. Signed-off-by: Aníbal Limón --- documentation/dev-manual/dev-manual-common-tasks.xml | 4

[yocto] [[PATCH][AUH] 2/2] steps.py: Adds {pack, unpack}_original_workdir.

2016-01-13 Thread Aníbal Limón
The original workdir directory is needed for make diff's for example when license change [1], in order to avoid deletion of original workdir when recipe is upgraded. Signed-off-by: Aníbal Limón [1] https://lists.yoctoproject.org/pipermail/yocto/2016-January/028025.html Signed-off-by: A

[yocto] [[PATCH][AUH] 1/2] buildhistory.py: Add the ability for generate full and simple output.

2016-01-13 Thread Aníbal Limón
Now buildhistroy generate two diff files, - buildhistory-diff.txt: Simple diff generated without -a option. - buildhistory-diff-full.txt: Full diff generated contains all the packages including -dbg and -dev. Signed-off-by: Aníbal Limón --- modules

Re: [yocto] [AUH] gpgme: upgrading to 1.6.0 SUCCEEDED

2016-01-13 Thread Aníbal Limón
Hi Jussi, Thanks for the feedback, comments below... Cheers, alimon On 01/13/2016 07:42 AM, Jussi Kukkonen wrote: > Hi, > > On 11 January 2016 at 06:21, wrote: > >> Hello, >> >> You are receiving this email because you are the maintainer >> of *gpgme* recipe and this is to let you kn

[yocto] [[PATCH][RRS]] rrs/tools/rrs_upstream_email.py: Update message to point recipe file instead of deprecated upstream tracking file.

2016-01-04 Thread Aníbal Limón
Since upstream_tracking.inc file is deprecated because now every recipe has it's own upstream information then update email message according it. Signed-off-by: Aníbal Limón --- rrs/tools/rrs_upstream_email.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rrs/

[yocto] [[AUH] 3/4] upgradehelper.py: Don't remove patches if fails to apply

2015-12-11 Thread Aníbal Limón
Instead of remove patches when fails to apply now comment it this helps the maintainer to review why the patch failed to apply. Signed-off-by: Aníbal Limón --- modules/recipe/base.py | 114 ++--- upgradehelper.py | 4 +- 2 files changed, 72

[yocto] [[AUH] 4/4] utils/bitbake.py: Preserve runs in error log.

2015-12-11 Thread Aníbal Limón
When AUH is trying to do upgrades every time that fails the error log is overwrite so now append the errors this provides better complete error info to the Maintainer. Signed-off-by: Aníbal Limón --- modules/utils/bitbake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[yocto] [[AUH] 2/4] testimage: Move run code from upgradehelper to testimage

2015-12-11 Thread Aníbal Limón
Modularize code in order to keep upgradehelper small so move the code from main module to testimage. Signed-off-by: Aníbal Limón --- modules/testimage.py | 107 --- upgradehelper.py | 85 2 files

[yocto] [[AUH] 1/4] upgradehelper: commit_changes ensure that patch_file exist

2015-12-11 Thread Aníbal Limón
If patch_file isn't generated treat it as an error this avoid future exceptions in package_handler when try to send/save email. Signed-off-by: Aníbal Limón --- upgradehelper.py | 34 +++--- 1 file changed, 27 insertions(+), 7 deletions(-) diff --

[yocto] [[RRS]] rrs/recipes: Add support for persist search and filters.

2015-12-01 Thread Aníbal Limón
Now when search something the URL is modified and you can share the URL for access to the data. [YOCTO #7809] Signed-off-by: Aníbal Limón --- rrs/views.py | 11 +++ templates/rrs/recipes.html | 35 +-- 2 files changed, 44 insertions(+), 2

[yocto] [[AUH] 0/6] Integration error handling and enhacements

2015-12-01 Thread Aníbal Limón
This changes can be also reviewed at, http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=boot_images_v3 Aníbal Limón (6): recipe/git.py: Add missing import of re module. upgradehelper.py: Add support for preserve logs in workdir. upgradehelper.py: Add support for specify

[yocto] [[AUH] 1/6] recipe/git.py: Add missing import of re module.

2015-12-01 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- modules/recipe/git.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/recipe/git.py b/modules/recipe/git.py index 7526a67..b1a6201 100644 --- a/modules/recipe/git.py +++ b/modules/recipe/git.py @@ -23,6 +23,7 @@ # from recipe.base import Recipe

[yocto] [[AUH] 5/6] testimage: Add handling of IntegrationError

2015-12-01 Thread Aníbal Limón
then search within dependencies of failed recipe. Since IntegrationError can happen now, move the statistics update and directory symlink creation after testimage. Signed-off-by: Aníbal Limón --- modules/errors.py| 9 ++ modules/testimage.py | 69

[yocto] [[AUH] 6/6] upgradehelper: Remove deprecated setting drop_previous_commits.

2015-12-01 Thread Aníbal Limón
/?h=boot_images_v2&id=8769030a02753f09ed6b5e7c98ed1c442a51a466 Signed-off-by: Aníbal Limón --- README | 3 --- upgradehelper.py | 20 2 files changed, 23 deletions(-) diff --git a/README b/README index 63c3b39..1b73034 100644 --- a/README +++ b/README @@ -59,9 +

[yocto] [[AUH] 2/6] upgradehelper.py: Add support for preserve logs in workdir.

2015-12-01 Thread Aníbal Limón
Add FileHandler log to store the log into workdir, this needs to move up the work directory creation. Signed-off-by: Aníbal Limón --- upgradehelper.py | 10 ++ 1 file changed, 10 insertions(+) diff --git a/upgradehelper.py b/upgradehelper.py index 0d3f8b2..7dbfbeb 100755 --- a

<    1   2   3   4   >