ci-management.git
4 years agoUpdate application job messaging and jellyfish branch support
Jan-Simon Möller [Wed, 2 Dec 2020 01:52:15 +0000 (02:52 +0100)]
Update application job messaging and jellyfish branch support

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

4 years agoUpdate of projects with coverage
Jan-Simon Möller [Wed, 25 Nov 2020 13:21:17 +0000 (14:21 +0100)]
Update of projects with coverage

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

4 years agoSPEC-3572: include pyagl tests in application CI 90/25290/1
Corentin LABBE [Wed, 16 Sep 2020 12:31:56 +0000 (14:31 +0200)]
SPEC-3572: include pyagl tests in application CI

This patchs adds pyagl tests to test ran for application lifecycle.

Change-Id: Ieba5900ddcd8e9fe621f8cd0783380964f8d3441
Bug-AGL: SPEC-3572
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoDo use an agl-test-slave for the release
Jan-Simon Möller [Tue, 15 Sep 2020 14:39:52 +0000 (16:39 +0200)]
Do use an agl-test-slave for the release

to run the source move right off the same node then.

Change-Id: Id4f936ce8ed095b1d5897e87c434408a0eba4979
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoBuild agl-demo-platform-html5
Jan-Simon Möller [Tue, 15 Sep 2020 14:37:45 +0000 (16:37 +0200)]
Build agl-demo-platform-html5

Change-Id: I4b8bab0855ae54c0e7850ace078ee697084ef640
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoPull down the old repo tool to be host-agnostic
Jan-Simon Moeller [Wed, 2 Sep 2020 17:24:55 +0000 (19:24 +0200)]
Pull down the old repo tool to be host-agnostic

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I2380971fca7b4b966d992e878723ede62a7fc9bb

4 years agoFix typo in message.
Jan-Simon Möller [Thu, 20 Aug 2020 21:01:02 +0000 (23:01 +0200)]
Fix typo in message.

Change-Id: Ic30c9838a307cb074a669c2373a76d4f250533bd
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoDo pull down latest repo from repo-1 branch.
Jan-Simon Möller [Thu, 20 Aug 2020 20:37:36 +0000 (22:37 +0200)]
Do pull down latest repo from repo-1 branch.

Change-Id: If37428645e3fc951fbd8be17cc717ed66bcd9478
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoDo message LAVA URL back to gerrit.
Jan-Simon Möller [Thu, 20 Aug 2020 20:19:04 +0000 (22:19 +0200)]
Do message LAVA URL back to gerrit.

Change-Id: I6cb8ce991e03ce7656d76eb7b82832f6bdd82a7c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoDo build and upload multiple wgt files for applications 97/25097/1
Jan-Simon Moeller [Tue, 11 Aug 2020 15:24:19 +0000 (17:24 +0200)]
Do build and upload multiple wgt files for applications

This change will allow to build and upload
- release
- debug
- coverage
- test
wgt files.

Bug-AGL: SPEC-3482
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5e7adb40442dd8a9abc3268e4e635c2451e54732

4 years agoMerge "SPEC-3482: Add package-all in the autobuild case"
Jan-Simon Moeller [Tue, 11 Aug 2020 08:13:02 +0000 (08:13 +0000)]
Merge "SPEC-3482: Add package-all in the autobuild case"

4 years agoRun ci-management on control-slave 95/25095/1
Jan-Simon Moeller [Tue, 11 Aug 2020 06:30:32 +0000 (08:30 +0200)]
Run ci-management on control-slave

also install latest jjb version with pip.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5fd788ece16a410272434fcf25dd2545be4ba863

4 years agoSPEC-3482: Add package-all in the autobuild case 91/25091/2
Corentin LABBE [Mon, 10 Aug 2020 13:01:21 +0000 (15:01 +0200)]
SPEC-3482: Add package-all in the autobuild case

Add package-all in the autobuild case

v2 (jsmoeller): update autobuild section, fail on non-autobuild
                and remove old code.

Bug-AGL: SPEC-3482

Change-Id: I57063a3955e140c03d4ae9a23746014a45074669
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoRevert "SPEC-3004: resubmit failling jobs for rpi4" 77/24977/1
Jan-Simon Moeller [Tue, 21 Jul 2020 11:21:30 +0000 (11:21 +0000)]
Revert "SPEC-3004: resubmit failling jobs for rpi4"

This reverts commit d212724c5b1fbf323b71ad09ca2d069b15b27995.
Reason for revert: this broke other target boards result evaluation.

Change-Id: I01ddd2b6790eedd767e34630ba587ad507a3d8d0

4 years agoSPEC-3004: resubmit failling jobs for rpi4 18/24418/3
Corentin LABBE [Wed, 22 Apr 2020 08:52:12 +0000 (10:52 +0200)]
SPEC-3004: resubmit failling jobs for rpi4

