[OE-core] [PATCHv2] meta/recipes-graphics/waffle: Add python3 dependency

2020-01-14 Thread Aníbal Limón
: exit code 1 from a shell command. ... [1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6 Signed-off-by: Aníbal Limón --- meta/recipes-graphics/waffle/waffle_1.6.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-gr

[OE-core] [PATCH] meta/conf/bitbake.conf: Add BB_SIGNATURE_LOCAL_DIRS_EXCLUDE with VCS

2020-01-09 Thread Aníbal Limón
The new BB_SIGNATURE_LOCAL_DIRS_EXCLUDE allows you to specify a list of directories to exclude when making taskhash [1], set default as common VCS directories. [1] http://git.openembedded.org/bitbake/commit/?id=923aff060d8aba8456979c35b16d300ba7c13ff9 Signed-off-by: Aníbal Limón --- meta/conf

[OE-core] [PATCH] meta/classes/menson.bbclass: Add python3 dependency

2020-01-08 Thread Aníbal Limón
: exit code 1 from a shell command. ... [1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6 Signed-off-by: Aníbal Limón --- meta/classes/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/meson.bbclass b

[OE-core] [PATCHv2] meta/recipes-graphics/waffle: Add inherit setuptools

2019-12-04 Thread Aníbal Limón
.6.0-r0/build/meson-logs/meson-log.txt | WARNING: exit code 1 from a shell command. ... Signed-off-by: Aníbal Limón --- meta/recipes-graphics/waffle/waffle_1.6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/waffle/waffle_1.6.0.bb b/meta/recipes-gr

[OE-core] [PATCH] meta/classes/meson.bbclass: Add inherit setuptools3

2019-12-03 Thread Aníbal Limón
.6.0-r0/build/meson-logs/meson-log.txt | WARNING: exit code 1 from a shell command. ... Signed-off-by: Aníbal Limón --- meta/classes/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index efa6234078..90868963b7

[OE-core] [PATCHv4 2/3] runqemu: Add support for multiple tap devices

2019-07-03 Thread Aníbal Limón
fname=@TAP@,script=no,downscript=no" QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@ \ -device virtio-net-pci,netdev=net1,mac=@MAC@" Signed-off-by: Aníbal Limón --- scripts/runqemu | 141 1 file ch

[OE-core] [PATCHv4 3/3] runqemu: Add QB_KERNEL_NO_NETWORK_CONFIG variable

2019-07-03 Thread Aníbal Limón
To let user choice if wants to have network configured via Kernel cmdline. Signed-off-by: Aníbal Limón --- meta/classes/qemuboot.bbclass | 3 +++ scripts/runqemu | 24 +--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/meta/classes

[OE-core] [PATCHv4 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-03 Thread Aníbal Limón
In order to support multiple tap devices in the same qemu virtual machine. Signed-off-by: Aníbal Limón --- scripts/runqemu | 50 + 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 4079f2b17d

[OE-core] [PATCHv3 3/3] runqemu: Add QB_KERNEL_NO_NETWORK_CONFIG variable

2019-07-01 Thread Aníbal Limón
To let user choice if wants to have network configured via Kernel cmdline. Signed-off-by: Aníbal Limón --- meta/classes/qemuboot.bbclass | 3 +++ scripts/runqemu | 10 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/meta/classes/qemuboot.bbclass b/meta

[OE-core] [PATCHv3 2/3] runqemu: Add support for multiple tap devices

2019-07-01 Thread Aníbal Limón
fname=@TAP@,script=no,downscript=no" QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@ \ -device virtio-net-pci,netdev=net1,mac=@MAC@" Signed-off-by: Aníbal Limón --- scripts/runqemu | 134 +++- 1 file ch

[OE-core] [PATCHv3 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-01 Thread Aníbal Limón
In order to support multiple tap devices in the same qemu virtual machine. Signed-off-by: Aníbal Limón --- scripts/runqemu | 50 + 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 4079f2b17d

[OE-core] [PATCHv2 3/3] runqemu: Add QB_KERNEL_NO_NETWORK_CONFIG variable

2019-07-01 Thread Aníbal Limón
To let user choice if wants to have network configured via Kernel cmdline. Signed-off-by: Aníbal Limón --- meta/classes/qemuboot.bbclass | 3 +++ scripts/runqemu | 10 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/meta/classes/qemuboot.bbclass b/meta

[OE-core] [PATCHv2 2/3] runqemu: Add support for multiple tap devices

2019-07-01 Thread Aníbal Limón
fname=@TAP@,script=no,downscript=no" QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@ \ -device virtio-net-pci,netdev=net1,mac=@MAC@" Signed-off-by: Aníbal Limón --- scripts/runqemu | 146 +++- 1 file ch

[OE-core] [PATCHv2 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-01 Thread Aníbal Limón
In order to support multiple tap devices in the same qemu virtual machine. Signed-off-by: Aníbal Limón --- scripts/runqemu | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 4079f2b17d

[OE-core] [PATCH 3/3] runqemu: Add QB_KERNEL_NO_NETWORK_CONFIG variable

2019-06-27 Thread Aníbal Limón
To let user choice if wants to have network configured via Kernel cmdline. Signed-off-by: Aníbal Limón --- meta/classes/qemuboot.bbclass | 3 +++ scripts/runqemu | 10 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/meta/classes/qemuboot.bbclass b/meta

[OE-core] [PATCH 2/3] runqemu: Add support for multiple tap devices

2019-06-27 Thread Aníbal Limón
fname=@TAP@,script=no,downscript=no" QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@ \ -device virtio-net-pci,netdev=net1,mac=@MAC@" Signed-off-by: Aníbal Limón --- scripts/runqemu | 134 +++- 1 file ch

[OE-core] [PATCH 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-06-27 Thread Aníbal Limón
In order to support multiple tap devices in the same qemu virtual machine. Signed-off-by: Aníbal Limón --- scripts/runqemu | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 4079f2b17d

[OE-core] [PATCH][rocko] ptest-runner: Upgrade to 2.3.1

2019-01-30 Thread Aníbal Limón
: libcheck now requires to link subunit 41b7f48 utils.c: Prefer monotonic clock to calculate elapsed time 8a93832 timeout option missing the argument option ":" to getopt Signed-off-by: Aníbal Limón --- .../{ptest-runner_2.1.bb => ptest-runner_2.3.1.bb}| 4 ++-- 1 fi

[OE-core] [PATCH][thud] ptest-runner: Upgrade to 2.3.1

2019-01-30 Thread Aníbal Limón
timeout failure type to XML result file Signed-off-by: Aníbal Limón --- .../{ptest-runner_2.2.bb => ptest-runner_2.3.1.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/ptest-runner/{ptest-runner_2.2.bb => ptest-runner_2.3.1.bb} (89%) diff -

[OE-core] [PATCH][sumo] ptest-runner: Upgrade to 2.3.1

2019-01-30 Thread Aníbal Limón
timeout failure type to XML result file 49956f6 main.c: Add option (-e) to exclude certain tests for execution 5bd94a9 main.c: Use realpath to get the actual directory of ptests Signed-off-by: Aníbal Limón --- .../{ptest-runner_2.1.1.bb => ptest-runner_2.3.1.bb} | 4 ++-- 1 file changed

[OE-core] [PATCH][ptest-runner] ptest-runner: Upgrade to 2.3.1

2019-01-30 Thread Aníbal Limón
Changeset, 05b112b utils.c: Print DURATION after ERROR acb5efb utils.c: run_child redirect stderr to stdout e1062f7 ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling Signed-off-by: Aníbal Limón --- .../{ptest-runner_2.3.bb => ptest-runner_2.3.1.bb}

[OE-core] [PATCH] ptest-runner: Upgrade to 2.3

2019-01-09 Thread Aníbal Limón
Addes support to report timeout in XML file and duration in stdout and XML file. See, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=a16f2c137b http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=8071258373 Signed-off-by: Aníbal Limón --- .../ptest-runner

[OE-core] [PATCHv3] meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

2019-01-02 Thread Aníbal Limón
When use simpleremote target the flash/boot process is executed manually, the IMAGE_FSTYPES validation is only needed when execute testimage against qemu. The supported_fstypes comes from oeqa.core.target.qemu module. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 13

[OE-core] [PATCH] dpkg: Upgrade to 1.18.25

2018-12-28 Thread Aníbal Limón
Removed (now in upstream), 0001-arch-Add-support-for-riscv64-CPU.patch Signed-off-by: Aníbal Limón --- ...001-arch-Add-support-for-riscv64-CPU.patch | 54 --- .../dpkg/{dpkg_1.18.24.bb => dpkg_1.18.25.bb} | 7 ++- 2 files changed, 3 insertions(+), 58 deletions(-) delete m

[OE-core] [PATCHv2] meta/classes/testexport: Use manfiest filenames for package and testdata

2018-10-22 Thread Aníbal Limón
Is clear to know for what image and machine the testexport package manifest and testdata was build. The oe-seltest case was update. Signed-off-by: Aníbal Limón --- meta/classes/testexport.bbclass | 4 ++-- meta/lib/oeqa/runtime/context.py | 9 +++-- meta/lib/oeqa

[OE-core] [PATCH 1/2] meta/classes/testexport: Use manfiest filenames for package and testdata

2018-10-17 Thread Aníbal Limón
Is clear to know for what image and machine the testexport package manifest and testdata was build. Signed-off-by: Aníbal Limón --- meta/classes/testexport.bbclass | 4 ++-- meta/lib/oeqa/runtime/context.py | 9 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/meta

[OE-core] [PATCH 2/2] meta/classes/testexport: Remove __pycache__ from exported tests

2018-10-17 Thread Aníbal Limón
The __pycache__ is created based on python3 version in the build machine and isn't a garantee to be useful on the system that runs exported tests. Signed-off-by: Aníbal Limón --- meta/classes/testexport.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/cl

[OE-core] [PATCH] meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

2018-10-16 Thread Aníbal Limón
When use simpleremote target the flash/boot process is executed manually, the IMAGE_FSTYPES validation is only needed when execute testimage against qemu. The supported_fstypes comes from oeqa.core.target.qemu module. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 13

[OE-core] [PATCH] scripts/yocto-check-layer: Don't abort when layer fails to get signatures

2018-10-02 Thread Aníbal Limón
When execute in multiple layers like meta-openembedded the execution is aborted when some sublayer fails to get world signatures, so mark it as an error and continue the execution in the remaining sublayers. Signed-off-by: Aníbal Limón --- scripts/yocto-check-layer | 9 - 1 file changed

[OE-core] [PATCH] recipes-support/ptest-runner: Upgrade to v2.2

2018-05-03 Thread Aníbal Limón
The new version contains an option to exclude certain tests to run, example: $ ptest-runner -e "perl" Signed-off-by: Aníbal Limón --- .../ptest-runner/{ptest-runner_2.1.1.bb => ptest-runner_2.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/re

[OE-core] [PATCHv3] recipes-multimedia/gstreamer: Add gst-validate recipe

2017-12-12 Thread Aníbal Limón
From: Aníbal Limón The gst-validate is a tool to run integration tests of Gstreamer components [1]. This tool can be used along with gst-integration-testsuites (scenarios and media) [2] to test Gstreamer components on the target device. An example of test using gst-integration-testsuites

[OE-core] [PATCHv3] recipes-multimedia/gstreamer: Add gst-validate recipe

2017-12-12 Thread Aníbal Limón
From: Aníbal Limón The gst-validate is a tool to run integration tests of Gstreamer components [1]. This tool can be used along with gst-integration-testsuites (scenarios and media) [2] to test Gstreamer components on the target device. An example of test using gst-integration-testsuites

[OE-core] [PATCH] ptest-runner: Upgrade to 2.1.1

2017-12-12 Thread Aníbal Limón
From: Aníbal Limón Contains fixes, - timeout option missing the argument option ":" to getopt - utils.c: Prefer monotonic clock to calculate elapsed time - Add support to avoid load/run twice a run_ptest script Signed-off-by: Aníbal Limón --- .../ptest-runner/{ptest-runner_2.1.b

[OE-core] [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe

2017-12-06 Thread Aníbal Limón
From: Aníbal Limón The gst-validate is a tool to run integration tests of Gstreamer components [1]. This tool can be used along with gst-integration-testsuites (scenarios and media) [2] to test Gstreamer components on the target device. An example of test using gst-integration-testsuites

[OE-core] [PATCHv4] recipes-graphics/piglit: Add patch to fix build in some platforms

2017-11-28 Thread Aníbal Limón
From: Aníbal Limón The entry point is not guaranteed to exist, so use the piglit_egl_get_default_display() helper which does the correct thing. Signed-off-by: Aníbal Limón Signed-off-by: Daniel Díaz --- ...gl-context-priority.c-Use-piglit_egl_get_.patch | 41 ++ meta

[OE-core] [PATCHv3] recipes-graphics/piglit: Add patch to fix build in some platforms

2017-11-28 Thread Aníbal Limón
From: Aníbal Limón The entry point is not guaranteed to exist, so use the piglit_egl_get_default_display() helper which does the correct thing. Signed-off-by: Aníbal Limón Signed-off-by: Daniel Díaz --- ...gl-context-priority.c-Use-piglit_egl_get_.patch | 41 ++ meta

[OE-core] [PATCHv2] recipes-graphics/piglit: Add patch to fix build in some platforms

2017-11-28 Thread Aníbal Limón
From: Aníbal Limón The entry point is not guaranteed to exist, so use the piglit_egl_get_default_display() helper which does the correct thing. Signed-off-by: Aníbal Limón Signed-off-by: Daniel Díaz --- ...gl-context-priority.c-Use-piglit_egl_get_.patch | 41 ++ meta

[OE-core] [PATCH] recipes-graphics/piglit: Add patch for fix build in HiKey platforms

2017-11-24 Thread Aníbal Limón
From: Aníbal Limón Some EGL implementations do not actually ship all Khronos-extensions. As it turns out, the Mali 450 driver does not include eglGetPlatformDisplay symbol so there is not grauntee to exists use piglit_egl_get_default_display wrapper instead. Signed-off-by: Aníbal Limón Signed

[OE-core] [PATCH] recipes-multimedia/gstreamer: Add gst-validate recipe

2017-11-22 Thread Aníbal Limón
From: Aníbal Limón The gst-validate is a tool to run integration tests of Gstreamer components [1]. [1] https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/ Signed-off-by: Aníbal Limón --- .../recipes-multimedia/gstreamer/gst

[OE-core] [PATCH][morty] python3: do not hardcode "lib" into site-packages search path

2017-11-22 Thread Aníbal Limón
From: Alexander Kanavin This was not working in multilib or x32 setups and amazingly, was not noticed until now. The actual modification is in Lib/site.py, the rest is just devtool moving things around in the patch. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../pyth

[OE-core] [PATCH][morty] python-3.3-multilib.patch: Fixes getpath on multilib configurations

2017-11-15 Thread Aníbal Limón
From: Jose Lamego When using multilib configurations either on arm/arm64 and x86/x86-64 python3 failed to execute due to a failure when looking for its platform independent and dependent libraries. This patch fixes this issue by assigning lib_python to the appropriate macro. [YOCTO #10812] Sig

[OE-core] [PATCHv2 1/2] dpkg: Upgrade to 1.18.24

2017-08-22 Thread Aníbal Limón
patch Signed-off-by: Aníbal Limón --- ...nux-wrs-kernel-version-which-has-characte.patch | 12 ++--- ...0006-add-musleabi-to-known-target-tripets.patch | 57 +++--- ...uild.c-Remove-usage-of-clamp-mtime-in-tar.patch | 21 .../dpkg/dpkg/add_armeb_triplet_entry.patch

[OE-core] [PATCHv2 2/2] apt: Upgrade to 1.2.24

2017-08-22 Thread Aníbal Limón
dated because now the precision fields use floating point numbers. Signed-off-by: Aníbal Limón --- meta/recipes-devtools/apt/apt-native_1.2.12.bb | 4 -- meta/recipes-devtools/apt/apt-native_1.2.24.bb | 7 ++ meta/recipes-devtools/apt/apt.inc | 8 +-- ...ys-run-dpkg-conf

Re: [OE-core] [PATCH 1/2] apt: Upgrade to 1.2.24

2017-08-21 Thread Aníbal Limón
Here is the diff of the GPL license, Cheers, Anibal On 08/21/2017 04:31 PM, Aníbal Limón wrote: > The LIC_FILES_CHKSUM changed because the license file now has > style changes in the text remains GPLv2+. > > The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our > was

[OE-core] [PATCH 1/2] apt: Upgrade to 1.2.24

2017-08-21 Thread Aníbal Limón
The LIC_FILES_CHKSUM changed because the license file now has style changes in the text remains GPLv2+. The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our was updated because now the precision fields use floating point numbers. Signed-off-by: Aníbal Limón --- .../{apt-native_1.2.12

[OE-core] [PATCH 2/2] dpkg: Upgrade to 1.18.24

2017-08-21 Thread Aníbal Limón
d-off-by: Aníbal Limón --- ...nux-wrs-kernel-version-which-has-characte.patch | 12 ++--- ...0006-add-musleabi-to-known-target-tripets.patch | 57 +++--- ...uild.c-Remove-usage-of-clamp-mtime-in-tar.patch | 21 .../dpkg/dpkg/add_armeb_triplet_entry.patch

[OE-core] [PATCH] liburi-perl: Upgrade to 1.72

2017-08-15 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- .../perl/{liburi-perl_1.71.bb => liburi-perl_1.72.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/perl/{liburi-perl_1.71.bb => liburi-perl_1.72.bb} (85%) diff --git a/meta/recipes-devtools/perl/

Re: [OE-core] [PATCH] context: Include a command line argument to run all except certain tests

2017-08-07 Thread Aníbal Limón
Hi, The code looks ok but i prefer to implement this kind of feature inside loader instead of at context module, this is because the oeqa loader has all the logic to get tests and filter it if is necessary. Cheers, Anibal On 08/02/2017 12:22 PM, Leoanardo Sandoval wrote: > Useful command line ar

[OE-core] [PATCH 1/2] oeqa/{core, selftest}: Add support to validate if a specified test case isn't found

2017-07-26 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/context.py | 9 +++-- meta/lib/oeqa/core/exception.py | 3 +++ meta/lib/oeqa/core/loader.py | 26 ++ meta/lib/oeqa/selftest/context.py | 8 ++-- 4 files changed, 42 insertions(+), 4 deletions(-) diff -

[OE-core] [PATCH 2/2] oeqa/core/runner: OEStreamLogger don't buffer test execution writes

2017-07-26 Thread Aníbal Limón
#x27;t have a manner to identify when a test execution starts at report level (write msg). [YOCTO #11827] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/runner.py | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/

Re: [OE-core] [PATCHv3 00/30] oeqa core and oe-selftest threaded enablement

2017-07-21 Thread Aníbal Limón
On 07/21/2017 03:11 AM, Richard Purdie wrote: > On Mon, 2017-07-17 at 16:45 -0500, Aníbal Limón wrote: >> This v3 makes changes on tinfoil busy status patch and adds an >> environment variable to oe-seltest script to specify number of >> threads. >> There are patch

Re: [OE-core] [PATCHv3 11/30] oeqa/selftest/{case, context}: Add builddir by test class and context

2017-07-18 Thread Aníbal Limón
On 07/17/2017 04:45 PM, Aníbal Limón wrote: > The build directory by Test class will enable to use several instances > of bitbake in parallel to enable oe-selftest threaded runs. > > [YOCTO #11429] > > Signed-off-by: Aníbal Limón > --- > meta/lib/oeqa/

[OE-core] [PATCHv3 26/30] selftest/cases/devtool{, end}: Move update/finish_modify tests to its own module

2017-07-17 Thread Aníbal Limón
This devtool tests are set to run at end because made changes into the poky repository causing problems (non deteministic meta data) in other execution threads. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py | 545 ++-- meta/lib/oeqa/selftest

[OE-core] [PATCHv3 24/30] oeqa/selftest/cases: recipetool enable for threaded runs

2017-07-17 Thread Aníbal Limón
- Change to use wrappers from OESelfTestCase. - Move templayer dir creation to RecipetoolBase class because now every class has its own build folder. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/recipetool.py | 105 +++-- 1 file changed, 54 insertions

[OE-core] [PATCHv3 25/30] oeqa/selftest/cases: Move devtool deploy test case to own module

2017-07-17 Thread Aníbal Limón
The devtool deploy test case uses runqemu that uses tinfoil so tinfoil requires to run on the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py| 91 ++--- meta/lib/oeqa/selftest/cases/devtool_deploy.py | 93

[OE-core] [PATCHv3 29/30] oeqa/selftest/context: Enable support for threaded runs

2017-07-17 Thread Aníbal Limón
1 the OESelftestContextThreaded will be used, this is due to compatibility reasons. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/context.py | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib

[OE-core] [PATCHv3 28/30] argparse_oe: Add int_positive type

2017-07-17 Thread Aníbal Limón
Sometimes only expect positive values from cmdline so it's better to filter at parsing cmdline step instead of validate later. Signed-off-by: Aníbal Limón --- scripts/lib/argparse_oe.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/lib/argparse_oe.py b/script

[OE-core] [PATCHv3 30/30] oeqa/selftest/cases: systemd_boot enable threaded runs

2017-07-17 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- .../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/selftest/cases/systemd_boot.py index

[OE-core] [PATCHv3 23/30] oeqa/selftest/cases: devtool enable threaded runs

2017-07-17 Thread Aníbal Limón
decompress tarballs and is supposed to be provided, see bug [YOCTO #11474]. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py | 644 1 file changed, 325 insertions(+), 319 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta

[OE-core] [PATCHv3 21/30] oeqa/selftest/cases: runtime enable threaded runs

2017-07-17 Thread Aníbal Limón
- Use wrappers from OESelfTestCase for runCmd, bitbake, etc. - Split into tree modules because runtime_test_export and runtime_test_postinsts uses runqemu/tinfoil and needs to be executed into the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/runtime_test.py

[OE-core] [PATCHv3 22/30] oeqa/selftest/cases: eSDK enable threaded runs

2017-07-17 Thread Aníbal Limón
- Change some staticmethods to classmethods to be able access wrappers from OESelfTestCase. - Remove unused method update_configuration. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/eSDK.py | 64 +--- 1 file changed, 22 insertions(+), 42 deletions

[OE-core] [PATCHv3 20/30] oeqa/selftest/cases: runqemu enable threaded runs

2017-07-17 Thread Aníbal Limón
- Update to use wrappers {bitbake,get_bb_var} from OESelftestTestCase class. - Run into the main thread because it needs tinfoil to run. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/runqemu.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/lib

[OE-core] [PATCHv3 27/30] seltest/cases/devtool: Build dbus on test_devtool_add_git_local

2017-07-17 Thread Aníbal Limón
-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 44ba361f16c..c5ca95022bb 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib

[OE-core] [PATCHv3 19/30] oeqa/selftest/cases: imagefeatures enable threaded runs

2017-07-17 Thread Aníbal Limón
- Change to use wrapper methos from OESelfTestCase. - Move tests that use runqemu to its own module because it needs tinfoil and run in the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 78 +++--- meta/lib/oeqa/selftest/cases

[OE-core] [PATCHv3 18/30] oeqa/selftest/cases: Use wrapper methods from OESelfTestCase class and enable threaded runs

2017-07-17 Thread Aníbal Limón
In order to support threaded runs in oe-selftest cases, there is a need to use wrapper methods that takes into account the current builddir by Test class. Signed-off-by: Aníbal Limón --- .../lib/oeqa/selftest/cases/_sstatetests_noauto.py | 16 ++-- meta/lib/oeqa/selftest/cases/archiver.py

[OE-core] [PATCHv3 15/30] oeqa/selftest/case: Support bitbake memres mode in per build directory

2017-07-17 Thread Aníbal Limón
If BBSERVER is set on the environment the bitbake is set to be used as a memres, so starts an bitbake server per TestClass. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/lib/oeqa/selftest/case.py b/meta/lib/oeqa

[OE-core] [PATCHv3 09/30] oeqa/core/threaded: logSummary add skipped tests info

2017-07-17 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/threaded.py | 11 +++ 1 file changed, 11 insertions(+) diff --git a/meta/lib/oeqa/core/threaded.py b/meta/lib/oeqa/core/threaded.py index a7dc0aed401..022c9ac59a2 100644 --- a/meta/lib/oeqa/core/threaded.py +++ b/meta/lib/oeqa/core

[OE-core] [PATCHv3 16/30] oeqa/selftest/cases: Use testlayer_path instead of call get_test_layer()

2017-07-17 Thread Aníbal Limón
The testlayer_path is set at init of selftest so isn't need to call every time get_test_layer to get it. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | 2 +- meta/lib/oeqa/selftest/cases/devtool.py | 4 ++-- meta/lib/oeqa/selftest/

[OE-core] [PATCHv3 17/30] oeqa/selftest/cases: Use builddir from class instead of get from environment

2017-07-17 Thread Aníbal Limón
Now the build directory is setup by Test class, so the builddir attr points to the actual BUILDDIR instead of get from environment. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | 7 +++ meta/lib/oeqa/selftest/cases/bbtests.py | 4 ++-- meta

[OE-core] [PATCHv3 08/30] oeqa/core/threaded: Add support to run into a thread at end of execution

2017-07-17 Thread Aníbal Limón
Some test cases aren't allowed to run into a multi-thread environment so add the posibility to run those tests at end of execution. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/threaded.py | 102 +++-- 1 file changed, 78 insertions(+), 24 dele

[OE-core] [PATCHv3 10/30] oeqa/core/tests: Update test_loader threaded to cover main thread usage

2017-07-17 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/tests/test_loader.py | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/meta/lib/oeqa/core/tests/test_loader.py b/meta/lib/oeqa/core/tests/test_loader.py index e0d917d317d..c4d5eeb462b 100755 --- a/meta/lib

[OE-core] [PATCHv3 00/30] oeqa core and oe-selftest threaded enablement

2017-07-17 Thread Aníbal Limón
14:27 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib alimon/oe_selftest_threaded http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=alimon/oe_selftest_threaded Aníbal Limón (30): oeqa/core/loader: Generate function _make_failed_test dynami

[OE-core] [PATCHv3 14/30] oeqa/selftest/case: tearDown extra commands print what actually fails

2017-07-17 Thread Aníbal Limón
Its better to have the output to see what actually fails in a command that is aim to execute at end of a test case. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/case.py b

[OE-core] [PATCHv3 11/30] oeqa/selftest/{case, context}: Add builddir by test class and context

2017-07-17 Thread Aníbal Limón
The build directory by Test class will enable to use several instances of bitbake in parallel to enable oe-selftest threaded runs. [YOCTO #11429] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py| 97 --- meta/lib/oeqa/selftest/context.py

[OE-core] [PATCHv3 07/30] oeqa/core/threaded: Enable support to use the main thread

2017-07-17 Thread Aníbal Limón
thread the algorithm with take the first suite in the pool, finallay this will avoid thread usage if only one suite needs to be executed. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/threaded.py | 104 - 1 file changed, 83 insertions(+), 21 deletions

[OE-core] [PATCHv3 05/30] bb/tinfoil: run_command handle busy status in bitbake server

2017-07-17 Thread Aníbal Limón
x27;clientComplete') File "/home/alimon/repos/poky/bitbake/lib/bb/tinfoil.py", line 320, in run_command raise TinfoilCommandFailed(result[1]) bb.tinfoil.TinfoilCommandFailed: Busy (buildFile in progress) Signed-off-by: Aníbal Limón --- bitbake/lib/bb/tinfoil.py | 24 ++

[OE-core] [PATCHv3 13/30] oeqa/selftest/case: Creates meta-selftest layer per class

2017-07-17 Thread Aníbal Limón
The meta-selftest layer is used by test cases to modify meta data but in a threaded environment two test cases can modify the meta data causing errors because the signatures will change. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py | 34 +++--- 1

[OE-core] [PATCHv3 12/30] oeqa/selftest/case: Add wrappers to utils.commands modules

2017-07-17 Thread Aníbal Limón
}, bitbake, runCmd). The remaining command (oeqa.utils) to provide a wrapper is runqemu, this has other issue because bitbake/tinfoil are expected to run into the main thread (signal handling, etc). Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py | 96

[OE-core] [PATCHv3 06/30] oe/copy_buildsystem: check_sstate_task_list also pop BBPATH from env

2017-07-17 Thread Aníbal Limón
bitbake should be run against a build directory ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed: copy_buildsystem Signed-off-by: Aníbal Limón --- meta/lib/oe/copy_buildsystem.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe

[OE-core] [PATCHv3 03/30] oeqa/selftest/{context, case}: Handle KeyboardInterrupt/SIGINT and SIGTERM

2017-07-17 Thread Aníbal Limón
In order to avoid corrupt local.conf and bblayers.conf adds signal handler for SIGTERM and use try/finally (KeyboardIntrrupt) block to restore previously backuped configuration. [YOCTO #11650] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/case.py| 36 +++-- meta/lib/oeqa

[OE-core] [PATCHv3 04/30] bb/server/process: Handle EINTR on idle_commands select

2017-07-17 Thread Aníbal Limón
If a signal is sent like SIGWINCH the select could be interrupted so ignore the InterruptError like in XMLRPC server [1]. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/server/xmlrpc.py#n307 Signed-off-by: Aníbal Limón --- bitbake/lib/bb/server/process.py | 7 ++- 1

[OE-core] [PATCHv3 02/30] selftest/cases/package: Call parent setUpClass method

2017-07-17 Thread Aníbal Limón
Since config paths are now passed in Test context the setUpClass method is expected to be call. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases

[OE-core] [PATCHv3 01/30] oeqa/core/loader: Generate function _make_failed_test dynamically

2017-07-17 Thread Aníbal Limón
to, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d8380d098a290510b442a7abd2dd5a50cabf5844 Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/loader.py | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.

Re: [OE-core] [PATCH 01/30] oeqa/core/loader: Switch method definition for _make_failed_test

2017-07-17 Thread Aníbal Limón
On 07/17/2017 02:14 PM, Patrick Ohly wrote: > On Fri, 2017-07-14 at 10:27 -0500, Aníbal Limón wrote: >> >> On 07/14/2017 04:52 AM, Patrick Ohly wrote: >>> On Tue, 2017-07-11 at 15:23 -0500, Aníbal Limón wrote: >>>> This was a mistake of me to define wrong what

Re: [OE-core] [PATCH 20/30] oeqa/selftest/cases: runqemu enable thraded runs

2017-07-14 Thread Aníbal Limón
On 07/14/2017 04:35 AM, Patrick Ohly wrote: > On Wed, 2017-07-12 at 10:01 -0500, Aníbal Limón wrote: >>> Add also a wrapper for runqemu and we can get rid of "from >>> oeqa.utils.commands import" completely. >> >> Yes we can after the refkit and o

Re: [OE-core] [PATCH 01/30] oeqa/core/loader: Switch method definition for _make_failed_test

2017-07-14 Thread Aníbal Limón
On 07/14/2017 04:52 AM, Patrick Ohly wrote: > On Tue, 2017-07-11 at 15:23 -0500, Aníbal Limón wrote: >> This was a mistake of me to define wrong what methods needs >> to be defined by certain python version. >> >> See rev d8380d098a290510b442a7abd2dd5a50cabf5844. &g

Re: [OE-core] [PATCHv2 00/29] oeqa core and oe-selftest threaded enablement

2017-07-13 Thread Aníbal Limón
I found some other races in the test cases execution, i will send a v3. Cheers, Anibal On 07/12/2017 02:36 PM, Aníbal Limón wrote: > The v2 address comments did by Patrick about add better explanation > on the commit messages and some typos. > > Other interesting information to add

Re: [OE-core] [PATCHv2 04/29] bb/tinfoil: run_command handle busy status in bitbake server

2017-07-13 Thread Aníbal Limón
On 07/13/2017 10:20 AM, Christopher Larson wrote: > On Wed, Jul 12, 2017 at 12:36 PM, Aníbal Limón > wrote: > >> When tinfoil request a command to bitbake is handled in async >> manner [1], sometimes is this ends on return a Busy status. >> >> This is a workaro

[OE-core] [PATCHv2 19/29] oeqa/selftest/cases: runqemu enable threaded runs

2017-07-12 Thread Aníbal Limón
- Update to use wrappers {bitbake,get_bb_var} from OESelftestTestCase class. - Run into the main thread because it needs tinfoil to run. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/runqemu.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/lib

[OE-core] [PATCHv2 17/29] oeqa/selftest/cases: Use wrapper methods from OESelfTestCase class

2017-07-12 Thread Aníbal Limón
In order to support threaded runs in oe-selftest cases, there is a need to use wrapper methods that takes into account the current builddir by Test class. Signed-off-by: Aníbal Limón --- .../lib/oeqa/selftest/cases/_sstatetests_noauto.py | 16 ++-- meta/lib/oeqa/selftest/cases/archiver.py

[OE-core] [PATCHv2 29/29] oeqa/selftest/cases: systemd_boot enable threaded runs

2017-07-12 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- .../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/selftest/cases/systemd_boot.py index

[OE-core] [PATCHv2 27/29] argparse_oe: Add int_positive type

2017-07-12 Thread Aníbal Limón
Sometimes only expect positive values from cmdline so it's better to filter at parsing cmdline step instead of validate later. Signed-off-by: Aníbal Limón --- scripts/lib/argparse_oe.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/lib/argparse_oe.py b/script

[OE-core] [PATCHv2 24/29] oeqa/selftest/cases: Move devtool deploy test case to own module

2017-07-12 Thread Aníbal Limón
The devtool deploy test case uses runqemu that uses tinfoil so tinfoil requires to run on the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py| 91 ++--- meta/lib/oeqa/selftest/cases/devtool_deploy.py | 93

[OE-core] [PATCHv2 15/29] oeqa/selftest/cases: Use testlayer_path instead of call get_test_layer()

2017-07-12 Thread Aníbal Limón
The testlayer_path is set at init of selftest so isn't need to call every time get_test_layer to get it. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | 2 +- meta/lib/oeqa/selftest/cases/devtool.py | 4 ++-- meta/lib/oeqa/selftest/

[OE-core] [PATCHv2 28/29] oeqa/selftest/context: Enable support for threaded runs

2017-07-12 Thread Aníbal Limón
Add an option to specify how many threads will be used for execution, default to 1. If the thread_num are greater than 1 the OESelftestContextThreaded will be used, this is due to compatibility reasons. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/context.py | 26

[OE-core] [PATCHv2 18/29] oeqa/selftest/cases: imagefeatures enable threaded runs

2017-07-12 Thread Aníbal Limón
- Change to use wrapper methos from OESelfTestCase. - Move tests that use runqemu to its own module because it needs tinfoil and run in the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 78 +++--- meta/lib/oeqa/selftest/cases

[OE-core] [PATCHv2 23/29] oeqa/selftest/cases: recipetool enable for threaded runs

2017-07-12 Thread Aníbal Limón
- Change to use wrappers from OESelfTestCase. - Move templayer dir creation to RecipetoolBase class because now every class has its own build folder. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/recipetool.py | 105 +++-- 1 file changed, 54 insertions

[OE-core] [PATCHv2 25/29] selftest/cases/devtool{, end}: Move update/finish_modify tests to its own module

2017-07-12 Thread Aníbal Limón
This devtool tests are set to run at end because made changes into the poky repository causing problems (non deteministic meta data) in other execution threads. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/devtool.py | 545 ++-- meta/lib/oeqa/selftest

[OE-core] [PATCHv2 16/29] oeqa/selftest/cases: Use builddir from class instead of get from environment

2017-07-12 Thread Aníbal Limón
Now the build directory is setup by Test class, so the builddir attr points to the actual BUILDDIR instead of get from environment. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py | 7 +++ meta/lib/oeqa/selftest/cases/bbtests.py | 4 ++-- meta

[OE-core] [PATCHv2 20/29] oeqa/selftest/cases: runtime enable threaded runs

2017-07-12 Thread Aníbal Limón
- Use wrappers from OESelfTestCase for runCmd, bitbake, etc. - Split into tree modules because runtime_test_export and runtime_test_postinsts uses runqemu/tinfoil and needs to be executed into the main thread. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/runtime_test.py

  1   2   3   4   5   6   7   8   9   10   >