Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-05-01 Thread Yeoh Ee Peng
://lists.openembedded.org/g/openembedded-core/message/137697 Best regards, Yeoh Ee Peng -Original Message- From: Richard Purdie Sent: Thursday, April 23, 2020 4:53 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Cc: Humberto Ibarra Subject: Re: [OE-core] [PATCH] selftest

[OE-core] [PATCH v02] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-05-01 Thread Yeoh Ee Peng
Add new testcase to check IMAGE_GEN_DEBUGFS. Test makes sure that debug filesystem is created accordingly. Test also check for debug symbols for some packages as suggested by Ross Burton. [YOCTO #10906] Signed-off-by: Humberto Ibarra Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/selftest

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-04-24 Thread Yeoh Ee Peng
recipe bison-native-3.5.4-r0: task do_compile: Failed ERROR: Task (virtual:native:/data/eyeoh7/tmp/poky/meta/recipes-devtools/bison/bison_3.5.4.bb:do_compile) failed with exit code '1' I will continue debugging this. Best regards, Yeoh Ee Peng -Original Message- From: Yeoh, Ee Peng Sent

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-04-23 Thread Yeoh Ee Peng
ror: 0 == 0 : debug filesystem not generated -Original Message- From: Richard Purdie Sent: Thursday, April 23, 2020 4:53 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Cc: Humberto Ibarra Subject: Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEB

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-04-20 Thread Yeoh Ee Peng
Hi all, Anyone has any inputs or suggestions for this patch that enable selftest for IMAGE_GEN_DEBUGFS? Thank you very much for your attention and help! Best regards, Yeoh Ee Peng -Original Message- From: Yeoh, Ee Peng Sent: Wednesday, April 1, 2020 1:38 PM To: openembedded-core

Re: [OE-core] [PATCH] oeqa/runtime/weston: Enhance weston tests

2020-04-20 Thread Yeoh Ee Peng
to track detail for debugging in case test fail Thanks, Ee Peng -Original Message- From: Richard Purdie Sent: Friday, April 17, 2020 10:24 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] oeqa/runtime/weston: Enhance weston tests Hi Ee Peng

[OE-core] [PATCH v03] oeqa/runtime/weston: Enhance weston tests

2020-04-20 Thread Yeoh Ee Peng
checking for wayland processes up to 5 times) - enable weston logging for debugging when fail to initialize wayland compositor [YOCTO# 10690] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/weston.py | 50 +++ 1 file changed, 50 insertions(+) diff

[OE-core] [PATCH] enhanced weston automated tests

2020-04-20 Thread Yeoh Ee Peng
compositor initialization to track detail for debugging in case test fail Yeoh Ee Peng (1): oeqa/runtime/weston: Enhance weston tests meta/lib/oeqa/runtime/cases/weston.py | 50 +++ 1 file changed, 50 insertions(+) -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Links: You r

Re: [OE-core] [PATCH] oeqa/runtime/weston: Enhance weston tests

2020-04-16 Thread Yeoh Ee Peng
. Thank you very much! Thanks, Yeoh Ee Peng -Original Message- From: Richard Purdie Sent: Friday, April 17, 2020 6:35 AM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] oeqa/runtime/weston: Enhance weston tests On Mon, 2020-04-13 at 16:49

[OE-core] [PATCH v02] oeqa/runtime/weston: Enhance weston tests