The RPI4 fail often in uboot phase due to network timeouts.
This patchs adds a way to restart failled jobs for rpi4.
For the moment we restart all failed jobs, a subsequent patch will add a
check on error case.

Bug-AGL: SPEC-3004

Change-Id: I556ec30d1af4adfa57ce3553f79f4152d335e158
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoAdd agl-qt-cluster-demo-receiver to ci 17/25017/1
Jan-Simon Moeller [Tue, 14 Jul 2020 16:22:15 +0000 (18:22 +0200)]
Add agl-qt-cluster-demo-receiver to ci

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I2c883143453912c3e5d2ef5d1bb184fd6a761f08

4 years agoAlso build the crosssdk image for qemux86-64 on gerrit reviews 03/25003/1
Jan-Simon Moeller [Mon, 13 Jul 2020 13:03:49 +0000 (15:03 +0200)]
Also build the crosssdk image for qemux86-64 on gerrit reviews

Add the crosssdk build to the qemux86-64 variant.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I614032b9712a80434883fafdd05f368d62b0e31c

4 years agoSPEC-3482: use the new package-all target 54/24954/1
Corentin LABBE [Wed, 8 Jul 2020 09:06:07 +0000 (11:06 +0200)]
SPEC-3482: use the new package-all target

The new cmake templates expose the target 'make package-all' to produce
all the different wgt types.

Extend the CI app pipeline to use it.

Change-Id: I5750fadcb1c92e5ce7ec13d25cb6c564b9e3bb84
Bug-AGL: SPEC-3482
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoSPEC-3408: continue to fix packer build 22/24922/1
Corentin LABBE [Thu, 2 Jul 2020 07:22:58 +0000 (09:22 +0200)]
SPEC-3408: continue to fix packer build

Go is never installed, because the repository is invalid.
This is due to VERSION_CODENAME bing empty.
The source of /etc/os-release wasnt working.

The solution is to use the POSIX way by using "." instead of the bashism
source.

Bug-AGL: SPEC-3408
Change-Id: I0d3939271cd57c381c4ec2ce21734e9702855645
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoSPEC-3408: fix a typo 21/24921/1
Corentin LABBE [Wed, 1 Jul 2020 13:09:00 +0000 (15:09 +0200)]
SPEC-3408: fix a typo

This patch fix a typo on python3-pip

BUG-AGL: SPEC-3408

Change-Id: Ic08742090ea445a3183383b0c9753e9d90c01c51
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoSPEC-3408: fix packer build 20/24920/1
Corentin LABBE [Wed, 1 Jul 2020 12:32:24 +0000 (14:32 +0200)]
SPEC-3408: fix packer build

The current packer templates use 1604.4 which does not exists anymore,
so change it to 1604.6.

Furthermore, jessie-backports does not exists anymore and fail the whole
build.
Since apt-get-update fail (due to jessie-backports), the subsequent
"&& apt-get install" is never executed
Jessie-backports seems needed only for lava-tool which was replaced by
lavacli, so no regrets, remove it.

Change-Id: Iae1333a52a2dc20e9559462b4acf9a3b71696a08
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoUpdate jenkins template for Jumping Jellyfish release 00/24900/1
Jan-Simon Moeller [Mon, 29 Jun 2020 10:34:31 +0000 (12:34 +0200)]
Update jenkins template for Jumping Jellyfish release

Add jobs for the JJ release.

Bug-AGL: SPEC-3460
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0c104bdf97056cf52cf0f4e7fd9321cca24adf7c

4 years agoRemove separate build for agl-compositor 71/24871/1
Jan-Simon Möller [Thu, 25 Jun 2020 16:28:08 +0000 (18:28 +0200)]
Remove separate build for agl-compositor

this was merged to master as default.

Change-Id: I71b64406f34ca5eb5ba06083eb1f618c048ada81
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoMerge "Update keys and switch debian mirror"
Jan-Simon Moeller [Thu, 25 Jun 2020 09:36:28 +0000 (09:36 +0000)]
Merge "Update keys and switch debian mirror"

4 years agoUpdate keys and switch debian mirror 62/24862/1
Jan-Simon Moeller [Thu, 25 Jun 2020 09:33:56 +0000 (11:33 +0200)]
Update keys and switch debian mirror

URLs and keys have changed. Adapt the packer file.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I4c5076c0a45149fde3795817b10966f500b5e611

4 years agoSPEC-3408: Use pip3 for jinja2 10/24810/1
Corentin LABBE [Mon, 22 Jun 2020 16:01:12 +0000 (18:01 +0200)]
SPEC-3408: Use pip3 for jinja2

