: 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
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
: 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
.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
.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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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 -
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
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}
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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 -
#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/
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
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/
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
- 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
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
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
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
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
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
- 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
- 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
- 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
-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
- 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
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
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
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
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/
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
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
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
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
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
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
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
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 ++
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
},
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
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
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
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
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
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.
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
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
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
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
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
- 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
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
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
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
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
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/
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
- 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
- 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
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
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
- 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 - 100 of 913 matches
Mail list logo