aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
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-28Merge "allow override of DEVICE_URL_PREFIX"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-09Update application build to support multiarch builds and uploadJan-Simon Möller4-27/+47
Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Build and upload app to CI folderJan-Simon Möller1-0/+32
Change-Id: Ie7947c1a8472826a4f6ee1f4ce6ccaed56945f7c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Remove artifacts after successful mergeJan-Simon Möller1-0/+12
Change-Id: Ic039856f7003d2f3c7a22a14d4f6bbf8db44b83a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Fix git checkout and be less verboseJan-Simon Möller5-10/+11
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Enable ci builds for all appsJan-Simon Möller1-0/+1
Change-Id: I43ec8cc5c9f06af0bb57aa16e8c31bb02550b41f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-30SSTATE per branch + defaulttuneJan-Simon Möller2-2/+10
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-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öller2-38/+12
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öller1-0/+8
Change-Id: I8c820256949b1fba9035a04f67ad5761ee73e73e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Merge "Extend app build train"Jan-Simon Moeller1-0/+67
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öller1-0/+67
Change-Id: I893e2cc94ef8c69c1e44293ae824df24300c0889 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 Moeller1-0/+59
2017-05-23Add initial job template for application builds within jenkinsJan-Simon Möller2-0/+177
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-22ci-platform-jjb: CIBT: add support for multiple LAVA labsKevin Hilman1-0/+59
Currently, support for boot testing using LAVA is hard-coded to a single LAVA lab (in include-agl-run-test-short.sh) Add an additional step/script for preparing the authentication environment for multiple LAVA labs. Once validated, the LAVA support can be removed from the "run-test-short" script. Change-Id: I5faa12b5234369d63ad392ec8dc47a5542856c5a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-05-22Merge "Change to crosssdk image from populate_sdk"Jan-Simon Moeller2-1/+3
2017-05-22Change to crosssdk image from populate_sdkJan-Simon Möller2-1/+3
Change-Id: Ie2684e4d27cde5f62d4ed4988f6f543b52f2946c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-19Change download-new to download for the download serverJan-Simon Möller4-4/+4
Change-Id: I4ef925c7bf1ea80a2bb8d7fffcdc5d3f050ef843 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-27Temporarily remove sota from CIJan-Simon Möller1-1/+1
Added back later through agl-ci-change-feature. Change-Id: Ie49f5bb295587f24e37b997cacb5b0bcbcfe1e16 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Remove --replace-all as it only works for existing entriesJan-Simon Möller1-2/+2
Change-Id: I8e77728ab89545d284f56d8f556fa67724110fa3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Do not remove the existing filesJan-Simon Möller1-1/+1
Change-Id: Ie69e9e1b9161c37838d3d75527ae650562d2f744 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Use --replace-allJan-Simon Möller1-1/+2
Change-Id: Icdc71fa6ecd51b513de234b189ad2e7e932ff935 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Only add if file does not exist alreadyJan-Simon Möller1-5/+4
Change-Id: I6c55d1ab9c148fa71f2fa4f8973684032c77f4d8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Use different syntax for gitJan-Simon Möller1-1/+4
Change-Id: Iff15f34aa02134db34cb2007b3e161bc82cadfcf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24One git command and replace all existingJan-Simon Möller1-8/+10
Change-Id: I83fd7c86e9427796cfc30c0ab05a7088a1e1f5c3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Debugging around the git config lockJan-Simon Möller1-0/+2
Change-Id: Ieb08dfaa7414aa5e5b729e3aebb9a27b8386f01d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-24Also make sure the lock file is goneJan-Simon Möller1-1/+2
Change-Id: Iaee7cdf46ebd3eb0c6dd52e0923c2f416280ba63 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-20remove already existing .gitconfigJan-Simon Möller1-0/+2
Try to fix: + git config --global user.email jenkins-dontreply@build.automotivelinux.org error: could not lock config file /home/jenkins/.gitconfig: File exists Build step 'Execute shell' marked build as failure Change-Id: Ifc31056d872564e1a700a9ab9e572a6d07549ced Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-18Restrict verbose output to failureJan-Simon Möller1-1/+1
Change-Id: I275f95dc8f1213ccede893951e1f515f116e8a8d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-30Merge "Enable debug output"Jan-Simon Moeller1-1/+1
2017-03-30Enable debug outputJan-Simon Möller1-1/+1
Change-Id: I91cb51c0148eb6ff07ce5af788b6171295746478 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-30Remove local file sstate-mirror.Jan-Simon Möller1-1/+3
Change-Id: Ic68505864ae55c3f844d0083495392a0b2b57714 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-28Make sure we don't bail out on removing the tokenJan-Simon Möller1-1/+1
Change-Id: Idf4fa26834f61ce94ddf2a1d86d206c497d44e15 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-17Debug issue on git configJan-Simon Möller1-1/+6
Change-Id: Ie118beac98486f12ba5ff7601bd32ff3f0fe07d2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-09Add enforced git config user.email and user.nameJan-Simon Möller1-0/+2
Change-Id: I0190d205abd7e1e9c169c451c90f413aa10aadbe Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-09Add hardware test for release buildJan-Simon Möller5-6/+172
Change-Id: I8d57767974ebc00c4fa5014a8e82f7eae099650e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>