[yocto] [ptest-runner][PATCH] Add SPDX-License-Identifier: GPL-2.0-or-later to source files

2019-06-03 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- main.c | 2 ++ ptest_list.c | 2 ++ ptest_list.h | 2 ++ tests/main.c | 2 ++ tests/ptest_list.c | 2 ++ tests/utils.c | 2 ++ utils.c| 2 ++ utils.h| 2 ++ 8 files changed, 16 insertions(+) diff --git

[yocto] [PATCH][ptest-runner 2/2] utils.c: Print DURATION after ERROR

2019-01-30 Thread Aníbal Limón
If a process gets killed by timeout or OOM the output could end without '\n' so add 'DURATION: N\n' after '\nERROR: ptest-dir\n'. Signed-off-by: Aníbal Limón --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 0813e3c..504df0b 100644

[yocto] [PATCH][ptest-runner 1/2] utils.c: run_child redirect stderr to stdout

2019-01-30 Thread Aníbal Limón
To fix buffer ordering problems. Signed-off-by: Aníbal Limón --- utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 01ee415..0813e3c 100644 --- a/utils.c +++ b/utils.c @@ -250,7 +250,8 @@ run_child(char *run_ptest, int fd_stdout, int fd_stderr

[yocto] [PATCHv2][ptest-runner] ptest-runner: Add support to report duration of each ptest

2019-01-07 Thread Aníbal Limón
In stdout reported as, ... BEGIN: ptest-dir ... DURATION: N END: ptest-dir ... In XML reported as, ... N ... Signed-off-by: Aníbal Limón --- tests/data/reference.xml | 2 ++ tests/utils.c| 20 utils.c | 19

[yocto] [PATCH][ptest-runner] ptest-runner: Add support to report duration of each ptest

2019-01-06 Thread Aníbal Limón
In stdout reported as, ... BEGIN: ptest-dir ... DURATION: Ns END: ptest-dir ... In XML reported as, ... Ns ... Signed-off-by: Aníbal Limón --- tests/data/reference.xml | 2 ++ tests/utils.c| 20 utils.c | 19

[yocto] [PATCH][ptest-runner] ptest-runner: Add support timeout failure type to XML result file

2019-01-03 Thread Aníbal Limón
The ptest-runner support logging results to stdout and to a XML file in stdout the ptest is mark as: ... ERROR: Exit status is 1 TIMEOUT: ptest-directory ... Add the same support in XML file for example, ... ... [YOCTO #13088] Signed-off-by: Aníbal Limón --- tests/data/reference.xml

[yocto] [PATCH][ptest-runner 2/2] main.c: Add option (-e) to exclude certain tests for execution

2018-04-25 Thread Aníbal Limón
You can specify a set of ptests to be excluded, it will not fail if some ptest excluded isn't found in the list of execution. $ ./ptest-runner -e "hang glibc" -d tests/data Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- main.c | 38 +++

[yocto] [PATCH][ptest-runner 1/2] main.c: Use realpath to get the actual directory of ptests

2018-04-25 Thread Aníbal Limón
Fix usage of relative paths in -d argument. $ ./ptest-runner -d ./tests/data Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 505829c..593aff1 100644 --- a/main.c +++ b/main.c @@

[yocto] [ptest-runner 3/3] README.md: Update to my current email

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fedab04..22b36a4 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7

[yocto] [ptest-runner 2/3] Add support to avoid load/run twice a run_ptest script

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> In some ptest packages exists symlink in the ptest directory causing to load/run twice the same ptest, For example in perl5: /usr/lib/perl -> /usr/lib/perl5 Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- pte

[yocto] [ptest-runner 1/3] Makefile: libcheck now requires to link subunit

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 434b89f..1bde7be 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ TEST_S

[yocto] [ptest-runner 3/3] README.md: Update to my current email

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fedab04..22b36a4 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7

[yocto] [ptest-runner 2/3] Add support to avoid load/run twice a run_ptest script

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> In some ptest packages exists symlink in the ptest directory causing to load/run twice the same ptest, For example in perl5: /usr/lib/perl -> /usr/lib/perl5 Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- pte

[yocto] [ptest-runner 1/3] Makefile: libcheck now requires to link subunit

2017-12-08 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 434b89f..1bde7be 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ TEST_S

[yocto] [ptest-runner][PATCHv2 3/3] README.md: Update to my current email

2017-12-07 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fedab04..22b36a4 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7

[yocto] [ptest-runner][PATCHv2 2/3] Add support to avoid load/run twice a run_ptest script

2017-12-07 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> In some ptest packages exists symlink in the ptest directory causing to load/run twice the same ptest, For example in perl5: /usr/lib/perl -> /usr/lib/perl5 Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- ptest_li

[yocto] [ptest-runner][PATCHv2 1/3] Makefile: libcheck now requires to link subunit

2017-12-07 Thread Aníbal Limón
From: Aníbal Limón <anibal.li...@linaro.org> Signed-off-by: Aníbal Limón <anibal.li...@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 434b89f..1bde7be 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ TEST_S

[yocto] [yocto-autobuilder][PATCHv3 5/5] buildset-config.yocto-qa: Add intel-corei7-64-daft buildset

2017-07-18 Thread Aníbal Limón
This buildset is for support running sanity tests over a DUT like Minnowboard for the moment only builds core-image-sato, there is a need to make it configurable. Also the listo of the available devices are fixed into the UI as parameters. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal

[yocto] [yocto-autobuilder][PATCHv3 3/5] autobuilder/buildsteps: Add DaftGetDevices step

2017-07-18 Thread Aníbal Limón
This buildstep will copy the devices configuration from the worker and read it, in order to get daft ip an ssh port, to use later in RunSanityTests [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com>

[yocto] [yocto-autobuilder][PATCHv3 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-07-18 Thread Aníbal Limón
This will execute daft flash cycle without reboot and prepare the dut for sanity tests. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- config/autobuilder.conf.example

[yocto] [yocto-autobuilder][PATCHv3 2/5] buildsteps/RunSanityTests: Add support for simpleremote target

2017-07-18 Thread Aníbal Limón
The testimage class supports a simpleremote target specifying the server and target ip to run tests over SSH. The main usage of this will in conjunction with the DAFT to make tests on real HW. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-pa

[yocto] [yocto-autobuilder][PATCHv3 0/5] Enable DAFT support into the AB

2017-07-18 Thread Aníbal Limón
://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=contrib/alimon/daft Aníbal Limón (5): buildsteps/BuildImages: Setproperty BuildImages buildsteps/RunSanityTests: Add support for simpleremote target autobuilder/buildsteps: Add DaftGetDevices step autobuilder/buildsteps: Add DAFTFlash buildstep

[yocto] [yocto-autobuilder][PATCHv3 1/5] buildsteps/BuildImages: Setproperty BuildImages

2017-07-18 Thread Aníbal Limón
In certain situations is need to know what images was built for example the DAFT executes flashing over certain image. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 3 +++ 1 file chan

[yocto] [meta-yocto-bsp][PATCH] oeqa/selftest/cases: systemd_boot enable threaded runs

2017-07-17 Thread Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../lib/oeqa/selftest/cases/systemd_boot.py| 26 -- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/se

Re: [yocto] [yocto-autobuilder][PATCHv2 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-07-03 Thread Aníbal Limón
On 07/03/2017 09:03 AM, Joshua Lock wrote: > On Tue, 2017-06-06 at 10:46 -0500, Aníbal Limón wrote: >> This will execute daft flash cycle without reboot and prepare the dut >> for sanity tests. >> >> [YOCTO #10604] >> >> Signed-off-by: Aníbal Limón <a

Re: [yocto] [yocto-autobuilder][PATCHv2 1/5] buildsteps/BuildImages: Setproperty BUILDIMAGES

2017-07-03 Thread Aníbal Limón
On 07/03/2017 09:02 AM, Joshua Lock wrote: > On Tue, 2017-06-06 at 10:46 -0500, Aníbal Limón wrote: >> In certain situations is need to know what images was built for >> example the DAFT executes flashing over certain image. >> >> [YOCTO #10604] >> >>

Re: [yocto] [yocto-autobuilder][PATCHv2 3/5] autobuilder/buildsteps: Add DaftGetDevices step

2017-07-03 Thread Aníbal Limón
On 07/03/2017 09:03 AM, Joshua Lock wrote: > On Tue, 2017-06-06 at 10:46 -0500, Aníbal Limón wrote: >> This buildstep will copy the devices configuration from the >> worker and read it, in order to get daft ip an ssh port, to >> use later in RunSanityTests >> >>

Re: [yocto] [yocto-autobuilder][PATCHv2 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-06-06 Thread Aníbal Limón
This v2 fixes an small issue on variable name, DAFT_WORKER_WORKSPACE_DIR -> DAFT_WORKER_WORKSPACE. Cheers, Anibal On 06/06/2017 10:46 AM, Aníbal Limón wrote: > This will execute daft flash cycle without reboot and prepare the dut > for sanity tests. > > [YOCTO #10604] > >

[yocto] [yocto-autobuilder][PATCHv2 5/5] buildset-config.yocto-qa: Add intel-corei7-64-daft buildset

2017-06-06 Thread Aníbal Limón
This buildset is for support running sanity tests over a DUT like Minnowboard for the moment only builds core-image-sato, there is a need to make it configurable. Also the listo of the available devices are fixed into the UI as parameters. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal

[yocto] [yocto-autobuilder][PATCHv2 3/5] autobuilder/buildsteps: Add DaftGetDevices step

2017-06-06 Thread Aníbal Limón
This buildstep will copy the devices configuration from the worker and read it, in order to get daft ip an ssh port, to use later in RunSanityTests [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin P

[yocto] [yocto-autobuilder][PATCHv2 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-06-06 Thread Aníbal Limón
This will execute daft flash cycle without reboot and prepare the dut for sanity tests. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com>

[yocto] [yocto-autobuilder][PATCHv2 2/5] buildsteps/RunSanityTests: Add support for simpleremote target

2017-06-06 Thread Aníbal Limón
The testimage class supports a simpleremote target specifying the server and target ip to run tests over SSH. The main usage of this will in conjunction with the DAFT to make tests on real HW. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-pa

[yocto] [yocto-autobuilder][PATCHv2 1/5] buildsteps/BuildImages: Setproperty BUILDIMAGES

2017-06-06 Thread Aníbal Limón
In certain situations is need to know what images was built for example the DAFT executes flashing over certain image. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 3 +++ 1 file chan

[yocto] [yocto-autobuilder][PATCH 5/5] buildset-config.yocto-qa: Add intel-corei7-64-daft buildset

2017-06-02 Thread Aníbal Limón
This buildset is for support running sanity tests over a DUT like Minnowboard for the moment only builds core-image-sato, there is a need to make it configurable. Also the listo of the available devices are fixed into the UI as parameters. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal

[yocto] [yocto-autobuilder][PATCH 4/5] autobuilder/buildsteps: Add DAFTFlash buildstep

2017-06-02 Thread Aníbal Limón
This will execute daft flash cycle without reboot and prepare the dut for sanity tests. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com>

[yocto] [yocto-autobuilder][PATCH 3/5] autobuilder/buildsteps: Add DaftGetDevices step

2017-06-02 Thread Aníbal Limón
This buildstep will copy the devices configuration from the worker and read it, in order to get daft ip an ssh port, to use later in RunSanityTests [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> Signed-off-by: Monserrat Sedeno Signed-off-by: Edwin P

[yocto] [yocto-autobuilder][PATCH 2/5] buildsteps/RunSanityTests: Add support for simpleremote target

2017-06-02 Thread Aníbal Limón
The testimage class supports a simpleremote target specifying the server and target ip to run tests over SSH. The main usage of this will in conjunction with the DAFT to make tests on real HW. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-pa

[yocto] [yocto-autobuilder][PATCH 1/5] buildsteps/BuildImages: Setproperty BUILDIMAGES

2017-06-02 Thread Aníbal Limón
In certain situations is need to know what images was built for example the DAFT executes flashing over certain image. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 3 +++ 1 file chan

Re: [yocto] [yocto-autobuilder][PATCH] forcebuild: allow build with default options

2017-06-01 Thread Aníbal Limón
+ Joshua On 06/01/2017 12:32 PM, Jose Lamego wrote: > From: Anibal Limon > > A forced build fails if no options are passed through command > line (using "-o OPTIONS"). > > This change allows build to use default options if none are passed > at the command line. >

Re: [yocto] [ptest-runner] timeout option missing the argument option ":" to getopt

2017-05-29 Thread Aníbal Limón
On 05/29/2017 10:54 AM, Aníbal Limón wrote: > Hi Anders, > > Thanks for notice this issue, i will integrate the patch. Integrated, thanks, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=8a93832dad621535e90aa8e1fb74ae5ba743fc3e > > Cheers, > Anibal >

Re: [yocto] [ptest-runner] timeout option missing the argument option ":" to getopt

2017-05-29 Thread Aníbal Limón
Hi Anders, Thanks for notice this issue, i will integrate the patch. Cheers, Anibal On 05/28/2017 04:47 AM, Anders Wallin wrote: > ptest-runner -t xx gives segfault > > Signed-off-by: Anders Wallin > --- > main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[yocto] [[AUH][PATCH] 3/6] upgradehelper.py: Add ability to run UniverseUpdater over certain recipes

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index f7b87c6..6732fb2 100755 --- a/upgradehelper.py

[yocto] [[AUH][PATCH] 2/6] README: Update with the new layer settings.

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- README | 6 ++ 1 file changed, 6 insertions(+) diff --git a/README b/README index 1b73034..e6b0dc2 100644 --- a/README +++ b/README @@ -67,6 +67,12 @@ buildhistory=no testimage=no testimage_name=image-

[yocto] [[AUH][PATCH] 5/6] upgradehelper.py: Add layer name to upgrade email subject

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 41f81c1..be4282f 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -440,7 +

[yocto] [[AUH][PATCH] 4/6] upgradehelper.py: Add support for sync layer master

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 6732fb2..41f81c1 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@

[yocto] [[AUH][PATCH] 1/6] upgradehelper.py: Add support to load layer settings

2017-05-18 Thread Aníbal Limón
Those settings are to support layer recipe upgrades runs into the AUH. [YOCTO #8962] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- upgradehelper.py | 42 ++ 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/upgradehelpe

Re: [yocto] [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-05-08 Thread Aníbal Limón
On 05/08/2017 08:36 AM, Patrick Ohly wrote: > On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote: >> +try: >> +ldata = bb.parse.handle(lconf, ldata, include=True) >> +except BaseException as exc: >> +raise LayerError(exc) > > Aniba

Re: [yocto] [ptest-runner][PATCHv2 2/2] Add xml output

2017-04-06 Thread Aníbal Limón
Hi Pascal, I did some changes to your patch, see comments inline. As i said i plan to integrate for 2.1 version of ptest-runner. See the branch, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/log/?h=devel Thanks for your contribution, Anibal On 02/01/2017 09:42 AM, Pascal Bach

[yocto] [[PATCH][ptest-runner]] utils.c: Improve user notice of TIMEOUT

2017-04-06 Thread Aníbal Limón
Print exit status before TIMEOUT to give clear information to the user about exit status before TIMEOUT and END. [YOCTO #10842] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- utils.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/uti

[yocto] [[PATCH][yocto-autobuilder]] nightly-oe-selftest.conf: Remove set of SANITY_TESTED_DISTROS

2017-04-04 Thread Aníbal Limón
The sanity testing was disabled for all builds into CreateAutoConf buildstep so atextappend isn't need now. [1] [1] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=87b10595e9a1d36081ec60d3069f4a98798f27eb Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.

Re: [yocto] [qa-tools][PATCH] testopia_update: Improvements on update action functionality

2017-03-08 Thread Aníbal Limón
On 03/08/2017 09:56 AM, jose.perez.carra...@linux.intel.com wrote: > From: Jose Perez Carranza > > Some improvements were applied when using option > action=create : > >- Create a new option to update test runs by ID >- Create functions to load

Re: [yocto] [qa-tools][PATCH v2] testopia_update: Add option to define test plan

2017-03-07 Thread Aníbal Limón
Ack On 03/07/2017 07:58 AM, jose.perez.carra...@linux.intel.com wrote: > From: Jose Perez Carranza > > There are cases where the test plan and the product name are not equal hence > an option is added to handle those cases and define the test plan to work

Re: [yocto] [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-28 Thread Aníbal Limón
On 02/28/2017 02:09 PM, Patrick Ohly wrote: > On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote: >> common.test_signatures: Test executed in BSP and DISTRO layers to review >> doesn't comes with recipes that changes the signatures. > > I have a question about t

Re: [yocto] [qa-tools][PATCH V2] testopia-update: Add suport for current format of templates

2017-02-21 Thread Aníbal Limón
I integrated the patch, Thanks, alimon On 02/21/2017 10:47 AM, jose.perez.carra...@linux.intel.com wrote: > From: Jose Perez Carranza > > Currently the tempates has a format as below: > > TRTEMP > > Hence the logic was adapted to follow above

[yocto] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-20 Thread Aníbal Limón
distro at adding layer. Example of usage: $ source oe-init-build-env $ yocto-compat-layer.py LAYER_DIR [YOCTO #10596] [1] https://www.yoctoproject.org/webform/yocto-project-compatible-registration [2] https://lists.yoctoproject.org/pipermail/yocto-ab/2016-October/001801.html Signed-off-by: Aníbal

Re: [yocto] [PATCH] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-20 Thread Aníbal Limón
On 02/17/2017 04:41 PM, Christopher Larson wrote: > On Fri, Feb 17, 2017 at 3:39 PM, Christopher Larson <kerg...@gmail.com> > wrote: > >> On Fri, Feb 17, 2017 at 2:26 PM, Aníbal Limón < >> anibal.li...@linux.intel.com> wrote: >> >>> +parser.

Re: [yocto] [[RFC][PATCH]] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-17 Thread Aníbal Limón
On 02/13/2017 10:27 AM, Aníbal Limón wrote: > > > On 02/11/2017 08:04 PM, Christopher Larson wrote: >> On Sat, Feb 11, 2017 at 10:55 AM, Aníbal Limón <anibal.li...@linux.intel.com >>> wrote: >> >>> During the development of this script based on OEQA

Re: [yocto] [PATCH] qa-tools: Add suport for current format of templates

2017-02-16 Thread Aníbal Limón
Resend it with [qa-tools] and see comments below, On 02/16/2017 04:37 PM, jose.perez.carra...@linux.intel.com wrote: > From: Jose Perez Carranza > > Currently the tempates has a format as below: > > TRTEMP > > Hence the logic was adapted to follow

Re: [yocto] [[RFC][PATCH]] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-13 Thread Aníbal Limón
On 02/11/2017 08:04 PM, Christopher Larson wrote: > On Sat, Feb 11, 2017 at 10:55 AM, Aníbal Limón <anibal.li...@linux.intel.com >> wrote: > >> During the development of this script based on OEQA framework i found a >> bug causing don't display stack traces, i se

Re: [yocto] [[RFC][PATCH]] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-11 Thread Aníbal Limón
] http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132494.html [2] http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/yp_compatible On 02/11/2017 11:51 AM, Aníbal Limón wrote: > The yocto-compat-layer script serves as a tool to validate the alignam

[yocto] [[RFC][PATCH]] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-11 Thread Aníbal Limón
-by: Aníbal Limón <anibal.li...@linux.intel.com> --- scripts/lib/compatlayer/__init__.py | 160 ++ scripts/lib/compatlayer/case.py | 7 ++ scripts/lib/compatlayer/cases/__init__.py | 0 scripts/lib/compatlayer/cases/bsp.py | 26 + scrip

Re: [yocto] [[PATCH][yocto-autobuilder]] bin/forcebuild.py: Add a script to support force a build

2017-02-08 Thread Aníbal Limón
On 02/08/2017 08:12 AM, Lock, Joshua G wrote: > On Wed, 2017-02-01 at 14:14 -0600, Aníbal Limón wrote: >> I know we have the remote_kick.py [1] script but i don't know if is >> currently on use also this new script support list the options in >> builders and specify cu

Re: [yocto] [[PATCH][yocto-autobuilder]] bin/forcebuild.py: Add a script to support force a build

2017-02-01 Thread Aníbal Limón
On 02/01/2017 02:12 PM, Aníbal Limón wrote: > The script supports to list avaialable builders and his options, > also can force a build if the builder is IDLE or not. > > Also supports specify options via cmdline using python dictionaries > as string. > > Signed-off-by: An

[yocto] [[PATCH][yocto-autobuilder]] bin/forcebuild.py: Add a script to support force a build

2017-02-01 Thread Aníbal Limón
The script supports to list avaialable builders and his options, also can force a build if the builder is IDLE or not. Also supports specify options via cmdline using python dictionaries as string. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- bin/forcebuild.py

Re: [yocto] [ptest-runner][PATCH] feat: generate xml-file

2017-01-19 Thread Aníbal Limón
Hi Pascal and Christian, Your patch looks good at first look, only a few comments about the code inline. We are trying to standardize the results output format across our testing components in order to build up-on a Test reporting tool, so let us review the XML format. Benjamin do you have a

[yocto] [[PATCHv2][yocto-autobuilder] 2/2] buildset-config.yocto-qa: Add nightly-oe-build-perf-test buildset

2017-01-19 Thread Aníbal Limón
to configure the email addresses for yocto alias. [YOCTO #9377] Signed-off-by: Monserrat Sedeno Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../nightly-oe-build-perf-test.conf| 28 config/autobuilder.conf.example

[yocto] [[PATCHv2][yocto-autobuilder] 1/2] buildsteps/CreateAutoConf.py: Add support for specify MACHINE by build prop

2017-01-19 Thread Aníbal Limón
-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-packages/autobuilder/buildsteps/CreateAutoConf.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py b/lib/python2.7/site-pa

Re: [yocto] [[PATCH][yocto-autobuilder] 1/2] buildsteps/CreateAutoConf.py: Add support for specify MACHINE by build prop

2017-01-18 Thread Aníbal Limón
On 01/18/2017 12:13 PM, Joshua Lock wrote: > On Mon, 2017-01-16 at 10:25 -0600, Aníbal Limón wrote: >> Sometimes is a good idea to could specify a machine to build via a >> build >> property. > > Why's that? I can guess but the commit log should really te

[yocto] [[PATCH][yocto-autobuilder] 2/2] buildset-config.yocto-qa: Add nightly-oe-build-perf-test buildset

2017-01-16 Thread Aníbal Limón
to configure the email addresses for yocto alias. [YOCTO #9377] Signed-off-by: Monserrat Sedeno Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../nightly-oe-build-perf-test.conf| 28 config/autobuilder.conf.example

[yocto] [[PATCH][yocto-autobuilder] 1/2] buildsteps/CreateAutoConf.py: Add support for specify MACHINE by build prop

2017-01-16 Thread Aníbal Limón
Sometimes is a good idea to could specify a machine to build via a build property. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-packages/autobuilder/buildsteps/CreateAutoConf.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [yocto] [[PATCH][layerindex]] layerindex: Update tinfoil to call shutdown method

2017-01-11 Thread Aníbal Limón
On 01/11/2017 02:59 AM, Paul Eggleton wrote: > Hi Aníbal, > > On Thu, 05 Jan 2017 15:21:36 Aníbal Limón wrote: >> The new client/server API of tinfoil requires explicit call of >> shutdown method to send the event for finalize cooker process. >> >> Also in up

[yocto] [[PATCH][rrs] 1/2] rrs/tools: Upgrade to use transaction.atomic() in Django 1.6

2017-01-05 Thread Aníbal Limón
Django 1.6 provides a context manager for atomic transactions so update the way for make db transactions. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- rrs/tools/rrs_distros.py| 67 ++--- rrs/tools/rrs_maintainer_history.py

[yocto] [[PATCH][rrs] 2/2] rrs/tools: Upgrade to use new API of tinfoil

2017-01-05 Thread Aníbal Limón
The new client/server API of tinfoil requires explicit call of shutdown method to send the event for finalize cooker process. [YOCTO #10863] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- rrs/tools/common.py | 6 +- rrs/tools/rrs_distros.py

[yocto] [[PATCH][layerindex]] layerindex: Update tinfoil to call shutdown method

2017-01-05 Thread Aníbal Limón
The new client/server API of tinfoil requires explicit call of shutdown method to send the event for finalize cooker process. Also in update_layer remove the databuilder and cache instance now isn't needed. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- layerindex/bulkcha

[yocto] [[PATCH][RRS] 2/2] templates/rrs/recipedetail.html: Fix unneeded quotes in url call

2017-01-04 Thread Aníbal Limón
The url template function resolve an URL associated with a model, so in Django 1.6 quotes around variables don't get the variable value. [YOCTO #10871] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- templates/rrs/recipedetail.html | 4 ++-- 1 file changed, 2 insertions

[yocto] [[PATCH][RRS] 1/2] layerindex/tools/import_layer.py: Fix Openembedded VCS URL

2017-01-04 Thread Aníbal Limón
Since Openembedded cgit was upgrade so point to new url to reflect the real URL. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- layerindex/tools/import_layer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layerindex/tools/import_layer.py b/laye

[yocto] [[PATCH][yocto-autobuilder]] autobuilder/buildsteps/Run{ESDK, SDK}SanityTests: Enable verbose on bitbake run

2016-12-08 Thread Aníbal Limón
Due to a recently changes on OEQA framework now uses the Bitbake logger within a task there are no way to enable verbose. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-packages/autobuilder/buildsteps/RunESDKSanityTests.py| 2 +- .../site-packages/autob

[yocto] [[PATCH][yocto-autobuilder]] autobuilder/lib/buildsteps.py: BitbakeShellCommand fix errors on cmdComplete

2016-12-07 Thread Aníbal Limón
In some cases commandComplete could be executed before stdio log observer creates a errors attribute. In order to avoid a crash adds hasattr validation. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 2 +- 1 file c

Re: [yocto] [[PATCHv5][yocto-autobuilder]] buildset.controller: Add build set to test new OS distribution in autobuilder

2016-10-12 Thread Aníbal Limón
On 10/12/2016 05:51 AM, Beth 'pidge' Flanagan wrote: > On Mon, 2016-10-10 at 09:54 -0500, Aníbal Limón wrote: >> From: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> >> >> As part of the process to set new OS distribution as supported on >> Yoctoc P

[yocto] [[PATCHv5][yocto-autobuilder]] buildset.controller: Add build set to test new OS distribution in autobuilder

2016-10-10 Thread Aníbal Limón
g_Plan#Execute_Build_Sets Fixes [YOCTO #9905] Note:In order to add a new distro as supported all the build sets should be PASS Signed-off-by: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- buildset-config.con

Re: [yocto] [[yocto-autobuilder][PATCHv4]] ] Build sets to test new OS distribution in autobuilder

2016-10-10 Thread Aníbal Limón
ontroller. I'll send another patch. alimon > > -Bill > > On Fri, Oct 7, 2016 at 1:50 PM, Aníbal Limón > <anibal.li...@linux.intel.com> wrote: >> From: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> >> >> As part of the process to s

[yocto] [[yocto-autobuilder][PATCHv4]] ] Build sets to test new OS distribution in autobuilder

2016-10-07 Thread Aníbal Limón
g_Plan#Execute_Build_Sets Fixes [YOCTO #9905] Note:In order to add a new distro as supported all the build sets should be PASS Signed-off-by: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../nigh

Re: [yocto] [[yocto-autobuilder][PATCHv3]] Build sets to test new OS distribution in autobuilder

2016-10-05 Thread Aníbal Limón
istro_Testing_Plan#Execute_Build_Sets > > Fixes [YOCTO #9905] > > Note:In order to add a new distro as supported all the build sets should be > PASS > > Signed-off-by: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> Acked-by: Aníbal Limón <anibal.li...@linu

Re: [yocto] [[yocto-autobuilder][PATCHv2]] Build sets to test new OS distribution in autobuilder

2016-10-05 Thread Aníbal Limón
uilder-qa buildset but the new distro-qa buildset won't run in regular basis and also is part of the QA process. Make sense to me to put inside that folder. alimon > > -Bill > > On Wed, Oct 5, 2016 at 1:00 PM, Aníbal Limón > <anibal.li...@linux.intel.com>

Re: [yocto] [[yocto-autobuilder][PATCHv2]] Build sets to test new OS distribution in autobuilder

2016-10-05 Thread Aníbal Limón
Oh, I didn't notice that this patch isn't applied to ab master branch. Monse, could you send a new patch over master? Cheers, alimon On 10/05/2016 09:59 AM, Aníbal Limón wrote: > > > On 09/30/2016 03:29 PM, Monserrat Sedeno wrote: >> As part of the process to set new

Re: [yocto] [[yocto-autobuilder][PATCHv2]] Build sets to test new OS distribution in autobuilder

2016-10-05 Thread Aníbal Limón
istro_Testing_Plan#Execute_Build_Sets > > Fixes [YOCTO #9905] > > Note:In order to add a new distro as supported all the build sets should be > PASS > > Signed-off-by: Monserrat Sedeno <monserratx.sedeno.bus...@intel.com> Acked-by: Aníbal Limón <anibal.li...@linux

Re: [yocto] [PATCH] Build sets to test new OS distribution in autobuilder

2016-09-30 Thread Aníbal Limón
Hi Monse, Could you write an explanation about what is the purpose of this buildset?, Also since the patch is for autobuilder you need to add [yocto-autobuilder] in the subject and cc Joshua Lock. Cheers, alimon On 09/29/2016 04:44 PM, Monserrat Sedeno wrote: > Signed-off-by:

[yocto] [PATCH][yocto-autobuilder] nigthly-qa-*, nigthly-rpm*: Move RunSanityTests before SendErrorReport

2016-09-18 Thread Aníbal Limón
If RunSanityTests executes after SendErrorReport and fails, the error report was not send to the errors.yp.org server. Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- buildset-config.controller/nightly-qa-extras.conf | 4 ++-- buildset-config.controller/nigh

Re: [yocto] [PATCH v2][yocto-autobuilder] RunOeSelftest.py: changed to new oe-selftest syntax

2016-09-01 Thread Aníbal Limón
anging patch. Acked-by: Aníbal Limón <anibal.li...@linux.intel.com> > > [YOCTO #8938] > --- > .../autobuilder/buildsteps/RunOeSelftest.py | 16 > ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git > a/lib/p

[yocto] [PATCH][yocto-autobuilder] nightly-qa-systemd.conf: Add create_eventlog property

2016-08-30 Thread Aníbal Limón
This buildset also needs the create_eventlog property for only enable the toaster event log creation when required. See rev [1]. [1] 0b083509beaf7421f1dde4b679a934741ac4a3bc Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- buildset-config.controller/nightly-qa-systemd.co

Re: [yocto] [yocto-autobuilder][PATCH] enable use of kvm with qemux86*

2016-08-17 Thread Aníbal Limón
image: Ran 52 tests in 71.719s > > [YOCTO #9298] > > Signed-off-by: Bill Randle <william.c.ran...@intel.com> Acked-by: Aníbal Limón <anibal.li...@linux.intel.com> > --- > config/autobuilder.conf.example | 3 +++ > 1 file changed, 3 insertions(+) > > diff --gi

[yocto] [PATCHv2][yocto-autobuilder] lib/buildsteps.py: fix report creation in nigthly-oecore

2016-07-29 Thread Aníbal Limón
nightly-oecore buildset doesn't prove got_revision property so when got_revision is None use got_revision_oecore instead. [YOCTO #10051] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 11 +-- 1 file chan

Re: [yocto] [PATCH][yocto-autobuilder] lib/buildsteps.py: fix report creation in nigthly-oecore

2016-07-29 Thread Aníbal Limón
On 07/29/2016 10:50 AM, Beth 'pidge' Flanagan wrote: > On Fri, 2016-07-29 at 10:47 -0500, Aníbal Limón wrote: >> >> On 07/29/2016 10:31 AM, Beth 'pidge' Flanagan wrote: >>> >>> I'd put this in a try except. What happens with eclipse? >> At this time we

Re: [yocto] [PATCH][yocto-autobuilder] lib/buildsteps.py: fix report creation in nigthly-oecore

2016-07-29 Thread Aníbal Limón
On 07/29/2016 10:31 AM, Beth 'pidge' Flanagan wrote: > I'd put this in a try except. What happens with eclipse? At this time we don't support eclipse, i'll add the try except and if fails use "unknown_branch: unknown_revision". alimon signature.asc Description: OpenPGP digital

Re: [yocto] [PATCH][yocto-autobuilder] lib/buildsteps.py: fix report creation in nigthly-oecore

2016-07-29 Thread Aníbal Limón
+ beth On 07/29/2016 10:10 AM, Aníbal Limón wrote: > nightly-oecore buildset doesn't prove got_revision property > so when got_revision is None use got_revision_oecore instead. > > [YOCTO #10051] > > Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> > --- >

[yocto] [PATCH][yocto-autobuilder] lib/buildsteps.py: fix report creation in nigthly-oecore

2016-07-29 Thread Aníbal Limón
nightly-oecore buildset doesn't prove got_revision property so when got_revision is None use got_revision_oecore instead. [YOCTO #10051] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 7 +-- 1 file chan

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

2016-07-13 Thread Aníbal Limón
On 07/13/2016 08:32 AM, Joshua G Lock wrote: > On Tue, 2016-07-12 at 11:21 -0500, Aníbal Limón wrote: >> >> 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 mas

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 he

[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 <anibal.li...@linux.intel.com> --- .../site-packages/buildbot-0.8.8-py2.7.egg/buildbot

[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 <anibal.li...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py | 4 +++- 1 file chan

  1   2   3   4   >