2020-04-16 Thread Yeoh Ee Peng
checking for wayland processes up to 5 times) [YOCTO# 10690] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/weston.py | 40 +++ 1 file changed, 40 insertions(+) diff --git a/meta/lib/oeqa/runtime/cases/weston.py b/meta/lib/oeqa/runtime/cases/weston.py

[OE-core] [PATCH] oeqa/runtime/weston: Enhance weston tests

2020-04-13 Thread Yeoh Ee Peng
# 10690] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/weston.py | 30 ++ 1 file changed, 30 insertions(+) diff --git a/meta/lib/oeqa/runtime/cases/weston.py b/meta/lib/oeqa/runtime/cases/weston.py index f32599a..f79ed64 100644 --- a/meta/lib/oeqa/runtime

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-03-31 Thread Yeoh Ee Peng
/106075?p=,,,20,0,0,0::Created,,IMAGE_GEN_DEBUGFS,20,2,20,72347194 Thanks, Ee Peng -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Yeoh Ee Peng Sent: Wednesday, April 1, 2020 1:38 PM To: openembedded-core@lists.openembedded.org Cc: Yeoh, Ee Peng ; Humberto

[OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-03-31 Thread Yeoh Ee Peng
Add new testcase to check IMAGE_GEN_DEBUGFS. Test makes sure that debug filesystem is created accordingly. Test also check for debug symbols for some packages as suggested by Ross Burton. [YOCTO #10906] Signed-off-by: Humberto Ibarra Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/selftest

[OE-core] [PATCH] scripts/lib/resulttool/report: Enable report selected test case result

2020-01-31 Thread Yeoh Ee Peng
Enable reporting selected test case result given the user provided the selected test case id. If both test result id and test case id were provided, report the selected test case result from the selected test result id. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/report.py | 33

[OE-core] [PATCH 3/4] scripts/resulttool/report: Add total statistic to test result.

2019-11-07 Thread Yeoh Ee Peng
Add total passed, failed, and skipped statistic to test result. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/report.py | 5 + scripts/lib/resulttool/template/test_report_full_text.txt | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH 4/4] resulttool/store.py: Enable add extra test environment data

2019-11-07 Thread Yeoh Ee Peng
environment used for bitbake Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/store.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index 79c83dd..e0951f0 100644 --- a/scripts/lib/resulttool/store.py +++ b

[OE-core] [PATCH 2/4] scripts/resulttool/report: Enable output raw test results

2019-11-07 Thread Yeoh Ee Peng
In case of debugging, report user need to acccess the raw test result. Instead of going back to source file/directory/URL to manually pull out the raw result, provide alternative way to let report showing raw test results by providing the result id (optional). Signed-off-by: Yeoh Ee Peng

[OE-core] [PATCH 1/4] scripts/resulttool/report: Enable report to use regression_map

2019-11-07 Thread Yeoh Ee Peng
only showing partial result set. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/report.py | 16 +++- scripts/lib/resulttool/resultutils.py | 4 ++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/scripts/lib/resulttool/report.py b/scripts/lib/resulttool

[OE-core] [PATCH 0/4] Resulttool minor enhancements

2019-11-07 Thread Yeoh Ee Peng
Resulttool minor enhancements - Enable report to use regression_map - Enable report to output raw test results - Enable report to print total test result statistic - Enable store to add extra test environment config data Yeoh Ee Peng (4): scripts/resulttool/report: Enable report to use

[OE-core] [PATCH] scripts/oe-pkgdata-util: Enable list-pkgs to print ordered packages

2019-11-01 Thread Yeoh Ee Peng
The list-pkgs currently print packages in unordered format. Enable list-pkgs to print ordered packages that will ease viewing. Signed-off-by: Yeoh Ee Peng --- scripts/oe-pkgdata-util | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/oe-pkgdata-util b

[OE-core] [PATCH] resulttool/store.py: Enable add extra test environment data

2019-10-28 Thread Yeoh Ee Peng
environment used for bitbake Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/store.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index 79c83dd..e0951f0 100644 --- a/scripts/lib/resulttool/store.py +++ b

[OE-core] [PATCH] testimage.bbclass: Add kernel provider and version to testresult

2019-10-02 Thread Yeoh Ee Peng
configuration section. Example of virtual/kernel and version added to testresult configuration: - "KERNEL_PROVIDER_VERSION": "linux-intel_4.19" Signed-off-by: Yeoh Ee Peng --- meta/classes/testimage.bbclass | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-

[OE-core] [PATCH] testimage.bbclass: Add kernel provider and version to testresult

2019-09-16 Thread Yeoh Ee Peng
configuration section. Example of virtual/kernel and version added to testresult configuration: - "KERNEL_PROVIDER_VERSION": "linux-intel_4.19" Signed-off-by: Yeoh Ee Peng --- meta/classes/testimage.bbclass | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-

[OE-core] [PATCH 2/2] oeqa/manual/bsp-hw.json: Remove opengl graphic testing

2019-05-17 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.Graphics_-_ABAT as it was replaced by the new automated runtime oeqa/runtime/cases/graphic.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git a/meta/lib/oeqa/manual/bsp

[OE-core] [PATCH 1/2] oeqa/runtime/cases/graphic: Enable graphic opengl testing

2019-05-17 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.bsps-hw.Graphics_-_ABAT from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/graphic.py | 25 + 1 file changed, 25 insertions(+) create mode 100644 meta/lib/oeqa

Re: [OE-core] [PATCH 1/2 v3] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-17 Thread Yeoh, Ee Peng
code. Thank you very much for your inputs. Thanks, Yeoh Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Friday, May 17, 2019 2:02 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/2 v3] oeqa

[OE-core] [PATCH 2/2 v4] oeqa/manual/bsp-hw.json: Remove rpm install dependency

2019-05-17 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.rpm_-__install_dependency_package as it was replaced by the test_rpm_install_dependency inside oeqa/runtime/cases/rpm.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git

[OE-core] [PATCH 1/2 v4] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-17 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.rpm_-__install_dependency_package from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/rpm.py | 34 ++ 1 file changed, 34 insertions(+) diff --git a/meta/lib

Re: [OE-core] [PATCH 1/2 v2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Yeoh, Ee Peng
Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Friday, May 17, 2019 3:29 AM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/2 v2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

[OE-core] [PATCH 2/2 v3] oeqa/manual/bsp-hw.json: Remove rpm install dependency

2019-05-16 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.rpm_-__install_dependency_package as it was replaced by the test_rpm_install_dependency inside oeqa/runtime/cases/rpm.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git

[OE-core] [PATCH 1/2 v3] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.rpm_-__install_dependency_package from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/rpm.py | 34 ++ 1 file changed, 34 insertions(+) diff --git a/meta/lib

Re: [OE-core] [PATCH 1/2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-16 Thread Yeoh, Ee Peng
Hi Richard and Alex, Thanks for the inputs! I added the OETestDepends decorator to the test case. Best regards, Yeoh Ee Peng -Original Message- From: richard.pur...@linuxfoundation.org [mailto:richard.pur...@linuxfoundation.org] Sent: Thursday, May 16, 2019 4:08 AM To: Alexander

[OE-core] [PATCH 1/2 v2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-15 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.rpm_-__install_dependency_package from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/rpm.py | 30 ++ 1 file changed, 30 insertions(+) diff --git a/meta/lib/oeqa

[OE-core] [PATCH 2/2 v2] oeqa/manual/bsp-hw.json: Remove rpm install dependency

2019-05-15 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.rpm_-__install_dependency_package as it was replaced by the test_rpm_install_dependency inside oeqa/runtime/cases/rpm.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git

[OE-core] [PATCH 2/2] oeqa/manual/bsp-hw.json: Remove rpm install dependency

2019-05-14 Thread Yeoh Ee Peng
Remove the bsps-hw.bsps-hw.rpm_-__install_dependency_package as it was replaced by the test_rpm_install_dependency inside oeqa/runtime/cases/rpm.py. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/bsp-hw.json | 26 -- 1 file changed, 26 deletions(-) diff --git

[OE-core] [PATCH 1/2] oeqa/runtime/cases/rpm.py: Enable rpm install dependency testing

2019-05-14 Thread Yeoh Ee Peng
Convert manual testcase bsps-hw.bsps-hw.rpm_-__install_dependency_package from oeqa/manual/bsp-hw.json to runtime automated test. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/cases/rpm.py | 29 + 1 file changed, 29 insertions(+) diff --git a/meta/lib/oeqa

[OE-core] [PATCH] resulttool/manualexecution: Refactor and remove duplicate code

2019-04-10 Thread Yeoh Ee Peng
Remove duplicate codes. Replace unnecessary class variables with local variables. Rename variables and arguments with simple and standard name. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py | 87 ++- 1 file changed, 40 insertions(+), 47

[OE-core] [PATCH 1/2] resulttool/manualexecution: Enable configuration options selection

2019-04-09 Thread Yeoh Ee Peng
genericx86-64" } }, "bsps-qemu": { "IMAGE_BASENAME": { "1": "core-image-sato-sdk" }, "MACHINE": { "1": "qemuarm", "2": "qemuarm64",

[OE-core] [PATCH 2/2] resulttool/manualexecution: Enable creation of configuration option file

2019-04-09 Thread Yeoh Ee Peng
Allow the creation of configuration option file based on user inputs. Where this configuration option file will be used by the the manual execution to display options for configuration rather than user need to inputs configuration manually. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool

[OE-core] [PATCH 2/4] resulttool/manualexecution: Enable display full steps without press enter

2019-04-04 Thread Yeoh Ee Peng
Current manualexecution required pressing enter button to show each step information, where this was wasting execution time. Enable display full steps without needing to any press enter button. Signed-off-by: Mazliana Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py

[OE-core] [PATCH 4/4] resulttool/manualexecution: Refactor and simplify codebase

2019-04-04 Thread Yeoh Ee Peng
Simplify and removed unnecessary codes. Refactor to allow pythonic loop. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py | 56 +++ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/scripts/lib/resulttool/manualexecution.py b

[OE-core] [PATCH 1/4] resulttool/manualexecution: Standardize input check

2019-04-04 Thread Yeoh Ee Peng
Current input checking does not match the standard input practiced by QA team. Change the input checking to match the standard input practiced by the QA team. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [PATCH 3/4] resulttool/manualexecution: Fixed step sorted by integer

2019-04-04 Thread Yeoh Ee Peng
Currently the manual execution display step by sorting the step as string, where steps were not being sorted correctly when there are more than 9 steps. Fixed the step sorting by sorting step as integer. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py | 2 +- 1 file

[OE-core] [PATCH 0/4] resulttool/manualexecution: Enhancement and fixes

2019-04-04 Thread Yeoh Ee Peng
These series of patches include enhancement and fixes for manualexecution: - Enhance input check to standardize checking - Enhancement to display full steps without press enter - Fix test steps display order - Refactor to simplify code and align to pythonic style Yeoh Ee Peng (4

[OE-core] [PATCH 2/3] resulttool/store: Enable add EXECUTED_BY config to results

2019-04-03 Thread Yeoh Ee Peng
Current results stored does not have information needed to trace who executed the tests. Enable store to add EXECUTED_BY configuration to results file in order to track who executed the tests. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/store.py | 7 ++- 1 file changed, 6

[OE-core] [PATCH 3/3] resulttool/merge: Enable control TESTSERIES and extra configurations

2019-04-03 Thread Yeoh Ee Peng
Current QA team need to merge test result files from multiple sources. Adding TESTSERIES configuration too early will have negative implication to report and regression. Enable control to add TESTSERIES when needed. Also enable adding EXECUTED_BY configuration when needed. Signed-off-by: Yeoh Ee

[OE-core] [PATCH v03] resulttool/merge: enhance merge and control testseries

2019-04-03 Thread Yeoh Ee Peng
uot;EXECUTED_BY" configuration to track who executed each results file. Enable merge to control the adding of "TESTSERIES" configuration as well as allow adding "EXECUTED_BY" configuration when needed. Yeoh Ee Peng (3): resulttool/resultutils: Enable add extra configuratio

[OE-core] [PATCH 1/3] resulttool/resultutils: Enable add extra configurations to results

2019-04-03 Thread Yeoh Ee Peng
Current resultutils library always add "TESTSERIES" configuration to results. Enhance this to allow control of adding "TESTSERIES" configuration as well as allow adding extra configurations when needed. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool

[OE-core] [PATCH 2/2] resulttool/merge: Enable turn off testseries configuration creation

2019-04-02 Thread Yeoh Ee Peng
Testseries configuration has important implication to report and regression. Enable turn off testseries configuration creation during results merge. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/merge.py | 13 +++-- scripts/lib/resulttool/resultutils.py | 10 +- 2

[OE-core] [PATCH 1/2] resulttool: Enable report for single result file

2019-04-02 Thread Yeoh Ee Peng
. Signed-off-by: Yeoh Ee Peng --- scripts/resulttool | 10 -- 1 file changed, 10 deletions(-) diff --git a/scripts/resulttool b/scripts/resulttool index 5a89e1c..18ac101 100755 --- a/scripts/resulttool +++ b/scripts/resulttool @@ -51,13 +51,6 @@ import resulttool.report import

Re: [OE-core] [PATCH] resulttool/merge: Merge files from folders and control add testseries

2019-03-28 Thread Yeoh, Ee Peng
Hi RP, Yes, we will separate the changes into different patches as suggested. Thank you for your inputs. Thanks, Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Thursday, March 28, 2019 3:43 PM To: Yeoh, Ee Peng ; openembedded-core

Re: [OE-core] [PATCH] resulttool/merge: Enable merge results to one file

2019-03-27 Thread Yeoh, Ee Peng
80547.html http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280548.html Please let us know if you have any more inputs or questions. Thank you very much for your attention and help! Best regards, Yeoh Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pu

[OE-core] [PATCH v02] resulttool/merge: enhance merge and control testseries

2019-03-27 Thread Yeoh Ee Peng
control for creation of testseries configuration. Yeoh Ee Peng (1): resulttool/merge: Merge files from folders and control add testseries meta/lib/oeqa/selftest/cases/resulttooltests.py | 16 ++-- scripts/lib/resulttool/merge.py | 29 -- scripts/lib/resulttool/regression.py

[OE-core] [PATCH] resulttool/merge: Merge files from folders and control add testseries

2019-03-27 Thread Yeoh Ee Peng
Futhermore, since the map_results were only needed by report and regression, we pulled the instructions used to turn results data to map_results data to another function. Finally, we renamed the functions and arguments to clearly seperated the functions using results data from the one using map_results

[OE-core] [PATCH] resulttool/merge: Enable merge results to one file

2019-03-25 Thread Yeoh Ee Peng
QA team execute extra testing that create multiple test result files, where these test result files need to be merged into a single file under certain use case. Enable merge to allow merging results into a single test result file. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/merge.py

[OE-core] [PATCH] oeqa/manual/toaster: updated test id naming

2019-03-18 Thread Yeoh Ee Peng
test_module match the file name itself. This file was using test_module name that does not match the file name itself. Fixed test_module name as well as the test_suite name. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/manual/toaster-managed-mode.json | 130 +++ meta/lib/oeqa/manual

[OE-core] [PATCH] resulttool/report: Enable roll-up report for a commit

2019-03-11 Thread Yeoh Ee Peng
Enable roll-up all test results belong to a commit and to provide a roll-up report. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/report.py | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/scripts/lib/resulttool/report.py b/scripts/lib/resulttool

[OE-core] [PATCH] scripts/resulttool: Enable manual result store and regression

2019-03-06 Thread Yeoh Ee Peng
NE', 'IMAGE_BASENAME') to manualexecution. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/manualexecution.py | 36 +-- scripts/lib/resulttool/resultutils.py | 9 +--- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/scripts/lib/resulttool/m

[OE-core] [PATCH] resulttool/regression: Ensure regressoin results are sorted

2019-02-27 Thread Yeoh Ee Peng
Sorted regression results to provide friendly viewing of report. Signed-off-by: Yeoh Ee Peng --- scripts/lib/resulttool/regression.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-20 Thread Yeoh, Ee Peng
Hi RP, Noted, thank you once again for your great help and inputs! Really glad to hear that resulttool was ready! We shall plan forward for future improvement in html reports and graphs. Also we shall look into future test case development if needed. Cheers, Yeoh Ee Peng -Original

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-20 Thread Yeoh, Ee Peng
Hi RP, Noted, thank you once again for your help and inputs! Really glad to hear that resulttool was ready! We shall plan forward for future improvement in html reports and graphs. Also we shall look into future test case development if needed. Cheers, Yeoh Ee Peng -Original Message

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-19 Thread Yeoh, Ee Peng
pening. > > We > > really want to model how oe-build-perf-report handles git repos > > for > > comparisons: > > - Its able to query data from git repos without changing the > > current > > working branch, > > - it can search on tag forma

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-18 Thread Yeoh, Ee Peng
RP, Noted, thanks. Cheers, Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Monday, February 18, 2019 6:12 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt On Mon

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-18 Thread Yeoh, Ee Peng
: Monday, February 18, 2019 5:08 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt Hi Ee Peng, On Mon, 2019-02-18 at 08:09 +, Yeoh, Ee Peng wrote: > I did some testing with the latest from resulttool: Update to use > gita

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-18 Thread Yeoh, Ee Peng
quot;branch": "master", "commit": "5fa3b5b15229babc9f96606c79436ab83651bf83", "commit_count": 53265 }, "meta-poky": { "branch": "master&quo

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-18 Thread Yeoh, Ee Peng
esults.json ├── opensuse-42.3 │   └── testresults.json └── ubuntu-18.04 └── testresults.json Please let me know if you have any question related to above. Best regards, Yeoh Ee Peng -Original Message----- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org]

Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-17 Thread Yeoh, Ee Peng
Hi RP, Thank you very much for providing me your precious advices and I will definitely look into them. Let me look into all the improvements that you had developed and I will try my best to provide further improvement needed. Best regards, Yeoh Ee Peng -Original Message- From

Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-02-13 Thread Yeoh, Ee Peng
n? Any requirement for the html report? http://lists.openembedded.org/pipermail/openembedded-core/2019-February/278971.html http://lists.openembedded.org/pipermail/openembedded-core/2019-February/278972.html http://lists.openembedded.org/pipermail/openembedded-core/2019-February/278973.html Th

[OE-core] [PATCH 1/2 v7] resulttool: enable merge, store, report and regression analysis

2019-02-13 Thread Yeoh Ee Peng
", "log": "" }, } }, } To use these scripts, first source oe environment, then run the entry point script to look for help. $ resulttool To store test result from oeqa automated tests, execute the below $ resulttool store To m

[OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-13 Thread Yeoh Ee Peng
sult creation Yeoh Ee Peng (1): resulttool: enable merge, store, report and regression analysis meta/lib/oeqa/files/testresults/testresults.json | 40 meta/lib/oeqa/selftest/cases/resulttooltests.py| 104 +++ scripts/lib/resulttool/__init__.py | 0 scripts

[OE-core] [PATCH 2/2 v7] scripts/resulttool: enable manual execution and result creation

2019-02-13 Thread Yeoh Ee Peng
From: Mazliana Integrated “manualexecution” operation to resulttool scripts. Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to

Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-01-29 Thread Yeoh, Ee Peng
st and perform tests, let me look into them. Thank you for sharing the logparser. http://git.yoctoproject.org/cgit.cgi/poky-contrib/tree/meta/lib/oeqa/utils/logparser.py#n101 Best regards, Yeoh Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent

[OE-core] [PATCH 1/2 v6] resultstool: enable merge, store, report and regression analysis

2019-01-29 Thread Yeoh Ee Peng
;, "log": "" }, } }, } To use these scripts, first source oe environment, then run the entry point script to look for help. $ resultstool To store test result from oeqa automated tests, execute the below $ resultstool store T

[OE-core] [PATCH 2/2 v6] scripts/resultstool: enable manual execution and result creation

2019-01-29 Thread Yeoh Ee Peng
nvironment, then run the entry point script to look for help. $ resultstool To execute manual test cases, execute the below $ resultstool manualexecution By default testresults.json store in /tmp/log/manual/ [YOCTO #12651] Signed-off-by: Mazliana Signed-off-by: Yeoh Ee Peng --- s

[OE-core] [PATCH 0/2 v6] test-case-mgmt

2019-01-29 Thread Yeoh Ee Peng
sion for directory and git repository Enable regression pairing base set to multiple target sets Revise selftest testing for regression Mazliana (1): scripts/resultstool: enable manual execution and result creation Yeoh Ee Peng (1): resultstool: enable merge, store, report and regression analysis

Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-01-27 Thread Yeoh, Ee Peng
, 2019 11:44 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Cc: Eggleton, Paul ; Burton, Ross Subject: Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis On Tue, 2019-01-22 at 17:42 +0800, Yeoh Ee Peng wrote: > OEQA outputs tes

Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-01-23 Thread Yeoh, Ee Peng
git_branch_1 and result_set_x from git_branch_2 if they both have matching configurations). Any idea which regression use cases above was needed? We shall develop the next regression functionalities based on your inputs. Best regards, Yeoh Ee Peng -Original Message- From: Yeoh, Ee Peng Sent

Re: [OE-core] [PATCH 2/3 v3] scripts/test-case-mgmt: store test result and reporting

2019-01-22 Thread Yeoh, Ee Peng
://lists.openembedded.org/pipermail/openembedded-core/2019-January/278244.html http://lists.openembedded.org/pipermail/openembedded-core/2019-January/278245.html -Original Message- From: Yeoh, Ee Peng Sent: Tuesday, January 22, 2019 5:45 PM To: Richard Purdie ; openembedded-core

[OE-core] [PATCH 2/2 v5] scripts/resultstool: enable manual execution and result creation

2019-01-22 Thread Yeoh Ee Peng
nvironment, then run the entry point script to look for help. $ resultstool To execute manual test cases, execute the below $ resultstool manualexecution By default testresults.json store in /tmp/log/manual/ [YOCTO #12651] Signed-off-by: Mazliana Signed-off-by: Yeoh Ee Peng --- s

[OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-01-22 Thread Yeoh Ee Peng
"log": "" }, ... "": { "status": "", "log": "" }, } }, } To use these scripts, first source oe environment, then run the entr

