[OE-core] [rocko][PATCH] default-versions.inc: use weak assignments to allow overwrite

2018-06-19 Thread Stefan Stanacar
default-versions.inc is included by defaultsetup.conf which in bitbake.conf is included after local/machine/distro.conf. If these are hard assignments distros can's overwrite them. Signed-off-by: Stefan Stanacar --- meta/conf/distro/include/default-versions.inc | 6 +++--- 1 file changed, 3

[OE-core] [sumo][PATCH] default-versions.inc: use weak assignments to allow overwrite

2018-06-19 Thread Stefan Stanacar
default-versions.inc is included by defaultsetup.conf which in bitbake.conf is included after local/machine/distro.conf. If these are hard assignments distros can's overwrite them. Signed-off-by: Stefan Stanacar --- meta/conf/distro/include/default-versions.inc | 6 +++--- 1 file changed, 3

[OE-core] [PATCH] default-versions.inc: use weak assignments to allow overwrite

2018-06-13 Thread Stefan Stanacar
default-versions.inc is included by defaultsetup.conf which in bitbake.conf is included after local/machine/distro.conf. If these are hard assignments distros can's overwrite them. Signed-off-by: Stefan Stanacar --- meta/conf/distro/include/default-versions.inc | 6 +++--- 1 file changed, 3

