aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
2020-03-23Fail if the SDK is not availableJan-Simon Moeller1-3/+1
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
2020-03-05Add build variant for agl-compositor image in CIJan-Simon Möller1-0/+27
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>
2020-03-05SPEC-3004: Permit to copy build artifact for raspberrpi4Corentin LABBE1-0/+1
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>
2020-03-05Use built-in dependencies for wic-toolsJan-Simon Moeller2-6/+6
streamline build process. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I95477e22975095a8b01dfe3cd578c7bab3c75db5
2020-03-05Use correct name for html5 imageJan-Simon Moeller1-1/+1
Fix a typo in the job. Bug-AGL: SPEC-3108 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I8110b7566f2d3b77f168238d14a674e9c3677b80
2020-03-04Enable the html5 build variant for qemux86-64Jan-Simon Moeller1-0/+2
Also build a variant with html5 enabled. For now qemux86-64 only. Bug-AGL: SPEC-3108 Change-Id: I629a70807afd251e7e13aa5f90b0923e7a756ce9
2020-02-27Add the html5 image to the CI pipelineJan-Simon Moeller1-0/+24
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
2020-02-20Print estimate of build job costJan-Simon Moeller1-0/+17
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
2020-02-18Update archiver feature regexpJan-Simon Moeller1-3/+20
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
2020-02-14Avoid race condition on .gitconfig.lockJan-Simon Moeller1-0/+3
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
2020-02-11Pin repo tool to specific branchJan-Simon Moeller3-225/+4
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
2020-02-10AGLBRANCH is not defined in this context.Jan-Simon Moeller1-2/+2
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>
2020-02-10SPEC-2978: clone the release branchesCorentin LABBE1-2/+2
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>
2019-12-30Also build applications by recipe using externalsrcJan-Simon Moeller1-0/+140
Beside the build using the SDK also build by recipe using EXTERNALSRC. . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I83b5ae4be6d29ada750c42ec244f91190fd9e326
2019-11-20Add release build for icefishJan-Simon Moeller1-0/+45
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iee40b5ad3e9bc54f0848708e6a31771f0e12a7eb
2019-11-19Fix mapping of h3+kf device for labsJan-Simon Moeller1-1/+1
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
2019-11-19Merge "SPEC-2921: Add the h3ulcb-nogfx CIB/CIBT"Jan-Simon Moeller2-0/+8
2019-11-14Use snapshot SDK for application CI jobs on halibutJan-Simon Moeller1-0/+4
We can use the latest SDK snapshot on halibut now. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic21d6c572bfc29e64dd8472b2022215ed4905d32
2019-11-12SPEC-2921: Add the h3ulcb-nogfx CIB/CIBTCorentin LABBE2-0/+8
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>
2019-10-24SPEC-2903: define GERRIT_HOSTCorentin LABBE1-0/+3
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>
2019-10-17Change Email used for test-reportsKhouloud Touil1-1/+1
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
2019-10-15Rework the messaging back to gerrit and improve escapingJan-Simon Moeller1-3/+25
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
2019-10-15Always run the result parsingJan-Simon Möller1-1/+5
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>
2019-10-14Fix escaping for report back to gerritJan-Simon Möller1-2/+3
Bug-AGL: SPEC-2703 Change-Id: I223a4242942ac9e751f0b6dd3caab0309f2a566a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-10-11SPEC-2703: print a link to the job logCorentin LABBE1-2/+4
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
2019-09-26Remove verbosity from jenkins jobsJan-Simon Moeller13-18/+14
clean the logs. Can be re-enabled when debugging is needed. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I13bba480196e3932c45123c62f03064e420f257f
2019-09-23SPEC-2703: fix a typo on TESTNAMECorentin LABBE1-2/+2
TESTNAME was mispelled in the debug output. Change-Id: I068da47c52626672f6e307349e95e03d3b7b20c3 Bug-AGL: SPEC-2703 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-18SPEC-2703: fix parsing of the testnameCorentin LABBE1-1/+1
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>
2019-09-17SPEC-2703: fix a typoCorentin LABBE1-1/+1
The existence test is inverted, fix it. Change-Id: Ida3104e34b3475c80b206091464b1e9a88d8be49 Bug-AGL: SPEC-2703 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-17SPEC-2703: use lavacli identityCorentin LABBE1-3/+8
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>
2019-09-16Merge "SPEC-2703: do not fail with set -xe"Jan-Simon Moeller1-12/+11
2019-09-13SPEC-2703: do not fail with set -xeCorentin LABBE1-12/+11
This patch move the grepping test inside the if for not failling due to set -xe For the same reason, harden the code checking if git clone was successfull. Change-Id: Idb0619c4e90c9a3a0654a024fbd2166e49df98c6 Bug-AGL: SPEC-2703 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-12Merge "Dont fail the CI when build-info is unavaillable"Jan-Simon Moeller4-6/+11
2019-09-12Dont fail the CI when build-info is unavaillableCorentin LABBE4-6/+11
This patchs made the download of build-info non-fatal. The build-info is used before running releng-scripts and for email report. Bug-AGL: SPEC-2177 Change-Id: I8ffaacafce472faa32dc06ecac486be037938f67 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-12Include MACHINE name in message.Jan-Simon Möller1-2/+2
Change-Id: I1ec20a66dfc4a427642806011f6de8d4e7c75408 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-11SPEC-2703: Fix remaining problems in skiplistCorentin LABBE1-4/+5
This patch fix the following problems: - {{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}}: bad substitution A copy paste from jenkins commands, but I forgot to remove the double {} - missing grep -v '\*', removed by ec3e1dc57d7a6a454f9ed1f0210b07b8270a1fbb ("Follow up fix") - for apps, no dedicated skipdir as asked in SPEC-2703 Change-Id: I8dfdc6ff4d03fc946e0b8ad35f092e217afd685b Bug-AGL: SPEC-2703: Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-10Follow-up fixJan-Simon Möller1-1/+1
Change-Id: I13c0e82a53a19d4343eb2659d1c86eea399d94c3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-10Fix error in CIBT scripting and harden pipelineJan-Simon Möller1-2/+3
do not fail on CIBT result evaluation. Change-Id: I91e84cc9e30a149f8e56c218b1f97375c76c3d95 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-10SPEC-2703: Permit to have a per-machine skiplistCorentin LABBE1-2/+12
The service weston does not start on qemu/qemuarm64. for having this service check skipped only for thoses two machine, we need to have a per-machine skiplist. In the process, we add the possibiity to have a per GERRIT_PROJECT skiplist. Furthermore, I "migrate" the skiplist for apps in a skiplists directory. Change-Id: I989b2bdf2463272ee1f407a933be49a2f4219d5f Bug-AGL: SPEC-2703 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-09SPEC-2703: pass/fail criteria for lava jobsCorentin LABBE1-0/+66
This patchs implement pass/fail analysis of job tests. All failling test are compared to a skiplist for removing known failling tests. If it exists any remaining failling test after the skiplist phase, the job is set as fail in gerrit. Bug-AGL: SPEC-2703 Change-Id: I4af8f54caaeef616c529b626ca8010e7159d8206 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-08-28jjb/common: fix DIST_BUILD_TOPIC usageKevin Hilman1-3/+3
Fix use of DIST_BUILD_TOPIC to be used with --build-version (instead of --name). build-version is the key used in the backend to collect all related jobs, whereas --name is just for the LAVA job name. The email report request also uses $DIST_BUILD_TOPIC, which will allow and email report to be generated with results for all tests with the same $DIST_BUILD_TOPIC. Bug-AGL: SPEC-2646 Change-Id: I8657270bcbbc06f361b079a07f3922cf4e782e1a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-08-28Merge "Manage the polling with lavacli"Jan-Simon Moeller1-39/+7
2019-08-26jjb/common: use DIST_BUILD_TOPIC when availableKevin Hilman2-3/+11
Switch to $DIST_BUILD_TOPIC (if available) for determining the unique ID used for the kernelCI backend data, as well as requesting the email report. Bug-AGL: SPEC-2646 Change-Id: Ib71c592c2973b5cbf31bc0d95a5a9d40ef3769a0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-08-21Change sdk URL to use mirror.automotivelinux.orgbuild.automotivelinux.org1-4/+5
Download.automotivelinux.org forwards now to mirrors.kernel.org and this displays short filenames (sigh). This to have the full SDK filename we use the direct url to our download server. Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org> Change-Id: Ie268e7875ad1e095b6f49ca593de86f390d1688e
2019-08-14Revert "Use new --build-tags argument"Jan-Simon Moeller1-1/+0
This broke CI: $> lavacli -i agl jobs submit testjob_lab-agl-core.yaml job_id='Unable to call '\''jobs.submit'\'': <Fault 400: "Problem with submitted job data: extra keys not allowed @ data['\''build-tags'\'']">' e.g.: https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIBT-intel-corei7-64/1607/console Please submit again when issue is fixed. This reverts commit d7de9bda09604f110f70870a66b5a12418eb16f3. Change-Id: I7a9e8c46a7cae39ea40d885e9f5c0da556de01f6
2019-08-08Use new --build-tags argumentKhouloud Touil1-0/+1
Use new --build-tags argument that is extracted from the build-info file using the "DIST_BB_MACHINE_FEATURES" value which contain the machine features. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: Ia47247c6c26f08aaf796fa57e091b0d3411f1762
2019-08-01jjb/common: app tests: use more specific version nameKevin Hilman1-1/+1
To help distinquish app framework tests in LAVA and the kernelci-backend, add "app" to the name used for the metadata passed to LAVA/kernelCI. Bug-AGL: SPEC-2719 Change-Id: Ia63cc0d5c56458a5cc350ec2e532027b25656ffc Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-07-26Manage the polling with lavacliKhouloud Touil1-39/+7
Instead of using a timeout to manage the polling part, this patch replace it with a lavacli command which is 'lavacli jobs wait'that will wait for the job to finish, but after 2 hours the 'job wait' will be stopped even the job if not finished, we are estimating after a 2 hours of waiting, a problem is occurring in the job. Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: Ic81a635b0cc2dc5dda3028aefb78f88be0d79a31
2019-07-19jjb/common: aglsetup: use topic if availableKevin Hilman1-1/+11
If aglsetup.sh is a new enough version, use the --topic option to set a unique topic string. TODO: support release/snapshot builds as well as CI builds. Bug-AGL: SPEC-2646 Change-Id: I599063f349cc98e3f11b97201edebe7431012dd1 Suggested-by: Stephane Desneux <stephane.desneux@iot.bzh> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-07-11Modify the build-version as well as the GIT_DESCRIBE valuesKhouloud Touil2-2/+2
Using only the DIST_LAYERS_MD5 wont give us any really useful information so we use the version to get a proper information and append that with the DIST_LAYERS_MD5 to garantee the uniqueness for the email test reports. Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I9418d48c1d89718dcad63f4786f28490d257322c