[yocto] [PATCH] [yocto-autobuilder2] Add support to enable Manual BSP on LAVA

2018-06-13 Thread Aaron Chan
Signed-off-by: Aaron Chan --- config.py | 9 + schedulers.py | 9 +++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 2568768..d21948f 100644 --- a/config.py +++ b/config.py @@ -80,3 +80,12 @@ builder_to_workers = { "nightl

[yocto] [PATCH 1/2] [yocto-ab-helper] Add qemux86, qemux86-64 WIC testimage buildset-config

2018-07-02 Thread Aaron Chan
Signed-off-by: Aaron Chan --- config.json | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index c9dc21e..3c1f989 100644 --- a/config.json +++ b/config.json @@ -383,6 +383,36 @@ ], "

[yocto] [PATCH 2/2] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-02 Thread Aaron Chan
A patch to fix the data expansion config.json Signed-off-by: Aaron Chan --- scripts/utils.py | 16 1 file changed, 16 insertions(+) diff --git a/scripts/utils.py b/scripts/utils.py index 7c6535c..d26cd0c 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -142,6 +142,22

[yocto] [PATCH] [yocto-autobuilder2] Set ABHELPER_JSON on shared-repo-unpack, run-config buildStep

2018-06-25 Thread Aaron Chan
Signed-off-by: Aaron Chan --- builders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builders.py b/builders.py index 4b6ee9e..0ebe562 100644 --- a/builders.py +++ b/builders.py @@ -142,6 +142,7 @@ def create_builder_factory(): util.Property("builde

[yocto] [PATCH] [yocto-ab-helper] Add config support intel-corei7-64

2018-06-25 Thread Aaron Chan
Signed-off-by: Aaron Chan --- scripts/config-intel-lava.json | 129 + scripts/utils.py | 2 +- 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 scripts/config-intel-lava.json diff --git a/scripts/config-intel-lava.json

[yocto] [PATCH] [yocto-ab-helper] Fix syntax load config.json clobber buildStep

2018-06-26 Thread Aaron Chan
Signed-off-by: Aaron Chan --- config.json| 5 ++--- janitor/clobberdir | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config.json b/config.json index ecfca51..c9dc21e 100644 --- a/config.json +++ b/config.json @@ -8,15 +8,14 @@ "BUILD_HISTORY_DIREC

[yocto] [PATCH] [yocto-ab-helper] Add qemux86, qemux86-64 WIC testimage buildset-config

2018-06-26 Thread Aaron Chan
Signed-off-by: Aaron Chan --- config.json | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index c9dc21e..3c1f989 100644 --- a/config.json +++ b/config.json @@ -383,6 +383,36 @@ ], "

[yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-02 Thread Aaron Chan
"REPO_STASH_DIR" read as ${BASE_HOMEDIR}/git/mirror, where it should be "REPO_STASH_DIR" as /home/pokybuild/git/mirror Signed-off-by: Aaron Chan --- scripts/utils.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/utils.py b/scripts/utils.py index d26

[yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Aaron Chan
R", ourconfig) in our scripts unless we intend to change the BUILDDIR paths. Signed-off-by: Aaron Chan --- janitor/clobberdir | 5 ++--- scripts/utils.py | 8 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/janitor/clobberdir b/janitor/clobberdir index 5dab5af..5e04e

[yocto] [PATCH] run-config: Reverse the oder of remove layers

2018-08-08 Thread Aaron Chan
assumption that the layers have their dependent layers added before the parent layers are added. In general, the parent layer require to be remove first before its child dependencies layers. Signed-off-by: Aaron Chan --- scripts/run-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[yocto] [yocto-autobuilder-helper][PATCH 1/6] lava-templates: Add Jinja2 LAVA job-template on BSP x86_64

2018-08-29 Thread Aaron Chan
Include a reference LAVA job template on x86_64 in jinja2 format. This template will parsed and converted into YAML configuration before job is trigger on LAVA server end thru Yocto autobuilder. Signed-off-by: Aaron Chan --- lava-templates/generate-jobconfig.jinja2 | 43

[yocto] [yocto-autobuilder-helper][PATCH 3/6] trigger-lava-jobs: Add LAVA RPC trigger pipeline script

2018-08-29 Thread Aaron Chan
lava-job return a state either incomplete or canceling stage. trigger-lava-jobs uses lava_scheduler.py python module where the LAVA classes and library constructed from XML-RPC API which are define and supported by Linaro, LAVA. Signed-off-by: Aaron Chan --- lava/lava_scheduler.py | 70

[yocto] [yocto-autobuilder-helper][PATCH 2/6] run-jinja-parser: Add converter Jinja2 template to YAML parser

2018-08-29 Thread Aaron Chan
-intelqa-x86_64-lava.json when defining your architecture and hardware configuration at LAVA end. Signed-off-by: Aaron Chan --- lava/run-jinja-parser | 96 +++ 1 file changed, 96 insertions(+) create mode 100755 lava/run-jinja-parser diff --git

[yocto] [yocto-autobuilder-helper][PATCH 4/6] resume-lava-jobs: Add lava-job cleanup script

2018-08-29 Thread Aaron Chan
in autobuilder before it completes and end the entire job workflow. Signed-off-by: Aaron Chan --- lava/resume-lava-jobs | 79 +++ 1 file changed, 79 insertions(+) create mode 100755 lava/resume-lava-jobs diff --git a/lava/resume-lava-jobs b/lava/resume

[yocto] [yocto-autobuilder-helper][PATCH 6/6] config-intelqa-x86_64-lava.json: Add extension to config.json to support BSP

2018-08-29 Thread Aaron Chan
and/or new community. Signed-off-by: Aaron Chan --- config-intelqa-x86_64-lava.json | 163 1 file changed, 149 insertions(+), 14 deletions(-) diff --git a/config-intelqa-x86_64-lava.json b/config-intelqa-x86_64-lava.json index 81e248d..450890c 100644

[yocto] [yocto-autobuilder-helper][PATCH 5/6] publish-artefacts: Add deployment BSP support on x86_64

2018-08-29 Thread Aaron Chan
-off-by: Aaron Chan --- scripts/publish-artefacts | 8 1 file changed, 8 insertions(+) diff --git a/scripts/publish-artefacts b/scripts/publish-artefacts index 83a4094..3418de2 100755 --- a/scripts/publish-artefacts +++ b/scripts/publish-artefacts @@ -137,6 +137,14 @@ case "$t

[yocto] [PATCH] [yocto-ab-helper] clobberdir: Fix Unicode data expansion with utils API

2018-07-04 Thread Aaron Chan
This fix is to move clobberdir from python2 to python3 to resolve unicode data in python2 and change the data extraction expansion from ourconfig["TRASH_DIR"] to utils.getconfig("TRASH_DIR", ourconfig) on "Clobber build dir" BuildStep Signed-off-by: Aaron Chan ---

[yocto] [PATCH] [yocto-ab-helper] scripts/run-jinja-parser: Add Jinja2 parser extension in autobuilder

2018-07-06 Thread Aaron Chan
-by: Aaron Chan --- lava/device/bsp-packages.jinja2 | 43 ++ scripts/lava.py | 76 scripts/run-jinja-parser| 97 + 3 files changed, 216 insertions(+) create mode 100644 lava/device/bsp

[yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-09 Thread Aaron Chan
This patch is to enable auto-assignments buildbot URL based on Hosts FQDN. The socket module allows the retrieval on FQDN and constructs the entire URL by default, this default settings can be overwritten in c['buildbotURL'] based on local administrator preferences. Signed-off-by: Aaron Chan

[yocto] [PATCH] [yocto-autobuilder] init: Fix the import module yoctoabb & yocto_console_view

2018-07-09 Thread Aaron Chan
This patch is to fix the inconsistency in loading custom module yoctoabb & yocto_console_view during Buildbot Master startup. Signed-off-by: Aaron Chan --- __init__.py| 0 yocto_console_view/__init__.py | 0 2 files changed, 0 insertions(+), 0 deletions(-) create

[yocto] [PATCH] [yocto-ab-helper] config-intelqa-x86_64-lava.json: Update job-config to enable BSP on Minnowboard (x86_64)

2018-07-13 Thread Aaron Chan
This patch is to update the nightly-x86-64-bsp job configuration and include the TEST_TARGET_IP, TEST_SERVER_IP & TEST_SUITES to enable OEQA Automated BSP test case(s) using server client connection. Signed-off-by: Aaron Chan --- config-intelqa-x86_64-lava.json | 17 ++--- 1

[yocto] [PATCH] [yocto-ab-helper] scripts/run-jinja-parser: Add parser to generate LAVA job-config

2018-07-13 Thread Aaron Chan
This patch is added to generate the LAVA job-config based on config-intelqa-x86_64-lava.json,lava.py, jinja2 template to construct the job definition in YAML using autobuilder. Signed-off-by: Aaron Chan --- scripts/run-jinja-parser | 121 +++ 1 file

[yocto] [PATCH] [yocto-autobuilder] Add Manual BSP job-config into autobuilder

2018-07-09 Thread Aaron Chan
This patch is to add/update configuration needed to support several hardware platforms on ARM64, x32, x86/x86-64, MIPS64, PPC on autobuilder as new features added in 2.6 M2 and to support automated manual BSP test case(s) for future QA releases. Signed-off-by: Aaron Chan --- config.py | 17