Age | Commit message (Collapse) | Author | Files | Lines |
|
When present, use releng to generate LAVA jobs for all boards.
Change-Id: I134f17d977a131fed2ec4973567f1dfd949a3cad
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>
|
|
Fix a typo in the if to call releng-scripts.
Change-Id: Idb2331b79d8a0947ae1d69f3bc73cd266c01b7ef
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
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>
|
|
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>
|
|
Change-Id: I963b015bb05b1d83ac88f69ff7921a39e16b1742
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
Change-Id: I63d012a25ecce656d1acc9090c8de278eccd2287
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ic3934c7a32314709f5bb376c57c180960ae0f0e9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I4ce0b0606f0e2990255334f1c0247f7241dd82b7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I53d14d65f3e88c956722cc4ba12603e2ef3f8038
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Idd324bc07bc21135eabb632dfaf2070f9ca73f55
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
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>
|
|
|
|
Change-Id: Ib8b128e82a520c50c978b7d308bb64fa70e08c96
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
Change-Id: I852c93da0514dbdc224612b7d150a17b572e6021
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ia6320c3f78308acab6e9a33987c5a2bb90db41ea
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
Change-Id: Iddf1b14e632d43e43567058ecbbdaa3bd59d4374
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
Change-Id: Iebb770258d31cd87ec55427c96a408fb9e61c75e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
Change-Id: Ic8c1605ed18a214415f706297e08eb0536c33d9c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
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>
|
|
Change-Id: I0f6609aeddc4b9b2d335921d980db6f4978b2cb6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
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>
|
|
Change-Id: I625c64859ff613f8bc5ea2574503273535e89bd0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
lab-baylibre-seattle is offline due to HW failures. Disable for now.
Change-Id: I494ca7ef77a589708626bd81b4e078d19eb5d3e2
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I64a7ed6370dcaee19495caf2be5af1143b6514b3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I7434475bc75cd27c75b63e0a8e28e3525e12c684
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Id2e8d67aa3890f93b89b340f268597f1c4ec6db6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|