[OE-core] [PATCH 1/1] toolchain-shar-relocate.sh: Add error-handling

2016-09-21 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> The relocation script of the SDK doesn't have enough error handling when replacing host perl with SDK perl or changing the symlinks. This will add those checks along with a sanity check of xargs. [YOCTO #10114] Signed-off-by: Mariano

Re: [OE-core] [PATCHv4 1/2] cve-check-tool: Add recipe

2016-08-25 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> cve-check-tool is a program for public CVEs checking. This tool also seek to determine if a vulnerability has been addressed by a patch. The recipe also includes the do_populate_cve_db task that will populate the database used by th

[OE-core] [PATCHv4 0/2] Add initial capability to check CVEs for recipes

2016-08-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This series add the cve-check-tool recipe, a tool used to identify potentially vulnerable software through version matching. It will check if a vulnerability has been addressed by a patch. Also add the new cve-check class that will add

[OE-core] [PATCHv4 1/2] cve-check-tool: Add recipe

2016-08-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> cve-check-tool is a program for public CVEs checking. This tool also seek to determine if a vulnerability has been addressed by a patch. The recipe also includes the do_populate_cve_db task that will populate the database used by th

[OE-core] [PATCHv4 2/2] cve-check.bbclass: Add class

2016-08-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This class adds a new task for all the recipes to use cve-check-tool in order to look for public CVEs affecting the packages generated. It is possible to use this class when building an image, building a recipe, or using the

[OE-core] [PATCH 1/1] Fix use of tar's --exclude option for tar >= 1.29

2016-08-05 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Starting from tar 1.29 the --exclude option won't work anymore if is not used before the path. There are some recipes that copy the ptest using tar and --exclude option. This fixes these for OE-Core recipes. [YOCTO #9763] Sign

[OE-core] [PATCH 1/1] python-smartpm_git.bb: Add patch for debugging random errors

2016-08-03 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This will add a patch to debug random errors seen in the autobuilders, it won't solve the errors, but will give us a better idea of what is happening. [YOCTO #8383] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> ---

[OE-core] [PATCHv2 1/1] selftest/runtime-test.py: Add test for testexport SDK feature