The debian package is too old and releng-scripts need jinja2>2.9, so
lets use pip3 for installing it

Change-Id: I4a392acb74e4804c230ac54035ec39f2cecda793
Bug-AGL: SPEC-3408
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
4 years agoMerge "Fix typo in auto.conf section"
Jan-Simon Moeller [Fri, 19 Jun 2020 08:17:02 +0000 (08:17 +0000)]
Merge "Fix typo in auto.conf section"

4 years agoMerge "Update packer jobs"
Jan-Simon Moeller [Fri, 19 Jun 2020 08:16:43 +0000 (08:16 +0000)]
Merge "Update packer jobs"

4 years agoFix typo in auto.conf section 95/24795/1
Jan-Simon Möller [Fri, 19 Jun 2020 08:05:42 +0000 (10:05 +0200)]
Fix typo in auto.conf section

There was a typo in the if statement. Fix it.

Change-Id: I8b1014f7e5c35b14f0d7639aa38b10907fcac901
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoUpdate packer jobs 94/24794/1
Jan-Simon Möller [Fri, 19 Jun 2020 08:04:01 +0000 (10:04 +0200)]
Update packer jobs

Do not build 'basebuild'.
Use single-use slaves.

Change-Id: I2146df383a81834b5f2d9c6770624138c8f92950
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoUpdate the destination folder name of the rpi4 86/24786/1
Jan-Simon Möller [Wed, 17 Jun 2020 12:02:08 +0000 (14:02 +0200)]
Update the destination folder name of the rpi4

We use the 64bit variant, thus the output folder will be tmp/deploy/images/raspberrypi4-64/ .

Change-Id: I90de9094050b7dbf874f6fa0ccfd0df3ab3eb271
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoAvoid CIBT jobs failing on lavacli wait call 84/24784/3
Jan-Simon Moeller [Wed, 17 Jun 2020 10:45:26 +0000 (12:45 +0200)]
Avoid CIBT jobs failing on lavacli wait call

Lavacli wait has a bug and returns
Submitted.

Running......................................................
  Unable to call 'jobs.wait': [Errno 2] No such file or directory

Avoid this failing the job as the following evaluation will still work.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If8fa942b7ddc49857d2f010f02ae3f53d01476ac

4 years agoagl-compositor moved to sandbox thus disable CI on master 85/24785/1
Jan-Simon Moeller [Wed, 17 Jun 2020 10:23:10 +0000 (12:23 +0200)]
agl-compositor moved to sandbox thus disable CI on master

Disable the CI for the master branch as the development is done in the sandbox.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I530e71ec71369363e95a0c144e4290debe01345f

4 years agoEnable PRSERV and HASHSERV in CI env 72/24772/1
Jan-Simon Moeller [Tue, 16 Jun 2020 10:27:14 +0000 (12:27 +0200)]
Enable PRSERV and HASHSERV in CI env

We have a PRSERV and a HASHSERV in CI now.
Make use of it in the CI builds for master.

Bug-AGL: SPEC-920  (prserv)

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I60c94f17257e709b33091d6a5735d35d3875961c

4 years agoMerge "Revert "Fix identity endpoint change by upstream provider""
Jan-Simon Moeller [Sun, 14 Jun 2020 18:53:55 +0000 (18:53 +0000)]
Merge "Revert "Fix identity endpoint change by upstream provider""

4 years agoRevert "Fix identity endpoint change by upstream provider" 65/24765/1
Jan-Simon Moeller [Sun, 14 Jun 2020 18:51:31 +0000 (20:51 +0200)]
Revert "Fix identity endpoint change by upstream provider"

This reverts commit 0eb8a4bda888406de737f219a2e6f8121a4d7e4c.

Change-Id: Ic143f50b66c1fd31edc801f840a1087d4e51826c

4 years agoUpdate dependencies for build hosts 64/24764/1
Jan-Simon Moeller [Sun, 14 Jun 2020 18:35:54 +0000 (20:35 +0200)]
Update dependencies for build hosts

we are migrating to python3 for the releng-scripts.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If87b16c9fb0611d4abc6d983479b2b19ff39ae01

4 years agoAdd agl-service-cloudproxy to CI 94/24494/1
Jan-Simon Moeller [Tue, 12 May 2020 10:37:43 +0000 (12:37 +0200)]
Add agl-service-cloudproxy to CI

This adds the agl-service-cloudproxy repo to CI.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I132ba4d0a26d5805a6d33afa693aae28ed5c3ba7

5 years agoMerge "Fix identity endpoint change by upstream provider"
Jan-Simon Moeller [Mon, 4 May 2020 20:49:37 +0000 (20:49 +0000)]
Merge "Fix identity endpoint change by upstream provider"