[OE-core] [PATCH 0/2 v5] test-case-mgmt

2019-01-22 Thread Yeoh Ee Peng
ipts/resultstool: enable manual execution and result creation Yeoh Ee Peng (1): resultstool: enable merge, store, report and regression analysis meta/lib/oeqa/files/testresults/testresults.json | 40 ++ meta/lib/oeqa/selftest/cases/resultstooltests.py | 104 scripts/lib/results

Re: [OE-core] [PATCH 2/3 v3] scripts/test-case-mgmt: store test result and reporting

2019-01-22 Thread Yeoh, Ee Peng
her enhancement. Please let me know if any questions and inputs. Thank you very much for your sharing and help! Thanks, Yeoh Ee Peng -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Monday, January 21, 2019 10:26 PM To: Yeoh, Ee Peng ; openembedded-

[OE-core] [PATCH 2/2 v4] scripts/resultstool: enable manual execution and result creation

2019-01-22 Thread Yeoh Ee Peng
nvironment, then run the entry point script to look for help. $ resultstool To execute manual test cases, execute the below $ resultstool manualexecution By default testresults.json store in /tmp/log/manual/ [YOCTO #12651] Signed-off-by: Mazliana Signed-off-by: Yeoh Ee Peng --- s

[OE-core] [PATCH 0/2 v4] test-case-mgmt

2019-01-22 Thread Yeoh Ee Peng
Yeoh Ee Peng (1): resultstool: enable merge, store, report and regression analysis meta/lib/oeqa/selftest/cases/resultstooltests.py | 104 scripts/lib/resultstool/__init__.py| 0 scripts/lib/resultstool/manualexecution.py |

[OE-core] [PATCH 1/2 v4] resultstool: enable merge, store, report and regression analysis

2019-01-22 Thread Yeoh Ee Peng
"log": "" }, ... "": { "status": "", "log": "" }, } }, } To use these scripts, first source oe environment,

