aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
2017-08-21jjb/common: LAVA: disable lab-baylibre-seattleKevin Hilman1-1/+1
lab-baylibre-seattle is offline due to HW failures. Disable for now. Change-Id: I494ca7ef77a589708626bd81b4e078d19eb5d3e2 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-08-04jjb/common: LAVA submit: : support device-type alternate namesKevin Hilman1-3/+18
The LAVA device types used in AGL lab are different than the standard LAVA device-type names (which tend to follow naming conventions from the upstream linux kernel device-tree names.) This patch enables a way to have a table of alternate names, using the rpi3 as an example. Change-Id: Ic52d124047ef1c831c992c5671b1ad4b7d5f51ab Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-28Adapt release test.Jan-Simon Möller1-2/+2
Change-Id: I9dc7a1ea5df2266d77e48460d0179c5b6697d107 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-26Fix order in repo init callJan-Simon Möller1-3/+3
Change-Id: I97b9972189a33877aefcc14ba0c83dbd72e65425 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-26Downloading the image can take more than 10 minutesJan-Simon Möller2-3/+3
Change-Id: Ic199048e5c1c4c490c3aa078c88c183969035a62 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-26Fix typo in TARGETPROJECT evaluationJan-Simon Möller1-1/+1
Change-Id: I90ab0d336ae60bf0a28869571f781f3848731c7a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-26Special case meta-renesas-rcar-gen3 as branches are not alignedJan-Simon Möller1-1/+5
Change-Id: I6c4d7192c0b121beb50e777e49ecec9193361596 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-26Extend the timeouts to cope with the downloadsJan-Simon Möller1-2/+4
Change-Id: I24bc9edfe1d62f7f5ab39ca1fc34e5154b52e4cf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-25enforce ext4.xz and tar.xz in CIJan-Simon Möller1-0/+4
Change-Id: Ie30054d43d2f4a2882b75a795f1442cc532affbb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-25Leave DEVICE_URL_PREFIX enabledJan-Simon Möller1-1/+1
Change-Id: I1a5adadef039e92df7eee491ed6ee5b7d50344f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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 Hilman2-28/+99
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-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>