aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-02-27Use the new --build-id argumentKhouloud Touil2-0/+2
This patch uses the new --build-id argument of create-jobs that will contain the DIST_BUILD_ID value that is extracted from the build-info file. Change-Id: Ic1bf82967a4cd94bce9701251d7f5a9700998271 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the new --commit argumentKhouloud Touil2-0/+2
This patch uses a new --commit argument that will contain the DIST_BUILD_HASH value that is extracted from the build-info file. These changes are in both files 'include-agl-run-test -short-guppy.sh' and 'include-agl-run-test-short.sh'. Change-Id: Ifd68eb4270f3540e1a379fac135d7f290374d1d7 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Modify the --build-version contentKhouloud Touil2-6/+2
Modify the --build-version content to take the DIST_BB_DISTRO_VERSION content which is going to be extracted from the build-info file in both files 'include-agl-run-test-short-guppy.sh' and 'include-agl-run-test-short.sh'. Change-Id: Iddf7394c624a5fdc08cddf806eaebb70456c4398 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the build-info fileKhouloud Touil2-0/+2
The build-info file contain a lot of useful informations that could be used differently. This commit adds a source command to use these informations in both files 'include-agl-run-test-short-guppy.sh'and 'include-agl-run-test-short.sh'. Change-Id: I67c216defbde6589901de24c674b840ba692a814 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-15Display build-infoKhouloud Touil1-0/+2
This patch displays the build-info file contents in order to use them later in creating test jobs. Change-Id: Iacfab0324152387f5d10ea45e4352c25448aa5cb Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-13Enable the request of test report emailKhouloud Touil1-0/+17
Add new feature to the ci-managmenet that will request to send test report email to the specified email addresses in the automotive- testreports list after a certain delay (1 hour=3600 sec). This commit is accomplished based on the work of Corentin Labbe <clabbe@baylibre.com>. Change-Id: I14350b13b5b6cf2550303999ced56055a392212b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-08Add weston as a device tagKhouloud Touil1-1/+5
This patch check the name of the board and add the weston as a device tag if the board name doesn't include the "-nogfx" suffix. Change-Id: I26c69286078b2e7e6dd6447da5be4246bbbea4e7 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-07Merge "jjb: lava-labs-prepare: use lavacli to find devices and tags"Jan-Simon Moeller1-0/+27
2019-02-07jjb: Add new --device-tags argumentKhouloud Touil1-0/+1
This commit adds new --device-tags argument to the create_job process. The create_job will use the device tags to create the job template. Note, this commit will work only if the lavacli package is well configured. Change-Id: Ib9358daaaa9ecfbb0c261991b0d86b48796eb701 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-24jjb: lava-labs-prepare: use lavacli to find devices and tagsLoys Ollivier1-0/+27
lava-tool is deprecated. There is a new "Tags" feature in lavacli that we would like to leverage to create customize tests depending on tags. Include lavacli into the script dependencies. Use it to find devices and list corresponding tags. Note, for now it is not replacing lava-tool but only ran alongside to test the behavior. Change-Id: I29546f4109ce869f7f047639f46e4a9c4499a9b2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-12-17jjb/common: fix flounder test plansKevin Hilman1-1/+0
releng-scripts no longer requires passing --tests, instead if has appropriate defaults based on CI or release builds. Change-Id: Iff32ff43818f939d798671691973251f8ffe3fb3 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-14Support BUILDONLY job parameterJan-Simon Möller1-0/+10
to select just a single machine. Change-Id: I76d884c800c7e130420e13b8d7d431803facfe7d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Remove obsolete storageboxJan-Simon Möller1-5/+0
Change-Id: I9371d524fcc151ac60896d71cd37702090e9a083 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-03jjb/common: fix guppy test templatesKevin Hilman1-1/+0
A previous change[1] moved to rely on test templates for test plans, instead of passing --test when using releng-scripts, however when this script was added for guppy[2], it was copied from an older version. Fix this version to not use --test either. [1] 142b04edc103 jjb/common: run-tests: rely on templates for test plans [2] b76de43474cf (gerrit/master) Add release job for guppy Change-Id: I98e00695ddb49a917cda40743b8c7328987ffe98 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-22Merge "Comply to the SPEC-495"Jan-Simon Moeller3-12/+45
2018-11-20Comply to the SPEC-495Romain Forlot3-12/+45
The Applications from AGL framework should have a full packaging solution, Independent of yocto workflow. Unfortunately the build part of the Applications is only in documentation or in yocto recipes. The Applications build with AGL framework must be automated without any yocto recipes. Change-Id: Ibba27c037df55c1487f0bcc7fdb75e8572515d4f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-19jjb/common: run-test-short release: use TARGETMACHINEKevin Hilman2-2/+2
The "deploy/images" dir pushd to the downloads server does not have the -nogfx suffix. Therefore, use $TARGETMACHINE instead of $MACHINE when passing --url to releng-scripts so that the machine name is correct in the URL. Change-Id: I3403851fa9f89e2839c7311db5d2ca1f555da3b7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-16Add release job for guppyJan-Simon Möller1-0/+35
Change-Id: I4bac3775da003dc677d50bafab88fc00b8754890 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-11jjb/common: run-tests: rely on templates for test plansKevin Hilman2-2/+0
Instead of always pasing "--tests all" rely on the templates in releng-scripts (templates/config) to determine the test plans to run based on --build-type. Change-Id: I7ac3b0a35f4cd3c45af9f2b28f8892fa31a04e2e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-11jjb: lava-labs-prepare: only use lab-agl-coreKevin Hilman1-2/+1
We're now using a single LAVA master (lab-agl-core) with multiple remote LAVA workers, so ci-management/jjb scripts only need to submit jobs to one LAVA master. While here, remove the long-unused lab-baylibre-seattle Change-Id: I22f1ec039f7512809f0aac61b7ce5ea68131889b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-23Use generated autobuild script if none commitedRomain Forlot1-1/+6
It could be useful to not commit the autobuild script in the repository then you'll always use a generated autobuild script. Doing so you always use the most up-to-date autobuild script following the upstream version. If the script hasn't been generated during the build then fallback to the classic method 'make package'. Bug-AGL: SPEC-1832 Change-Id: I6a5e72ebb9254c7140e6ad7c31e02ba06fe2e0e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27Submit flounder release job to lava and kernelciJan-Simon Möller3-1/+63
Change-Id: Ic26d5775b1ff6ca2c13e586212bb761c6055afac Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-13Speed-up buildJan-Simon Möller1-3/+3
by disabling the limits. Change-Id: Ib82ad11609642a356930a236bb3b06df611d9c41 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-05Removed unwanted popd from xds buildSebastien Douheret1-2/+0
Change-Id: I3985a66fdb1336d9216ea0b6eb65960e804a5298 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-05Rework xds buildJan-Simon Möller2-9/+1
Change-Id: I18830298ef2d8fe4d65b588735ed1662042505ce Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-05Enable set -x for xds buildsJan-Simon Möller1-0/+3
Change-Id: I6514de300eb1f8581b1e4deffb016c842c8dd282 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-05Fix mkdir command for xds buildsJan-Simon Möller1-2/+2
Change-Id: Ic5ce10308c6da924897deee475bdcb13cc678915 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-28Adapt to recent changes in app-templatesJan-Simon Möller3-10/+62
we have more versions where the wgt will end up ... Change-Id: Ic59cb9e5629d64ad1779b6139c390cefa554d4cb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-28In case of cmake enforce an out-of-tree buildJan-Simon Möller3-8/+23
This fixes a build error with newer app templates if no autobuild script is found. Change-Id: Iad3ea26ddd8cd3f680f8788cd08b8d2a374e8dc5 Bug-AGL: SPEC-1534 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-20Do not fail if transfer failsJan-Simon Möller1-1/+1
Make the storagebox sync not fail the process Change-Id: I9ebc2120af8819f9e3fda0ef93d5a1583dec9629 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-17Fix typo in variable nameJan-Simon Möller1-3/+3
No '-' allowed. Fix it. Change-Id: Iaecd076cdc0e100e975c7fead28d37d8e8739f4e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-15Also upload changeID artifacts to storageboxJan-Simon Möller1-0/+10
Change-Id: I96df1500304f1325acbb8691cd350e4e501fbebf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-28Do not use wic-tools in dab releaseJan-Simon Möller1-0/+2
Change-Id: I90a7a4ff5f72a7cdc0f24dda467c39f3701809ef Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-28Add template for build of xds-server in CIJan-Simon Möller6-0/+133
Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-01Make sure to build wic-tools to avoid imaging to failJan-Simon Möller2-0/+4
Change-Id: Ib38df07de3b3ce8b17311db1a91540d4348bfce5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-22jjb/common: update rpi3 device-type to upstreamKevin Hilman1-1/+1
Change-Id: I3c20e23ed4ddd00268d5ca5ee5ac0ab7d345e82b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-03-06Adapt target image selection in jenkins jobJan-Simon Möller1-3/+3
This makes use of the provided feature shortcuts. Change-Id: Ic5983c17e41e8c13a15c542ca9f01048d117a3f0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-12jjb/common: fix releng name for porterKevin Hilman1-1/+1
Change-Id: I42b0191f5388e4f26e03c8fcb2f977d209628e4c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-05jjb/common: lava-jobs-submit: fix device_type replacementKevin Hilman1-1/+1
Fix "raspberrypi3-uboot" -> "raspberrypi3-uboot-uboot" type of substitutions. Ensure that the full string (up to EOL) is matched before trying to replace. Change-Id: I2026beb964b12aff1f60441257ceec82b706bab7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-18jjb/common: run-test-short: Update releng-scripts usageLoys Ollivier2-2/+2
Update the calls to releng-scripts to use the latest options. This allows to differentiate the build types, find the correct URL and run the corresponding test plans. Change-Id: I75762ec8d0a7c204b6ec898f936f59a7a9b5e488 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-06Merge "Streamline image output and add new board"Jan-Simon Moeller1-2/+2
2018-01-06Streamline image output and add new boardJan-Simon Möller1-2/+2
Change-Id: If9f7f32d0c73bf4f964a205a18dc1fc720b38e3b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-03jjb/common: lava-labs-prepare.sh fix polling on reserved boardsLoys Ollivier1-14/+16
The script would still wait for 60 seconds and retry on boards that are not in the reserved state. Fix this and poll for a change of status only if the board is reserved. Fixes: 1ae347940236 ("jjb/common: lava-labs-prepare.sh") Change-Id: I4ce71979f7cb2856768de748c1afb6a1cfb47ca2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-02Merge "Apply new folder structure for application repository"Jan-Simon Moeller2-9/+13
2018-01-02Apply new folder structure for application repositoryJan-Simon Möller2-9/+13
Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-12-27jjb/common: lava-labs-prepare.shLoys Ollivier1-6/+33
When device status was reserved, the script would exit and the job fail. If device status is reserved poll the device status a limited amount of time. If the status within the defined polling time changes continue otherwise exit. Polling as been set to 10 retries on the minute. JIRA: SPEC-1210 Change-Id: I7ee950777f0881a4a588c9c0dc8db12a7f6dda4a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-18jjb/common: lava-labs-prepare.sh: disable error exitLoys Ollivier1-0/+7
Disable exit on error detection in lava-labs-prepare.sh, this script is looking for error codes when needed and exits gracefully. Change-Id: I0044466ef3f7ad7b606b1452d51676a4472e87d0 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-15Merge "jjb/common: if any, display lava error msg in jenkins log"Jan-Simon Moeller1-0/+1
2017-12-15jjb/common: if any, display lava error msg in jenkins logLoys Ollivier1-0/+1
Do a second grep on the lava log to include lava error message if there was any. This is usefull in case a job fails. The error can be read directly out of the jenkins log. JIRA: SPEC-1178 Change-Id: Id3333df9c56dd67f5d664ae0d234e33e3300c366 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>