[OE-core] [PATCH 3/3 v3] scripts/test-case-mgmt: enable manual execution and result creation

2019-01-03 Thread Yeoh Ee Peng
From: Mazliana Integrated “manualexecution” operation to test-case-mgmt scripts. Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to

[OE-core] [PATCH 2/3 v3] scripts/test-case-mgmt: store test result and reporting

2019-01-03 Thread Yeoh Ee Peng
}, } }, } To use these scripts, first source oe environment, then run the entry point script to look for help. $ test-case-mgmt To store test result from oeqa automated tests, execute the below $ test-case-mgmt store By default, test result will be stored

[OE-core] [PATCH 0/3 v3] test-case-mgmt

2019-01-03 Thread Yeoh Ee Peng
to improve code readability and easy to understand Mazliana (1): scripts/test-case-mgmt: enable manual execution and result creation Yeoh Ee Peng (2): scripts/oe-git-archive: fix non-existent key referencing error scripts/test-case-mgmt: store test result and reporting scripts/lib/testcasemgmt

[OE-core] [PATCH 1/3 v3] scripts/oe-git-archive: fix non-existent key referencing error

2019-01-03 Thread Yeoh Ee Peng
hive", line 229, in main 'commit_count': metadata['layers']['meta']['commit_count'], KeyError: 'commit_count' Fix this error by adding exception catch when referencing non-existent key (based on inputs provided by Richard Purdie). [YOCTO# 13082] Signed-off-by: Yeoh Ee Peng --- scripts

