ci-management.git
7 years agojjb/common: run-test-short: fix pip show 89/11189/1
Kevin Hilman [Mon, 9 Oct 2017 19:26:45 +0000 (19:26 +0000)]
jjb/common: run-test-short: fix pip show

Change-Id: I53d14d65f3e88c956722cc4ba12603e2ef3f8038
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: run-test-short: show jinja2 version 87/11187/1
Kevin Hilman [Mon, 9 Oct 2017 18:05:22 +0000 (18:05 +0000)]
jjb/common: run-test-short: show jinja2 version

Change-Id: Idd324bc07bc21135eabb632dfaf2070f9ca73f55
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "Increase timeout and skip test prepare"
Jan-Simon Moeller [Mon, 9 Oct 2017 06:37:47 +0000 (06:37 +0000)]
Merge "Increase timeout and skip test prepare"

7 years agoIncrease timeout and skip test prepare 75/11175/1
Jan-Simon Möller [Mon, 9 Oct 2017 06:36:44 +0000 (08:36 +0200)]
Increase timeout and skip test prepare

Change-Id: I17457661b7b654463035078f2778ce86a021c99d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agojjb/common: run-test-short: fix board-specific check for releng-scripts 51/11151/1
Kevin Hilman [Thu, 5 Oct 2017 20:15:26 +0000 (20:15 +0000)]
jjb/common: run-test-short: fix board-specific check for releng-scripts

The (broken) conditional used to check which boards to use with releng-scripts
was always returning true.  Fix it to use [[ ]] instead of (( ))

Change-Id: I244d95c95a40e14e7a3ea682030733096b2af746
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "Do not abort the other CIBT jobs on failure"
Jan-Simon Moeller [Wed, 4 Oct 2017 21:10:30 +0000 (21:10 +0000)]
Merge "Do not abort the other CIBT jobs on failure"

7 years agoDo not abort the other CIBT jobs on failure 31/11131/1
Jan-Simon Möller [Wed, 4 Oct 2017 21:00:11 +0000 (23:00 +0200)]
Do not abort the other CIBT jobs on failure

Change-Id: Icbda1c48bd82df5178b3bb737f31ade3919608b8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agojjb/common: run-test-short: add tests, unique version and callbacks 23/11123/2
Kevin Hilman [Wed, 4 Oct 2017 18:45:39 +0000 (18:45 +0000)]
jjb/common: run-test-short: add tests, unique version and callbacks

Use the gerrit changeset/patch numbers in combination with a SHA1 of
the repo manifest to create a unique build_version for the metadata.

Enable jobs to send results to lab-baylibre-legacy backend.

Send all tests (there are so few, might as well run them all.)

Change-Id: I7009621e0ab0eefbf345e5f801623b029cd7c332
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "jjb/common: aglsetup: save pre-build env"
Jan-Simon Moeller [Wed, 4 Oct 2017 17:29:33 +0000 (17:29 +0000)]
Merge "jjb/common: aglsetup: save pre-build env"

7 years agoMerge "jjb/common: run-test-short: fix line-continuation typo"
Jan-Simon Moeller [Wed, 4 Oct 2017 17:29:13 +0000 (17:29 +0000)]
Merge "jjb/common: run-test-short: fix line-continuation typo"

7 years agopacker: agl_dependencies: need latest python jinja2 lib 19/11119/1
Kevin Hilman [Wed, 4 Oct 2017 14:44:08 +0000 (14:44 +0000)]
packer: agl_dependencies: need latest python jinja2 lib

releng-scripts templating depends on the current stable (v2.9) version
of jinja2.

Change-Id: I0cde55c53567755edf3f2d1e8b009d0b0b7cc8ec
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: run-test-short: fix line-continuation typo 03/11103/1
Kevin Hilman [Tue, 3 Oct 2017 22:43:14 +0000 (22:43 +0000)]
jjb/common: run-test-short: fix line-continuation typo

Change-Id: Ib8b128e82a520c50c978b7d308bb64fa70e08c96
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: aglsetup: save pre-build env 91/11091/1
Kevin Hilman [Mon, 2 Oct 2017 22:15:44 +0000 (22:15 +0000)]
jjb/common: aglsetup: save pre-build env

