aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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
2019-05-02Fix the lavacli_tags displayKhouloud Touil1-1/+1
This patch fixes the lavacli_tags display. Change-Id: I7a52f5e000fe79a4a1ee45a2652912d03302320b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-05-01Merge "Fix the status problem of lavacli"Jan-Simon Moeller1-1/+1
2019-05-01Merge "Add test scripts for CIBT cases"Jan-Simon Moeller1-1/+6
2019-05-01Add test scripts for CIBT casesJan-Simon Möller1-1/+6
and adapt the common job to not use '' . Change-Id: I15b4fa1a4ab181c55c53885fb746cfd56403c698 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-01Fix the status problem of lavacliKhouloud Touil1-1/+1
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>
2019-05-01Merge "Do not fail job on CIBT unil sequence works"Jan-Simon Moeller1-1/+3
2019-05-01Do not fail job on CIBT unil sequence worksJan-Simon Möller1-1/+3
Change-Id: I10c292096dae34936b8dcbfbc8d383a21ed02bfd Bug-AGL: SPEC-2267 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-01Merge "Harden the board selection loop"Jan-Simon Moeller1-22/+28
2019-04-30This section needs special handlingJan-Simon Möller1-0/+6
TODO: rewrite to run under set -e ! Change-Id: I4f26d8e5de03d2a16a6b8c8825ce7bc9df8da5d4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-30Harden the board selection loopJan-Simon Möller1-22/+28
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>
2019-04-30Merge "Add caller to new branch argument for releng"Jan-Simon Moeller2-3/+8
2019-04-30Merge "jjb/common/include-agl-lava-jobs-submit.sh: add a missing then"Jan-Simon Moeller1-1/+1
2019-04-30jjb/common/include-agl-lava-jobs-submit.sh: add a missing thenCorentin LABBE1-1/+1
this patch adds a missing "then" Change-Id: Iaddfc12597864e3ba35a12baa6b0716660d969b3 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-30jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the qemu machine ↵Corentin LABBE1-1/+1
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>
2019-04-30Add caller to new branch argument for relengJan-Simon Möller2-3/+8
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>
2019-04-29Merge "jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the arch ↵Jan-Simon Moeller1-1/+1
given by jenkins"
2019-04-29Delete-lava-tool-commands-already-replaced-with-lavaKhouloud Touil1-19/+0
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>
2019-04-29Replace lava-tool with lavacliKhouloud Touil3-31/+55
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>
2019-04-26Continue repo sync even with broken (external) repositoriesJan-Simon Möller1-1/+1
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>
2019-04-25jjb/common/include-agl-app-run-test-short.sh: Fix a typo in the arch given ↵Corentin LABBE1-1/+1
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>
2019-04-16Merge "SPEC-1850: Implement CIBT for applications build"Jan-Simon Moeller1-0/+48
2019-04-16SPEC-1850: Implement CIBT for applications buildCorentin LABBE1-0/+48
This commit enable CIBT for applications. For keeping the same naming for GERRIT_PATCHSET_NUMBER and GERRIT_CHANGEID_NUMBER and use of the new releng-scripts app-changeid/app-patchset, we use a new jjb/common/include-agl-app-run-test-short.sh Change-Id: Ic2a93327236b932ae43125a172237a3882f4569e Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-14Change TARGETSDKARCH to include new flags in thudJan-Simon Möller1-1/+1
armv7vehf-neon-vfpv4 vs. armv7vet2hf-neon-vfpv4 Change-Id: I89be8589bd79ed3ed618da240f0f8e26a7ca3477 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-14Debug sdk installationJan-Simon Möller1-0/+1
Change-Id: I59c6a679176ad711fc0595ad349148e78f3ede44 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-13Add missing characterJan-Simon Möller1-1/+1
we were missing '-' in the variable substitution. Fix it. Change-Id: I4579304d1a594d7dbb3042850e94ffa5e083f2cc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-12Temporary fix for device dtb changes until templates are fixedJan-Simon Möller1-0/+11
Change-Id: I95a5c5e3f9d2ea43885de0fefec1cb2faf82fbea old: uImage-bcm2710-rpi-3-b+vc4+ft5406.dtb new: bcm2710-rpi-3-b+vc4+ft5406.dtb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-27Workaround for intra-cloud requestsJan-Simon Möller4-6/+6
Revert when fixed. Change-Id: I5ee0ab8eb06628d7a7e07bfb6eea23bc958a9b0c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-27jjb/common: lava-labs-prepare: check only the available boardsKhouloud Touil1-1/+1
To avoid choosing a board with an offline status, this patch check and lists only the boards with an Idle,Good status. Change-Id: I64673c87b038b7e7e82001f7bfd2a35af5b73d60 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-25Fix the --name argumentKhouloud Touil1-1/+1
As the 'RELEASE_BRANCH' and 'RELEASE_VERSION' have been replaced with 'DIST_BB_AGL_BRANCH' and 'DIST_BB_AGLVERSION', so this patch fixes the '--name' to use the new arguments. Change-Id: I75448cf56b60fbef03adfceb70197e48069ab96a Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-24Correct typoJan-Simon Möller1-1/+1
Remove extra double quote. Change-Id: Ic1f6454fa258c51afbc2963dba78380d05ff1884 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-23Add option to disable sstate-mirror in release buildsJan-Simon Möller1-4/+7
Change-Id: I4149a9a2eee0d96acd4900f4daf250a6dde71701 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-22jjb/common: lava-labs-prepare: fix the urlKhouloud Touil1-1/+1
This patch fixes the url when adding the identities using the lavacli tool. Change-Id: I0c0bab0cec63a06d74581e1f05c94d25befcc238 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-22jjb/common: run-test-short: fix the link of the UPLOAD_URLKhouloud Touil1-1/+1
The UPLOAD_URL lacks the name of the machine, so this patch fixes the link from where to upload the build-info file. Change-Id: Ia80e80092eaacfae3cb68d819309d6e819405257 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-21jjb/common: run-test-short: fetch/source build-infoKevin Hilman2-5/+17
Before trying to cat/source build-info, we have to fetch it from the location where it was uploaded during the main build phase. Change-Id: Ic9d8916a3a349f3b29cb2d5ef558c78729703908 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-21jjb/common: add build-info to uploadsKevin Hilman1-1/+2
Change-Id: I0e780bbdafd912a3734292f895f9788f3a8c22e9 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-21run-test-short: Check the existence of the 'build-info' fileKhouloud Touil1-2/+4
Before displaying the content of the 'build-info' file, we have to check if this file exists. Change-Id: I029e9ca65a182724ce447c6e1d69db246a681dc9 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-20jjb/common: lava-labs: lavacli should not be fatalKevin Hilman1-1/+0
For now, the use of lavacli is for debug only, so failure to list devices with lavacli should not be fatal. To fix, remove the `continue` so if it fails, it fill fall through to the legacy use of lava-tool. Change-Id: Id55622e1b0f3d9c0e90673b24e8fa3642a15bee9 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-15jjb/common: lavacli: no username in URLKevin Hilman1-1/+1
Don't use a URL with a username in it for the lavacli config file. The lavacli config file already has a `username` field, and having it also in the URL makes lavacli fail. Change-Id: I88e8ce06519b0b09476d5a4bc693b95b40f20e59 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-14jjb/common: lava-labs-prepare: fix lavacli config errorKevin Hilman1-1/+1
lavacli doesn't like an empty config file. The first "identities add" will automatcially create the new config file, as long as the ~/.config dir exists. Change-Id: I337f8b6883362a0f01b58e34645c825a186ab7d7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-11lava-labs-prepare: Fix lavacli auth add errorLoys Ollivier1-0/+1
lavacli is returning an error if the config file for adding identities does not exist. Create the file before using `lavacli auth add` Change-Id: I3928355055299ddbdd1d269d74a762a563577fb8 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2019-02-27Use the --version argumentKhouloud Touil2-0/+2
This patch uses the --version argument that will contain the DIST_BB_AGLVERSION value that is extracted from the build-info file. Change-Id: I81dfc60f290db8983af9dfcc51f47a71c1a2b031 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the --branch argumentKhouloud Touil2-0/+2
This patch uses the --branch argument that will contain the DIST_BB_AGL_BRANCH value that is extracted from the build-info file. Change-Id: I56fe3edcfc73b0ce661181283f029026e2b37811 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>