aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
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>
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>