2016-08-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds test_testexport_sdk() to test the SDK feature of testexport in the CI in order to avoid breaking it. [YOCTO #9765] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta-selftest/lib/oeqa/runtime/self

[OE-core] [PATCHv2 0/1] Add selftest to test testexport's SDK feature

2016-08-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds a new selftest for testexport in the CI to avoid breaking SDK functionality. All dependencies are in master now: Changes in v2: - Refactor test to avoid environment modification/restoration. - Tested in local autobu

[OE-core] [PATCHv2 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-07-27 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> There are some features in testimage/testexport that are not tested; this might lead to break some of these features without notice. This adds a new test in order to test two features of testimage: - Import test from other layers. - I

[OE-core] [PATCHv2 0/1] Add runtime test for import test from other layers

2016-07-27 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Changes in v2: - Fix features needed for bitbake - Use full-cmdline instead of sato - Tested in local autobuilders before submitting the patch The following changes since commit 039f47ad197a9a53109c9f3deadd9c35e62c056d: uclibc: remov

Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-07-26 Thread Mariano Lopez
On 07/25/2016 05:38 PM, Burton, Ross wrote: On 13 June 2016 at 14:32, > wrote: + features = 'INHERIT += "testexport"\n' You mean testimage here as that class isn't inherited by default. +features =

[OE-core] [PATCHv2 2/2] oeqa/utils/sshcontrol.py: Allows to copy symlinks to target

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when copying a symlink to the target it will fail throwing an exception. This will recreate symlinks from the system performing the tests to the device under tests. [YOCTO #9932] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCHv2 1/2] oeqa/oetest.py: Allow to export packages using symlinks

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently packages that contains symlinks can't be extracted and exported. This allows to export extracted such packages. A nice side effect is improved readability. [YOCTO #9932] Signed-off-by: Mariano Lopez <mariano.lo...@linux.

[OE-core] [PATCHv2 0/2] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when using the install functionality in the DUT without package manager, if you copy a symlink the function will fail. These series will change the behaviour and will allow to recreate the symlinks in the DUT. Changes in v2:

Re: [OE-core] [PATCH 0/3] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread Mariano Lopez
On 07/26/2016 11:27 AM, Joshua G Lock wrote: On Tue, 2016-07-26 at 07:39 +, mariano.lo...@linux.intel.com wrote: From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when using the install functionality in the DUT without package manager, if you copy a symlink the fu

Re: [OE-core] [PATCH 1/3] oeqa/utils/commands.py: Add oeqa_copy function

2016-07-26 Thread Mariano Lopez
On 07/26/2016 11:13 AM, Burton, Ross wrote: On 26 July 2016 at 08:39, > wrote: +def oeqa_copy(src, dst): +""" +Copy files and symlinks trying to preserve metadata. +""" + +

[OE-core] [PATCH 1/3] oeqa/utils/commands.py: Add oeqa_copy function

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new function is just a call to shutil.copy2() with follow_symlinks set to False. This function is needed when using shutil.copytree() to preserve the symlinks. [YOCTO #9932] Signed-off-by: Mariano Lopez <mariano.lo...@linux.

[OE-core] [PATCH 0/3] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when using the install functionality in the DUT without package manager, if you copy a symlink the function will fail. These series will change the behaviour and will allow to recreate the symlinks in the DUT. [YOCTO

[OE-core] [PATCH 2/3] oeqa/oetest.py: Allow to export packages using symlinks

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently packages that contains symlinks can't be extracted and exported. This allows to export extracted such packages. A nice side effect is improved readability. [YOCTO #9932] Signed-off-by: Mariano Lopez <mariano.lo...@linux.

[OE-core] [PATCH 3/3] oeqa/utils/sshcontrol.py: Allows to copy symlinks to target

2016-07-26 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when copying a symlink to the target it will fail throwing an exception. This will recreate symlinks from the system performing the tests to the device under tests. [YOCTO #9932] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCH 1/1] useradd.bbclass: Fix delete user/group when more than one item

2016-07-25 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently when a recipe adds more than one user/group, the cleansstate task will delete only the first user/group. This will solve this behavior and delete all users/groups. [YOCTO #9943] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCH 1/1] oetest.py: Remove check for __init__.py

2016-07-21 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When using "auto" in TEST_SUITES there is a check for __init__.py in the /lib/oeqa/runtime/ directory in all the layers in BBLAYERS. This check was needed because the way that python 2 import the modules, now that bitba

[OE-core] [PATCHv3 0/1] selftest: Add test to check imports from other layers

2016-07-20 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This patch adds a test to check selftest itself, the feature to import tests from other layers. Changes in v2: - Renamed tests based on Benjamin's comment Changes in v3: - Refactor test to not use oe-selftest within oe-se

[OE-core] [PATCHv3 1/1] selftest/seltest.py: Add test to check imports from other layers

2016-07-20 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This tests adds a check of selftest itself to verify if can add test from other layers. [YOCTO #9770] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta-selftest/lib/oeqa/selftest/external-layer.py | 14 +

Re: [OE-core] [PATCHv3 1/2] cve-check-tool: Add recipe

2016-07-18 Thread Mariano Lopez
On 07/12/2016 05:19 PM, akuster808 wrote: Mariano, On 07/11/2016 05:52 AM, mariano.lo...@linux.intel.com wrote: From: Mariano Lopez <mariano.lo...@linux.intel.com> cve-check-tool is a program for public CVEs checking. This tool also seek to determine if a vulnerability has been add

[OE-core] [PATCHv2 0/1] selftest: Add test to check imports from other layers

2016-07-14 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This patch adds a test to check selftest itself, the feature to import tests from other layers. Changes in v2: - Renamed tests based on Benjamin's comment The following changes since commit 6bb3069eeff76373041f8da08418386fe5ef5897:

[OE-core] [PATCHv2 1/1] selftest/seltest.py: Add test to check imports from other layers

2016-07-14 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This tests adds a check of selftest itself to verify if can add test from other layers. [YOCTO #9770] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta-selftest/lib/oeqa/selftest/external-layer.py | 14

Re: [OE-core] [PATCH 1/1] selftest/seltest.py: Add test to check imports from other layers

2016-07-13 Thread Mariano Lopez
: external_layer.ImportedTests.test_inconditional_pass. I'll send v2 with the revised name Mariano Lopez -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH 1/1] oetest.py: Fix problem when there is more than one json file for package extraction

2016-07-13 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This allow to have more than one test to have json file in order to install packages in the DUT without using a package manager. [YOCTO #9926] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/oe

[OE-core] [PATCH 1/1] selftest/seltest.py: Add test to check imports from other layers

2016-07-12 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This tests adds a check of selftest itself to verify if can add test from other layers. [YOCTO #9770] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta-selftest/lib/oeqa/selftest/imported.py | 14

[OE-core] [PATCHv3 1/2] cve-check-tool: Add recipe

2016-07-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> cve-check-tool is a program for public CVEs checking. This tool also seek to determine if a vulnerability has been addressed by a patch. The recipe also includes the do_populate_cve_db task that will populate the database used by th

[OE-core] [PATCHv3 2/2] cve-check.bbclass: Add class

2016-07-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This class adds a new task for all the recipes to use cve-check-tool in order to look for public CVEs affecting the packages generated. It is possible to use this class when building an image, building a recipe, or using the

[OE-core] [PATCHv3 0/2] Add initial capability to check CVEs for recipes

2016-07-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This series add the cve-check-tool recipe, a tool used to identify potentially vulnerable software through version matching. It will check if a vulnerability has been addressed by a patch. Also add the new cve-check class that will add

[OE-core] [PATCH 2/2] selftest/runtime-test.py: Add test for testexport SDK feature

2016-07-07 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds test_testexport_sdk() to test the SDK feature of testexport in the CI in order to avoid breaking it. [YOCTO #9765] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/selftest/runtime-

[OE-core] [PATCH 1/2] lib/oeqa/utils/commands.py: Move updateEnv() from runexported.py

2016-07-07 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> updateEnv() can be used in other places so move the function to utils/commands.py Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/runexported.py| 16 ++-- meta/lib/oeqa/utils/comm

[OE-core] [PATCH 0/2] Add selftest to test testexport's SDK feature

2016-07-07 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds a new selftest for testexport in the CI to avoid breaking SDK functionality. This depends on: http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122785.html The following changes since

[OE-core] [PATCHv2 1/1] oetest.py: Add command line parameter support for tag in testexport

2016-07-04 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This allows to use a command line argument to change the tag used to filter test instead of rebuilding the tests. [YOCTO #8532] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/oetest.

[OE-core] [PATCHv2 0/1] Add command line parameter support for tag in testexport

2016-07-04 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This allows to specify the tag to be used to filter test as an argument of runexported.py. Changes in v2: - Use a specific dictionary instead of kwargs The following changes since commit 5c11e365e19357f721c49d076971567e7b64b61b: li

Re: [OE-core] [PATCH 1/1] oetest.py: Add command line parameter support for tag in testexport

2016-07-04 Thread Mariano Lopez
now, it just require a single variable that is an argument from the cli, so I will use a dict for that purpose, per our discussion. -- Mariano Lopez -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http

[OE-core] [PATCH 1/1] oetest.py: Add command line parameter support for tag in testexport

2016-07-04 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This allows to use a command line argument to change the tag used to filter test instead of rebuilding the tests. [YOCTO #8532] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/oetest.

Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-15 Thread Mariano Lopez
On 06/15/2016 04:05 PM, Khem Raj wrote: On Wed, Jun 15, 2016 at 2:01 PM, Mariano Lopez <mariano.lo...@linux.intel.com> wrote: On 06/15/2016 03:47 PM, Khem Raj wrote: On Tue, Jun 14, 2016 at 3:08 PM, Mariano Lopez <mariano.lo...@linux.intel.com> wrote: If we're just runn

Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-15 Thread Mariano Lopez
On 06/15/2016 03:47 PM, Khem Raj wrote: On Tue, Jun 14, 2016 at 3:08 PM, Mariano Lopez <mariano.lo...@linux.intel.com> wrote: If we're just running ping/ssh/selftest, can the image be something a lot smaller such as core-image-base? Ross Unfortunately, base or minimal don't ha

Re: [OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-14 Thread Mariano Lopez
On 06/14/2016 04:26 AM, Burton, Ross wrote: On 13 June 2016 at 14:32, > wrote: + features = 'INHERIT += "testexport"\n' +features = 'TEST_SUITES = "ping ssh selftest"\n' + +# Build

[OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

2016-06-13 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> There are some features in testimage/testexport that are not tested; this might lead to break some of these features without notice. This adds a new test in order to test two features of testimage: - Import test from other layers. - I

[OE-core] [PATCH 1/1] update-rc.d.bbclass: Disable class when sysvinit is not in DISTRO_FEATURES

2016-06-10 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When sysvinit is not in use, update-rd.d class adds build dependencies that won't be needed, this patch removes the build dependecies and won't add the task to PACKAGESPLITFUNCS. [YOCTO #9515] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCH 1/1] selftest/testexport.py: Add test test_testexport_basic

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Exported tests is not been tested right now and it get broken very easily with import errors from bitbake. This adds a new test in order to verify in the CI if the testexport gets broken. [YOCTO #8384] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCHv3 7/7] testexport.bbclass: Create tarballs for easy release

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This create tarballs in the testexport directory in order to make easier to distribute the test in another systems. There are three tarballs, one for the metadata that is not arch dependant, another for packages needed by the DUT (this d

[OE-core] [PATCHv2 3/7] oetest.py: Add install/uninstall functionality for DUTs

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Add the functionality to install/unistall packages in the DUTs without the use of the package manager. This is possible with the extraction introduced in package manager class. testimage and testexport bbclasses has been modified in

[OE-core] [PATCHv2 6/7] testexport.bbclass: Add support for testexport-tarball

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Add support to export the SDK tarball needed when a test system doesn't have the required software to perform runtime tests. The support is when exporting the test and when running the test on a remote system. The user of this feature jus

[OE-core] [PATCHv2 7/7] testexport.bbclass: Create tarballs for easy release

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This create tarballs in the testexport directory in order to make easier to distribute the test in another systems. There are three tarballs, one for the metadata that is not arch dependant, another for packages needed by the DUT (this d

[OE-core] [PATCHv2 4/7] testimage.bbclass: Make dependency of cpio when using RPMs

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Exctraction of RPMs needs cpio, not all distros include cpio by default, so we need to build it. [YOCTO #8694] (From OE-Core rev: 95cd427b3887b087533fba11c67ef9bc173f9aa5) Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com&g

[OE-core] [PATCHv2 2/7] lib/oeqa/otest.py: Fix import tests from other layers with python3

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> In python3 the functionality to import modules has been changed and this broke the capability to add runtime tests from other layers. This commit returns this capability to testimage and testexport. [YOCTO #9705] Signed-off-by: Mariano

[OE-core] [PATCHv2 5/7] testexport-tarball.bb: Add recipe

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new recipe is used when exporting runtime test outside packages that won't be installed in the testing system but are required for the runtime testing. This new recipe is almost identical to buildtools-tarball, but is able to

[OE-core] [PATCHv2 0/7] Enable installation of packages in DUT

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This series enable the functionality to install packages in the DUT during runtime testing. Such packages must had been build previously by bitbake and the packages are specified using a JSON file. This functionality works with tes

[OE-core] [PATCHv2 1/7] oe/lib/pacakge_manager.py: Update missing pipeline decoding

2016-06-06 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Adds decoding needed by some commands output later used as strings. [YOCTO #9702] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oe/package_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[OE-core] [PATCH 1/1] testexport.bbclass: Update to use python3

2016-06-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Remove deprecated attributes in order to use python3. runexported was changed to use python3. [YOCTO #9702] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/classes/testexport.bbclass | 4 ++-- m

[OE-core] [PATCH 5/5] testexport.bbclass: Create tarballs for easy release

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This create tarballs in the testexport directory in order to make easier to distribute the test in another systems. There are three tarballs, one for the metadata that is not arch dependant, another for packages needed by the DUT (this d

[OE-core] [PATCH 4/5] testexport.bbclass: Add support for testexport-tarball

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Add support to export the SDK tarball needed when a test system doesn't have the required software to perform runtime tests. The support is when exporting the test and when running the test on a remote system. The user of this feature jus

[OE-core] [PATCH 0/5] Enable installation of packages in DUT

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This series enable the functionality to install packages in the DUT during runtime testing. Such packages must had been build previously by bitbake and the packages are specified using a JSON file. This functionality works with tes

[OE-core] [PATCH 2/5] testimage.bbclass: Make dependency of cpio when using RPMs

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Exctraction of RPMs needs cpio, not all distros include cpio by default, so we need to build it. [YOCTO #8694] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/classes/testexport.bbclass | 1 +

[OE-core] [PATCH 1/5] oetest.py: Add install/uninstall functionality for DUTs

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Add the functionality to install/unistall packages in the DUTs without the use of the package manager. This is possible with the extraction introduced in the previous commits. testimage and testexport bbclasses has been modified in

[OE-core] [PATCH 3/5] testexport-tarball.bb: Add recipe

2016-06-01 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new recipe is used when exporting runtime test outside packages that won't be installed in the testing system but are required for the runtime testing. This new recipe is almost identical to buildtools-tarball, but is able to

[OE-core] [PATCH 08/10] oetest.py: Add install/uninstall functionality for DUTs

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Add the functionality to install/unistall packages in the DUTs without the use of the package manager. This is possible with the extraction introduced in the previous commits. testimage and testexport bbclasses has been modified in

[OE-core] [PATCH 06/10] oetest.py: Add support to copy unextracted packages for runtime testing

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Sometimes is needed to have a package without extraction when running a test. This patch adds the functionality. [YOCTO #8536] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/oe

[OE-core] [PATCH 04/10] oetest.py: Add json file support to specify packages needed in runtime tests

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds the functionality to use a json file to specify the packages needed for a particular test. The content of the json file is a dictionary with dictionaries inside, using the test name as the hash. The json file must have the sam

[OE-core] [PATCH 07/10] lib/oe/package_manager.py: Add pkgpath to dict returned by package_info

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Having the package path with all the other package info allows to reuse more code and have this information outside the package manager, without additional processing. [YOCTO #8536] Signed-off-by: Mariano Lopez <mariano.lo...@linux.

[OE-core] [PATCH 09/10] cpio: Add native variant

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/recipes-extended/cpio/cpio_v2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/cpio/cpio_v2.inc b/meta/recipes-extended/cpio/cpio_

[OE-core] [PATCH 10/10] testimage.bbclass: Make dependency of cpio when using RPMs

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> do_test_extract_packages task needs cpio when building and image using RPM packages, not all distros include cpio by default, so we need to build it. [YOCTO #8694] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> ---

[OE-core] [PATCH 05/10] oetest.py: Add extract_packages() to RuntimeTestContext class

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new method extracts the content of package (RPM, DEB, or IPK) to a directory inside of WORKDIR. The extraction is needed for later install in the DUTs without using a package manager. [YOCTO #8694] Signed-off-by: Mariano Lopez <m

[OE-core] [PATCH 03/10] oeqa/utils/package_manager.py: Add get_package_manager()

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new file just contain one function to return an OE package manager, this depends in the current packaging method. [YOCTO #8694] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/utils/package_man

[OE-core] [PATCH 02/10] oetest.py: Move getTests() outside loadTests() method

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> The method getTests() can be useful to all the class, not just to loadTests(). [YOCTO #8694] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oeqa/oetest.py | 36 ++-- 1

[OE-core] [PATCH 01/10] testexport.bbclass: Stop exporting test context

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Because runexported.py instance an ExportTestContext object, there is no need to export the data in to reconstruct the object based in a dummy class. [YOCTO #8478] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> ---

[OE-core] [PATCH 00/10] Allow to install packages in the DUT during runtime testing

2016-05-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This series enable the functionality to install packages in the DUT during runtime testing. Such packages must had been build previously by bitbake and the packages are specified using a JSON file. This functionality works with tes

[OE-core] [PATCHv2 1/3] package_manager.py: Move opkg_query() outside of Indexer class

2016-05-12 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When using the opkg and apt-get package managers the function opkg_query() can be useful when query for package information. This change moves the function outside the Indexer class so the Indexer, OpkgPM, DpkgPM can benefit from it.

[OE-core] [PATCHv2 2/3] package_manager.py: Add extract() method for opkg and dpkg

2016-05-12 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Sometimes it is needed to have the content of a package outside the recipe context. This new method extract the content of an IPK/DEB file to a tmpdir, without actually installing the package. A new OpkgDpkgPM class was added to share th

[OE-core] [PATCHv2 0/3] Add extract() method to package manager

2016-05-12 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Sometimes it is needed to have the content of a package outside of an image, these series add this capability using a temp directory. Changes in v2: - Add default values when parsing package information. This way it won't throw an exc

[OE-core] [PATCHv2 3/3] package_manager.py: Add extract() method for RPM package manager

2016-05-12 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new method extract the content of RPM file to a tmpdir, without actually installing the package. [YOCTO #9569] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oe/package_man

Re: [OE-core] [PATCH 3/3] package_manager.py: Add extract() method for RPM package manager

2016-05-12 Thread Mariano Lopez
On 05/12/2016 04:31 AM, Joshua G Lock wrote: On Wed, 2016-05-11 at 12:31 +, mariano.lo...@linux.intel.com wrote: From: Mariano Lopez <mariano.lo...@linux.intel.com> +#Parse output +for line in output.splitlines(): +line = line.

[OE-core] [PATCH 2/3] package_manager.py: Add extract() method for opkg and dpkg

2016-05-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Sometimes it is needed to have the content of a package outside the recipe context. This new method extract the content of an IPK/DEB file to a tmpdir, without actually installing the package. A new OpkgDpkgPM class was added to share th

[OE-core] [PATCH 3/3] package_manager.py: Add extract() method for RPM package manager

2016-05-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This new method extract the content of RPM file to a tmpdir, without actually installing the package. [YOCTO #9569] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/lib/oe/package_man

[OE-core] [PATCH 1/3] package_manager.py: Move opkg_query() outside of Indexer class

2016-05-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When using the opkg and apt-get package managers the function opkg_query() can be useful when query for package information. This change moves the function outside the Indexer class so the Indexer, OpkgPM, DpkgPM can benefit from it.

[OE-core] [PATCH 0/3] Add extract() method to package manager

2016-05-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Sometimes it is needed to have the content of a package outside of an image, these series add this capability using a temp directory. The following changes since commit 7ca60ec8bff7656b4e52f5a4d238913e851da089: test-empty-imag

[OE-core] [PATCH 5/6] oetest.py: Add default pscmd to oeTest

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> pscmd is used by some tests to get the process running on the target. If the test are exported there won't be any pscmd attibute in the oeTest. This adds "ps" as default pscmd. Signed-off-by: Mariano Lopez <mariano.lo

[OE-core] [PATCH 3/6] oeqa/runexported.py: Remove host dumper

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> The host dumper is used to get information about the host running the test when a test fails. This is used for the autobuilders of Yocto Project. Now that exported tests have thier own class the host dumper is not necessary anymore. Sign

[OE-core] [PATCH 6/6] oetest.py: Use the real ExportTestContext in exported tests

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> There are parts of the fuctionallity missing when using the dummy ExportTestContext class in runexported.py. This changes the use of ExportTestContext dummy class from runexported.py to the real class in oetest.py. Signed-off-by: Mariano

[OE-core] [PATCH 2/6] testexport.bbclass: Split testimage class

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This adds a new class that only export tests of images, the code was taken from testimage class and most of it wasn't modified. Just add some vars for the new class. testexport class require testimage class to get the test suites d

[OE-core] [PATCH 1/6] oeqa/oetest.py: Add class ExportTestContext

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Adding the class is needed to separate the exported test from the test image; both test run under different conditions, i.e. an exported test doesn't require to change the signal handling. This change adds clasess ExportTestC

[OE-core] [PATCH 4/6] testimage.bbclass: Remove exported test

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Exported tests now have their own class, so the code in testimage is not needed anymore. Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/classes/testimage.bbclass | 137 +

[OE-core] [PATCH 0/6] Decouple testexport from testimage

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Testexport is a feature that gets broken quite often, this series of patches will decouple testexport from testimage class in order to make it easier to spot errors, easier to maintain, and easier to extend. The following changes since

[OE-core] [PATCH 1/1] sshcontrol.py: Add methods to copy dirs and delete files

2016-05-02 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> This patch add new methods to SSHControl class. These methods include: - Copy a dir to DUT - Delete a file in the DUT - Delete a directory in the DUT (if empty) - Delete a directory structure in the DUT [YOCTO #9565] Sign

[OE-core] [PATCH] oeqa/runexported.py: Fix exported test

2016-04-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> With the changes introduced to test the eSDK the runexported test failed during the execution. This change fix runexported test in the least invasive way, because of the release cycle. Signed-off-by: Mariano Lopez <m

Re: [OE-core] [PATCH 1/1] archiver.bbclass: Just archive gcc-source for all gcc recipes

2016-03-28 Thread Mariano Lopez
On 03/24/2016 12:04 PM, Christopher Larson wrote: On Thu, Mar 24, 2016 at 8:26 AM <mariano.lo...@linux.intel.com <mailto:mariano.lo...@linux.intel.com>> wrote: From: Mariano Lopez <mariano.lo...@linux.intel.com <mailto:mariano.lo...@linux.intel.com>> +

[OE-core] [PATCH 1/1] archiver.bbclass: Just archive gcc-source for all gcc recipes

2016-03-24 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> It is pointless to archive several times the gcc source. This change will archive gcc source once, for the gcc-source-{PV} recipe. [YOCTO #9327] Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- meta/classes/arch

[OE-core] [PATCH 1/4] archiver.bbclass: Don't expand python functions in dumpdata

2016-03-22 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently the dumpdata task expands python data in the datastore, in some functions this causes a silent error and the task will fail. The change also rewrite the function to make a bit clearer. Signed-off-by: Mariano Lopez <m

[OE-core] [PATCH 3/4] archiver.bbclass: Fix gcc-source corner case

2016-03-22 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Bitbake couldn't add the task ar_configured when trying to archive the configured source for gcc-source-${PV} recipes. This is because the task depended in the do_configure and this task doesn't exist for gcc-source. This fix allows to a

[OE-core] [PATCH 4/4] archiver.bbclass: Fix tar name for git repositories

2016-03-22 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> When archiving the original source, the git repositories have the name as they are in the $DL_DIR plus the source revision; i.e. "git.yoctoproject.org.linux-yocto-4.4.git.89419d8b90_dadb436904.tar.gz". This change set the tar na

[OE-core] [PATCH 0/4] Fix some errors in archiver class

2016-03-22 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> There were some errors in the archiver class that are fixed with this series: - Don't expand python functions in dumpdata Fixed a datastore expansion for python functions - Fix use of ARCHIVER_WORKDIR and ARCHIVER_OUTDIR In

[OE-core] [PATCH 2/4] archiver.bbclass: Fix use of ARCHIVER_WORKDIR and ARCHIVER_OUTDIR

2016-03-22 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> Currently do_unpack_and_patch() and do_ar_configured() are using the ARCHIVER_OUTDIR as the ARCHIVER_WORKDIR, this lead to have duplicated files inside the tars when using the archiver class for patched and configured source. Sign

[OE-core] [PATCH v2][fido] dhcp: CVE-2015-8605

2016-03-11 Thread mariano . lopez
From: Mariano Lopez <mariano.lo...@linux.intel.com> ISC DHCP allows remote attackers to cause a denial of service (application crash) via an invalid length field in a UDP IPv4 packet. Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- .../dhcp/dhcp/CVE-201

<    1   2   3   4   >