aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
AgeCommit message (Collapse)AuthorFilesLines
2017-10-12Add tests from qa-testdefinitions to dab-snapshot buildJan-Simon Möller1-2/+18
Change-Id: I63d012a25ecce656d1acc9090c8de278eccd2287 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-11Allow build of SDK for aarch64 and rsync after testJan-Simon Möller1-0/+1
Change-Id: Ic3934c7a32314709f5bb376c57c180960ae0f0e9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10Enforce uImage on dabJan-Simon Möller1-0/+5
Change-Id: I4ce0b0606f0e2990255334f1c0247f7241dd82b7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-09jjb/common: run-test-short: fix pip showKevin Hilman1-2/+2
Change-Id: I53d14d65f3e88c956722cc4ba12603e2ef3f8038 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-09jjb/common: run-test-short: show jinja2 versionKevin Hilman1-0/+3
Change-Id: Idd324bc07bc21135eabb632dfaf2070f9ca73f55 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-05jjb/common: run-test-short: fix board-specific check for releng-scriptsKevin Hilman1-2/+2
The (broken) conditional used to check which boards to use with releng-scripts was always returning true. Fix it to use [[ ]] instead of (( )) Change-Id: I244d95c95a40e14e7a3ea682030733096b2af746 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-04jjb/common: run-test-short: add tests, unique version and callbacksKevin Hilman1-1/+6
Use the gerrit changeset/patch numbers in combination with a SHA1 of the repo manifest to create a unique build_version for the metadata. Enable jobs to send results to lab-baylibre-legacy backend. Send all tests (there are so few, might as well run them all.) Change-Id: I7009621e0ab0eefbf345e5f801623b029cd7c332 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-04Merge "jjb/common: aglsetup: save pre-build env"Jan-Simon Moeller1-0/+16
2017-10-03jjb/common: run-test-short: fix line-continuation typoKevin Hilman1-1/+1
Change-Id: Ib8b128e82a520c50c978b7d308bb64fa70e08c96 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-02jjb/common: aglsetup: save pre-build envKevin Hilman1-0/+16
Save some pre-build environment which can be saved/uploaded and used to reproduce builds and share with downstream CI infrastructure. Change-Id: Iec896bb6a1936158986907b06cb6367ed775ddf4 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-28Fix issue with difference in buildid by using changeset number onlyJan-Simon Möller1-3/+3
Change-Id: I852c93da0514dbdc224612b7d150a17b572e6021 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-28Remove safety switchJan-Simon Möller1-4/+3
Change-Id: Ia6320c3f78308acab6e9a33987c5a2bb90db41ea Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-28Fix job name and typo in scriptJan-Simon Möller1-1/+1
Fix job name in ci-app yaml file and typo variable name in common script. Change-Id: I903b5135852b710efb187cb2194fe60c59e825b0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-28After merge, rebuild appJan-Simon Möller3-9/+64
and upload it to the app repository folder on the download server for consumption. Change-Id: I3df70f0ce11f0d448999e9b54e637a53070e0439 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-27Exempt aarch64 on dab currently.Jan-Simon Möller1-0/+4
Change-Id: Iddf1b14e632d43e43567058ecbbdaa3bd59d4374 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-21LAVA jobs: create jobs using relengKevin Hilman2-2/+22
Switch to using releng-scripts "create-jobs" util for creating LAVA jobs from new templating system. For beta-testing, only use for QEMU and m3ulcb for now (Yes, the if/else/endif without nesting is ugly, but makes the patch easier to read without all the whitespace change for indents. Whitespace can be updated in a follow-up if this change is accepted.) Change-Id: I46c4f97927515c1772fdef9842f041ef2be60000 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
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>