aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22jjb/common: update rpi3 device-type to upstreamKevin Hilman1-1/+1
Change-Id: I3c20e23ed4ddd00268d5ca5ee5ac0ab7d345e82b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-03-08Add dependency for g++-multilibJan-Simon Möller1-1/+1
Change-Id: I243214abf1505496bbc04797678a275be771b0dc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-06Change flavor of build images to v1-standard-16Jeremy Phelps3-3/+3
This will enable us to configure a performance node that will still have a 300g disk size. Change-Id: Ied77e1a6c238b3600e4a96a5d43497a1ba0fa8c1 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-03-06Adapt target image selection in jenkins jobJan-Simon Möller1-3/+3
This makes use of the provided feature shortcuts. Change-Id: Ic5983c17e41e8c13a15c542ca9f01048d117a3f0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-12jjb/common: fix releng name for porterKevin Hilman1-1/+1
Change-Id: I42b0191f5388e4f26e03c8fcb2f977d209628e4c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-07Add agl-service-weather to CIJan-Simon Möller1-0/+1
Change-Id: Icca26c1f11849b85436354d09007048f050ff949 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-05jjb/common: lava-jobs-submit: fix device_type replacementKevin Hilman1-1/+1
Fix "raspberrypi3-uboot" -> "raspberrypi3-uboot-uboot" type of substitutions. Ensure that the full string (up to EOL) is matched before trying to replace. Change-Id: I2026beb964b12aff1f60441257ceec82b706bab7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-18jjb/common: run-test-short: Update releng-scripts usageLoys Ollivier2-2/+2
Update the calls to releng-scripts to use the latest options. This allows to differentiate the build types, find the correct URL and run the corresponding test plans. Change-Id: I75762ec8d0a7c204b6ec898f936f59a7a9b5e488 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-08Create a link to the last generated docker fileRonan Le Martret1-1/+2
Change-Id: I2a9babf0db60be4f9e6ee65d05c655b18d8603bb Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-01-06Merge "Streamline image output and add new board"Jan-Simon Moeller3-10/+11
2018-01-06Streamline image output and add new boardJan-Simon Möller3-10/+11
Change-Id: If9f7f32d0c73bf4f964a205a18dc1fc720b38e3b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-03jjb/common: lava-labs-prepare.sh fix polling on reserved boardsLoys Ollivier1-14/+16
The script would still wait for 60 seconds and retry on boards that are not in the reserved state. Fix this and poll for a change of status only if the board is reserved. Fixes: 1ae347940236 ("jjb/common: lava-labs-prepare.sh") Change-Id: I4ce71979f7cb2856768de748c1afb6a1cfb47ca2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-02Merge "Apply new folder structure for application repository"Jan-Simon Moeller2-9/+13
2018-01-02Apply new folder structure for application repositoryJan-Simon Möller2-9/+13
Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-02Merge "Add new repositories to application CI"Jan-Simon Moeller1-0/+9
2018-01-02Add new repositories to application CIJan-Simon Möller1-0/+9
Change-Id: I78d5ef464da02e87e3f6d78e4cb7e40fcf63a9b2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-12-27jjb/common: lava-labs-prepare.shLoys Ollivier1-6/+33
When device status was reserved, the script would exit and the job fail. If device status is reserved poll the device status a limited amount of time. If the status within the defined polling time changes continue otherwise exit. Polling as been set to 10 retries on the minute. JIRA: SPEC-1210 Change-Id: I7ee950777f0881a4a588c9c0dc8db12a7f6dda4a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-18jjb/common: lava-labs-prepare.sh: disable error exitLoys Ollivier1-0/+7
Disable exit on error detection in lava-labs-prepare.sh, this script is looking for error codes when needed and exits gracefully. Change-Id: I0044466ef3f7ad7b606b1452d51676a4472e87d0 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-15Merge "jjb/common: if any, display lava error msg in jenkins log"Jan-Simon Moeller1-0/+1
2017-12-15jjb/common: if any, display lava error msg in jenkins logLoys Ollivier1-0/+1
Do a second grep on the lava log to include lava error message if there was any. This is usefull in case a job fails. The error can be read directly out of the jenkins log. JIRA: SPEC-1178 Change-Id: Id3333df9c56dd67f5d664ae0d234e33e3300c366 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-15jjb/common: Fix race condition when using grep and trLoys Ollivier2-2/+5
when using grep + tr to find board availability, status, a race condition happens sometimes. When it happens the job is stuck and timeout fails. Fix it by calling sequentially grep then tr and not piping. Change-Id: Ib1322e280900b62abdd827992b42183024cd094c Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-13jjb/common: Fix query of lava log in jenkins logLoys Ollivier2-2/+3
Fix the query of the log in jenkins log. Use the lava website url and not the lava API url. JIRA: SPEC-1178 Change-Id: I9ddc48b13e91a91aa2e53c768aa02f2ae12e5a99 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-12jjb/common: run-test-prepare: fix unmapped boardsKevin Hilman1-0/+5
If a $MACHINE doesn't have a proper mapping for LAVA or releng-scripts, fail gracefully (exit 0) Change-Id: I8d25e2dd861cb29cefd74c07138f5f78e590569f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-12-11jjb/common: clean up device names to standardized ones.Loys Ollivier4-27/+20
Use the device_name table aliases earlier in the CI process. That way all the scripts are using the correct device name. Avoiding name mismatch resulting to CI failure. Change-Id: Ia6f9f8beb06c43a24605abb24e676eaed68cc67e Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-08jjb/common: run-test-short-*: meaningful LAVA job namesLoys Ollivier2-2/+2
The previous job name was always "AGL-gerrit" which is not very useful. Change it to "AGL-gerrit-" + change_number + patchset_number Change-Id: I161de8a3547f864d4a50e5d984561899e0401532 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-08jjb/common: remove hwtest.enable files v2Loys Ollivier3-291/+60
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. If the calls to job-prereq returns an error, make the script fail gracefully. 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: I1e0e6d39b986770adcdfcf92c5d589a7fbe99a33 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-07Merge "Revert "jjb/common: remove hwtest.enable files""Jan-Simon Moeller3-55/+292
2017-12-07Revert "jjb/common: run-test-short-*: meaningful LAVA job names"Jan-Simon Moeller2-2/+2
Revert due to issues with jobs. This reverts commit 7ec5cece04ee2af16f224214e7c8e23212c08c54. Change-Id: I3e660f27485731b13bdf1959a9f441d81a3efaf9
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: run-test-short-*: meaningful LAVA job namesLoys Ollivier2-2/+2
The previous job name was always "AGL-gerrit" which is not very useful. Change it to "AGL-gerrit-" + change_number + patchset_number Change-Id: I2c929a2c0d0541e593be4e459766a836a1b57e4b Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
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>