5 years agoFix identity endpoint change by upstream provider 66/24466/1
Jan-Simon Moeller [Mon, 4 May 2020 20:44:38 +0000 (22:44 +0200)]
Fix identity endpoint change by upstream provider

This is a port of the changes done by LF Releng.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic769b2fc3a5fae94a94244383fff31e251b7a6c1

5 years agoDo not fail the jenkins pipeline for compositor and html5 41/24441/1
Jan-Simon Möller [Sat, 2 May 2020 14:42:50 +0000 (16:42 +0200)]
Do not fail the jenkins pipeline for compositor and html5

These builds are unstable atm. Do not fail the pipeline.

Change-Id: I0b046a4e7d17649708141950b437baa626b8ff6a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAlways ignore lava.read-feedback 43/24343/1
Jan-Simon Moeller [Fri, 10 Apr 2020 15:20:57 +0000 (17:20 +0200)]
Always ignore lava.read-feedback

lava.read-feedback is currently returned by default on qemu jobs.
This is a known issue upstream and fixed in a later version.

Thus ignore a single fail of 'lava.read-feedback'.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I2e6c3c779c87ec539d631b129a452998a0ec70f3

5 years agoFix upload of artifacts to download server 34/24334/1
Jan-Simon Moeller [Tue, 7 Apr 2020 17:22:53 +0000 (19:22 +0200)]
Fix upload of artifacts to download server

There was a bug in the preparation script. Create the proper folder.

Bug-AGL: SPEC-3319
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I6e55c26c540fd8fe9216cf429e369c3c8b8e72fb

5 years agoUpdate list of application repositories 29/24329/1
Jan-Simon Moeller [Mon, 6 Apr 2020 18:13:03 +0000 (20:13 +0200)]
Update list of application repositories

Add agl-service-poi .

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0e54de81efb7f79a98920e18b7f1245a9947ce53

5 years agoSPEC-2962: move gen_info before the caller 94/24294/1
Corentin LABBE [Thu, 2 Apr 2020 08:26:02 +0000 (10:26 +0200)]
SPEC-2962: move gen_info before the caller

The gen_info() function is declared after the caller, this cannot work.
Let's fix that

Change-Id: I410dcd59bba1d428edbcdf4f997ecdf35ad23af4
Bug-AGL: SPEC-2962
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoMerge "SPEC-2962: permit to have more than one board per build"
Jan-Simon Moeller [Mon, 30 Mar 2020 18:26:41 +0000 (18:26 +0000)]
Merge "SPEC-2962: permit to have more than one board per build"

5 years agoSPEC-2962: permit to have more than one board per build 78/24278/3
Corentin LABBE [Tue, 24 Mar 2020 09:08:54 +0000 (10:08 +0100)]
SPEC-2962: permit to have more than one board per build

The current way to generate jobs assume that only one board exists per
build.

For handing more than one board per build, we need to introduce a sort
of loop.

So for each build, we will produce a list of boards in BOARDOUT
In the BOARDOUT/$board, we will have:
- an "info" file with all necessary VARIABLES for copying artifacts

So for each board, some artifact will be copied.

Then only one job for the "main" board of the CIBT job will be handled.
The extra boards of a build will need to have their own CIBT, but at
least they dont need to do a real build/copyartifact.

Change-Id: I6c6999e549c7f1216f466410896b3058efc5882d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoMerge "Fail if the SDK is not available"
Jan-Simon Moeller [Tue, 24 Mar 2020 14:12:26 +0000 (14:12 +0000)]
Merge "Fail if the SDK is not available"

5 years agoAdapt TARGETSDKARCH name 79/24279/1
Jan-Simon Moeller [Tue, 24 Mar 2020 12:51:03 +0000 (13:51 +0100)]
Adapt TARGETSDKARCH name

Fix typo in the TARGETSDKARCH and simplify.

Bug-AGL: SPEC-2931
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0fa79805bb6de8a29ffa0c26f9250066ffead464

5 years agoFail if the SDK is not available 76/24276/1
Jan-Simon Moeller [Mon, 23 Mar 2020 21:12:12 +0000 (22:12 +0100)]
Fail if the SDK is not available

Enforce the build and fail when the SDK is not available.

Bug-AGL: SPEC-2931

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1297f8cfa28c7a8276dc26463da8a3036ac47c83

5 years agoChange SDK location to qemu for master branch 75/24275/1
Jan-Simon Moeller [Mon, 23 Mar 2020 21:09:13 +0000 (22:09 +0100)]
Change SDK location to qemu for master branch

We merged intel-corei7-64 with qemux86-64. Thus adapt the SDK location.

Bug-AGL: SPEC-2931
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I65eea92c3c3956682645c787104c64779977e240

