Age | Commit message (Collapse) | Author | Files | Lines |
|
This fixes a build error with newer app templates if no autobuild script is found.
Change-Id: Iad3ea26ddd8cd3f680f8788cd08b8d2a374e8dc5
Bug-AGL: SPEC-1534
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Make the storagebox sync not fail the process
Change-Id: I9ebc2120af8819f9e3fda0ef93d5a1583dec9629
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
No '-' allowed. Fix it.
Change-Id: Iaecd076cdc0e100e975c7fead28d37d8e8739f4e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I96df1500304f1325acbb8691cd350e4e501fbebf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I90a7a4ff5f72a7cdc0f24dda467c39f3701809ef
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ib38df07de3b3ce8b17311db1a91540d4348bfce5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I3c20e23ed4ddd00268d5ca5ee5ac0ab7d345e82b
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
This makes use of the provided feature shortcuts.
Change-Id: Ic5983c17e41e8c13a15c542ca9f01048d117a3f0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I42b0191f5388e4f26e03c8fcb2f977d209628e4c
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
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>
|
|
|
|
Change-Id: If9f7f32d0c73bf4f964a205a18dc1fc720b38e3b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
|
|
Change-Id: I5937215900d8310947e5a7a1e6e247abda0703b8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Issues with the jobs.
This reverts commit f28a1005057b096a95ba73bc3bf3e029b835deaa.
Change-Id: Icf75e5b462b0d4aff3c8d2c5806b8ca9270ad22b
|
|
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>
|
|
Change-Id: Id0a49e2ab2b3fc90968e93633f37015b9138910d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ic21a7d3b9a38bc0eb7a86cc730534ec08b718116
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
|
|
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>
|
|
When present, use releng to generate LAVA jobs for all boards.
Change-Id: I134f17d977a131fed2ec4973567f1dfd949a3cad
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Rename dra7-evm to use upstream LAVA device-type conventions.
Change-Id: Ice5912fc1668d644184949032124bb4fce0c7854
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I695244c8d6880499db2ac611603b538efc093d3f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|