[OE-core] [PATCH 2/3 v2] scripts/test-case-mgmt: store test result and reporting

2019-01-02 Thread Yeoh Ee Peng
}, } }, } To use these scripts, first source oe environment, then run the entry point script to look for help. $ test-case-mgmt To store test result from oeqa automated tests, execute the below $ test-case-mgmt store By default, test result will be stored

[OE-core] [PATCH 3/3 v2] scripts/test-case-mgmt: enable manual execution and result creation

2019-01-02 Thread Yeoh Ee Peng
From: Mazliana Integrated “manualexecution” operation to test-case-mgmt scripts. Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to

[OE-core] [PATCH 1/3 v2] scripts/oe-git-archive: fix non-existent key referencing error

2019-01-02 Thread Yeoh Ee Peng
hive", line 229, in main 'commit_count': metadata['layers']['meta']['commit_count'], KeyError: 'commit_count' Fix this error by checking the key existent from metadata before referencing it. [YOCTO# 13082] Signed-off-by: Yeoh Ee Peng --- scripts/oe-git-archive | 28

[OE-core] [PATCH 0/3] test-case-mgmt

2019-01-02 Thread Yeoh Ee Peng
and result creation Yeoh Ee Peng (2): scripts/oe-git-archive: fix non-existent key referencing error scripts/test-case-mgmt: store test result and reporting scripts/lib/testcasemgmt/__init__.py | 0 scripts/lib/testcasemgmt/gitstore.py | 172