5 years agoExclude private and wip in the global macros 56/24256/1 sandbox/jsmoeller/repo-restructure
Jan-Simon Moeller [Tue, 17 Mar 2020 19:23:08 +0000 (20:23 +0100)]
Exclude private and wip in the global macros

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ice1d982e1bee32905ab79211bfc1509c81c64bce

5 years agoSet condition for CIB extra-variants to COMPLETED 14/24214/1
Jan-Simon Moeller [Wed, 11 Mar 2020 19:19:13 +0000 (20:19 +0100)]
Set condition for CIB extra-variants to COMPLETED

This avoids the whole job from failing until we move these in place.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0cef0ce6d39232162de8ec04180efb85db4eff77

5 years agoAdapt CI pipeline after the Icefish release 05/24205/2
Jan-Simon Moeller [Tue, 10 Mar 2020 18:59:45 +0000 (19:59 +0100)]
Adapt CI pipeline after the Icefish release

This changes the CI pipeline based on SPEC-3262.

Bug-AGL: SPEC-3262
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1cc557e02f978327662e7f00f5bd94f77e5d3120

5 years agoStreamline and simplify release jobs 87/24187/1
Jan-Simon Moeller [Thu, 5 Mar 2020 22:52:48 +0000 (23:52 +0100)]
Streamline and simplify release jobs

Extend automation.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I959da9e8048dcf8fe87bf6ae23d7350947ec5b40

5 years agoAdd build variant for agl-compositor image in CI 83/24183/1
Jan-Simon Möller [Thu, 5 Mar 2020 17:02:20 +0000 (18:02 +0100)]
Add build variant for agl-compositor image in CI

Build the agl-compositor feature for qemux86-64.

Change-Id: I83b79a390d3981b98b24aa53a56aacf9a3f177e5
Bug-AGL: SPEC-3253
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoEnable missing patch selection in html5 build 81/24181/1
Jan-Simon Möller [Thu, 5 Mar 2020 13:59:05 +0000 (14:59 +0100)]
Enable missing patch selection in html5 build

The selection of the gerrit commit was missing. Add it.

Change-Id: Ie8b70f18a27231febdddb9a6e8fee09444632d28
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-3004: Permit to copy build artifact for raspberrpi4 79/24179/1
Corentin LABBE [Thu, 5 Mar 2020 10:13:40 +0000 (11:13 +0100)]
SPEC-3004: Permit to copy build artifact for raspberrpi4

Even if raspberrpi4 was enabled in CIB, build artifacts are still not
copied.
This patch enable it for the releng querry.

Bug-AGL: SPEC-3004

Change-Id: I04dbc796a7f92b1b0ef9b7e1d1d6df6c6e597ffa
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoUse built-in dependencies for wic-tools 78/24178/1
Jan-Simon Moeller [Wed, 4 Mar 2020 23:27:18 +0000 (00:27 +0100)]
Use built-in dependencies for wic-tools

streamline build process.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I95477e22975095a8b01dfe3cd578c7bab3c75db5

5 years agoUse correct name for html5 image 77/24177/1
Jan-Simon Moeller [Wed, 4 Mar 2020 23:22:07 +0000 (00:22 +0100)]
Use correct name for html5 image

Fix a typo in the job.

Bug-AGL: SPEC-3108
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I8110b7566f2d3b77f168238d14a674e9c3677b80

5 years agoEnable the html5 build variant for qemux86-64 75/24175/1
Jan-Simon Moeller [Wed, 4 Mar 2020 22:56:58 +0000 (23:56 +0100)]
Enable the html5 build variant for qemux86-64

Also build a variant with html5 enabled.
For now qemux86-64 only.

Bug-AGL: SPEC-3108
Change-Id: I629a70807afd251e7e13aa5f90b0923e7a756ce9

5 years agoReplace manual fetcher with jjb variant 51/24151/1
Jan-Simon Moeller [Mon, 2 Mar 2020 17:38:23 +0000 (18:38 +0100)]
Replace manual fetcher with jjb variant

This replaces the old jenkins job with a new one.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7970914b9a7daf964eb2a942d76571dd90934009

5 years agoAdd the html5 image to the CI pipeline 32/24132/2
Jan-Simon Moeller [Thu, 27 Feb 2020 13:20:23 +0000 (14:20 +0100)]
Add the html5 image to the CI pipeline

Add a new job to the pipeline (qemux86-64 for now) to build-test the
html5 image.

Bug-AGL: SPEC-3108

.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I9ef99da8cc325e55bcf44c641acbce12d59015ac

5 years agoPrint estimate of build job cost 55/24055/4
Jan-Simon Moeller [Thu, 20 Feb 2020 20:39:25 +0000 (21:39 +0100)]
Print estimate of build job cost

