[OE-core] [PATCH] selftest: Added testcase decorator to tests

2016-03-30 Thread Daniel Istrate
1418test_recipetool_create_cmake 1422test_qemu 1423test_devtool_add_git_local 1433test_devtool_upgrade_git 1434test_sanity_unsafe_binary_references 1435test_read_only_image Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/se

[OE-core] [PATCH 3/3] oe-selftest: Fixed --list-tests-by tag option

2016-03-19 Thread Daniel Istrate
__ Filtering by:tag Looking for: tag* Total found: 4 Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/scripts/oe-selftest b/scri

[OE-core] [PATCH 1/3] oe-selftest: Updated --list-tests and --list-tests-by

2016-03-19 Thread Daniel Istrate
The output table is now able to adjust it's size so the content is nicely aligned. fix for [YOCTO #9243] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-)

[OE-core] [PATCH] oe-selftest: Fixed --list-tests-by tag option

2016-03-18 Thread Daniel Istrate
__ Filtering by:tag Looking for: tag* Total found: 4 Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/scripts/oe-selftest b/scri

[OE-core] [PATCH 2/3] selftest/buildoptions: Renamed one test case

2016-03-18 Thread Daniel Istrate
'test_layer_git_revisions_are_displayed_and_do_not_fail_without_git_repo' was renamed to 'test_layer_without_git_dir' which is shorter. fix for [YOCTO #9243] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 2 +- 1 file chan

[OE-core] [PATCHv4] oeqa/selftest/buildoptions: Test build does not fail without git rev

2016-03-04 Thread Daniel Istrate
Test that layer git revisions are displayed and do not fail without git repository. fix for [YOCTO #8852] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 43 +- 1 file changed, 42 insertions

[OE-core] [PATCHv3] oeqa/selftest/buildoptions: Test build does not fail without git rev

2016-03-04 Thread Daniel Istrate
Test that layer git revisions are displayed and do not fail without git repository. fix for [YOCTO #8852] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 43 +- 1 file changed, 42 insertions

[OE-core] [PATCHv2] oeqa/selftest/buildoptions: Test build does not fail without git rev

2016-03-04 Thread Daniel Istrate
Test that layer git revisions are displayed and do not fail without git repository. fix for [YOCTO #8852] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 46 +- 1 file changed, 45 insertions

[OE-core] [PATCH 5/9] scripts: test-recipe Tool for running tests on recipes

2016-02-26 Thread Daniel Istrate
It shares many functionality with oe-selftest. It requires an aditional argument --recipe in order to know on which recipe to test against. Test recipes should be located at: meta/lib/oeqa/recipetests/ Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/test-

[OE-core] [PATCH 3/9] selftest: Moved list_classes, list_modules, run methods to runner.py

2016-02-26 Thread Daniel Istrate
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/runner.py | 59 scripts/oe-selftest | 65 ++--- 2 files changed, 72 insertions(+), 52 deletions(-) diff --git

[OE-core] [PATCH 2/9] selftest: Moved coverage functionality from oe-selftest to oeqa/runner.py

2016-02-26 Thread Daniel Istrate
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/runner.py | 108 +++- scripts/oe-selftest | 106 +-- 2 files changed, 108 insertions(+), 106 deletions(-) diff

[OE-core] [PATCH 9/9] recipetests: buildrecipe: Test combinations of bbappend

2016-02-26 Thread Daniel Istrate
Selectively use each combination of .bbappend files with the recipe; All the combinations should not break the recipe build Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/recipetests/buildrecipe.py | 59 +++- 1 file chang

[OE-core] [PATCH 6/9] recipetests: base - Base Class for Test Recipes

2016-02-26 Thread Daniel Istrate
Test Recipes should inherit this class. It sets up a custom tmp dir for the recipe under test. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/recipetests/base.py | 25 + 1 file changed, 25 insertions(+) create mode 100644 me

[OE-core] [PATCH 1/9] selftest: Moved method from oe-selftest to oeqa/runner.py

2016-02-26 Thread Daniel Istrate
Moved methods to runner and added parameters to them in order for them to be used by other runners. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/runner.py | 344 scripts/oe-selftest

[OE-core] [PATCH 4/9] oeqa/utils/commands: Added 3 new methods for recipes

2016-02-26 Thread Daniel Istrate
get_all_available_recipes, is_recipe_valid, get_tasks_for_recipe Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/utils/commands.py | 20 1 file changed, 20 insertions(+) diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa

[OE-core] [PATCH 7/9] recipetests: buildrecipe: Test suite for recipe tests

2016-02-26 Thread Daniel Istrate
Includes tests for: 1. test build recipe for all major architectures 2. test rebuild recipe from sstate 1 (with sstate) 3. test_rebuild_recipe_from_sstate_2 (without sstate) 4. test cleaning operations on recipe 5. test force major tasks on recipe fix for [YOCTO #6370] Signed-off-by: Daniel

[OE-core] [PATCH 8/9] oeqa/utils/commands: Added method - get_all_bbappends

2016-02-26 Thread Daniel Istrate
This method runs 'bitbake-layers show-appends' and returns a dictionary {recipe: [bbappends], ..} Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/utils/commands.py | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/li

[OE-core] [PATCH] oeqa/selftest/bbtests: Test bbappend order

2016-02-19 Thread Daniel Istrate
BitBake should append to recipe in a predictable order. fix for [YOCTO #9145] test for [YOCTO #9138] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/bbtests.py | 23 +++ 1 file changed, 23 insertions(+) diff --git a/me

[OE-core] [PATCHv2] oeqa/selftest/bbtests: Test bitbake --setscene-only option

2016-02-16 Thread Daniel Istrate
Bitbake option to restore from sstate only within a build (i.e. execute no real tasks, only setscene) fix for [YOCTO #8876] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/bbtests.py | 15 +++ 1 file changed, 15 insertions(+)

[OE-core] [PATCH] oeqa/selftest/bbtests: Test bitbake --setscene-only option

2016-02-16 Thread Daniel Istrate
Bitbake option to restore from sstate only within a build (i.e. execute no real tasks, only setscene) fix for [YOCTO #8876] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/bbtests.py | 14 ++ 1 file changed, 14 insertions(+) diff

[OE-core] [PATCH] oeqa/selftest/buildoptions: Test build does not fail without git rev

2016-02-15 Thread Daniel Istrate
Test that layer git revisions are displayed and do not fail without git repository. fix for [YOCTO #8852] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 32 +++- 1 file changed, 31 insertions

[OE-core] [PATCH] oeqa/selftest/signing: Added test for locked signatures

2016-02-15 Thread Daniel Istrate
fix for [YOCTO #8706] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/signing.py | 48 +++ 1 file changed, 48 insertions(+) diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/sign

[OE-core] [PATCH] selftest: Added testcase decorators for 2 tests

2016-01-05 Thread Daniel Istrate
1391 for test_devtool_add_fetch_simple from devtool 1392 for test_recipetool_create_simple from recipetool Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py| 1 + meta/lib/oeqa/selftest/recipetool.py | 1 + 2 files changed, 2 inse

[OE-core] [PATCHv5] scripts/oe-selftest: Allow to run tests on random/all MACHINEs

2016-01-05 Thread Daniel Istrate
random Also update oeqa/selftest/base.py to accomodate this feature. Fix for [YOCTO #5880]. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/base.py | 64 ++ scripts/oe-selftest| 37 +++

[OE-core] [PATCH] selftest: moved tc test_buildhistory_does_not_change_signatures

2016-01-04 Thread Daniel Istrate
Moved test_buildhistory_does_not_change_signatures from buildhistory/BuildhistoryBase to buildoptions/BuildhistoryTests. The test being in the base class was causing it to run multiple times. Fix for [YOCTO #8867] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- me

[OE-core] [PATCHv2] oe-selftest: Improved --list-classes when determining test names

2016-01-04 Thread Daniel Istrate
for [YOCTO #8862] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 08a5af3..1aee057 100755 --- a/scripts/oe-selftest +++ b/scr

[OE-core] [PATCH] oe-selftest: New option --list-tests

2016-01-04 Thread Daniel Istrate
This option will list all available tests in a comprehensive manner. Fix for [YOCTO #8868] Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 21 + 1 file changed, 21 insertions(+) diff --git a/scripts/oe-selftest b/scri

[OE-core] [PATCHv4 1/2] scripts/oe-selftest: Allow to run tests on random/all architecture

2015-12-18 Thread Daniel Istrate
random Also update oeqa/selftest/base.py to accomodate this feature. Fix for [YOCTO #5880]. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/base.py | 64 ++ scripts/oe-selftest| 37 +++

[OE-core] [PATCHv4 2/2] selftest: Added MACHINE = "qemux86" to tests that use runqemu

2015-12-18 Thread Daniel Istrate
It makes sense for tests that use runqemu to have MACHINE set as qemu. This also avoid issues when running oe-selftest with --arch random/all option. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 7 --- meta/li

[OE-core] [PATCHv3 2/2] selftest: Added MACHINE = "qemux86" to tests that use runqemu

2015-12-17 Thread Daniel Istrate
It makes sense for tests that use runqemu to have MACHINE set as qemu. This also avoid issues when running oe-selftest with --arch random/all option. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 7 --- meta/li

[OE-core] [PATCHv3 1/2] scripts/oe-selftest: Allow to run tests on random/all architecture

2015-12-17 Thread Daniel Istrate
e oeqa/selftest/base.py to accomodate this feature. Fix for [YOCTO #5880]. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/base.py | 49 -- scripts/oe-selftest| 34 +++---

[OE-core] [PATCH 2/2] selftest: Added MACHINE = "qemux86" to tests that use runqemu

2015-12-16 Thread Daniel Istrate
It makes sense for tests that use runqemu to have MACHINE set as qemu. This also avoid issues when running oe-selftest with --arch random/all option. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 7 --- meta/li

[OE-core] [PATCHv2 1/2] scripts/oe-selftest: Allow to run tests on random/all architecture

2015-12-16 Thread Daniel Istrate
e oeqa/selftest/base.py to accomodate this feature. Fix for [YOCTO #5880]. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/base.py | 39 +-- scripts/oe-selftest| 34 +++

[OE-core] [PATCH 1/2] scripts/oe-selftest: Allow to run tests on random/all architecture oeqa/selftest/base.py: Updated to accomodate this feature

2015-12-16 Thread Daniel Istrate
oe-selftest --run-all-tests --arch random Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/base.py | 39 +-- scripts/oe-selftest| 34 +++--- 2 files changed, 60 inser

[OE-core] [PATCHv2 2/2] selftest: Added MACHINE = "qemux86" to tests that use runqemu

2015-12-16 Thread Daniel Istrate
It makes sense for tests that use runqemu to have MACHINE set as qemu. This also avoid issues when running oe-selftest with --arch random/all option. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 7 --- meta/li

[OE-core] [PATCH] selftest/buildhistory.py: Test buildhistory does not change sigs

2015-12-15 Thread Daniel Istrate
[YOCTO #5953] Add a test to ensure buildhistory does not change signatures. Also removed unused imports. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildhistory.py | 69 -- 1 file changed, 65 insertions

[OE-core] [PATCH] oeqa/selftest: Added testcase decorators for 2 testcases

2015-12-11 Thread Daniel Istrate
bblayers: test_bitbakelayers_showrecipes1384 wic: test_directdisk_bootloader_config 1385 Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/bblayers.py | 1 + meta/lib/oeqa/selftest/wic.py | 2 +- 2 files changed, 2 insertions

[OE-core] [PATCH] scripts: oe-selftest Added new features.

2015-12-02 Thread Daniel Istrate
) for a single tag @tag(feature=(('signing', 'sstate')) or @tag(feature=['signing', 'sstate']) for multiple tags Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/oe-selftest | 218 +++- 1 file changed, 216 in

[OE-core] [PATCH] scripts: analyze_patch: Analyze patch and suggest tests.

2015-11-20 Thread Daniel Istrate
-support/sqlite/sqlite3_3.9.0.bb Suggested tests: Rebuild: sqlite3 Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- scripts/analyze_patch | 300 scripts/deps.txt | 628 ++ 2 files change

[OE-core] [PATCHv3 1/2] oeqa/selftest/signing: New test for Signing packages in the package feeds.

2015-11-10 Thread Daniel Istrate
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta-selftest/files/signing/key.pub| 30 ++ meta-selftest/files/signing/key.secret | 59 ++ meta-selftest/files/signing/secret.txt | 1 + meta/lib/oeqa/selftest/signing.py

[OE-core] [PATCHv3 2/2] oeqa/selftest/signing: Added new test for signing sstate.

2015-11-10 Thread Daniel Istrate
[YOCTO #8182] Optional signing sstate archives and signature verification [YOCTO #8559] Signing sstate archives with custom dir for gpg keys Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/signing.py | 48

[OE-core] [PATCHv2 2/2] oeqa/selftest/signing: Added new test for signing sstate.

2015-10-29 Thread Daniel Istrate
[YOCTO #8182] Optional signing sstate archives and signature verification [YOCTO #8559] Signing sstate archives with custom dir for gpg keys Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/signing.py | 49

[OE-core] [PATCH] oeqa/selftest: Added testcase decorators.

2015-10-23 Thread Daniel Istrate
Added testcase decorators for testopia integration. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 11 +-- meta/lib/oeqa/selftest/manifest.py| 2 ++ meta/lib/oeqa/selftest/recipetool.py | 11 +++ meta/li

[OE-core] [PATCH 2/2] oeqa/selftest: Added/Updated docstring for each TC with TestopiaID

2015-10-20 Thread Daniel Istrate
Also the TCs from meta-yocto-bsp/lib/oeqa/selftest/gummiboot were updated. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py | 2 + meta/lib/oeqa/selftest/archiver.py| 1 + meta/lib/oeqa/selftest/bblay

[OE-core] [PATCH 1/2] oeqa/selftest: Added testcase decorators.

2015-10-20 Thread Daniel Istrate
Added testcase decorators for testopia integration. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 8 ++-- meta/lib/oeqa/selftest/recipetool.py | 11 +++ meta/lib/oeqa/selftest/sstatetests.py | 14 --

[OE-core] [PATCH] oeqa/selftest/signing: New test for Signing packages in the package feeds.

2015-10-16 Thread Daniel Istrate
Depends on: http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111550.html Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta-selftest/files/signing/key.pub | 30 meta-selftest/files/signing/key.secret

[OE-core] [PATCH] oeqa/selftest/wic: corrected testcase decorator for test18_iso_image

2015-10-15 Thread Daniel Istrate
Changed testcase decorator for TC test18_iso_image from 1264 to 1346. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/wic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/se

[OE-core] [PATCH] oeqa/selftest/bbtests: Updated bitbake TCs

2015-10-13 Thread Daniel Istrate
]. Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/bbtests.py | 45 ++- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index 3

[OE-core] [PATCH] oeqa/selftest/wic: Added testcase decorator to all testcases + fixed minor typos.

2015-09-29 Thread Daniel Istrate
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/wic.py | 33 + 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 3dc54a4..9425dc0

[OE-core] [PATCH] oeqa/selftest/archiver: Test that archiver filters on recipe name

2015-09-22 Thread Daniel Istrate
[YOCTO #6929] this test validates the feature introduced in bug 6929 Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/archiver.py | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 meta/lib/oeqa/se

[OE-core] [PATCH] oeqa/selftest: buildoptions.py Removed unused imports

2015-09-21 Thread Daniel Istrate
Removed unused imports: unittest, logging, pexpect Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildopti

[OE-core] [PATCH] oeqa/selftest: Fix imagefeature testcases not to interfere with testimage on AB

2015-07-21 Thread Daniel Istrate
[YOCTO #8017] - selftest does not use pkill qemu [YOCTO #7976] - tests do not touch .ssh/known_hosts - don't hardcode qemu IP [YOCTO #8027] - use qemu nographic Extra: removed unnecessary assert for bitbake and runCmd status Signed-off-by: Daniel Istrate daniel.alexandrux.istr

[OE-core] [PATCH] oeqa/runtime: Added one runtime testcase in connman.

2015-07-15 Thread Daniel Istrate
(testcase 223) Check that only one connmand runs in background. Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/runtime/connman.py | 23 +++ 1 file changed, 23 insertions(+) diff --git a/meta/lib/oeqa/runtime/connman.py b/meta/lib/oeqa

[OE-core] [PATCH] oeqa/runtime: Added a new automated rpm test.

2015-07-15 Thread Daniel Istrate
testcase 195: Check rpm install/removal log file size Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/runtime/rpm.py | 37 + 1 file changed, 37 insertions(+) diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime

[OE-core] [PATCH] oeqa/runtime: Added one automated runtime testcase.

2015-07-15 Thread Daniel Istrate
testcase 240: Checks that bash is installed in image. Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/runtime/bash.py | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 meta/lib/oeqa/runtime/bash.py diff --git a/meta/lib/oeqa

[OE-core] [PATCH] oeqa/selftest: [YOCTO #7976] Updated imagefeature testcases.

2015-07-14 Thread Daniel Istrate
Updated testcases that use qemu to not interfere with other qemu instances that might run in parallel. Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/selftest/imagefeatures.py | 153 1 file changed, 58 insertions(+), 95

[OE-core] [PATCH] oeqa/runtime: Added 4 new runtime test cases

2015-07-08 Thread Daniel Istrate
bash:(240) check bash in image connman: (223) Only one connmand in background (963) test connmand file rpm: (195) Check rpm install/removal log file size Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/runtime/bash.py| 23

[OE-core] [PATCH] oeqa/selftest: Added 2 testcases and updated setup for other two in imagefeatures.

2015-07-07 Thread Daniel Istrate
): + +Summary: Check if clutter image can be built +Expected:1. core-image-clutter can be built +Product: oe-core +Author: Ionut Chisanovici ionutx.chisanov...@intel.com +AutomatedBy: Daniel Istrate daniel.alexandrux.istr...@intel.com

[OE-core] [PATCH] oeqa/selftest: Added @testcase decorators to oeselftest testcases.

2015-06-29 Thread Daniel Istrate
Added decorator to some testcases missing this feature. Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/selftest/bblayers.py | 1 + meta/lib/oeqa/selftest/devtool.py | 15 +++ meta/lib/oeqa/selftest/layerappend.py | 1 + meta/lib/oeqa

[OE-core] [PATCH] scripts/oe-selftest: Added mechanism for including/removing bblayers.inc

2015-06-29 Thread Daniel Istrate
When oe-selftest starts it includes bblayers.inc into bblayers.conf When oe-selftest ends it deletes bblayers.inc and the included line from bblayers.conf Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- scripts/oe-selftest | 16 +++- 1 file changed, 15

[OE-core] [PATCH] oeqa/selftest: Add methods to manipulate bblayers.conf in base.py

2015-06-29 Thread Daniel Istrate
Added methods for manipulating bblayers.conf file in the same manner as local.conf file: - write_bblayers_config - append_bblayers_config - remove_bblayers_config Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/selftest/base.py | 22

[OE-core] [PATCH] oeqa/selftest: Added new testsuite for image features.

2015-06-29 Thread Daniel Istrate
that wic command can create efi/gummiboot installation images Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/selftest/imagefeatures.py | 282 1 file changed, 282 insertions(+) create mode 100644 meta/lib/oeqa/selftest

[OE-core] [PATCH 2/3] Added methods for manipulating bblayer.conf file in the same manner as local.conf file: - write_bblayers_config - append_bblayers_config - remove_bblayers_config

2015-06-26 Thread Daniel Istrate
--- meta/lib/oeqa/selftest/base.py | 22 ++ scripts/oe-selftest| 16 +++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py index 80b9b4b..b2faa66 100644 ---

[OE-core] [PATCH 1/3] Added 'testcase' decorator to oe-selftest test cases missing this feature.

2015-06-26 Thread Daniel Istrate
--- meta/lib/oeqa/selftest/bblayers.py | 1 + meta/lib/oeqa/selftest/devtool.py | 16 meta/lib/oeqa/selftest/layerappend.py | 1 + meta/lib/oeqa/selftest/lic-checksum.py | 2 ++ meta/lib/oeqa/selftest/pkgdata.py | 8

[OE-core] [PATCH 3/3] Automated 5 oe-selftest testcase: - 1107: Check if non root user can connect via ssh without password - 1115: Check if all users can connect via ssh without password - 1114: Chec

2015-06-26 Thread Daniel Istrate
+AutomatedBy: Daniel Istrate daniel.alexandrux.istr...@intel.com + + +test_user = 'tester' +root_user = 'root' +prompt = r'qemux86:\S+[$#]\s+' +tap_inf_ip = '192.168.7.2' + +features = 'EXTRA_IMAGE_FEATURES += ssh-server-openssh empty-root-password\n

[OE-core] [PATCH 1/2] oeqa/selftest: Added 3 new selftest testcases.

2015-06-22 Thread Daniel Istrate
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/selftest/imagefeatures.py | 206 1 file changed, 206 insertions(+) create mode 100644 meta/lib/oeqa/selftest/imagefeatures.py diff --git a/meta/lib/oeqa/selftest/imagefeatures.py

[OE-core] [PATCH 2/2] oeqa/utils: Minor documentation update to ftools methods.

2015-06-22 Thread Daniel Istrate
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com --- meta/lib/oeqa/utils/ftools.py | 4 1 file changed, 4 insertions(+) diff --git a/meta/lib/oeqa/utils/ftools.py b/meta/lib/oeqa/utils/ftools.py index 64ebe3d..e396591 100644 --- a/meta/lib/oeqa/utils/ftools.py +++ b/meta