aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
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-31Merge "Add halibut to ci-apps-jjb"Jan-Simon Moeller1-0/+1
2019-07-31Add halibut to ci-apps-jjbJan-Simon Möller1-0/+1
We need to declare the halibut branch for applications. Change-Id: Ia01f63a54d68b5657349c476ab4ec5d333c2d8d8 Bug-AGL: SPEC-2704 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-25Merge "Update application ci project list"Jan-Simon Moeller1-0/+3
2019-07-25Update application ci project listJan-Simon Möller1-0/+3
Change-Id: Ibbc2d7b04629ceeafe86987b820cd55cc1b76aa3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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
2019-07-11Change the GIT_DESCRIBE valueKhouloud Touil1-1/+1
To follow the changes of the build-version value we should change the GIT_DESCRIBE value to the same value which is DIST_LAYERS_MD5. Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: Ia5c37620c57feee4bbb032b0127ea04e036a65fd
2019-07-08Also react on lava jobs that were canceled in jenkinsJan-Simon Möller1-0/+5
This is needed to avoid jenkins polling until the timeout when a job was aborted. Change-Id: Ibcf0fffaeaac86a1198e4f0411e784ff74ab9f5b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-08Be less verbose in CIBT jobsJan-Simon Möller1-2/+6
Remove the set -x and print JOB_URL prominently. Change-Id: I81b2283557e5b2ca5ca7815adb43f4e930250357 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-08Update application reposJan-Simon Möller1-0/+2
Add agl-service-audiomixer and messaging app. Bug-AGL: SPEC-2544 Bug-AGL: SPEC-2565 Change-Id: Icc5a947ff5ce6bd461e7550876529205906a060e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-04Change the build-version valueKhouloud Touil1-1/+1
To guarantee the a unique value of the build version, this patch change it to take the DIST_LAYERS_MD5 value and let down the DIST_BB_DISTRO_VERSION value which is not unique in the same day as it takes the build day date. This way we will have one email test report per build and get ride of the redundancy. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I60e166c185a922306a7fef0b123841957577c46c
2019-06-20Merge "Remove the send email report part when submitting the job"Jan-Simon Moeller1-25/+0
2019-06-20Enhance CI checkout for meta-renesas-rcar-gen3 and disable naginatorbuild.automotivelinux.org2-15/+19
The meta-renesas-rcar-gen3 layer is now in the subfolder bsp. Also disable naginator. Bug-AGL: SPEC-2450 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org> Change-Id: I92aa66fb35d3ef254069a594297cffc11e260420
2019-06-20Fix the email report scriptbuild.automotivelinux.org1-5/+4
We run under set -e . Any non-zero return value will instantly stop execution. We cannot check for '0'. Please keep that in mind. Also fix the location of the ci artifacts. Bug-AGL: SPEC-2177 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org> Change-Id: Ib72ff3b13b3765f18dbce8a966c9e92a6a8ebb6b
2019-06-19Use the generic qemu* toolchains for the applicationsbuild.automotivelinux.org3-5/+10
We no longer need to pick a specific board for an architecture. All supported architecture (x86-64, arm, aarch64) have now a qemu target and a matching toolchain. Bug-AGL: SPEC-2540 Change-Id: I4f77acb10c1e35e745e2a2c11aee1f8f49cb96ab Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-06-19Remove the send email report part when submitting the jobKhouloud Touil1-25/+0
After managing to send the email test report after all the job have been finished, this patch remove the part to send email when submitting the job. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I477ae5513cc1d9c5dcba9b2b71bb6bc38cbbbb99
2019-06-19Merge "ci-platform-jjb: enable CIBT for qemuarm"Jan-Simon Moeller2-0/+5
2019-06-19Add credentials-binding to the send email entrypointKhouloud Touil1-0/+4
This patch adds the needed credentials-binding to send email report which is the KCI_EMAIL_AUTH_TOKEN. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I86b84132ca3279607ffdcaaae6d08bb441914f03
2019-06-19Insert the script include-agl-send-email-report.shKhouloud Touil1-3/+1
Insert the script include-agl-send-email-report.sh to send the email report to this entrypoint. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: Ib73f581526fe0b842266d04a656cc330b8fd644d
2019-06-19Add a new script include-agl-send-email-report.shKhouloud Touil1-0/+32
This script sends an email report with all the agl-testplan. Bug-AGL: SPEC-2177 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: Ida258e410d8e0321d97cf30d379f7696443373da
2019-06-17ci-platform-jjb: enable CIBT for qemuarmCorentin LABBE2-0/+5
Since releng-script now support qemuarm, and that build produce bootable arm kernel, we can enable CIBT for arm. Bug-AGL: SPEC-2376 Change-Id: I2c9b3995e4162dee87abff97d2f2a02a24499faa Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-06-12Add release jobs for halibut part 2Jan-Simon Möller4-0/+158
Add the final release jobs for halibut. Change-Id: Ibcdc8eaa993d118235bad17cf0ea27e6d59fcf33 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-07ci-platform-jjb: enable CIBT for qemuarm64Corentin LABBE2-0/+5
Since releng-script now support qemuarm64, and that build prroduce bootable arm64 kernel, we can enable CIBT for arm64. Bug-AGL: SPEC-2376 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: Ic4776799065f363f2754b6952e51f5216b133323
2019-06-02Merge "Add release jobs to CI for HH"Jan-Simon Moeller3-0/+228
2019-06-02Add release jobs to CI for HHJan-Simon Möller3-0/+228
Change-Id: I07907b16fa5379ef68e61287c4b4f15ec4092eb0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-31Merge "jjb/common: run-test-short: only use lavacli tags"Jan-Simon Moeller1-4/+2
2019-05-31Skip build-info if it does not existJan-Simon Möller1-2/+6
This fixes https://gerrit.automotivelinux.org/gerrit/#/c/AGL/meta-agl-demo/+/21462/ . Change-Id: I5b00fe9ee35299bf0938c606c6acd9fcfa2af1ae Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-30jjb/common: run-test-short: only use lavacli tagsKevin Hilman1-4/+2
Only pass tags that were queried from the LAVA devices themselves, don't add any additional tags (e.g. "weston") This is done since after recent changes to releng-scripts, using --device-tags will *require* those tags to be present for a given device for the job to run, and currently no devices are using the "weston" tag. How to properly handle the -nogfx builds for boards with no display/gfx needs to be revisited after proper tag handling is merged. Change-Id: Ic6ba4743866c5de35ee45063c834c569c4b728eb Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-05-30jjb/common: lava-jobs-submit: fix email recipientsKevin Hilman1-1/+1
Remove the leading space from the email recipient when requesting an email report. The leading space was causing the SMTP handling on the backend to reject the request. Change-Id: Id176728a7c6eea8f54128d74cf658b13b6be81cb Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-05-30Merge "Add entry point for testreport email"Jan-Simon Moeller1-0/+58
2019-05-23Make sure we keep the CNAME file in the doc uploadJan-Simon Möller1-0/+5
Change-Id: I8fe8d808b7d91342f6000d5a0232edaa9662e809 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-23Add entry point for testreport emailbuild.automotivelinux.org1-0/+58
Bug-AGL: SPEC-1474 Change-Id: I9800023fb68196b875b55e83147b9576b86eccec Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-05-22Merge "SPEC-2075: Enable CIBT for upsquare"Jan-Simon Moeller1-0/+1
2019-05-21Remove old doc update job and remove old content from new jobJan-Simon Möller6-527/+1
Delete the old multiversion job and also make the new job remove old content. Change-Id: I729c44723ad0063bea9614e9c9a0e6d2bb163d6f Bug-AGL: SPEC-2419 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-21Update gitignoreJan-Simon Möller1-0/+4
Change-Id: I72aa3c75c44dc099cf268fa57118f01d8ee23305 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-16SPEC-1850: give the branch used to releng-scriptsCorentin LABBE1-0/+1
I have assumed that only master is used for appfw but it is false. Some app review are done against non-master branch. This patch give to releng-script the branch used via --app-branch. Change-Id: Ia2e15aef7d624c81974b7830c0bbd3623f5b7c42 Bug-AGL: SPEC-1850 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-09Avoid an extra 1min wait for the Idle,Good boardKhouloud Touil1-4/+2
As we have to wait 60s for each retry, this patch avoid to keep the Idle,Good boards waitong an extra 60s. Change-Id: I34dd47362da5e2de14103cc374c9b6f4cd830aa7 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-05-09SPEC-2075: Enable CIBT for upsquareCorentin LABBE1-0/+1
Enable CIBT for the upsquare board. Bug-AGL: SPEC-2075 Change-Id: I7b54ce3fef7a459b12234e6ac9a652bed90e9be1 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-06Fix the KCI_API linkKhouloud Touil1-1/+1
This patch fixes the KCI_API link, it should be an 'http' not 'httpis'. Change-Id: Iad52da5de124289ac15563b3bf10d652ef76bbe1 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-05-03jjb/common: lava-jobs-submit: fix email token checkKevin Hilman1-1/+4
Fix the logic to check if the email auth token is present. While at it, make output more verbose for easier debug. Signed-off-by: Kevin Hilman <khilman@baylibre.com> (cherry picked from commit b9f7f8928ab26f15f0950d00a7f2417ffa204755) Change-Id: Iceb00e5617cbfb787353c7caf05e5d00e9512d70
2019-05-03Merge "SPEC-1850: Add missing --test application-lifecycle"Jan-Simon Moeller1-0/+1
2019-05-03Merge "Avoid failing the job when sending the email report"Jan-Simon Moeller1-1/+3
2019-05-02SPEC-1850: Add missing --test application-lifecycleCorentin LABBE1-0/+1
For enabling application-lifecycle, we need now to use --test application-lifecycle. Bug-AGL: SPEC-1850 Change-Id: I65b5fb9a11703673f2dcd4c5d1994af90cfbb26c Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-02Add agl-service-bluetooth-map to CI.Jan-Simon Möller1-0/+1
Change-Id: Iefeb0776e96ae17f2cc1505a6b07929cd082da7a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-02Avoid failing the job when sending the email reportKhouloud Touil1-1/+3
This patch avoid to fail the job if the sending email report section is not working well. Change-Id: I9bc192e1ac8f3937fc06be15233b0a697d16ff15 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-05-02Fix the URL to send the email reportKhouloud Touil1-8/+11
The 'LAVA_MASTER_URI' used is wrong, this patch fixes the url. It adds also a check on the output of lavacli command before to send the test email report. Signed-off-by: Khouloud Touil <ktouil@baylibre.com> (cherry picked from commit d891414424913e7bcf2845740cd5c532a858877e) Change-Id: Iff4b984593abb5ccb495764246826bcf173e6e6e