[OE-core] [PATCH 2/2] script/lib/testcasemgmt/manualexecution.py : manual helper script with bare-minimum function

2018-12-24 Thread Yeoh Ee Peng
From: Mazliana Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to execute result. The input options are

[OE-core] [PATCH 1/2] scripts/test-case-mgmt: store test result and reporting

2018-12-24 Thread Yeoh Ee Peng
cripts depends on scripts/oe-git-archive where it was facing error if gitpython package not installed. Refer to [YOCTO# 13082] for more detail. To use these scripts, first source oe environment, then run the entry point script to look for help. $ test-case-mgmt To store test resu

[OE-core] [PATCH 3/4 v2] oeqa/qemu: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip and port attribute to enable connection with qemu running with slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/core/target/qemu.py | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions

[OE-core] [PATCH 4/4 v2] testimage: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable testimage to support qemu slirp. Configure "QEMU_USE_SLIRP" & "TEST_SERVER_IP" variables to enable slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/classes/testimage.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/testimag

[OE-core] [PATCH 1/4 v2] oeqa/qemu & runtime: qemu do not need ip input from external

2018-11-22 Thread Yeoh Ee Peng
Qemu do not use the ip input from external. It will retrieve ip from QemuRunner instance and assign ip value. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/core/target/qemu.py | 5 ++--- meta/lib/oeqa/runtime/context.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH 2/4 v2] qemurunner: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable qemurunner for slirp. Retrieved the ip & port from host machine to connect to qemu from host machine. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/utils/qemurunner.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/

[OE-core] [PATCH 0/4] Enable qemu slirp for testimage only

2018-11-22 Thread Yeoh Ee Peng
Changes: [v2] - enable qemu slirp and like kvm, enable it only for testimage - QemuRunner by default has use_slirp=False, where oe-selftest will skipped all the new logic related to slirp Yeoh Ee Peng (4): oeqa/qemu & runtime: qemu do not need ip input from external qemurunner:

  1   2   3   >