aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-07Revert "jjb/common: remove hwtest.enable files"Jan-Simon Moeller3-55/+292
Issues with the jobs. This reverts commit f28a1005057b096a95ba73bc3bf3e029b835deaa. Change-Id: Icf75e5b462b0d4aff3c8d2c5806b8ca9270ad22b
2017-12-07jjb/common: remove hwtest.enable filesLoys Ollivier3-292/+55
releng-scripts now supports LAVA job generation for all boards. Remove the check in run-test-prepare.sh on whether or not to create LAVA test jobs. Replace this test by several exports using releng-scripts job-prereq tool. These exports will be used to rsync the files to the CI upload server. Transition all platforms in run-test-short.sh to use releng-scripts. Transition all platforms in run-test-short-release.sh to use releng scripts. JIRA: SPEC-1144 Change-Id: I558563704bbe9bf0bf554219f4f7ca8e086649bb Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-01Add eel branch for application CIJan-Simon Möller3-5/+7
Change-Id: Id0a49e2ab2b3fc90968e93633f37015b9138910d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-30Fail gracefully if SDK is not foundJan-Simon Möller1-2/+3
Change-Id: Ic21a7d3b9a38bc0eb7a86cc730534ec08b718116 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-30Merge "jjb/common: run-test-short: always use releng"Jan-Simon Moeller1-4/+1
2017-11-30Merge "jjb/common/lava-labs-prepare: LAVA fail gracefully if device not found"Jan-Simon Moeller1-1/+2
2017-11-30jjb/common/lava-labs-prepare: LAVA fail gracefully if device not foundlollivier1-1/+2
When LAVA labs are offline, or otherwise unavailable, "lava-tool devices-list" fails causing the whole job to fail. Detect this error earlier when trying to add the authentication and skip the lab if offline. If the device was not found in any lab, exit with success. JIRA: SPEC-1142 Change-Id: Ia2cdeea3da8ade7feb5962e0898f40e59ca9cfdb Signed-off-by: lollivier <lollivier@baylibre.com>
2017-11-29jjb/common: run-test-short: always use relengKevin Hilman1-4/+1
When present, use releng to generate LAVA jobs for all boards. Change-Id: I134f17d977a131fed2ec4973567f1dfd949a3cad Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-29jjb/common: lava-labs-prepare: rename dra7Kevin Hilman1-1/+1
Rename dra7-evm to use upstream LAVA device-type conventions. Change-Id: Ice5912fc1668d644184949032124bb4fce0c7854 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-23Add new applications to CIJan-Simon Möller1-0/+5
This adds these app repos to CI: - agl-service-audio-4a - agl-service-audio-mpcd - agl-service-unicens - navigation - onscreenapp Change-Id: Ia7f56d277999bfceb6d877b72a73cd630a28c937 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-21Add the cyclone5 board to CIJan-Simon Möller1-1/+1
This adds the cyclone5 board and replaces the porter-nogfx. Change-Id: I202262bc8b208c84dcaa5671c6e20c0a45bec65d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-16jjb/common: lava-labs-prepare: extend aliasesLoys Ollivier1-0/+2
Extend the aliases table for all existing devices, even the one not using releng. That way we can search for the correct device type in the lava labs. Change-Id: Iaaa5b66923d4ed1e302d874457af573e12384acf Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-15jjb/common: lava-labs-prepare: catching errorsKevin Hilman1-0/+7
When no device of the requested device-type is available, abort early with a useful error message, otherwise job continues and fails in confusing ways. Change-Id: I8fdb4160a1ca88d8ba5eb768d70975e9466f696a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-15jjb/common: lava-jobs-submitLoys Ollivier1-6/+1
lava-tool submit-jobs go back to --block as wait-for-jobs isn't working as expected. Revert the change until wait-for-jobs works. But keep this version of the tool to have a link to the lava-job posted in the log when using submit-job. Change-Id: Ie7d045d198b00b19d198404fc67b2bcfe992e9a6 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-15jjb/common: lava-jobs: create device name aliasesLoys Ollivier3-60/+57
The previous version would fail to find some boards if the device names were different between lava, AGL, releng. This version creates a device alias table. And uses this table with the correct name for each component (AGL, lava, releng). Change-Id: Ief064c5ff9edb2d824e80549148ee0ab40ebcddf Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-15jjb/common: lava-jobs-submit: remove timeoutLoys Ollivier1-2/+2
Remove the timeout from lava submit jobs. The previous version would timeout after 5 minutes but this is not enough if the job is qeued. Let Jenkins handle the timeout and remove that one. Change-Id: I501a539020174b2c9e030716717f1d3d0b06e539 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-11Fix lab URL using RPC2/Jan-Simon Möller1-0/+1
Change-Id: I695244c8d6880499db2ac611603b538efc093d3f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-11Merge "jjb/common: lava-jobs-submit: fixup wait for job"Jan-Simon Moeller1-35/+16
2017-11-11Add python-simplejson as dependency of lava-tool 0.19Jan-Simon Möller1-1/+1
Change-Id: Icfdfc454106b14c94f05da61d5e349d22ae1fbaa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-10Disable src and sstate mirror on imageJan-Simon Möller1-8/+8
Change-Id: Ic5cbae9c7eda50110b23acc4a354528bfc02975a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-10packer/provision: agl_dependencies force lava-tool version 0.19Loys Ollivier1-1/+5
lava-tool version 0.14 from ubuntu xenial is almost deprecated. Use the jessie-backeports version 0.19. Change-Id: I4ddb6eb81757ffdb978c8d2edafc4931cf5a42a4 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
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>