aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2017-07-24Remove default values and print message for missing variableJan-Simon Möller1-12/+14
Change-Id: I7df5c0a9a36588f41bac00050b06507c89bc92d0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-23ci-platform-jjb: try LAVA job in multiple labsKevin Hilman5-28/+105
Currently, LAVA jobs are only submitted to a single lab. This patch adds the ability look for a matching device-type in a list of available labs, and submit the job to the first lab with an available device type. To accomplish this, the job submission part is removed from run-test-short.sh, which now only generates the LAVA YAML job. A new lava-jobs-submit.sh script is added which looks for an available device-type in a list of LAVA labs, and submits the job there. NOTES: - run-test-short.sh should probably be renamed, but was left for now to limit the diff Change-Id: I95086d89a95f39e2b59fec8a8afada70806c52e5 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-21jjb/common: run-test-short: QEMU: enable KVMKevin Hilman1-1/+1
Change-Id: I7b1b3a1c3dac55f6df6debcbe0b84c0e23edc5f4 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-19Enhance autobuild detectionJan-Simon Möller1-7/+7
Change-Id: I256844ae5bc73ed5e1bf350f6fa411b75728f705 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Enable debugging in app buildJan-Simon Möller2-1/+7
Change-Id: I46f6ae320f74ebb69cf45c86ab1d3fd6efddcd4f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Also pull submodules and add autobuild supportJan-Simon Möller2-10/+18
Enable automatically pulling the submodules when cloning and use the autobuild script if present. Change-Id: Ib5641cb8d8c3c849c2c9bbcdacd287e9d01b6805 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Add agl-service-bluetooth and agl-service-wifi to ci app buildsJan-Simon Möller1-0/+2
Change-Id: I834757d147e333e87767671b7b0f0086ab85c46b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Merge "jjb/common: run-test-rsync: fix empty variables"Jan-Simon Moeller1-2/+5
2017-07-19jjb/common: run-test-short: QEMU: increase boot timeoutKevin Hilman1-0/+2
QEMU jobs in some labs can be slow, especially when LAVA servers are busy and the rootfs has lots to do before reaching a login prompt. Increase the timeout to reach a login prompt to 5 minutes (from 2 minutes) to allow plenty of time. Change-Id: I71738a521d7fed8ae8bd9288a9f503dd00f94c92 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-19jjb/common: run-test-rsync: fix empty variablesKevin Hilman1-2/+5
Some variables are allowed to exist, but be empty (e.g. $DEVICE_DTB for QEMU builds.) If the variable is empty, do not attempt to copy. Change-Id: I89850402a225766496e5c2b5b9a45ffa6ec11815 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-17Merge "jjb/common: add LAVA templating for QEMU"Jan-Simon Moeller2-6/+50
2017-07-13jjb/common: remove unused TESTJOBFILEKevin Hilman3-25/+0
Individual machines are allowed to have their own LAVA templates, but they are not used, and completely overwritten by a default template. Since they are unused, remove them for clarity. Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-13jjb/common: add LAVA templating for QEMUKevin Hilman2-6/+50
LAVA jobs for QEMU have some slight differences compared to u-boot jobs. Add templating to support QEMU jobs for any arch. Change-Id: I6ef8e92cc169d8365f0ba1cb568b961d49e2a74f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-07run-test-prepare: fix device environment overridesKevin Hilman1-1/+1
Machines can override the default environment settings in their hwtest.short.environment files. However, the grep/sed procesing done does not ignore lines that are commented out, causing an extra '#' to be part of the variable name. To fix, ensure the grep for the variable name matches the beginning of the line, so commented lines will be ignored. Change-Id: Ibf4281c3126c95670346bee74043d670e6d58654 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-07run-test-short: fix set -x for debugKevin Hilman1-2/+1
Change-Id: Idf5356fd5f86de4a0d6b4afc82ef3d4d6706f437 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-06run-test-short: add set +x for debugKevin Hilman1-1/+2
Change-Id: Id409ecaabe9320ac20424dae0559515a7bbe8ef7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-30Add triggers for m3ulcbJan-Simon Möller1-0/+8
Change-Id: Iafb8d22e5b39b5a035d6df473467acdfb20bef32 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-28ci-AGL-verify: add machine: m3ulcb-nogfxKevin Hilman1-0/+1
Change-Id: I509cda0b9a6fb97f0139e1406b8706d29c3212c3 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-28Merge "allow override of DEVICE_URL_PREFIX"Jan-Simon Moeller1-1/+1
2017-06-28Merge "fix NBD rootfs default compression"Jan-Simon Moeller1-1/+1
2017-06-26allow override of DEVICE_URL_PREFIXKevin Hilman1-1/+1
To facilitate local testing with customized upload location, allow override of DEVICE_URL_PREFIX. Note that this patch does not change the default. Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-26fix NBD rootfs default compressionKevin Hilman1-1/+1
LAVA expects "compression: false" instead of "compression: none". Change-Id: I620c28a1cae3d40fbf20ab575666f7915ea26c0a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-16Add packer verify and merge jobs for AGLAnil Belur3-1/+189
Packer jobs are designed to rebuild new minon images regularly. These jobs are also triggered on changes submitted to the templates or provision scripts. New images generated by packer must be manually updated on Jenkins. Change-Id: Ie2e7dbcbc57148693ad1cf4179ceda2f7a3c9d1a Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-06-10Fix typo in urlJan-Simon Möller1-1/+1
Change-Id: I4978e1335bb038c2f2258d05e2b2563b076043e7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Add trigger for merge+abandon and adapt jobsJan-Simon Möller3-8/+22
Change-Id: I5b7fb39f8133e2c35e5db8d30a6e910f7ea82536 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Relay upload location back to gerritJan-Simon Möller1-1/+1
Change-Id: I07bc88db8f0b1c91a864967b021aee17a86dbdd4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Update application build to support multiarch builds and uploadJan-Simon Möller7-35/+138
Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Build and upload app to CI folderJan-Simon Möller2-121/+116
Change-Id: Ie7947c1a8472826a4f6ee1f4ce6ccaed56945f7c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Rename -merge to -remove-artifacts and trigger also when change is abandonedJan-Simon Möller2-3/+22
Change-Id: I0c4dde2c8ce02d2e0a89449ab3a12e7a84bff762 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Remove artifacts after successful mergeJan-Simon Möller2-87/+131
Change-Id: Ic039856f7003d2f3c7a22a14d4f6bbf8db44b83a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Fix git checkout and be less verboseJan-Simon Möller7-10/+23
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Enable ci builds for all appsJan-Simon Möller2-28/+29
Change-Id: I43ec8cc5c9f06af0bb57aa16e8c31bb02550b41f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-31Fix typo and upload mechanismJan-Simon Möller2-4/+6
Change-Id: I4e7494eec84102cc59fe917b01193ff0bdc8b893 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-30Release jobs for dab.Jan-Simon Möller4-0/+155
Change-Id: I4be4521171b15025488af09226dc8e82ec6cdf7a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-30SSTATE per branch + defaulttuneJan-Simon Möller3-3/+11
Change-Id: I5ef987616cdeb8a1d9d5c7fdc4d52ff1110bcdbd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-29Change sstate locationJan-Simon Möller1-2/+2
Change-Id: I23aba5a38886bf3988622d588d938887287b73fe Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-27Add credential tokensJan-Simon Möller1-0/+17
Change-Id: Ifafe949787658c5f3dd4cf51bfb918e1bf61d8e0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-26Change from old url to new lab urlJan-Simon Möller1-4/+4
Change-Id: I0afdf7ce41b0b8c4a7f0716dcf6508ad35ee6650 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-26Handle nogfx targets with different crosssdk image and add new lava-tool setupJan-Simon Möller3-38/+13
Change-Id: Ieb624d96b0901415ab2ac05d3c436fe8e135bf5e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Improve repo init for release buildsJan-Simon Möller1-1/+6
Change-Id: I67a2d48ae689a8a9fc8145dad83873aa0789c7fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Prepare rc1 build for dabJan-Simon Möller2-0/+9
Change-Id: I8c820256949b1fba9035a04f67ad5761ee73e73e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Merge "Extend app build train"Jan-Simon Moeller3-18/+71
2017-05-23ci-platform: use updated LAVA authKevin Hilman2-19/+5
LAVA authentiticaion setup is now done in a dedicated script (include-agl-lava-labs-prepare.sh), remove it from run-test-short.sh as it's no longer needed. While at it, rename porter.automotivelinux.org to its new name: lava.automotivelinux.org Change-Id: Ifd7b701c9d76abdeb02f3d242f0b32c26d448749 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-05-23Extend app build trainJan-Simon Möller3-18/+71
Change-Id: I893e2cc94ef8c69c1e44293ae824df24300c0889 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Update gitignore fileJan-Simon Möller1-0/+1
Change-Id: I2b61e1278b8f72286e517f0b19a7e8ce2cfbfd70 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Fix typo in credential sectionJan-Simon Möller1-1/+1
Change-Id: Ib691e9ce7ad78b23878d82483e04e5a9608a63cf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Merge "ci-platform-jjb: CIBT: add support for multiple LAVA labs"Jan-Simon Moeller2-0/+60
2017-05-23Merge "ci-platform-jjb: enable more user/token pairs"Jan-Simon Moeller1-0/+12
2017-05-23Add initial job template for application builds within jenkinsJan-Simon Möller4-0/+733
This adds the necessary plumbing to build applications for the 3-4 different target architectures for applications within jenkins as CI builds. Change-Id: I263c3ba25fa6dbea78d305ff453cca1106724316 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23ci-platform-jjb: enable more user/token pairsKevin Hilman1-0/+12
Setup more user/token pairs in order to ease expanding boot testing (CIBT) to multiple LAVA labs Change-Id: I78a9aae829d551f282ed3f2b23d2652070fc2918 Signed-off-by: Kevin Hilman <khilman@baylibre.com>