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>
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>
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>
Jan-Simon Moeller [Mon, 16 Sep 2019 11:35:33 +0000 (11:35 +0000)]
Merge "SPEC-2703: do not fail with set -xe"
Corentin LABBE [Wed, 11 Sep 2019 18:49:34 +0000 (20:49 +0200)]
SPEC-2703: do not fail with set -xe
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>
Jan-Simon Moeller [Thu, 12 Sep 2019 04:52:30 +0000 (04:52 +0000)]
Merge "Dont fail the CI when build-info is unavaillable"
Corentin LABBE [Wed, 11 Sep 2019 18:18:12 +0000 (20:18 +0200)]
Dont fail the CI when build-info is unavaillable
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>
Jan-Simon Möller [Wed, 11 Sep 2019 23:29:24 +0000 (01:29 +0200)]
Include MACHINE name in message.
Change-Id: I1ec20a66dfc4a427642806011f6de8d4e7c75408
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Corentin LABBE [Wed, 11 Sep 2019 07:58:58 +0000 (09:58 +0200)]
SPEC-2703: Fix remaining problems in skiplist
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>
Jan-Simon Möller [Tue, 10 Sep 2019 21:20:59 +0000 (23:20 +0200)]
Follow-up fix
Change-Id: I13c0e82a53a19d4343eb2659d1c86eea399d94c3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Tue, 10 Sep 2019 15:54:04 +0000 (17:54 +0200)]
Fix error in CIBT scripting and harden pipeline
do not fail on CIBT result evaluation.
Change-Id: I91e84cc9e30a149f8e56c218b1f97375c76c3d95
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Corentin LABBE [Tue, 10 Sep 2019 12:18:02 +0000 (14:18 +0200)]
SPEC-2703: Permit to have a per-machine skiplist
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>
Corentin LABBE [Fri, 23 Aug 2019 14:16:52 +0000 (16:16 +0200)]
SPEC-2703: pass/fail criteria for lava jobs
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>
Kevin Hilman [Wed, 28 Aug 2019 21:18:04 +0000 (14:18 -0700)]
jjb/common: fix DIST_BUILD_TOPIC usage
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>
Jan-Simon Moeller [Wed, 28 Aug 2019 11:37:23 +0000 (11:37 +0000)]
Merge "Manage the polling with lavacli"
build.automotivelinux.org [Tue, 27 Aug 2019 05:54:25 +0000 (07:54 +0200)]
Add key for lavasoftware.org
This enables installation of lavacli.
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
Change-Id: I123fcecea66fcd60a3000b3b5d57570f2e4eda5c
Kevin Hilman [Mon, 26 Aug 2019 23:40:52 +0000 (16:40 -0700)]
jjb/common: use DIST_BUILD_TOPIC when available
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>
build.automotivelinux.org [Wed, 21 Aug 2019 16:00:22 +0000 (18:00 +0200)]
Change sdk URL to use mirror.automotivelinux.org
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
Jan-Simon Moeller [Wed, 14 Aug 2019 23:16:46 +0000 (23:16 +0000)]
Revert "Use new --build-tags argument"
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
Khouloud Touil [Wed, 7 Aug 2019 15:00:22 +0000 (17:00 +0200)]
Use new --build-tags argument
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
Kevin Hilman [Thu, 1 Aug 2019 23:40:37 +0000 (16:40 -0700)]
jjb/common: app tests: use more specific version name
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>
Jan-Simon Moeller [Wed, 31 Jul 2019 15:57:22 +0000 (15:57 +0000)]
Merge "Add halibut to ci-apps-jjb"
Jan-Simon Möller [Wed, 31 Jul 2019 15:53:34 +0000 (17:53 +0200)]
Add halibut to ci-apps-jjb
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>
Khouloud Touil [Fri, 12 Jul 2019 12:45:37 +0000 (14:45 +0200)]
Manage the polling with lavacli
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
Jan-Simon Moeller [Thu, 25 Jul 2019 15:18:32 +0000 (15:18 +0000)]
Merge "Update application ci project list"
Jan-Simon Möller [Thu, 25 Jul 2019 12:53:40 +0000 (14:53 +0200)]
Update application ci project list
Change-Id: Ibbc2d7b04629ceeafe86987b820cd55cc1b76aa3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Kevin Hilman [Thu, 18 Jul 2019 16:50:02 +0000 (09:50 -0700)]
jjb/common: aglsetup: use topic if available
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>
Khouloud Touil [Thu, 11 Jul 2019 15:00:54 +0000 (17:00 +0200)]
packer: change the source url of lavacli
As we pushed some changes to lavacli, and for now it is only in Linaro
stretch-backports, so we will use their url instead of the
"http://deb.debian.org/".
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: I065ec8467ee491e083b4523ab70223347ed5d320
Khouloud Touil [Thu, 11 Jul 2019 13:37:28 +0000 (15:37 +0200)]
Modify the build-version as well as the GIT_DESCRIBE values
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
Khouloud Touil [Thu, 11 Jul 2019 09:30:03 +0000 (11:30 +0200)]
Change the GIT_DESCRIBE value
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
Jan-Simon Möller [Mon, 8 Jul 2019 17:00:50 +0000 (19:00 +0200)]
Also react on lava jobs that were canceled in jenkins
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>
Jan-Simon Möller [Mon, 8 Jul 2019 16:49:28 +0000 (18:49 +0200)]
Be less verbose in CIBT jobs
Remove the set -x and print JOB_URL prominently.
Change-Id: I81b2283557e5b2ca5ca7815adb43f4e930250357
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Mon, 8 Jul 2019 11:34:57 +0000 (13:34 +0200)]
Update application repos
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>
Khouloud Touil [Thu, 4 Jul 2019 09:43:00 +0000 (11:43 +0200)]
Change the build-version value
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
Jan-Simon Moeller [Thu, 20 Jun 2019 21:31:40 +0000 (21:31 +0000)]
Merge "Remove the send email report part when submitting the job"
build.automotivelinux.org [Thu, 20 Jun 2019 15:45:23 +0000 (17:45 +0200)]
Enhance CI checkout for meta-renesas-rcar-gen3 and disable naginator
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
build.automotivelinux.org [Thu, 20 Jun 2019 12:59:27 +0000 (14:59 +0200)]
Fix the email report script
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
build.automotivelinux.org [Wed, 19 Jun 2019 17:32:28 +0000 (19:32 +0200)]
Use the generic qemu* toolchains for the applications
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>
Khouloud Touil [Wed, 19 Jun 2019 14:15:25 +0000 (16:15 +0200)]
Remove the send email report part when submitting the job
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
Jan-Simon Moeller [Wed, 19 Jun 2019 14:07:13 +0000 (14:07 +0000)]
Merge "ci-platform-jjb: enable CIBT for qemuarm"
Khouloud Touil [Mon, 17 Jun 2019 15:24:59 +0000 (17:24 +0200)]
Add credentials-binding to the send email entrypoint
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
Khouloud Touil [Fri, 14 Jun 2019 13:23:52 +0000 (15:23 +0200)]
Insert the script include-agl-send-email-report.sh
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
Khouloud Touil [Fri, 14 Jun 2019 13:21:54 +0000 (15:21 +0200)]
Add a new script include-agl-send-email-report.sh
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
Corentin LABBE [Mon, 17 Jun 2019 14:27:05 +0000 (16:27 +0200)]
ci-platform-jjb: enable CIBT for qemuarm
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>
Jan-Simon Möller [Wed, 12 Jun 2019 18:08:02 +0000 (20:08 +0200)]
Add release jobs for halibut part 2
Add the final release jobs for halibut.
Change-Id: Ibcdc8eaa993d118235bad17cf0ea27e6d59fcf33
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Corentin LABBE [Wed, 5 Jun 2019 14:05:42 +0000 (16:05 +0200)]
ci-platform-jjb: enable CIBT for qemuarm64
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
Jan-Simon Moeller [Sun, 2 Jun 2019 21:53:15 +0000 (21:53 +0000)]
Merge "Add release jobs to CI for HH"
Jan-Simon Möller [Sun, 2 Jun 2019 21:51:09 +0000 (23:51 +0200)]
Add release jobs to CI for HH
Change-Id: I07907b16fa5379ef68e61287c4b4f15ec4092eb0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Moeller [Fri, 31 May 2019 20:19:53 +0000 (20:19 +0000)]
Merge "jjb/common: run-test-short: only use lavacli tags"
Jan-Simon Möller [Fri, 31 May 2019 11:34:10 +0000 (13:34 +0200)]
Skip build-info if it does not exist
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>
Kevin Hilman [Thu, 30 May 2019 22:47:55 +0000 (15:47 -0700)]
jjb/common: run-test-short: only use lavacli tags
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>
Kevin Hilman [Thu, 30 May 2019 19:28:39 +0000 (12:28 -0700)]
jjb/common: lava-jobs-submit: fix email recipients
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>
Jan-Simon Moeller [Thu, 30 May 2019 14:31:38 +0000 (14:31 +0000)]
Merge "Add entry point for testreport email"
Jan-Simon Möller [Thu, 23 May 2019 13:20:51 +0000 (15:20 +0200)]
Make sure we keep the CNAME file in the doc upload
Change-Id: I8fe8d808b7d91342f6000d5a0232edaa9662e809
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
build.automotivelinux.org [Tue, 21 May 2019 16:47:51 +0000 (18:47 +0200)]
Add entry point for testreport email
Bug-AGL: SPEC-1474
Change-Id: I9800023fb68196b875b55e83147b9576b86eccec
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
Jan-Simon Moeller [Wed, 22 May 2019 10:52:08 +0000 (10:52 +0000)]
Merge "SPEC-2075: Enable CIBT for upsquare"
Jan-Simon Möller [Tue, 21 May 2019 12:18:08 +0000 (14:18 +0200)]
Remove old doc update job and remove old content from new job
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>
Jan-Simon Möller [Tue, 21 May 2019 12:17:14 +0000 (14:17 +0200)]
Update gitignore
Change-Id: I72aa3c75c44dc099cf268fa57118f01d8ee23305
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Corentin LABBE [Thu, 16 May 2019 09:06:46 +0000 (11:06 +0200)]
SPEC-1850: give the branch used to releng-scripts
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>
Khouloud Touil [Thu, 9 May 2019 08:08:07 +0000 (10:08 +0200)]
Avoid an extra 1min wait for the Idle,Good board
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>
Corentin LABBE [Mon, 6 May 2019 06:55:40 +0000 (08:55 +0200)]
SPEC-2075: Enable CIBT for upsquare
Enable CIBT for the upsquare board.
Bug-AGL: SPEC-2075
Change-Id: I7b54ce3fef7a459b12234e6ac9a652bed90e9be1
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Khouloud Touil [Mon, 6 May 2019 15:03:57 +0000 (17:03 +0200)]
Fix the KCI_API link
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>
Kevin Hilman [Tue, 16 Apr 2019 17:14:40 +0000 (10:14 -0700)]
jjb/common: lava-jobs-submit: fix email token check
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
Jan-Simon Moeller [Fri, 3 May 2019 12:05:06 +0000 (12:05 +0000)]
Merge "SPEC-1850: Add missing --test application-lifecycle"
Jan-Simon Moeller [Fri, 3 May 2019 11:03:42 +0000 (11:03 +0000)]
Merge "Avoid failing the job when sending the email report"
Corentin LABBE [Thu, 2 May 2019 18:16:40 +0000 (20:16 +0200)]
SPEC-1850: Add missing --test application-lifecycle
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>
Jan-Simon Möller [Thu, 2 May 2019 13:21:01 +0000 (15:21 +0200)]
Add agl-service-bluetooth-map to CI.
Change-Id: Iefeb0776e96ae17f2cc1505a6b07929cd082da7a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Khouloud Touil [Thu, 2 May 2019 13:00:19 +0000 (15:00 +0200)]
Avoid failing the job when sending the email report
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>
Khouloud Touil [Fri, 19 Apr 2019 12:30:35 +0000 (14:30 +0200)]
Fix the URL to send the email report
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
Khouloud Touil [Thu, 2 May 2019 12:08:53 +0000 (14:08 +0200)]
Fix the lavacli_tags display
This patch fixes the lavacli_tags display.
Change-Id: I7a52f5e000fe79a4a1ee45a2652912d03302320b
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Jan-Simon Moeller [Wed, 1 May 2019 14:03:24 +0000 (14:03 +0000)]
Merge "Fix the status problem of lavacli"
Jan-Simon Moeller [Wed, 1 May 2019 14:00:44 +0000 (14:00 +0000)]
Merge "Add test scripts for CIBT cases"
Jan-Simon Möller [Wed, 1 May 2019 13:57:56 +0000 (15:57 +0200)]
Add test scripts for CIBT cases
and adapt the common job to not use '' .
Change-Id: I15b4fa1a4ab181c55c53885fb746cfd56403c698
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Khouloud Touil [Wed, 1 May 2019 13:02:57 +0000 (15:02 +0200)]
Fix the status problem of lavacli
When using --yaml option to show the job information the 'Health' is no
longer with capital 'H'. This patch change the 'Health" to 'health'.
Change-Id: Ifd463b4aee9ca90bbaa017e2f409a5105cec3e93
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Jan-Simon Moeller [Wed, 1 May 2019 11:20:55 +0000 (11:20 +0000)]
Merge "Do not fail job on CIBT unil sequence works"
Jan-Simon Möller [Wed, 1 May 2019 11:14:37 +0000 (13:14 +0200)]
Do not fail job on CIBT unil sequence works
Change-Id: I10c292096dae34936b8dcbfbc8d383a21ed02bfd
Bug-AGL: SPEC-2267
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Moeller [Wed, 1 May 2019 10:58:40 +0000 (10:58 +0000)]
Merge "Harden the board selection loop"
Jan-Simon Möller [Tue, 30 Apr 2019 17:45:14 +0000 (19:45 +0200)]
Remove naginator
Change-Id: If28032d92dccc49991ec578dae88fbc221833c12
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Tue, 30 Apr 2019 15:13:01 +0000 (17:13 +0200)]
This section needs special handling
TODO: rewrite to run under set -e !
Change-Id: I4f26d8e5de03d2a16a6b8c8825ce7bc9df8da5d4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Tue, 30 Apr 2019 15:15:53 +0000 (17:15 +0200)]
Harden the board selection loop
and make it more resilent. Better wait here until we really have a board available than fail later.
Fix: A running board was counted as 'available' but the job timeouts might kill us lateron.
Change-Id: Ic508525c330299718ac7743a274bce1c2a06f894
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Moeller [Tue, 30 Apr 2019 13:38:49 +0000 (13:38 +0000)]
Merge "Add caller to new branch argument for releng"
Jan-Simon Moeller [Tue, 30 Apr 2019 11:30:53 +0000 (11:30 +0000)]
Merge "jjb/common/include-agl-lava-jobs-submit.sh: add a missing then"
Corentin LABBE [Tue, 30 Apr 2019 11:22:10 +0000 (13:22 +0200)]
jjb/common/include-agl-lava-jobs-submit.sh: add a missing then
this patch adds a missing "then"
Change-Id: Iaddfc12597864e3ba35a12baa6b0716660d969b3
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Corentin LABBE [Tue, 30 Apr 2019 11:15:30 +0000 (13:15 +0200)]
jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the qemu machine namme
include-agl-app-run-test-short.sh use the wrong qemux86_64 instead of qemux86-64 machine type
Bug-AGL: SPEC-1850
Change-Id: Ib029b7fdcc85dd45cbb467bc9d42edb1c14b9338
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Jan-Simon Möller [Mon, 29 Apr 2019 22:28:06 +0000 (00:28 +0200)]
Add caller to new branch argument for releng
This is necessary to deal with the dtb changes in releng and not the CI scripts.
Change-Id: Ia12a8ccbb0527f7bd4a5518aeaefc5dafd7a7919
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Mon, 29 Apr 2019 21:32:30 +0000 (23:32 +0200)]
Print out original job URL
Instead of the verify-fail job print the parent job url.
Change-Id: Id7b9f24d93eb527ecadeb4e3dfbf06c39b719410
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Mon, 29 Apr 2019 21:17:45 +0000 (23:17 +0200)]
Use a 2-phase build pipeline
emulators first, then devboards.
A failing emulator build will abort instantly.
A failing devboard build will let the others continue.
Change-Id: Ice71a36c166cd04c1c501951e2702d58d4b2a2f7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Moeller [Mon, 29 Apr 2019 14:37:02 +0000 (14:37 +0000)]
Merge "jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the arch given by jenkins"
Khouloud Touil [Tue, 9 Apr 2019 13:53:44 +0000 (15:53 +0200)]
Delete-lava-tool-commands-already-replaced-with-lava
As the lavacli works fine now, the lava-tool part is no longer needed.
This patch delete just the part to list the devices and the part of auth
using lava-tool.
Change-Id: If3e27de642b4c5f901dec4453341dc07f71873d8
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Khouloud Touil [Tue, 2 Apr 2019 08:49:17 +0000 (10:49 +0200)]
Replace lava-tool with lavacli
In order to move totally to lavacli, this patch:
- Apply changes to submit jobs using lavacli. As the blocking call
(--block) no longer exists with lavacli, so had to replace that with
a polling loop.
- Replace lava-tool with lavacli in the polling part in the labs-prepare
file, which checks the device status and availability.
Different changes tested at Baylibre.
Change-Id: I25b1ad4b47ae09a158e1e1cf42e30da5e6aa8b57
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Jan-Simon Möller [Fri, 26 Apr 2019 20:00:00 +0000 (22:00 +0200)]
Continue repo sync even with broken (external) repositories
This avoids breaking CI with broken external repo
(as long as we don't build that very target).
Change-Id: I695506068b9ee49044f6ea15ed2277d5104adc7c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 21:24:38 +0000 (23:24 +0200)]
Trim down the hwtest slave
Change-Id: I69e0bd20128fe41cd0953bea94e07ae5c4f86243
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 20:40:54 +0000 (22:40 +0200)]
Extend hwtest slave size to 10G
Change-Id: I4310988f32bc734987d0b785cef216a9ddd1388b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 20:18:22 +0000 (22:18 +0200)]
Change to small instance
Change-Id: I553295d7809390f16616e692037630e98f291a03
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 20:09:58 +0000 (22:09 +0200)]
No preclone needed in hwtest slave
Change-Id: If639a2d179f740235104be4e98bbeda498a6100b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 19:55:42 +0000 (21:55 +0200)]
Allow backports from archive
Change-Id: Ifc8a61d2f419bc2bbad9b6cd1b6485892343a530
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 19:52:07 +0000 (21:52 +0200)]
Add smaller image template for hwtest slave
Change-Id: I80ab0095e62c48d9b9e75dfcbc3bb3cce8c75205
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Apr 2019 16:15:20 +0000 (18:15 +0200)]
Pull jessie-backports from archive
Needed for the build infra uprev.
Change-Id: Ic329208b55d9b29c791eff42d721ec31a2f97e6f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Corentin LABBE [Tue, 23 Apr 2019 12:01:51 +0000 (14:01 +0200)]
jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the arch given by jenkins
Jenkins use the x86-64 arch, and not x86_64
Bug-AGL: SPEC-1850
Change-Id: Ia2f7b867d4a482f2cc6cfcfa3415c0151b1b1acc
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Jan-Simon Möller [Wed, 24 Apr 2019 14:58:02 +0000 (16:58 +0200)]
Expand host size
Change-Id: I6e4464616fe8b240de808ba493cd449bcc1471e7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>