Re: [OE-core] [PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-02-06 Thread Stefan Stanacar
Ping? On Mon, Jan 29, 2018 at 4:38 PM, Stefan Stanacar <sst...@gmail.com> wrote: > do_unpack is by default in SRCTREECOVEREDTASKS so this append can't run, > since > do_unpack gets removed by when externalsrc is enabled. > > This was hidden because externalsrc does

[OE-core] [morty][PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-01-29 Thread Stefan Stanacar
. (which is the case for linux-yocto). Make this a separate task so that it actually gets run for kernel recipes with no file:// or type=kmeta in SRC_URI. Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernel.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[OE-core] [morty][PATCH] kernelsrc/perf: fix dependency on non existant task when using externalsrc

2018-01-29 Thread Stefan Stanacar
-kernel/linux/linux-yocto_4.8.bb Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernelsrc.bbclass | 2 +- meta/recipes-kernel/perf/perf.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.b

[OE-core] [PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-01-29 Thread Stefan Stanacar
. (which is the case for linux-yocto). Make this a separate task so that it actually gets run for kernel recipes with no file:// or type=kmeta in SRC_URI. Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernel.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [OE-core] [morty][PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-01-18 Thread Stefan Stanacar
On Wed, Jan 17, 2018 at 9:04 PM, akuster808 <akuster...@gmail.com> wrote: > > > On 01/11/2018 08:07 AM, Stefan Stanacar wrote: > > do_unpack is by default in SRCTREECOVEREDTASKS so this append can't run, > since > > this tasks gets removed by externalsrc when

Re: [OE-core] [morty][PATCH] kernelsrc/perf: fix dependency on non existant task when using externalsrc

2018-01-12 Thread Stefan Stanacar
On Fri, Jan 12, 2018 at 6:21 PM, Joshua Watt <jpewhac...@gmail.com> wrote: > On Thu, 2018-01-11 at 16:07 +0000, Stefan Stanacar wrote: > > When externalsrc is enabled for kernel, do_patch doesn't exist since > > is in > > SRCTREECOVEREDTASKS, so make these depend on

[OE-core] [PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-01-12 Thread Stefan Stanacar
recipe. (e.g linux-yocto). Make this a separate task so that it actually gets run for kernel recipes with no file:// or type=kmeta in SRC_URI. Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernel.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [morty][PATCH] kernel.bbclass: Fix symlink creation when using externalsrc

2018-01-11 Thread Stefan Stanacar
recipe. (e.g linux-yocto). Make this a separate task so that it actually gets run for kernel recipes with no file:// or type=kmeta in SRC_URI. Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernel.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [morty][PATCH] kernelsrc/perf: fix dependency on non existant task when using externalsrc

2018-01-11 Thread Stefan Stanacar
-kernel/linux/linux-yocto_4.8.bb Signed-off-by: Stefan Stanacar <sst...@gmail.com> --- meta/classes/kernelsrc.bbclass | 2 +- meta/recipes-kernel/perf/perf.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.b

Re: [OE-core] [PATCH V2 6/7] controllers/masterimage.py: Make testimage kernel naming pattern universal

2014-06-07 Thread Stefan Stanacar
On Jun 6, 2014 8:11 PM, Corneliu Stoicescu corneliux.stoice...@intel.com wrote: YB: #6254 The QemuTargetControl class does not specify any kernel naming but the runqemu script it uses uses the KERNEL_IMAGETYPE + MACHINE + '.bin' naming scheme. Modifying the other major target controller

Re: [OE-core] [PATCH V2 1/7] targetcontrol.py: make possible dynamical determination of rootfs type

2014-06-07 Thread Stefan Stanacar
Hi Corneliu, On Fri, Jun 6, 2014 at 10:14 PM, Corneliu Stoicescu corneliux.stoice...@intel.com wrote: YB: #6375 Added a new method get_image_fstype() that autodetermines what fstype to use for the rootfs file. This method uses a new list variable 'supported_image_fstypes' that contains

Re: [OE-core] [PATCH V2 6/7] controllers/masterimage.py: Make testimage kernel naming pattern universal

2014-06-07 Thread Stefan Stanacar
On Sat, Jun 7, 2014 at 1:54 PM, Stefan Stanacar sst...@gmail.com wrote: On Jun 6, 2014 8:11 PM, Corneliu Stoicescu corneliux.stoice...@intel.com wrote: YB: #6254 The QemuTargetControl class does not specify any kernel naming but the runqemu script it uses uses the KERNEL_IMAGETYPE

Re: [OE-core] [PATCH V2 7/7] scripts/test-remote-image: Add script for running runtime tests on remotely built images

2014-06-07 Thread Stefan Stanacar
Hi Corneliu, I haven't carefully reviewed this series so if I didn't quite got the point of some things, sorry... At a first look, here are my thoughts (this is actually a reply to the entire series, I seem to have lost the cover letter): - It seems wierd that you instantiate the target

Re: [OE-core] [PATCH] runqemu-internal: add NIC to kernel parameters

2014-05-29 Thread Stefan Stanacar
On May 29, 2014 2:16 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Tue, 2014-05-27 at 12:22 +0200, Adrian Freihofer wrote: Fixes [YOCTO #6356] Problem: If QEMU parameters are extended to emulate additional network interfaces, NFS boot does not work. Example: runqemu

Re: [OE-core] [PATCH] oeqa/controllers/beaglebonetarget.py: fix conditions for files copied to /boot

2014-05-27 Thread Stefan Stanacar
On Tue, May 27, 2014 at 12:50 PM, Corneliu Stoicescu corneliux.stoice...@intel.com wrote: --- meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) As this patch is for meta-yocto-bsp this should be sent to p...@yoctoproject.org

Re: [OE-core] [PTACH V2] oeqa/runtime: Update test names with testopia tc numbers.

2014-05-19 Thread Stefan Stanacar
Hi Lucian, On Fri, May 16, 2014 at 11:44 AM, Lucian Musat georgex.l.mu...@intel.com wrote: class SmartRepoTest(SmartTest): @@ -54,11 +54,12 @@ class SmartRepoTest(SmartTest): @classmethod def tearDownClass(self): self.repo_server.stop() + smartsRepo =

Re: [OE-core] [PATCH] oeqa/runtime: Update test names with testopia tc numbers.

2014-05-14 Thread Stefan Stanacar
Hi Lucian, I'm afraid that you added some lines in the smart.py module, that shouldn't be there. Also a patch description would be nice, explaining why this is needed. On Tue, May 13, 2014 at 2:43 PM, Lucian Musat georgex.l.mu...@intel.com wrote: diff --git a/meta/lib/oeqa/runtime/smart.py

[OE-core] [PATCH] scripts/cleanup-workdir: fix after binutils-cross name change

2014-05-04 Thread Stefan Stanacar
Signed-off-by: Stefan Stanacar sst...@gmail.com --- scripts/cleanup-workdir | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir index 25fef97..cffac59 100755 --- a/scripts/cleanup-workdir +++ b/scripts/cleanup-workdir @@ -49,9

[OE-core] [PATCH] oeqa/utils: sshcontrol: realtime logging of output

2014-04-25 Thread Stefan Stanacar
Log the output of the command as it runs not when it finished, else tail -f tmp/work/minnow-poky-linux/core-image-sato/1.0-r0/testimage/ssh_target_log isn't as useful as it could be. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/sshcontrol.py | 19

[OE-core] [PATCH v2] scripts/send-error-report: use a real server as the default

2014-04-17 Thread Stefan Stanacar
Now that there is a public instance [1] of the error report web interface [2], we should set it as the default. [1] http://errors.yoctoproject.org/ [1] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/ Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/send-error

[OE-core] [PATCH v3] scripts/send-error-report: use a real server as the default

2014-04-17 Thread Stefan Stanacar
Now that there is a public instance [1] of the error report web interface [2], we should set it as the default. [1] http://errors.yoctoproject.org/ [2] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/ Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/send-error

[OE-core] [PATCH] selftest: DiskMonTest: use a high value for free space

2014-04-11 Thread Stefan Stanacar
Using the free space of the host works when oe-selftest is the only build running, but if something else on the host remove things this will fail (as seen on AB). Using an absurdly high value should fix this. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/selftest

[OE-core] [PATCH] scripts/send-error-report: simple hack to use proxy from the enviroment

2014-04-11 Thread Stefan Stanacar
for proxy) but those require more changes than I feel confortable doing now. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/send-error-report | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/scripts/send-error-report b/scripts

[OE-core] [PATCH] scripts/send-error-report: use the official server as the default

2014-04-11 Thread Stefan Stanacar
Now that we have an YP instance of the error report web interface [1], that should be set as the default instead of localhost. [1] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/ Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/send-error-report | 2 +- 1 file

[OE-core] [PATCH v2] scripts/send-error-report: simple hack to use proxy from the enviroment

2014-04-11 Thread Stefan Stanacar
People behind a proxy couldn't send an error report to an upstream server, this should fix the issue if they use a proxy that doesn't require authentication, or one that uses basic http authentication and it's correctly exported in the enviroment. Signed-off-by: Stefan Stanacar stefanx.stana

[OE-core] [PATCH] qemux86-64: re-enable paravirt guest, bring it in sync with qemux86

2014-04-01 Thread Stefan Stanacar
] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/recipes-kernel/linux/linux-yocto_3.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb index d5202cd..46c4260 100644

[OE-core] [PATCH] image.bbclass: add postprocess func to disable DNS lookups for openssh

2014-03-31 Thread Stefan Stanacar
on a previous version sent by Saul Wold s...@linux.intel.com [YOCTO #5954] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/image.bbclass | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass

[OE-core] [PATCH 1/3] initrdscripts: add install scripts with a second rootfs

2014-03-30 Thread Stefan Stanacar
rootfs Part of [YOCTO #5614] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .../initrdscripts/files/init-install-efi-testfs.sh | 199 +++ .../initrdscripts/files/init-install-testfs.sh | 211 + .../initramfs-live-install-efi-testfs_1.0.bb

[OE-core] [PATCH 2/3] recipes-extended: add master image for testing purposes

2014-03-30 Thread Stefan Stanacar
and rootfs - the master image has a /etc/masterimage file so it can differentiate between master and test images - the master image has tar, mount, bash (basically the normal linux utilities not the busybox ones) [YOCTO #5614] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com

[OE-core] [PATCH 3/3] lib/oeqa: add a test target controller for EFI targets

2014-03-30 Thread Stefan Stanacar
is defined it would use classic reboot. This is fine as long as the machine actually reboots (as in the ssh test hasn't failed), but it's useful for simple-setup-with-one-board-on-the-desk scenario, where some manual interaction is okay from time to time. [YOCTO #5614] Signed-off-by: Stefan Stanacar

[OE-core] [PATCH 0/3] Master image generation and hw testing

2014-03-30 Thread Stefan Stanacar
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/masterimage Stefan Stanacar (3): initrdscripts: add install scripts with a second rootfs recipes-extended: add master image for testing purposes lib/oeqa: add a test target controller for EFI targets meta/lib/oeqa/controllers/masterimage.py

[OE-core] [RFC PATCH 0/4] Master image generation and testing

2014-03-20 Thread Stefan Stanacar
49aad7da07e187f206e963001844605731b01247: bitbake: runqueue: Remove use of waitpid on worker processes (2014-03-19 17:46:33 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib stefans/masterimage http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/masterimage Stefan

[OE-core] [RFC PATCH 2/4] initrdscripts: add install scripts with a second rootfs

2014-03-20 Thread Stefan Stanacar
, they just need to follow the same schema. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .../initrdscripts/files/init-install-efi-testfs.sh | 36 -- .../initrdscripts/files/init-install-testfs.sh | 33 +++- .../initramfs-live-install-efi

[OE-core] [RFC PATCH 3/4] recipes-extended: add master image for testing purposes

2014-03-20 Thread Stefan Stanacar
- the master image has a /etc/masterimage file so it can differentiate between master and test images - the master image has tar, mount, bash (basically the normal linux utilities not the busybox ones) [YOCTO #5614] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .../images/core

[OE-core] [RFC PATCH 4/4] lib/oeqa: add a test target controller for EFI targets

2014-03-20 Thread Stefan Stanacar
-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/controllers/masterimage.py | 124 +++ meta/lib/oeqa/runtime/ssh.py | 2 + 2 files changed, 126 insertions(+) create mode 100644 meta/lib/oeqa/controllers/masterimage.py diff --git a/meta/lib

[OE-core] [RFC PATCH 1/4] initrdscripts: copy of the default install scripts

2014-03-20 Thread Stefan Stanacar
These are the install files for a live image, an exact copy of init-install.sh and init-install-efi.sh from core. There are renamed here with -testfs. This is just a dummy commit, just to make it easier to see the diff in the next commit. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com

[OE-core] [PATCH] oeqa/utils/qemurunner: use the right kill call so we don't send SIGTERM to bitbake-worker

2014-03-11 Thread Stefan Stanacar
://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=15688798520896690561824b2fdc227c8a365c82 Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/qemurunner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib

[OE-core] [PATCH] lsbtest: fix comparison bashism

2014-03-11 Thread Stefan Stanacar
== is a bashism use = instead. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 4 ++-- meta/recipes-extended/lsb/lsbtest_1.0.bb | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/recipes-extended

[OE-core] [PATCH 4/4] classes: Add gummiboot class

2014-03-09 Thread Stefan Stanacar
KERNEL_FEATURES_append = cfg/efi-ext in local.conf. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/gummiboot.bbclass | 114 + .../initrdscripts/files/init-install-efi.sh| 51 ++--- 2 files changed, 149 insertions(+), 16 deletions

[OE-core] [PATCH 2/4] recipes-bsp: Add gummiboot recipe

2014-03-09 Thread Stefan Stanacar
=y at least - The default linux-yocto kernel config does not enable that, easiest way to enable is to build with KERNEL_FEATURES_append = cfg/efi-ext in local.conf Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/recipes-bsp/gummiboot/gummiboot_git.bb | 25

[OE-core] [PATCH 1/4] recipes-bsp: add gnu-efi recipe

2014-03-09 Thread Stefan Stanacar
gnu-efi is required by gummiboot. Imported from meta-intel, PR dropped, no new version available. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .../gnu-efi/gnu-efi/parallel-make-archives.patch | 48 ++ .../gnu-efi/gnu-efi/parallel-make.patch| 22

[OE-core] [PATCH 3/4] bootimg/grub-efi.bbclass: allow using a different class for EFI images

2014-03-09 Thread Stefan Stanacar
Abstract away some names so one can select using EFI_PROVIDER a different class than grub-efi for populating live images, basically allowing the use of a different bootloader than grub-efi. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/boot-directdisk.bbclass | 7

[OE-core] [PATCH v2 1/4] recipes-bsp: add gnu-efi recipe

2014-03-09 Thread Stefan Stanacar
gnu-efi is required by gummiboot. Imported from meta-intel, PR dropped, no new version available. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .../gnu-efi/gnu-efi/parallel-make-archives.patch | 48 ++ .../gnu-efi/gnu-efi/parallel-make.patch| 22

[OE-core] [PATCH v2 2/4] recipes-bsp: Add gummiboot recipe

2014-03-09 Thread Stefan Stanacar
=y at least - The default linux-yocto kernel config does not enable that, easiest way to enable is to build with KERNEL_FEATURES_append = cfg/efi-ext in local.conf Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/recipes-bsp/gummiboot/gummiboot_git.bb | 25

[OE-core] [PATCH v2 3/4] bootimg/grub-efi.bbclass: allow using a different class for EFI images

2014-03-09 Thread Stefan Stanacar
Abstract away some names so one can select using EFI_PROVIDER a different class than grub-efi for populating live images, basically allowing the use of a different bootloader than grub-efi. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/boot-directdisk.bbclass | 7

[OE-core] [PATCH v2 0/4] Add gummiboot boot manager alongside grub-efi

2014-03-09 Thread Stefan Stanacar
abe417e22b1b55c60f722ca434f9d382ef87: classes/uboot-config: ignore doc varflag (2014-03-07 15:05:09 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib stefans/gummiboot http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/gummiboot Stefan Stanacar (4

[OE-core] [PATCH v2 4/4] classes: Add gummiboot class

2014-03-09 Thread Stefan Stanacar
KERNEL_FEATURES_append = cfg/efi-ext in local.conf. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/gummiboot.bbclass | 114 + .../initrdscripts/files/init-install-efi.sh| 51 ++--- 2 files changed, 149 insertions(+), 16 deletions

[OE-core] [PATCH] oeqa/targetcontrol: allow a custom port for SimpleRemoteTarget

2014-03-07 Thread Stefan Stanacar
We had the ability to use a custom port for the ssh connection, but we weren't using it. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/targetcontrol.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/targetcontrol.py b/meta

[OE-core] [PATCH] oeqa/targetcontrol: fix loading a controller using a class name

2014-03-07 Thread Stefan Stanacar
This was wrong and if one would do TEST_TARGET = SimpleRemoteTarget instead of TEST_TARGET = simpleremote it would complain that there is no such controller when there is. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/targetcontrol.py | 3 ++- 1 file changed, 2

[OE-core] [PATCH] oeqa/utils/qemurunner: search for login string in the entire boot log

2014-03-07 Thread Stefan Stanacar
If some service is to spammy we might miss the login, so search in the entire log instead of just the last few lines. Use qemu in regex too (to avoid a login string from some service). Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/qemurunner.py | 3 +-- 1 file

[OE-core] [PATCH 2/3] bootimg/grub-efi.bbclass: allow using a different class for EFI images

2014-03-06 Thread Stefan Stanacar
Abstract away some names so one can select using EFI_PROVIDER a different class than grub-efi for populating live images, basically allowing the use of a different bootloader than grub-efi. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/boot-directdisk.bbclass | 7

[OE-core] [PATCH 0/3] Add gummiboot boot manager alongside grub-efi

2014-03-06 Thread Stefan Stanacar
a01af0202558e6ed9d16590b3a8d1dd1b95c0374: recipes: bump PRs (2014-03-05 17:36:37 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib stefans/gummiboot http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/gummiboot Stefan Stanacar (3): recipes-bsp: Add gummiboot

[OE-core] [PATCH 3/3] classes: Add gummiboot class

2014-03-06 Thread Stefan Stanacar
KERNEL_FEATURES_append = cfg/efi-ext in local.conf. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/gummiboot.bbclass | 112 + .../initrdscripts/files/init-install-efi.sh| 51 +++--- 2 files changed, 147 insertions(+), 16 deletions

[OE-core] [PATCH] testimage: add task level lock

2014-03-01 Thread Stefan Stanacar
For machines other than qemu it will not be okay to run multiple testimage tasks in parallel. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage-auto.bbclass | 1 + meta/classes/testimage.bbclass | 4 2 files changed, 5 insertions(+) diff --git a/meta

[OE-core] [PATCH] oeqa/targetcontrol: make BaseTarget an abstract class

2014-02-27 Thread Stefan Stanacar
This should make it clear what methods a subclass needs to redefine. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/targetcontrol.py | 16 1 file changed, 16 insertions(+) diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py

[OE-core] [PATCH] oeqa/targetcontrol: properly get the host ip

2014-02-25 Thread Stefan Stanacar
For the SimpleRemote target where we need the host ip and it wasn't set in conf, we tried to determine it automatically. However ip route output isn't the same for every network, we need the last field from the first line. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib

[OE-core] [PATCH] oeqa/runtime: smart: don't run in auto mode when rpm is not the pm

2014-02-12 Thread Stefan Stanacar
TEST_SUITES = auto would run smart tests even for non-rpm images, which is pointless. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runtime/smart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py

[OE-core] [PATCH] testimage: fail if no package manifest is found

2014-02-09 Thread Stefan Stanacar
Sometimes we may forget to actually build the image we want to test (when testimage task is called manually). Instead of an ugly traceback we should fail nicely. The manifest is written after the rootfs so this ensures the image was actually built. Signed-off-by: Stefan Stanacar stefanx.stana

[OE-core] [PATCH] oeqa/utils: targetbuild: take proxy into account

2014-02-09 Thread Stefan Stanacar
A previous commit broke downloads when proxies are involved, let's fix it. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runtime/buildcvs.py | 2 +- meta/lib/oeqa/runtime/buildiptables.py | 2 +- meta/lib/oeqa/runtime/buildsudoku.py | 2 +- meta/lib/oeqa

[OE-core] [PATCH] scripts/oe-selftest: return based on the test results

2014-02-07 Thread Stefan Stanacar
Regardless if the tests passed or not the script returned 0, which isn't what one would expect. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/oe-selftest | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/oe-selftest b/scripts/oe-selftest

[OE-core] [PATCH 1/3] testimage: add ability to export tests

2014-02-03 Thread Stefan Stanacar
] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage.bbclass | 107 +++-- meta/lib/oeqa/oetest.py| 17 +++ 2 files changed, 98 insertions(+), 26 deletions(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes

[OE-core] [PATCH 3/3] oeqa/utils: targetbuild: don't use bb.fetch anymore

2014-02-03 Thread Stefan Stanacar
When running tests outside of the build system we can't use bb.fetch anymore. It was nice but tests and their modules need to rely on the data storage only as that gets exported. This module is used by the oeqa/runtime/build* tests. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com

[OE-core] [PATCH 2/3] lib/oeqa: add module for running tests outside of the build system

2014-02-03 Thread Stefan Stanacar
/on/another/machine testdata.json runexported.py accepts other arguments as well, see --help. [YOCTO #5613] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runexported.py | 140 +++ 1 file changed, 140 insertions(+) create mode 100755

[OE-core] [PATCH 0/3] testimage/oeqa: Add ability to export tests to decouple them from the build system

2014-02-03 Thread Stefan Stanacar
-contrib stefans/export http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/export Stefan Stanacar (3): testimage: add ability to export tests lib/oeqa: add module for running tests outside of the build system oeqa/utils: targetbuild: don't use bb.fetch anymore meta/classes

[OE-core] [PATCH] oeqa/runtime: drop restartTarget method

2014-01-29 Thread Stefan Stanacar
anymore, qemu machines had the default ram size bumped a while ago). Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/oetest.py| 4 meta/lib/oeqa/runtime/buildcvs.py | 2 -- meta/lib/oeqa/runtime/buildiptables.py | 2 -- meta/lib/oeqa/runtime

[OE-core] [PATCH] oeqa/runtime: smart: fix adding channels

2014-01-29 Thread Stefan Stanacar
Without this it won't add core2-64 and similar channels, as the directory name in deploy_dir/rpm uses _ not - as the package arch. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runtime/smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[OE-core] [PATCH] oeqa/utils: sshcontrol: rewrite the SSHControl class

2014-01-28 Thread Stefan Stanacar
, raises an exception when exit code != 0 (that's useful for code outside of tests, where you wouldn't want to check the return code every time as the tests do) Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/sshcontrol.py | 175

[OE-core] [PATCH] oeqa/runtime: rpm: fix finding the test rpm file

2014-01-28 Thread Stefan Stanacar
-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runtime/rpm.py | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py index 154cad5..084d22f 100644 --- a/meta/lib/oeqa/runtime/rpm.py +++ b

[OE-core] [PATCH] scripts/runqemu-internal: use -cpu core2duo for qemux86-64

2014-01-28 Thread Stefan Stanacar
[7f2af01f5000+6000] Illegal instruction If the tune for qemux86 changes, that needs to be updated too. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/runqemu-internal | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu-internal b/scripts

[OE-core] [PATCH] oeqa/runtime: syslog: update --help test

2014-01-27 Thread Stefan Stanacar
busybox 1.22 now returns exitcode 0 instead of 1 for --help options, so this test needs to be updated when busybox gets upgraded to 1.22. https://bugs.busybox.net/show_bug.cgi?id=5612 http://git.busybox.net/busybox/commit/?id=efd0698f74caab0a0c8a51228b923ee142e8e278 Signed-off-by: Stefan

[OE-core] [PATCH] lib/oeqa: sshcontrol: fix false timeout failures

2014-01-17 Thread Stefan Stanacar
be there. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/sshcontrol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py index a0dcf02..3e53ec3 100644 --- a/meta/lib/oeqa/utils

[OE-core] [PATCH] lib/oeqa: allow a layer to provide it's own TEST_TARGET class

2014-01-16 Thread Stefan Stanacar
Allows a layer to define new classes in layer/lib/oeqa/utils/controllers.py and completely control or extend deployment of a target. (core currently has QemuTarget and SimpleRemoteTarget). The value of TEST_TARGET must be the name of the new class. Signed-off-by: Stefan Stanacar stefanx.stana

[OE-core] [PATCH] testimage: include traceback when loading a test fails

2013-12-18 Thread Stefan Stanacar
Makes it much easier to figure out where a syntax error is. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index

[OE-core] [PATCH] lib/oeqa/runtime: rewrite the systemd test module

2013-12-18 Thread Stefan Stanacar
service) Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/runtime/systemd.py | 93 +++- 1 file changed, 45 insertions(+), 48 deletions(-) diff --git a/meta/lib/oeqa/runtime/systemd.py b/meta/lib/oeqa/runtime/systemd.py index 31007df

[OE-core] [PATCH] lib/oeqa/selftest/base, scripts/oe-selftest: fix wrong remove path and do a complete cleanup at the end

2013-12-04 Thread Stefan Stanacar
supposed to. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/selftest/base.py | 2 +- scripts/oe-selftest| 12 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py index

[OE-core] [PATCH] lib/oeqa/selftest: buildoptions: small fixes for some tests

2013-12-04 Thread Stefan Stanacar
While harmless, we should overwrite the config not append to it, and use m4 as target, otherwise the WARN check will build an entire image and we are not interested in that. Also add an output check for the WARN_QA test. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa

[OE-core] [PATCH] lib/oeqa/selftest: add tests for PR service

2013-12-04 Thread Stefan Stanacar
From: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/selftest/prservice.py | 113 1 file changed, 113 insertions

[OE-core] [PATCH] lib/oeqa: use the new manifest file for determining if a package is installed

2013-11-28 Thread Stefan Stanacar
(because of date), so we use the link which points to the last one built. [ YOCTO #5072 ] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/oetest.py | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa

[OE-core] [PATCH 1/4] scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts

2013-11-27 Thread Stefan Stanacar
and running: oe-selftest to get some results. It would finish faster if at least a core-image-minimal was built before. [ YOCTO #4740 ] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/selftest/__init__.py | 2 + meta/lib/oeqa/selftest/base.py | 98

[OE-core] [PATCH 3/4] lib/oeqa/selftest: buildoptions.py: add simple image build tests

2013-11-27 Thread Stefan Stanacar
From: Alexandru Palalau alexandrux.pala...@intel.com Build images and tests different build options like RM_OLD_IMAGE and for WARN_QA/ERROR_QA behaviour. Signed-off-by: Alexandru Palalau alexandrux.pala...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa

[OE-core] [PATCH 4/4] lib/oeqa/selftest: add test modules for expected bitbake output and bitbake-layers

2013-11-27 Thread Stefan Stanacar
From: Corneliu Stoicescu corneliux.stoice...@intel.com Tests for bitbake-layers and expected output for some bitbake options. Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/selftest/bblayers.py | 37

[OE-core] [PATCH 0/4] Script and layer for running tests

2013-11-27 Thread Stefan Stanacar
/oeqa/selftest: add test modules for expected bitbake output and bitbake-layers Stefan Stanacar (1): scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts .gitignore | 1 + meta-selftest/COPYING.MIT

[OE-core] [PATCH 2/4] meta-selftest: create a new test layer to be used by oe-selftest script

2013-11-27 Thread Stefan Stanacar
is the file tests will actually use. Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .gitignore | 1 + meta-selftest/COPYING.MIT | 17 + meta

[OE-core] [PATCH v2 1/2] lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets

2013-11-26 Thread Stefan Stanacar
-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/targetcontrol.py | 137 + 1 file changed, 137 insertions(+) create mode 100644 meta/lib/oeqa/targetcontrol.py diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py

[OE-core] [PATCH v2 0/2] Run tests on a remote machine

2013-11-26 Thread Stefan Stanacar
=stefans/hwtest3 Stefan Stanacar (2): lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets testimage: use the new targetcontrol.py module for running tests meta/classes/testimage-auto.bbclass | 3 +- meta/classes/testimage.bbclass | 104

[OE-core] [PATCH v2 2/2] testimage: use the new targetcontrol.py module for running tests

2013-11-26 Thread Stefan Stanacar
and unsed methods were dropped from sshcontrol. [ YOCTO #5554 ] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage-auto.bbclass | 3 +- meta/classes/testimage.bbclass | 104 +--- meta/lib/oeqa/oetest.py | 20

[OE-core] [PATCH 2/2] testimage: use the new targetcontrol.py module for running tests

2013-11-25 Thread Stefan Stanacar
methods were dropped from sshcontrol. [ YOCTO #5554 ] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage-auto.bbclass | 3 +- meta/classes/testimage.bbclass | 104 +--- meta/lib/oeqa/oetest.py | 20 +++ meta

[OE-core] [PATCH 1/2] lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets

2013-11-25 Thread Stefan Stanacar
, it opens the door for running the tests on different types of targets by adding new classes (maybe qemu-nfsroot or remote-special etc.). One could also override BaseTarget which currently uses the existing SSHControl module and add a serial implementation. [ YOCTO #5554 ] Signed-off-by: Stefan

[OE-core] [PATCH 0/2] Run tests on a remote machine

2013-11-25 Thread Stefan Stanacar
://git.yoctoproject.org/poky-contrib stefans/hwtest3 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/hwtest3 Stefan Stanacar (2): lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets testimage: use the new targetcontrol.py module for running tests meta

[OE-core] [RFC PATCH 2/4] meta-selftest: create a new test layer to be used by oe-selftest script

2013-11-19 Thread Stefan Stanacar
From: Corneliu Stoicescu corneliux.stoice...@intel.com Everything in this layer is meant to be used by tests. Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- .gitignore | 1

[OE-core] [RFC PATCH 3/4] scripts/lib/selftest: add a new module for bitbake output tests

2013-11-19 Thread Stefan Stanacar
From: Corneliu Stoicescu corneliux.stoice...@intel.com Tests for bitbake-layers and expected output for some bitbake options. Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/lib/selftest/tests/__init__.py | 1

[OE-core] [RFC PATCH 0/4] Script and layer for running tests

2013-11-19 Thread Stefan Stanacar
-selftest: create a new test layer to be used by oe-selftest script scripts/lib/selftest: add a new module for bitbake output tests Stefan Stanacar (1): scripts/oe-selftest: script to run builds as unitests against bitbake or various scripts .gitignore

[OE-core] [RFC PATCH 4/4] scripts/lib/selftest: add more simple build tests

2013-11-19 Thread Stefan Stanacar
From: Alexandru Palalau alexandrux.pala...@intel.com Tests for RM_OLD_IMAGE and for WARN_QA/ERROR_QA behaviour. Signed-off-by: Alexandru Palalau alexandrux.pala...@intel.com Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/lib/selftest/tests/__init__.py | 1 + scripts/lib

[OE-core] [RFC PATCH 1/4] scripts/oe-selftest: script to run builds as unitests against bitbake or various scripts

2013-11-19 Thread Stefan Stanacar
/include files for the purpose of the tests. It's a simple matter or sourcing the enviroment, adding the meta-selftest layer and running: oe-selftest to get some results. [ YOCTO #4740 ] Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- scripts/lib/selftest/__init__.py | 0

[OE-core] [PATCH] lib/oeqa/utils: sshcontrol: make timeout depend on output

2013-11-03 Thread Stefan Stanacar
Instead of running the commands with a fixed timeout, we should kill the command if there is no output for timeout seconds. Also changed some strings/comments. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/lib/oeqa/utils/sshcontrol.py | 41

[OE-core] [PATCH] lib/oeqa/runtime: build kernel module on target test

2013-10-18 Thread Stefan Stanacar
Builds a simple Hello World module on target. Added to the defaults for core-image-sato-sdk. Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com --- meta/classes/testimage.bbclass| 2 +- meta/lib/oeqa/runtime/files/hellomod.c| 19 +++ meta/lib/oeqa

[OE-core] [PATCH] lib/oeqa/runtime: ping: wait for 5 echo replies

2013-09-25 Thread Stefan Stanacar
Instead of considering that ping test passed after 1 reply, wait for at least 5 consecutive replies in 60 seconds (which should be enough time for connman to reconfigure the interface in systemd images and help with the fake ssh/tests fails.) Signed-off-by: Stefan Stanacar stefanx.stana

  1   2   3   >