Retrieve the approximate cost of the build job.
There is no api call for our instance flavour, so use close match.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7ea96ccabc76550989aa0dcb97b3806f0dd2e047

5 years agoUpdate global build timeout to 900 min 47/24047/1
Jan-Simon Moeller [Wed, 19 Feb 2020 12:11:02 +0000 (13:11 +0100)]
Update global build timeout to 900 min

Some builds hit the 10h job timeout mark atm.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I2fa681d474e854e8335171f760ecf4e78dde4c8c

5 years agoUpdate archiver feature regexp 38/24038/1
Jan-Simon Moeller [Tue, 18 Feb 2020 17:35:48 +0000 (18:35 +0100)]
Update archiver feature regexp

The archiver feature will need extra parameters set to catch
all recipes. We exclude any proprietary code on purpose so
rewrite COPYLEFT_LICENSE_EXCLUDE in your conf/local.conf
if necessary.

Bug-AGL: SPEC-3186

.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I020f0f30a73625df159895c7912643baf20798a7

5 years agoVayu tends to fail on fetching git.ti.com 67/23967/1
Jan-Simon Möller [Mon, 17 Feb 2020 13:38:58 +0000 (14:38 +0100)]
Vayu tends to fail on fetching git.ti.com

for now make it not fail the whole CI job.

Change-Id: I84baf1313aaf0db87fae3bf71dfe660f1a2ab6b0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAdapt ci-app-jjb to icefish 65/23965/1
Jan-Simon Moeller [Sat, 15 Feb 2020 23:10:01 +0000 (00:10 +0100)]
Adapt ci-app-jjb to icefish

Add icefish.

.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I9741220db5b5435d63c8e87721a590297f43c1d2

5 years agoAvoid race condition on .gitconfig.lock 52/23952/1
Jan-Simon Moeller [Fri, 14 Feb 2020 10:30:15 +0000 (11:30 +0100)]
Avoid race condition on .gitconfig.lock

on parallel builds on the same host.

This avoids:

error: could not lock config file /home/jenkins/.gitconfig: File exists
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ib3f0b3cec91d87f0170c92c6781df67e2e7c75af

5 years agoPin repo tool to specific branch 90/23790/1
Jan-Simon Moeller [Tue, 11 Feb 2020 10:57:49 +0000 (11:57 +0100)]
Pin repo tool to specific branch

to avoid breaking the CI builds until new baseimages are deployed.

repo changed the minimal git version in its latest update and
now it refuses to work with git versions below 2.10.x .
Until we have new baseimages deployed, pin repo to the 'repo-1' branch.

Bug-AGL: SPEC-3173
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3272524d94ef78733b109fce6b773aa61df9588f

5 years agoAGLBRANCH is not defined in this context. 80/23780/2
Jan-Simon Moeller [Mon, 10 Feb 2020 18:48:13 +0000 (18:48 +0000)]
AGLBRANCH is not defined in this context.

Use TARGETBRANCH as it is defined in this context.

Bug-AGL: SPEC-2978

Change-Id: Icb1307ff4beef3d80b9e51e81920924b357b9428
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-2978: clone the release branches 74/23774/1
Corentin LABBE [Mon, 10 Feb 2020 09:53:00 +0000 (10:53 +0100)]
SPEC-2978: clone the release branches

We get to a point where we have board differences between releases also
in releng-scripts.

This patch adapt ci-management to clone the $AGLBRANCH instead of just 'release'.
Bug-AGL: SPEC-2978

Change-Id: I759a857655200f4a8ca833173557219f8a0282ca
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoUpdate application list for ci-apps-verify 42/23742/1
Jan-Simon Möller [Wed, 5 Feb 2020 15:23:33 +0000 (16:23 +0100)]
Update application list for ci-apps-verify

.

Change-Id: I899e9f943e89e90a4ee1087fabb7fe845f7b079a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoUpdate app-project.yaml.inc for ci-apps-verify 95/23595/1
Jan-Simon Moeller [Mon, 20 Jan 2020 21:11:08 +0000 (22:11 +0100)]
Update app-project.yaml.inc for ci-apps-verify

Update the list of repositories.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ib84fa725f682fffb4a629b0d348c0e2f2ced2dd1

5 years agoSPEC-2963: Enable CIB for raspberrypi4 69/23569/2
Corentin LABBE [Fri, 10 Jan 2020 09:25:50 +0000 (10:25 +0100)]
SPEC-2963: Enable CIB for raspberrypi4

Enable CIB for raspberrypi4. We will enable CIBT later, when the board will work
in the lab.

