aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-10jjb/common: lava-jobs-submit: fixup wait for jobLoys Ollivier1-35/+16
REQUIRES: lava-tool version >= 0.19 The previous version using submit-job with "--block" would never timeout and remain blocked even if there was an issue during the LAVA job execution. This patch fixes the issue by using wait-job-events with a tiemout. Parsing has been updated to follow these commands as well. Change-Id: If090d278cb58c1c1b902793bf0ca40daceb2fd97 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-10jjb/common: lava-jobs-submit: fixup device-list failureKevin Hilman1-12/+0
The previous reordering of lava lab selection result in a failure the second time through the devices list. This patch fixes the failure enough to get things working again, but the ordering needs to be fixed so that there is only one pass through the devices-list. Change-Id: I1131b380cb5a8a8235cbf1f838574726d6ef11a6 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-09CIBT Update the callback arg for releng.Loys Ollivier1-1/+1
Update callback arg for releng following releng changes: https://gerrit.automotivelinux.org/gerrit/#/c/11751/ Change-Id: I2f63727e2357d84085c8c91f8bcbe8983489abc4 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-08CIBT improve lava lab searching and coding styleLoys Ollivier3-38/+35
Fix coding style, indentation. Improve the lab search, if a lab has the device do not search in others as it won't be used. Change-Id: I7471511ff7af3d2f6d8708943b42099a450ef770 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-07CIBT find the LAVA lab before calling relengLoys Ollivier3-22/+60
Add some logic to lava-labs-prepare: - Search for the machine in the list of labs - export the lab name if found Call releng with the corresponding lab name in run-test-short Send the job directly to the corresponding lab in lava-jobs-submit. Keep the 'checking for device' in this script as well, just to make sure the device is still available and can run the job. Otherwise the script could be blocked there if the device status changes. Change-Id: I50646b7fdb607cb9245a1d31e644eee45a2a2356 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-07Merge "Lava jobs update raspberrypi3 device_type name"Jan-Simon Moeller1-1/+2
2017-11-07Fix agl-run-test-shortLoys Ollivier1-1/+1
Remove machine typo from the releng script call and use the machine argument instead. Change-Id: I012204bf61f45f6c6d4ae56c579db84c9072278a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-07Lava jobs update raspberrypi3 device_type nameLoys Ollivier1-1/+2
For the raspberrypi3, update the device_type name to the LAVA names for the rpi3 32bit: - raspberrypi3-uboot - bcm2837-rpi-3-b-32b Change-Id: Icc654e47fd03b437165fb9c9aac5efdac490ef5c Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-07Typo fix in agl-run-test-shortLoys Ollivier1-2/+2
Fix a typo in the if to call releng-scripts. Change-Id: Idb2331b79d8a0947ae1d69f3bc73cd266c01b7ef Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-06Merge changes Ie341a1ed,Ibd6449c1Jan-Simon Moeller1-4/+6
* changes: Update releng calls to use new args Use releng for rapsberrypi3
2017-11-06Fix comment triggers to be strictJeremy Phelps2-6/+6
Comment triggers stuck in a loop since some jobs contain "remove-artifacts" in the job name. Made the matching strict. Change-Id: Icaeb4a9db2a128ea00e0b3e775fe7c9fa52ff2a7 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-11-06Update releng calls to use new argsLoys Ollivier1-3/+5
Update the releng arguments: - Use the new url scheme with CI, changeid and patchset - Use machine argument Change-Id: Ie341a1edf6f341796a7fe0647bf61f29172eedb4 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-06Use releng for rapsberrypi3Loys Ollivier1-1/+1
Add the rapsebrrypi3 to the list of boards using releng-scripts for LAVA job definition generation. Change-Id: Ibd6449c101aff829d2814d3b15a7c9feae6d4b52 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-19Fix task dependency bug in eel also in CI buildJan-Simon Möller2-0/+5
Change-Id: I6f61a2c15f0f9fcfe27ed66b688bf1a4e8921825 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-18Add hotfix to release build for YP bug 12070Jan-Simon Möller2-0/+5
This adds a hotfix for https://bugzilla.yoctoproject.org/show_bug.cgi?id=12070 until it is fixe upstream. Change-Id: I9fe57d853f44ad57af115825b2d66e859e20d53e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-18Add source and binary release jobs for EEJan-Simon Möller4-0/+155
Change-Id: I75103b1943f7a2778d4fb1a7e06383e9515566b4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-14Add include fragment for ptestJan-Simon Möller1-0/+6
Change-Id: I963b015bb05b1d83ac88f69ff7921a39e16b1742 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-14Disable isafw report and change triggerJan-Simon Möller1-3/+3
Change-Id: Ie9af0df97a76b4684201fe392153aa8cc680c4a0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-14Add agl-service-mediaplayerJan-Simon Möller1-0/+1
Change-Id: I9d66727c44c1db17f201f4025fec716923c0c69b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12Merge "jjb/common: run-test-short: use new releng opts"Jan-Simon Moeller1-1/+1
2017-10-12Fix a few typosJan-Simon Möller3-5/+5
Change-Id: Icf398847d42940fc79f9379a347808a5fe9fe3dc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12jjb/common: run-test-short: use new releng optsKevin Hilman1-1/+1
releng-scripts command-line args were updated to allow more flexibility in defining rootfs image. Use new options. Change-Id: Id75a4cfa521a872173cbe628f54ab6a86484d994 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-12Add release build job template for eelJan-Simon Möller2-0/+168
Change-Id: If6e448e00f01c4f9316fcd0545d1eb015f3d2221 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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öller2-4/+4
Change-Id: Ic3934c7a32314709f5bb376c57c180960ae0f0e9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10Enforce uImage on dabJan-Simon Möller2-4/+12
Change-Id: I4ce0b0606f0e2990255334f1c0247f7241dd82b7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10Add CI for apps/agl-service-gstreamerJan-Simon Möller1-0/+1
Change-Id: I3ad36050d01bac6688b83e05c696cbfee0d92c59 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-09Enforce the reinstallation of jinja2Jan-Simon Möller1-0/+5
to make sure we get the desired version ... Change-Id: I56a8be583340b851e62773bb4d8ba5ac9dde692d 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-09Merge "Increase timeout and skip test prepare"Jan-Simon Moeller2-5/+5
2017-10-09Increase timeout and skip test prepareJan-Simon Möller2-5/+5
Change-Id: I17457661b7b654463035078f2778ce86a021c99d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-04Merge "Do not abort the other CIBT jobs on failure"Jan-Simon Moeller1-6/+6
2017-10-04Do not abort the other CIBT jobs on failureJan-Simon Möller1-6/+6
Change-Id: Icbda1c48bd82df5178b3bb737f31ade3919608b8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-04Merge "jjb/common: run-test-short: fix line-continuation typo"Jan-Simon Moeller1-1/+1
2017-10-04packer: agl_dependencies: need latest python jinja2 libKevin Hilman1-0/+3
releng-scripts templating depends on the current stable (v2.9) version of jinja2. Change-Id: I0cde55c53567755edf3f2d1e8b009d0b0b7cc8ec Signed-off-by: Kevin Hilman <khilman@baylibre.com>
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-28Add application repositories for agl-service-soundmanager-2017 and ↵Jan-Simon Möller1-0/+2
agl-service-windowmanager-2017 Change-Id: I613805d157182907b5b0d21c1714727736a7f99e 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öller2-2/+2
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öller4-59/+324
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-27Merge "Adapt trigger for app build"Jan-Simon Moeller1-1/+1
2017-09-27Adapt trigger for app buildJan-Simon Möller1-1/+1
Change-Id: Ie32360bcdf4fcf0586494cdc4e70aa5e0e4c5f13 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-27Merge "Per branch app build"Jan-Simon Moeller1-43/+33