Save some pre-build environment which can be saved/uploaded
and used to reproduce builds and share with downstream CI
infrastructure.

Change-Id: Iec896bb6a1936158986907b06cb6367ed775ddf4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoFix issue with difference in buildid by using changeset number only 69/11069/1
Jan-Simon Möller [Thu, 28 Sep 2017 14:27:05 +0000 (16:27 +0200)]
Fix issue with difference in buildid by using changeset number only

Change-Id: I852c93da0514dbdc224612b7d150a17b572e6021
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd application repositories for agl-service-soundmanager-2017 and agl-service-window... 67/11067/1
Jan-Simon Möller [Thu, 28 Sep 2017 13:02:23 +0000 (15:02 +0200)]
Add application repositories for agl-service-soundmanager-2017 and agl-service-windowmanager-2017

Change-Id: I613805d157182907b5b0d21c1714727736a7f99e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRemove safety switch 65/11065/1
Jan-Simon Möller [Thu, 28 Sep 2017 12:49:18 +0000 (14:49 +0200)]
Remove safety switch

Change-Id: Ia6320c3f78308acab6e9a33987c5a2bb90db41ea
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix job name and typo in script 63/11063/2
Jan-Simon Möller [Thu, 28 Sep 2017 12:21:44 +0000 (14:21 +0200)]
Fix job name and typo in script

Fix job name in ci-app yaml file and typo variable name in
common script.

Change-Id: I903b5135852b710efb187cb2194fe60c59e825b0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAfter merge, rebuild app 61/11061/1
Jan-Simon Möller [Thu, 28 Sep 2017 11:59:36 +0000 (13:59 +0200)]
After merge, rebuild app

and upload it to the app repository folder on
the download server for consumption.

Change-Id: I3df70f0ce11f0d448999e9b54e637a53070e0439
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoExempt aarch64 on dab currently. 59/11059/1
Jan-Simon Möller [Wed, 27 Sep 2017 20:35:41 +0000 (22:35 +0200)]
Exempt aarch64 on dab currently.

Change-Id: Iddf1b14e632d43e43567058ecbbdaa3bd59d4374
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Adapt trigger for app build"
Jan-Simon Moeller [Wed, 27 Sep 2017 20:36:06 +0000 (20:36 +0000)]
Merge "Adapt trigger for app build"

7 years agoAdapt trigger for app build 57/11057/1
Jan-Simon Möller [Wed, 27 Sep 2017 20:26:17 +0000 (22:26 +0200)]
Adapt trigger for app build

Change-Id: Ie32360bcdf4fcf0586494cdc4e70aa5e0e4c5f13
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Per branch app build"
Jan-Simon Moeller [Wed, 27 Sep 2017 20:11:31 +0000 (20:11 +0000)]
Merge "Per branch app build"

7 years agoPer branch app build 55/11055/1
Jan-Simon Möller [Wed, 27 Sep 2017 19:26:16 +0000 (21:26 +0200)]
Per branch app build

