Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
When present, use releng to generate LAVA jobs for all boards.
Change-Id: I134f17d977a131fed2ec4973567f1dfd949a3cad
Signed-off-by: Kevin Hilman <khilman@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>
|
|
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>
|
|
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>
|
|
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: 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>
|
|
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: Ic199048e5c1c4c490c3aa078c88c183969035a62
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I24bc9edfe1d62f7f5ab39ca1fc34e5154b52e4cf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Currently, LAVA jobs are only submitted to a single lab. This patch
adds the ability look for a matching device-type in a list of
available labs, and submit the job to the first lab with an available
device type.
To accomplish this, the job submission part is removed from
run-test-short.sh, which now only generates the LAVA YAML job. A new
lava-jobs-submit.sh script is added which looks for an available
device-type in a list of LAVA labs, and submits the job there.
NOTES:
- run-test-short.sh should probably be renamed, but was left
for now to limit the diff
Change-Id: I95086d89a95f39e2b59fec8a8afada70806c52e5
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I7b1b3a1c3dac55f6df6debcbe0b84c0e23edc5f4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
QEMU jobs in some labs can be slow, especially when LAVA servers are
busy and the rootfs has lots to do before reaching a login prompt.
Increase the timeout to reach a login prompt to 5 minutes (from 2
minutes) to allow plenty of time.
Change-Id: I71738a521d7fed8ae8bd9288a9f503dd00f94c92
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
Individual machines are allowed to have their own LAVA templates, but
they are not used, and completely overwritten by a default template.
Since they are unused, remove them for clarity.
Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
LAVA jobs for QEMU have some slight differences compared to u-boot
jobs. Add templating to support QEMU jobs for any arch.
Change-Id: I6ef8e92cc169d8365f0ba1cb568b961d49e2a74f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Idf5356fd5f86de4a0d6b4afc82ef3d4d6706f437
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Id409ecaabe9320ac20424dae0559515a7bbe8ef7
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
LAVA authentiticaion setup is now done in a dedicated script
(include-agl-lava-labs-prepare.sh), remove it from run-test-short.sh
as it's no longer needed.
While at it, rename porter.automotivelinux.org to its new name:
lava.automotivelinux.org
Change-Id: Ifd7b701c9d76abdeb02f3d242f0b32c26d448749
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Idf4fa26834f61ce94ddf2a1d86d206c497d44e15
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I3f5c2a26e1ee8888a9ee840214558f33fe6c4c80
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I4cbfe33ec05b4de1558834a902fe7b55bea4c31e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|