aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
2017-09-19append needs extra spaceJan-Simon Möller1-1/+1
Change-Id: Iebb770258d31cd87ec55427c96a408fb9e61c75e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-18Merge "Fix typo"Jan-Simon Moeller1-1/+2
2017-09-19Fix typoJan-Simon Möller1-1/+2
Change-Id: Ic8c1605ed18a214415f706297e08eb0536c33d9c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-18Merge "Enable CI specific DISTRO_FEATURES"Jan-Simon Moeller1-0/+2
2017-09-18Enable CI specific DISTRO_FEATURESJan-Simon Möller1-0/+2
this is the tuning for the output filesystems that we need in CI (ext4.xz). Later this is used for other flags. Benefit of a DISTRO_FEATURES is that it is easily reproducible outside of CI. Change-Id: I24b7e3240539c5d463a4656b8e50725b90dbac13 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-18Update application CI job and extend local test scriptJan-Simon Möller2-27/+36
Change-Id: I0f6609aeddc4b9b2d335921d980db6f4978b2cb6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-08-31Merge "jjb/common: run-test-prepare: clone releng-scripts"Jan-Simon Moeller1-0/+6
2017-08-31jjb/common: run-test-prepare: clone releng-scriptsKevin Hilman1-0/+6
Preparation for new templating system. Templates and utils for generating new LAVA YAML templates based on jinja2 will be developed in the releng-scripts repo. Clone the "release" branch of that repo into $REPODIR, and add the utils dir to $PATH. Change-Id: If8a517ecb80cd849e022c82eba2794714c9ca787 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-08-27Update also git submodules after re-setting to commit versionJan-Simon Möller1-0/+6
Change-Id: I625c64859ff613f8bc5ea2574503273535e89bd0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-08-22Merge "jjb/common: LAVA: disable lab-baylibre-seattle"Jan-Simon Moeller1-1/+1
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-13Pull down the submodules within the appJan-Simon Möller1-1/+1
Change-Id: I64a7ed6370dcaee19495caf2be5af1143b6514b3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-08-10Update ci loop for apps to include master and dab releaseJan-Simon Möller3-7/+29
Change-Id: I7434475bc75cd27c75b63e0a8e28e3525e12c684 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-08-10Add CMake detection to app buildJan-Simon Möller1-0/+6
Change-Id: Id2e8d67aa3890f93b89b340f268597f1c4ec6db6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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>