aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
2021-03-29SPEC-3414: use agl-publish --kernel-versionCorentin LABBE1-0/+7
We need to provide --kernel-version to agl-publish Change-Id: I6f4aead97abf7c5c04f4ff007024ee8046f3522b Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-26SPEC-3414: Add two missing machinesCorentin LABBE1-0/+6
Two machines were missing, add them. Change-Id: I78b0b76bc2a0a56f6c5245b1f850388c4c17093e Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-24SPEC-3414: add api option to agl-publishCorentin LABBE1-1/+2
The api argument was missing. Change-Id: I98e9b066730f5917458d9caead8a6635a431750d Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-24SPEC-3414: add missing space after BUILD_VERSIONCorentin LABBE1-1/+1
A space is missing after argument. Change-Id: Ib9ee1c39fa61ac6bdd3253f2d7b444d6b19bc3fa Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-23SPEC-3414: start to use agl-publishCorentin LABBE1-3/+10
Start to use agl-publish for verifying metadata are correctly filled. (Fix also a typo in qemux86-64) Change-Id: I181e2230940b8bb7094674e9de97f51407018ee1 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-22Handl BUILD_VERSION for non-release buildCorentin LABBE1-2/+7
if BUILD_VERSION is empty, we are running a CI job. Change-Id: I5f5f859c5f30ea2ef54734cf99d083fbba686d38 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-16Merge "SPEC-3414: generate BUILD_VERSION early"Jan-Simon Moeller3-9/+19
2021-03-15SPEC-3414: fill empty variablesCorentin LABBE1-0/+30
Some variables are empty: - TARGETARCH exists only on ci-apps, so fill it according to MACHINE - source build-info for the remaining ones Change-Id: I8e9ca0660475bf187616186c28eff08fc134743a Bug-AGL: SPEC-3414: Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-10SPEC-3414: generate BUILD_VERSION earlyCorentin LABBE3-9/+19
We will need to push build info before generating jobs. So first unify build version under an uniq variable name BUILD_VERSION. And generate this early. Bug-AGL: SPEC-3414 Change-Id: Ieba092b2c9d86f9b9feee45a02b553b6cf49fecf Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-09Merge "SPEC-3811: Use a different rootfs image for h3ulcb-nogfx build"Jan-Simon Moeller1-2/+4
2021-03-08SPEC-3414: fix the grep test failling due to set -eCorentin LABBE1-3/+2
The grep test fail due to jenkins beiing set -e by default Fix in the same time the path to agl-publish Bug-AGL: SPEC-3414 Change-Id: I2260d1dc266a97081695f9bd8bac9eabfdb6a3a3 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-08Add a script for publishing bmeta to kernelciCorentin LABBE1-0/+32
Add a function to generate and publish bmeta.json for kernelci. Nothing is done yet, only debug to be sure correct informations are generated. Bug-AGL: SPEC-3414 Change-Id: Ic605034fecf751aa2a768557c4c8cd28d6bf5154 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-05SPEC-3811: Use a different rootfs image for h3ulcb-nogfx buildCorentin LABBE1-2/+4
For all branches (except jellyfish/halibut), h3ulcb-nogfx build based boards should now use the agl-demo-platform-crosssdk-h3ulcb.ext4.xz rootfs image. Change-Id: I57de9c9c20f97c7b36fab053ca4b6d6e0ad7fecd Bug-AGL: SPEC-3811 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-02-04Changes for the koi branch in CI.Jan-Simon Möller6-11/+10
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie1080c88c643c5f1c74a4f115350efb47bfd83bd
2021-01-20SPEC-3714: Add a dedicated entry for r8a7795-agl-refhwCorentin LABBE1-2/+9
r8a7795-agl-refhw is booted by an extra CIBT jenkins, so let's add a dedicated MACHINE case for it. Also, the h3ulcb-kf is moved at the end of gen_info since it is main device which need to be booted by MACHINE=h3ulcb-nogfx Bug-AGL: SPEC-3714 Change-Id: Iaa141521015734ca818ff1e319deed1eea6bfed3 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-01-07Update platform job to use settings from agl-ciJan-Simon Moeller4-50/+73
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I3fdfb2d1455a9e7c9022b1a4f1fe9c1c213c7dc9
2021-01-06Enable agl-ci by defaultJan-Simon Möller1-2/+2
Change-Id: Ie71bd1bc386fabf0b216efd0bdf1246a30c68541 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2021-01-05Merge "SPEC-3751: workaround absence of ext4.xz images"Jan-Simon Moeller2-0/+25
2021-01-05SPEC-3751: workaround absence of ext4.xz imagesCorentin LABBE2-0/+25
Current h3ulcb/rpi4 builds produces nbdroot images in ext4 and not ext4.xz format. This patch adds a workaround which compress thoses images. Change-Id: I979d37be6067e57477a1062ab416229db85209c7 Bug-AGL: SPEC-3751 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-19Add release jobs for koiJan-Simon Möller2-2/+49
Change-Id: I3b99282f42268ad9ea206a491ecf79a5e05af8d2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-12-16Only apply refhw on master for nowJan-Simon Möller2-0/+6
Change-Id: I1be3fae31cb858b0f2b346d06abd26abc78bdaeb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-12-15SPEC-3714: Add build feature for AGL refhwCorentin LABBE1-1/+1
The h3ulcb build must build also the AGL refhw. Change-Id: I2cb3acc57358b656f01e7a8731f10a0becdeab18 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-10SPEC-3714: copy artifacts for r8a7795-agl-refhwCorentin LABBE1-0/+3
Enabe the copy of artifacts for r8a7795-agl-refhw Change-Id: Id3536647e1f57955ba7ff512a8256f7b2ab48f38 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-07Fix grep call for coverage dataJan-Simon Möller1-2/+2
Change-Id: Ibd69c1c9e34faa0226ce2de96d31713bf64e1b3d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-12-07Fix test statementJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I10c8e59220c6c912c9d21a349129eb6817c689b5
2020-12-04SPEC-3705: handle lavacli wait errorsCorentin LABBE1-1/+23
Sometime lavacli wait exit with an error. Until the LAVA/lavacli bug is fixed, let's try to handle the situation. Since the error seems to happen when the job end, let's just check if the job ended, in the other case retry to wait. Change-Id: I7b7b1aee0dcc2ecc2ef971cc40c29374307f6b0f Bug-AGL: SPEC-3705 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-02Deal with old autobuild versionsJan-Simon Möller1-1/+5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If1bdb538be70beb54e6c6c8c625af2b2512f0ec7
2020-12-02Update application job messaging and jellyfish branch supportJan-Simon Möller2-3/+8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If44134e2b036493db636571dc89b51be4ff8f53d
2020-11-25Update of projects with coverageJan-Simon Möller1-3/+10
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie7955e06765a72ce6ef3f30d590df34a07dff226
2020-09-16SPEC-3572: include pyagl tests in application CICorentin LABBE1-1/+1
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>
2020-09-15Build agl-demo-platform-html5Jan-Simon Möller1-2/+2
Change-Id: I4b8bab0855ae54c0e7850ace078ee697084ef640 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-08-21Fix typo in message.Jan-Simon Möller1-1/+8
Change-Id: Ic30c9838a307cb074a669c2373a76d4f250533bd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-08-20Do message LAVA URL back to gerrit.Jan-Simon Möller1-0/+4
Change-Id: I6cb8ce991e03ce7656d76eb7b82832f6bdd82a7c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-08-11Do build and upload multiple wgt files for applicationsJan-Simon Moeller2-37/+8
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
2020-08-10SPEC-3482: Add package-all in the autobuild caseCorentin LABBE2-55/+48
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>
2020-07-21Revert "SPEC-3004: resubmit failling jobs for rpi4"Jan-Simon Moeller1-26/+0
This reverts commit d212724c5b1fbf323b71ad09ca2d069b15b27995. Reason for revert: this broke other target boards result evaluation. Change-Id: I01ddd2b6790eedd767e34630ba587ad507a3d8d0
2020-07-20SPEC-3004: resubmit failling jobs for rpi4Corentin LABBE1-0/+26
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>
2020-07-13Also build the crosssdk image for qemux86-64 on gerrit reviewsJan-Simon Moeller1-0/+13
Add the crosssdk build to the qemux86-64 variant. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I614032b9712a80434883fafdd05f368d62b0e31c
2020-07-08SPEC-3482: use the new package-all targetCorentin LABBE1-0/+1
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>
2020-06-29Update jenkins template for Jumping Jellyfish releaseJan-Simon Moeller1-0/+45
Add jobs for the JJ release. Bug-AGL: SPEC-3460 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0c104bdf97056cf52cf0f4e7fd9321cca24adf7c
2020-06-19Fix typo in auto.conf sectionJan-Simon Möller1-2/+2
There was a typo in the if statement. Fix it. Change-Id: I8b1014f7e5c35b14f0d7639aa38b10907fcac901 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-06-17Update the destination folder name of the rpi4Jan-Simon Möller1-0/+7
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>
2020-06-17Avoid CIBT jobs failing on lavacli wait callJan-Simon Moeller1-4/+4
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
2020-06-16Enable PRSERV and HASHSERV in CI envJan-Simon Moeller1-0/+18
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
2020-05-02Do not fail the jenkins pipeline for compositor and html5Jan-Simon Möller1-0/+16
These builds are unstable atm. Do not fail the pipeline. Change-Id: I0b046a4e7d17649708141950b437baa626b8ff6a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-04-10Always ignore lava.read-feedbackJan-Simon Moeller1-1/+7
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
2020-04-07Fix upload of artifacts to download serverJan-Simon Moeller1-1/+2
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
2020-04-02SPEC-2962: move gen_info before the callerCorentin LABBE1-45/+45
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>
2020-03-30Merge "SPEC-2962: permit to have more than one board per build"Jan-Simon Moeller3-75/+118
2020-03-27SPEC-2962: permit to have more than one board per buildCorentin LABBE3-75/+118
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>