ci-management.git
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>
7 years agoRelay upload location back to gerrit 81/9681/1
Jan-Simon Möller [Fri, 9 Jun 2017 21:08:29 +0000 (23:08 +0200)]
Relay upload location back to gerrit

Change-Id: I07bc88db8f0b1c91a864967b021aee17a86dbdd4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUpdate application build to support multiarch builds and upload 79/9679/1
Jan-Simon Möller [Fri, 9 Jun 2017 17:16:00 +0000 (19:16 +0200)]
Update application build to support multiarch builds and upload

Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoBuild and upload app to CI folder 61/9661/1
Jan-Simon Möller [Thu, 8 Jun 2017 21:26:13 +0000 (23:26 +0200)]
Build and upload app to CI folder

Change-Id: Ie7947c1a8472826a4f6ee1f4ce6ccaed56945f7c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRename -merge to -remove-artifacts and trigger also when change is abandoned 53/9653/1
Jan-Simon Möller [Thu, 8 Jun 2017 12:49:03 +0000 (14:49 +0200)]
Rename -merge to -remove-artifacts and trigger also when change is abandoned

Change-Id: I0c4dde2c8ce02d2e0a89449ab3a12e7a84bff762
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRemove artifacts after successful merge 51/9651/1
Jan-Simon Möller [Thu, 8 Jun 2017 12:23:51 +0000 (14:23 +0200)]
Remove artifacts after successful merge

Change-Id: Ic039856f7003d2f3c7a22a14d4f6bbf8db44b83a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix git checkout and be less verbose 39/9639/1
Jan-Simon Möller [Thu, 8 Jun 2017 08:58:38 +0000 (10:58 +0200)]
Fix git checkout and be less verbose

Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoEnable ci builds for all apps 35/9635/1
Jan-Simon Möller [Wed, 7 Jun 2017 22:02:44 +0000 (00:02 +0200)]
Enable ci builds for all apps

Change-Id: I43ec8cc5c9f06af0bb57aa16e8c31bb02550b41f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix typo and upload mechanism 59/9559/1
Jan-Simon Möller [Wed, 31 May 2017 00:16:58 +0000 (02:16 +0200)]
Fix typo and upload mechanism

Change-Id: I4e7494eec84102cc59fe917b01193ff0bdc8b893
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRelease jobs for dab. 55/9555/1
Jan-Simon Möller [Tue, 30 May 2017 20:14:30 +0000 (22:14 +0200)]
Release jobs for dab.

Change-Id: I4be4521171b15025488af09226dc8e82ec6cdf7a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoSSTATE per branch + defaulttune 53/9553/1
Jan-Simon Möller [Tue, 30 May 2017 05:29:13 +0000 (07:29 +0200)]
SSTATE per branch + defaulttune

Change-Id: I5ef987616cdeb8a1d9d5c7fdc4d52ff1110bcdbd
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoChange sstate location 41/9541/1
Jan-Simon Möller [Sun, 28 May 2017 23:50:16 +0000 (01:50 +0200)]
Change sstate location

Change-Id: I23aba5a38886bf3988622d588d938887287b73fe
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd credential tokens 37/9537/1
Jan-Simon Möller [Sat, 27 May 2017 09:07:03 +0000 (11:07 +0200)]
Add credential tokens

Change-Id: Ifafe949787658c5f3dd4cf51bfb918e1bf61d8e0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoChange from old url to new lab url 29/9529/1
Jan-Simon Möller [Fri, 26 May 2017 20:26:27 +0000 (22:26 +0200)]
Change from old url to new lab url

Change-Id: I0afdf7ce41b0b8c4a7f0716dcf6508ad35ee6650
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoHandle nogfx targets with different crosssdk image and add new lava-tool setup 27/9527/1
Jan-Simon Möller [Fri, 26 May 2017 17:40:30 +0000 (19:40 +0200)]
Handle nogfx targets with different crosssdk image and add new lava-tool setup

Change-Id: Ieb624d96b0901415ab2ac05d3c436fe8e135bf5e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoImprove repo init for release builds 23/9523/1
Jan-Simon Möller [Thu, 25 May 2017 21:16:54 +0000 (23:16 +0200)]
Improve repo init for release builds

Change-Id: I67a2d48ae689a8a9fc8145dad83873aa0789c7fa
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPrepare rc1 build for dab 21/9521/1
Jan-Simon Möller [Thu, 25 May 2017 21:03:08 +0000 (23:03 +0200)]
Prepare rc1 build for dab

Change-Id: I8c820256949b1fba9035a04f67ad5761ee73e73e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd hashicorp's packer 1.0.0 to basebuild 15/9515/3
Anil Belur [Wed, 24 May 2017 00:21:49 +0000 (10:21 +1000)]
Add hashicorp's packer 1.0.0 to basebuild

Change-Id: Id939111ccbfdf5ab0ca3aef0d33f6c88d9c30172
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Extend app build train"
Jan-Simon Moeller [Tue, 23 May 2017 20:34:19 +0000 (20:34 +0000)]
Merge "Extend app build train"

7 years agoci-platform: use updated LAVA auth 93/9493/2
Kevin Hilman [Tue, 23 May 2017 18:35:15 +0000 (18:35 +0000)]
ci-platform: use updated LAVA auth

LAVA authentiticaion setup is now done in a dedicated script
(include-agl-lava-labs-prepare.sh), remove it from run-test-short.sh
as it's no longer needed.

While at it, rename porter.automotivelinux.org to its new name:
lava.automotivelinux.org

Change-Id: Ifd7b701c9d76abdeb02f3d242f0b32c26d448749
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
7 years agoExtend app build train 91/9491/1
Jan-Simon Möller [Tue, 23 May 2017 18:01:06 +0000 (20:01 +0200)]
Extend app build train

Change-Id: I893e2cc94ef8c69c1e44293ae824df24300c0889
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoUpdate gitignore file 89/9489/1
Jan-Simon Möller [Tue, 23 May 2017 16:54:47 +0000 (18:54 +0200)]
Update gitignore file

Change-Id: I2b61e1278b8f72286e517f0b19a7e8ce2cfbfd70
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix typo in credential section 87/9487/1
Jan-Simon Möller [Tue, 23 May 2017 16:53:20 +0000 (18:53 +0200)]
Fix typo in credential section

Change-Id: Ib691e9ce7ad78b23878d82483e04e5a9608a63cf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoMerge "ci-platform-jjb: CIBT: add support for multiple LAVA labs"
Jan-Simon Moeller [Tue, 23 May 2017 14:11:44 +0000 (14:11 +0000)]
Merge "ci-platform-jjb: CIBT: add support for multiple LAVA labs"