Change-Id: I16bddaf40e7e53549689812fcbfe71c2168fead0
Bug-AGL: SPEC-2963
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoAlso build applications by recipe using externalsrc 08/23508/1
Jan-Simon Moeller [Mon, 30 Dec 2019 16:09:03 +0000 (17:09 +0100)]
Also build applications by recipe using externalsrc

Beside the build using the SDK also build by recipe using EXTERNALSRC.

.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I83b5ae4be6d29ada750c42ec244f91190fd9e326

5 years agoMerge "Add jenkins jobs for deploying the icefish release"
Jan-Simon Moeller [Mon, 2 Dec 2019 17:41:59 +0000 (17:41 +0000)]
Merge "Add jenkins jobs for deploying the icefish release"

5 years agoAdd jenkins jobs for deploying the icefish release 31/23131/1
Jan-Simon Möller [Mon, 2 Dec 2019 17:15:36 +0000 (18:15 +0100)]
Add jenkins jobs for deploying the icefish release

Change-Id: I62019d12fbc5fe1f6e9ce011e16af5b491e2e7c0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoRearrange platform ci triggers 16/23116/1
Jan-Simon Moeller [Thu, 28 Nov 2019 22:03:40 +0000 (23:03 +0100)]
Rearrange platform ci triggers

This change does one touchstone build. We save some overall execution time.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I41eb16b1e48992d44b572c46649d449a55e34dda

5 years agoMerge "Revert "Disable dra7xx-evm target""
Jan-Simon Moeller [Mon, 25 Nov 2019 16:43:26 +0000 (16:43 +0000)]
Merge "Revert "Disable dra7xx-evm target""

5 years agoRevert "Disable dra7xx-evm target" 36/23036/2
Khouloud Touil [Fri, 22 Nov 2019 16:16:34 +0000 (16:16 +0000)]
Revert "Disable dra7xx-evm target"

This reverts commit 0723eea188feb956b1c8a9e8ee02c36f4484a5e1.

Reason for revert: <git.ti.com appears to be working again>

Bug-AGL: SPEC-2923

Change-Id: I03e838cd8abe02eec13b4d721f9bc68830edc5a8
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
5 years agoAdd release build for icefish 98/22998/2
Jan-Simon Moeller [Wed, 20 Nov 2019 22:52:22 +0000 (23:52 +0100)]
Add release build for icefish

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iee40b5ad3e9bc54f0848708e6a31771f0e12a7eb

5 years agoFix mapping of h3+kf device for labs 80/22980/1
Jan-Simon Moeller [Tue, 19 Nov 2019 22:18:31 +0000 (23:18 +0100)]
Fix mapping of h3+kf device for labs

We were using a plain h3 instead of h3+kf. Fix it.

Bug-AGL: SPEC-2921

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I8699373e84795d651b68558a43863383bd4039af

5 years agoMerge "SPEC-2921: Add the h3ulcb-nogfx CIB/CIBT"
Jan-Simon Moeller [Tue, 19 Nov 2019 15:11:01 +0000 (15:11 +0000)]
Merge "SPEC-2921: Add the h3ulcb-nogfx CIB/CIBT"

5 years agoUse snapshot SDK for application CI jobs on halibut 53/22953/1
Jan-Simon Moeller [Thu, 14 Nov 2019 17:08:07 +0000 (18:08 +0100)]
Use snapshot SDK for application CI jobs on halibut

We can use the latest SDK snapshot on halibut now.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic21d6c572bfc29e64dd8472b2022215ed4905d32

5 years agoSPEC-2921: Add the h3ulcb-nogfx CIB/CIBT 21/22921/1
Corentin LABBE [Tue, 12 Nov 2019 14:38:19 +0000 (15:38 +0100)]
SPEC-2921: Add the h3ulcb-nogfx CIB/CIBT

This patchs adds build and boot test for the h3ulcb.

Change-Id: I1dc84e88513aab49db2f7965712f7491c2451af8
Bug-AGL: SPEC-2921
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoSPEC-2903: define GERRIT_HOST 57/22757/1
Corentin LABBE [Thu, 24 Oct 2019 12:49:46 +0000 (14:49 +0200)]
SPEC-2903: define GERRIT_HOST

If GERRIT_HOST is empty fallback to gerrit.automotivelinux.org

Bug-AGL: SPEC-2903
Change-Id: Iced5435293c9fc0c3d260e3e27b2f15e03d9ea89
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoDisable dra7xx-evm target 49/22749/1
Jan-Simon Moeller [Tue, 22 Oct 2019 13:14:26 +0000 (15:14 +0200)]
Disable dra7xx-evm target

until the git server is responsive again.

Bug-AGL: SPEC-2923

.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Idfcb94b7e195b8edd3b65316c3ff7f3641b4ef7c