Thie change introduces app builds per apps/* repo branch.
E.g. master and dab branch are separately tracked and built.

Preparation of the app folder.

Change-Id: I5f15b68e072c6abc69dfd41197ad2052ed8aed4e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUpdate snapshot build recipe for dab and add dragonboard as 'full' aarch64 target 53/11053/1
Jan-Simon Möller [Wed, 27 Sep 2017 17:28:03 +0000 (19:28 +0200)]
Update snapshot build recipe for dab and add dragonboard as 'full' aarch64 target

Change-Id: Ia2ea7f485282941d22ef81bd2b0d73e7350fd90e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoLAVA jobs: create jobs using releng 03/11003/2
Kevin Hilman [Thu, 21 Sep 2017 21:48:25 +0000 (21:48 +0000)]
LAVA jobs: create jobs using releng

Switch to using releng-scripts "create-jobs" util for creating LAVA
jobs from new templating system.

For beta-testing, only use for QEMU and m3ulcb for now

(Yes, the if/else/endif without nesting is ugly, but makes the
 patch easier to read without all the whitespace change for
 indents.  Whitespace can be updated in a follow-up if this
 change is accepted.)

Change-Id: I46c4f97927515c1772fdef9842f041ef2be60000
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoappend needs extra space 83/10983/1
Jan-Simon Möller [Tue, 19 Sep 2017 15:07:05 +0000 (17:07 +0200)]
append needs extra space

Change-Id: Iebb770258d31cd87ec55427c96a408fb9e61c75e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Fix typo"
Jan-Simon Moeller [Mon, 18 Sep 2017 22:50:28 +0000 (22:50 +0000)]
Merge "Fix typo"

7 years agoFix typo 65/10965/1
Jan-Simon Möller [Mon, 18 Sep 2017 22:18:41 +0000 (00:18 +0200)]
Fix typo

Change-Id: Ic8c1605ed18a214415f706297e08eb0536c33d9c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Enable CI specific DISTRO_FEATURES"
Jan-Simon Moeller [Mon, 18 Sep 2017 21:44:07 +0000 (21:44 +0000)]
Merge "Enable CI specific DISTRO_FEATURES"

7 years agoEnable CI specific DISTRO_FEATURES 63/10963/1
Jan-Simon Möller [Mon, 18 Sep 2017 21:17:46 +0000 (23:17 +0200)]
Enable CI specific DISTRO_FEATURES

this is the tuning for the output filesystems that we need in CI (ext4.xz).

Later this is used for other flags. Benefit of a DISTRO_FEATURES is that
it is easily reproducible outside of CI.

Change-Id: I24b7e3240539c5d463a4656b8e50725b90dbac13
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Remove hardcoded fstypes"
Jan-Simon Moeller [Mon, 18 Sep 2017 14:02:45 +0000 (14:02 +0000)]
Merge "Remove hardcoded fstypes"

7 years agoRemove hardcoded fstypes 53/10953/2
Jan-Simon Möller [Mon, 18 Sep 2017 13:36:12 +0000 (15:36 +0200)]
Remove hardcoded fstypes

and rely on our repo-wide unification of the fstypes.
This enables hddimage for intel-corei7-64 again.

Change-Id: I93deffd4a54eead4b178d5ee34b91b9a2e6eabb5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Convert doc site job to jjb"
Jan-Simon Moeller [Mon, 18 Sep 2017 01:03:12 +0000 (01:03 +0000)]
Merge "Convert doc site job to jjb"

7 years agoConvert doc site job to jjb 41/10941/1
Jan-Simon Möller [Mon, 18 Sep 2017 00:00:23 +0000 (02:00 +0200)]
Convert doc site job to jjb

Change-Id: I87700e558dc20705f85a2ed78f8fe9df057e95e4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUpdate application CI job and extend local test script 39/10939/2
Jan-Simon Möller [Sun, 17 Sep 2017 22:52:47 +0000 (00:52 +0200)]
Update application CI job and extend local test script

Change-Id: I0f6609aeddc4b9b2d335921d980db6f4978b2cb6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRework branch support for application CI 37/10937/1
Jan-Simon Möller [Sun, 17 Sep 2017 18:54:15 +0000 (20:54 +0200)]
Rework branch support for application CI

In this step the default builds for master and dab are reduced to just master.
Some apps like gps do not work with dab at all. So it does not make sense to
build them also for dab.

We have these options:
a) introduce branches into the app repos to match the AGL branch
b) define the equivalent of an API level so apps are build matching their level

a) works short-term  b) mid-/long-term.

Change-Id: I1538a22cca75240e85fa39313061156c0e75e995
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoLet the builds continue to see what targets build before stopping the phase 67/10867/1
Jan-Simon Möller [Tue, 12 Sep 2017 12:30:53 +0000 (14:30 +0200)]
Let the builds continue to see what targets build before stopping the phase

Change-Id: If377fcd945d0d9856efab384f06088d2c74accca
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd new app repositories to CI loop 37/10837/1
Jan-Simon Möller [Fri, 8 Sep 2017 14:48:35 +0000 (16:48 +0200)]
Add new app repositories to CI loop

Change-Id: I18d4bedc88ec1ddedaa6fd4296a0c1249bc954be
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUse predefined parameter to avoid bug in selection 35/10735/1
Jan-Simon Möller [Thu, 31 Aug 2017 05:26:57 +0000 (07:26 +0200)]
Use predefined parameter to avoid bug in selection

Change-Id: I3e403e39a9a2b59022527e8a81c41adf313e2baf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "jjb/common: run-test-prepare: clone releng-scripts"
Jan-Simon Moeller [Thu, 31 Aug 2017 01:24:46 +0000 (01:24 +0000)]
Merge "jjb/common: run-test-prepare: clone releng-scripts"

7 years agojjb/common: run-test-prepare: clone releng-scripts 79/10679/2
Kevin Hilman [Tue, 22 Aug 2017 23:26:33 +0000 (16:26 -0700)]
jjb/common: run-test-prepare: clone releng-scripts

Preparation for new templating system.

Templates and utils for generating new LAVA YAML templates based on
jinja2 will be developed in the releng-scripts repo.  Clone the
"release" branch of that repo into $REPODIR, and add the utils dir to
$PATH.

Change-Id: If8a517ecb80cd849e022c82eba2794714c9ca787
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoUpdate also git submodules after re-setting to commit version 03/10703/1
Jan-Simon Möller [Sat, 26 Aug 2017 23:07:39 +0000 (01:07 +0200)]
Update also git submodules after re-setting to commit version

Change-Id: I625c64859ff613f8bc5ea2574503273535e89bd0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "jjb/common: LAVA: disable lab-baylibre-seattle"
Jan-Simon Moeller [Tue, 22 Aug 2017 09:20:46 +0000 (09:20 +0000)]
Merge "jjb/common: LAVA: disable lab-baylibre-seattle"

7 years agojjb/common: LAVA: disable lab-baylibre-seattle 73/10673/1
Kevin Hilman [Tue, 22 Aug 2017 03:42:38 +0000 (20:42 -0700)]
jjb/common: LAVA: disable lab-baylibre-seattle

lab-baylibre-seattle is offline due to HW failures.  Disable for now.

Change-Id: I494ca7ef77a589708626bd81b4e078d19eb5d3e2
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoPull down the submodules within the app 35/10635/1
Jan-Simon Möller [Sun, 13 Aug 2017 10:49:43 +0000 (12:49 +0200)]
Pull down the submodules within the app

Change-Id: I64a7ed6370dcaee19495caf2be5af1143b6514b3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoDisable 64bit arm on dab 21/10621/1
Jan-Simon Möller [Thu, 10 Aug 2017 17:23:58 +0000 (19:23 +0200)]
Disable 64bit arm on dab

Change-Id: I001daba4b480b7d7d564a67291b39a3aac463d03
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoTrigger jobs per aglbranch 19/10619/2
Jan-Simon Möller [Thu, 10 Aug 2017 16:37:43 +0000 (18:37 +0200)]
Trigger jobs per aglbranch

Change-Id: I9703057a98622484e2b8b877126234a85e3384fa
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUpdate ci loop for apps to include master and dab release 15/10615/2
Jan-Simon Möller [Thu, 10 Aug 2017 14:47:16 +0000 (16:47 +0200)]
Update ci loop for apps to include master and dab release

Change-Id: I7434475bc75cd27c75b63e0a8e28e3525e12c684
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd CMake detection to app build
Jan-Simon Möller [Thu, 10 Aug 2017 13:53:18 +0000 (15:53 +0200)]
Add CMake detection to app build

Change-Id: Id2e8d67aa3890f93b89b340f268597f1c4ec6db6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoConfigure naginator for CIBT 01/10601/1
Jan-Simon Möller [Thu, 10 Aug 2017 10:32:57 +0000 (12:32 +0200)]
Configure naginator for CIBT

Change-Id: Ia819f1b8c6179ab2d0371c7919cb884eaa89701c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd apps/agl-service-steering-wheel to the ci build 85/10585/1
Jan-Simon Möller [Wed, 9 Aug 2017 21:07:09 +0000 (23:07 +0200)]
Add apps/agl-service-steering-wheel to the ci build

Change-Id: I063c82fe00ed401d47f5e35270a29955d451fdc1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoHave basebuild-local-kvm work without DISPLAY 63/10563/1
Tom Rini [Tue, 8 Aug 2017 17:37:41 +0000 (13:37 -0400)]
Have basebuild-local-kvm work without DISPLAY

packer is quite happy to work without DISPLAY and still have VNC up so that
if needed a connection to the display can be made.

Change-Id: Iae93aec9e9c1421a25dc719300bd4afec54cc533
Signed-off-by: Tom Rini <trini@konsulko.com>
7 years agoMerge "Update source of iso file"
Jan-Simon Moeller [Tue, 8 Aug 2017 14:45:22 +0000 (14:45 +0000)]
Merge "Update source of iso file"

7 years agoUpdate source of iso file 55/10555/1
Jan-Simon Möller [Tue, 8 Aug 2017 14:44:20 +0000 (16:44 +0200)]
Update source of iso file

Change-Id: I4ddb6642f0393e83f064bca0735b7b8755257a41
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agojjb/common: LAVA submit: : support device-type alternate names 11/10511/1
Kevin Hilman [Mon, 26 Jun 2017 22:03:14 +0000 (22:03 +0000)]
jjb/common: LAVA submit: : support device-type alternate names

The LAVA device types used in AGL lab are different than the standard
LAVA device-type names (which tend to follow naming conventions from
the upstream linux kernel device-tree names.)

This patch enables a way to have a table of alternate names, using the
rpi3 as an example.

Change-Id: Ic52d124047ef1c831c992c5671b1ad4b7d5f51ab
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "Improve packer verify and build jobs"
Jan-Simon Moeller [Wed, 2 Aug 2017 14:10:25 +0000 (14:10 +0000)]
Merge "Improve packer verify and build jobs"

7 years agoImprove packer verify and build jobs 71/10471/1
Anil Belur [Tue, 1 Aug 2017 04:31:17 +0000 (14:31 +1000)]
Improve packer verify and build jobs

- AGL uses multiple user credentials some of which are missing.
  JJB does not support setting "Ignore missing credentials" through
  JJB, therefore create a separate wrapper to fix the issue.
- Improve the packer validation builder to exclude non-packer
  templates.

Change-Id: I16524cbee14add2028d8c9e30b0f6c9315928031
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Adapt release test."
Jan-Simon Moeller [Fri, 28 Jul 2017 15:38:52 +0000 (15:38 +0000)]
Merge "Adapt release test."

7 years agoAdapt release test. 51/10451/1
Jan-Simon Möller [Fri, 28 Jul 2017 15:33:13 +0000 (17:33 +0200)]
Adapt release test.

Change-Id: I9dc7a1ea5df2266d77e48460d0179c5b6697d107
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Fix order in repo init call"
Jan-Simon Moeller [Wed, 26 Jul 2017 15:00:26 +0000 (15:00 +0000)]
Merge "Fix order in repo init call"

7 years agoFix order in repo init call 05/10405/1
Jan-Simon Möller [Wed, 26 Jul 2017 13:12:36 +0000 (15:12 +0200)]
Fix order in repo init call

Change-Id: I97b9972189a33877aefcc14ba0c83dbd72e65425
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Downloading the image can take more than 10 minutes"
Jan-Simon Moeller [Wed, 26 Jul 2017 12:38:16 +0000 (12:38 +0000)]
Merge "Downloading the image can take more than 10 minutes"

7 years agoDownloading the image can take more than 10 minutes 01/10401/1
Jan-Simon Möller [Wed, 26 Jul 2017 12:35:07 +0000 (14:35 +0200)]
Downloading the image can take more than 10 minutes

Change-Id: Ic199048e5c1c4c490c3aa078c88c183969035a62
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Fix typo in TARGETPROJECT evaluation"
Jan-Simon Moeller [Wed, 26 Jul 2017 12:09:59 +0000 (12:09 +0000)]
Merge "Fix typo in TARGETPROJECT evaluation"

7 years agoFix typo in TARGETPROJECT evaluation 99/10399/1
Jan-Simon Möller [Wed, 26 Jul 2017 12:08:40 +0000 (14:08 +0200)]
Fix typo in TARGETPROJECT evaluation

Change-Id: I90ab0d336ae60bf0a28869571f781f3848731c7a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Special case meta-renesas-rcar-gen3 as branches are not aligned"
Jan-Simon Moeller [Wed, 26 Jul 2017 11:59:19 +0000 (11:59 +0000)]
Merge "Special case meta-renesas-rcar-gen3 as branches are not aligned"

7 years agoSpecial case meta-renesas-rcar-gen3 as branches are not aligned 97/10397/1
Jan-Simon Möller [Wed, 26 Jul 2017 11:56:15 +0000 (13:56 +0200)]
Special case meta-renesas-rcar-gen3 as branches are not aligned

Change-Id: I6c4d7192c0b121beb50e777e49ecec9193361596
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "Extend the timeouts to cope with the downloads"
Jan-Simon Moeller [Wed, 26 Jul 2017 11:54:53 +0000 (11:54 +0000)]
Merge "Extend the timeouts to cope with the downloads"

7 years agoExtend the timeouts to cope with the downloads 95/10395/1
Jan-Simon Möller [Wed, 26 Jul 2017 11:50:52 +0000 (13:50 +0200)]
Extend the timeouts to cope with the downloads

Change-Id: I24bc9edfe1d62f7f5ab39ca1fc34e5154b52e4cf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "enforce ext4.xz and tar.xz in CI"
Jan-Simon Moeller [Tue, 25 Jul 2017 21:08:05 +0000 (21:08 +0000)]
Merge "enforce ext4.xz and tar.xz in CI"

7 years agoenforce ext4.xz and tar.xz in CI 83/10383/1
Jan-Simon Möller [Tue, 25 Jul 2017 20:50:13 +0000 (22:50 +0200)]
enforce ext4.xz and tar.xz in CI

Change-Id: Ie30054d43d2f4a2882b75a795f1442cc532affbb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd linters for doc generation 81/10381/1
Jan-Simon Möller [Tue, 25 Jul 2017 20:48:03 +0000 (22:48 +0200)]
Add linters for doc generation

Change-Id: I0edee9740a6766acc5bc2020b4a758830ed4ee53
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoLeave DEVICE_URL_PREFIX enabled 53/10353/1
Jan-Simon Möller [Mon, 24 Jul 2017 22:18:54 +0000 (00:18 +0200)]
Leave DEVICE_URL_PREFIX enabled

Change-Id: I1a5adadef039e92df7eee491ed6ee5b7d50344f1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRemove default values and print message for missing variable 39/10339/1
Jan-Simon Möller [Mon, 24 Jul 2017 20:55:25 +0000 (22:55 +0200)]
Remove default values and print message for missing variable

Change-Id: I7df5c0a9a36588f41bac00050b06507c89bc92d0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoci-platform-jjb: try LAVA job in multiple labs 31/9531/7
Kevin Hilman [Fri, 26 May 2017 22:11:18 +0000 (22:11 +0000)]
ci-platform-jjb: try LAVA job in multiple labs

Currently, LAVA jobs are only submitted to a single lab.  This patch
adds the ability look for a matching device-type in a list of
available labs, and submit the job to the first lab with an available
device type.

To accomplish this, the job submission part is removed from
run-test-short.sh, which now only generates the LAVA YAML job.  A new
lava-jobs-submit.sh script is added which looks for an available
device-type in a list of LAVA labs, and submits the job there.

NOTES:
- run-test-short.sh should probably be renamed, but was left
  for now to limit the diff

Change-Id: I95086d89a95f39e2b59fec8a8afada70806c52e5
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: run-test-short: QEMU: enable KVM 05/10305/1
Kevin Hilman [Fri, 21 Jul 2017 17:59:10 +0000 (17:59 +0000)]
jjb/common: run-test-short: QEMU: enable KVM

Change-Id: I7b1b3a1c3dac55f6df6debcbe0b84c0e23edc5f4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoEnhance autobuild detection 69/10269/1
Jan-Simon Möller [Wed, 19 Jul 2017 12:54:20 +0000 (14:54 +0200)]
Enhance autobuild detection

Change-Id: I256844ae5bc73ed5e1bf350f6fa411b75728f705
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoEnable debugging in app build 67/10267/1
Jan-Simon Möller [Wed, 19 Jul 2017 12:35:04 +0000 (14:35 +0200)]
Enable debugging in app build

Change-Id: I46f6ae320f74ebb69cf45c86ab1d3fd6efddcd4f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAlso pull submodules and add autobuild support 65/10265/1
Jan-Simon Möller [Wed, 19 Jul 2017 11:44:02 +0000 (13:44 +0200)]
Also pull submodules and add autobuild support

Enable automatically pulling the submodules when cloning and
use the autobuild script if present.

Change-Id: Ib5641cb8d8c3c849c2c9bbcdacd287e9d01b6805
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd agl-service-bluetooth and agl-service-wifi to ci app builds 63/10263/1
Jan-Simon Möller [Wed, 19 Jul 2017 11:27:44 +0000 (13:27 +0200)]
Add agl-service-bluetooth and agl-service-wifi to ci app builds

Change-Id: I834757d147e333e87767671b7b0f0086ab85c46b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "jjb/common: run-test-rsync: fix empty variables"
Jan-Simon Moeller [Wed, 19 Jul 2017 11:19:10 +0000 (11:19 +0000)]
Merge "jjb/common: run-test-rsync: fix empty variables"

7 years agojjb/common: run-test-short: QEMU: increase boot timeout 49/10249/1
Kevin Hilman [Wed, 19 Jul 2017 01:03:09 +0000 (01:03 +0000)]
jjb/common: run-test-short: QEMU: increase boot timeout

QEMU jobs in some labs can be slow, especially when LAVA servers are
busy and the rootfs has lots to do before reaching a login prompt.

Increase the timeout to reach a login prompt to 5 minutes (from 2
minutes) to allow plenty of time.

Change-Id: I71738a521d7fed8ae8bd9288a9f503dd00f94c92
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: run-test-rsync: fix empty variables 45/10245/1
Kevin Hilman [Wed, 19 Jul 2017 00:20:07 +0000 (00:20 +0000)]
jjb/common: run-test-rsync: fix empty variables

Some variables are allowed to exist, but be empty (e.g. $DEVICE_DTB
for QEMU builds.)  If the variable is empty, do not attempt to copy.

Change-Id: I89850402a225766496e5c2b5b9a45ffa6ec11815
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "jjb/common: add LAVA templating for QEMU"
Jan-Simon Moeller [Mon, 17 Jul 2017 20:46:56 +0000 (20:46 +0000)]
Merge "jjb/common: add LAVA templating for QEMU"

7 years agojjb/common: remove unused TESTJOBFILE 89/10189/1
Kevin Hilman [Thu, 13 Jul 2017 03:40:08 +0000 (03:40 +0000)]
jjb/common: remove unused TESTJOBFILE

Individual machines are allowed to have their own LAVA templates, but
they are not used, and completely overwritten by a default template.

Since they are unused, remove them for clarity.

Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agojjb/common: add LAVA templating for QEMU 87/10187/1
Kevin Hilman [Thu, 13 Jul 2017 03:20:33 +0000 (03:20 +0000)]
jjb/common: add LAVA templating for QEMU

LAVA jobs for QEMU have some slight differences compared to u-boot
jobs.  Add templating to support QEMU jobs for any arch.

Change-Id: I6ef8e92cc169d8365f0ba1cb568b961d49e2a74f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agorun-test-prepare: fix device environment overrides 17/10117/1
Kevin Hilman [Fri, 7 Jul 2017 18:48:43 +0000 (18:48 +0000)]
run-test-prepare: fix device environment overrides

Machines can override the default environment settings in their
hwtest.short.environment files.  However, the grep/sed procesing done
does not ignore lines that are commented out, causing an extra '#' to
be part of the variable name.

To fix, ensure the grep for the variable name matches the beginning of
the line, so commented lines will be ignored.

Change-Id: Ibf4281c3126c95670346bee74043d670e6d58654
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agorun-test-short: fix set -x for debug 13/10113/1
Kevin Hilman [Fri, 7 Jul 2017 18:08:52 +0000 (18:08 +0000)]
run-test-short: fix set -x for debug

Change-Id: Idf5356fd5f86de4a0d6b4afc82ef3d4d6706f437
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agorun-test-short: add set +x for debug 75/10075/2
Kevin Hilman [Thu, 6 Jul 2017 21:24:20 +0000 (21:24 +0000)]
run-test-short: add set +x for debug

Change-Id: Id409ecaabe9320ac20424dae0559515a7bbe8ef7
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoAdd triggers for m3ulcb 65/9965/1
Jan-Simon Möller [Thu, 29 Jun 2017 22:54:05 +0000 (00:54 +0200)]
Add triggers for m3ulcb

Change-Id: Iafb8d22e5b39b5a035d6df473467acdfb20bef32
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoci-AGL-verify: add machine: m3ulcb-nogfx 37/9937/1
Kevin Hilman [Wed, 28 Jun 2017 20:59:30 +0000 (20:59 +0000)]
ci-AGL-verify: add machine: m3ulcb-nogfx

Change-Id: I509cda0b9a6fb97f0139e1406b8706d29c3212c3
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "allow override of DEVICE_URL_PREFIX"
Jan-Simon Moeller [Wed, 28 Jun 2017 00:36:32 +0000 (00:36 +0000)]
Merge "allow override of DEVICE_URL_PREFIX"

7 years agoMerge "fix NBD rootfs default compression"
Jan-Simon Moeller [Wed, 28 Jun 2017 00:35:55 +0000 (00:35 +0000)]
Merge "fix NBD rootfs default compression"

7 years agoallow override of DEVICE_URL_PREFIX 17/9817/1
Kevin Hilman [Mon, 26 Jun 2017 22:07:35 +0000 (22:07 +0000)]
allow override of DEVICE_URL_PREFIX

To facilitate local testing with customized upload location,
allow override of DEVICE_URL_PREFIX.  Note that this patch
does not change the default.

Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agofix NBD rootfs default compression 15/9815/1
Kevin Hilman [Mon, 26 Jun 2017 22:04:52 +0000 (22:04 +0000)]
fix NBD rootfs default compression

LAVA expects "compression: false" instead of "compression: none".

Change-Id: I620c28a1cae3d40fbf20ab575666f7915ea26c0a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoMerge "Add packer verify and merge jobs for AGL"
Jan-Simon Moeller [Tue, 20 Jun 2017 09:47:35 +0000 (09:47 +0000)]
Merge "Add packer verify and merge jobs for AGL"

7 years agoAdd packer verify and merge jobs for AGL 33/9733/2
Anil Belur [Wed, 24 May 2017 09:20:50 +0000 (19:20 +1000)]
Add packer verify and merge jobs for AGL

Packer jobs are designed to rebuild new minon images regularly. These
jobs are also triggered on changes submitted to the templates or
provision scripts.

New images generated by packer must be manually updated on Jenkins.

Change-Id: Ie2e7dbcbc57148693ad1cf4179ceda2f7a3c9d1a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoAdd hashicorp's packer 1.0.0 31/9731/1
Anil Belur [Thu, 15 Jun 2017 01:13:50 +0000 (11:13 +1000)]
Add hashicorp's packer 1.0.0

The previous change: 9515, does not pull in the packer binaries
into basebuild, so moving this to baseline is more appropriate.

Change-Id: I149e83635cce5e9ce62d06fccb4d30099ecd3906
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoFix typo in url 87/9687/1
Jan-Simon Möller [Fri, 9 Jun 2017 22:33:01 +0000 (00:33 +0200)]
Fix typo in url

Change-Id: I4978e1335bb038c2f2258d05e2b2563b076043e7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd trigger for merge+abandon and adapt jobs 83/9683/1
Jan-Simon Möller [Fri, 9 Jun 2017 21:18:12 +0000 (23:18 +0200)]
Add trigger for merge+abandon and adapt jobs

Change-Id: I5b7fb39f8133e2c35e5db8d30a6e910f7ea82536
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>