5 years agoChange Email used for test-reports 00/22700/3
Khouloud Touil [Thu, 17 Oct 2019 12:01:03 +0000 (14:01 +0200)]
Change Email used for test-reports

As AGL is migrating to groups.io, Adapting the test-report email to use
the new one.

AGL-bug: SPEC-2908

Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: If19c7c1dcbf52442aff14bc42c6b3bcb8c68ed85

5 years agoRework the messaging back to gerrit and improve escaping 88/22688/2
Jan-Simon Moeller [Tue, 15 Oct 2019 22:00:29 +0000 (00:00 +0200)]
Rework the messaging back to gerrit and improve escaping

This will allow to post more detailed messages back to gerrit.

Note the double quotes used and the eval before the ssh to enforce the expansion.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1c0d618796ef1cb697529575f7b9925ae4926a97

5 years agoAlways run the result parsing 57/22657/1
Jan-Simon Möller [Tue, 15 Oct 2019 16:17:34 +0000 (18:17 +0200)]
Always run the result parsing

This fixes the application builds where we have no skiplist for most.
Before this we bailed out on return 0 and did never parse the result.
Now the result parsing is it's own function and always being called.

Bug-AGL: SPEC-2882

.

Change-Id: I58c05fa48dd9121e0eeb494975513dcc88290dc5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoFix escaping for report back to gerrit 26/22626/1
Jan-Simon Möller [Mon, 14 Oct 2019 11:38:32 +0000 (13:38 +0200)]
Fix escaping for report back to gerrit

Bug-AGL: SPEC-2703

Change-Id: I223a4242942ac9e751f0b6dd3caab0309f2a566a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-2703: print a link to the job log 14/22614/3
Corentin LABBE [Fri, 11 Oct 2019 09:04:30 +0000 (11:04 +0200)]
SPEC-2703: print a link to the job log

This patchs adds a link to the console logs when sending result.

Bug-AGL: SPEC-2703
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Change-Id: Idb95e5cdf80072c4cfdce95ecc4facabffb43caf

5 years agoRemove verbosity from jenkins jobs 27/22527/2
Jan-Simon Moeller [Thu, 26 Sep 2019 20:28:12 +0000 (22:28 +0200)]
Remove verbosity from jenkins jobs

clean the logs. Can be re-enabled when debugging is needed.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I13bba480196e3932c45123c62f03064e420f257f

5 years agoUpdate app project list 02/22502/1
Jan-Simon Möller [Wed, 25 Sep 2019 08:49:57 +0000 (10:49 +0200)]
Update app project list

Change-Id: Idad54e215ee8f46bbb6c4948dcf9bb0a07789185
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-2703: fix a typo on TESTNAME 84/22484/1
Corentin LABBE [Mon, 23 Sep 2019 08:17:10 +0000 (10:17 +0200)]
SPEC-2703: fix a typo on TESTNAME

TESTNAME was mispelled in the debug output.

Change-Id: I068da47c52626672f6e307349e95e03d3b7b20c3
Bug-AGL: SPEC-2703
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoSPEC-2703: fix parsing of the testname 49/22449/1
Corentin LABBE [Wed, 18 Sep 2019 08:51:07 +0000 (10:51 +0200)]
SPEC-2703: fix parsing of the testname

The raw testline contains an * which breaks the parsing of the testname.
This patchs adds quote to prevent that.

Change-Id: I8f11b3d9ee5444983dd886954a5e2712025a7314
Bug-AGL: SPEC-2703
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoSPEC-2703: fix a typo 41/22441/1
Corentin LABBE [Tue, 17 Sep 2019 18:00:54 +0000 (20:00 +0200)]
SPEC-2703: fix a typo

The existence test is inverted, fix it.

Change-Id: Ida3104e34b3475c80b206091464b1e9a88d8be49
Bug-AGL: SPEC-2703
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
5 years agoFix trigger for artifact removal 39/22439/1
Jan-Simon Möller [Tue, 17 Sep 2019 13:51:24 +0000 (15:51 +0200)]
Fix trigger for artifact removal

Change-Id: I223db61a7a5d1f3c939ca267716fa3eb8ca0dc92
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-2703: use lavacli identity 37/22437/2
Corentin LABBE [Tue, 17 Sep 2019 05:20:40 +0000 (07:20 +0200)]
SPEC-2703: use lavacli identity

The lavacli results does not provide the identity argument and so does
not work.
This patch adds the missing "-i $lab" for made it works.

While at it, this patch converts two hardcoded "-i agl" call to use the correct
lab variable.

As asked during the meeting, let's add a sanity check that this lab
variable is set.

Bug-AGL: SPEC-2703
Change-Id: I9432f8b27aa7157e08b48f5caeb905a18152fa6a
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>