Age | Commit message (Collapse) | Author | Files | Lines |
|
Update the test documentation to specify how to create a job description
including test definitions. And also how to create new test definitions.
Change-Id: I0b496c0ee4a3ca7704d63869a03f0387f641346b
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Add the yocto-ptest definition to the pool of scripts.
Depends on https://gerrit.automotivelinux.org/gerrit/#/c/11407/
Bug-AGL: SPEC-911
Change-Id: I7fe474ae7d3a06851ed4052151f68a566963edc9
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Update the default package names for the qemu to match the AGL CI build
artifacts. These defaults can still be overwritten using the command line.
Change-Id: Id87abe03b4f4adcf0b67eb20151158bd0103343d
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Update the default package names and architecture for the RPI3
to match the AGL CI build artifacts. These defaults can still be
overwritten using the command line.
Change-Id: I248037a385f3583f375912e9725a1cd2a883806f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Depending on the boot type (ramdisk or nbd), specify a boot method.
This change helps defining the correct boot type automatically from
the boot protocol (ramdisk or nbd).
Tested with m3ulcb (nbd) and raspberrypi3 (ramdisk).
Change-Id: I84845c2fa94b32cd53c91a5330b25505e7b60930
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
This reverts commit 364641197bfe95512555abc36b7b62ac48166aaf.
Unfortunately, NBD jobs do not work with the new kernel type, so we can't remove the old boot type (at least until NBD is fixed.)
Change-Id: If9a64135ef75771a90655fdc4c6429d9b494fcf0
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add lavabox lab callback to releng. Now the tool can submit
results to the lavabox (only available locally).
Change-Id: I806c26a3d260a8d777c8fce5da90ec6f3bf64ecd
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
Boot type is deprecated in lava v2.
Replaced by kernel_type and define it from the kernel image name.
Change-Id: I6bcb326b5fb8b0230a9d519485741209bfab8ef2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Added new command line arguments to specifiy build artifacts names:
- "--rootfs-img": for the rootfs file name
- "--kernel-img": for the kernel name
- "--dtb-img": for the dtb file name
- "--modules-img": for the modules file name
Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
When testing with basic ramdisk support, we need to be able to detect
a simple root prompt.
Change-Id: I73302e2b7bed1d6e499fbdf3918ad3ed8dfdd03a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
device_arch and device_mach are needed for metadata fields
used when submitting results to a kernelCI backend.
Ensure they have proper defaults.
Change-Id: I961c74cb4854c798125c37a2e4bf772e28e80a62
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
device_arch and device_mach are needed for metadata fields
used when submitting results to a kernelCI backend.
Ensure they have proper defaults.
Change-Id: I8789ab4590c7f133afbfe10c481deb2621e5e978
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add a test documentation to point to the skeleton test.
Explain how to add new tests and generate new build jobs
including them.
Change-Id: Iec11c053850136a373b1da97fa0ce8445fe114f7
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Merge the two health tests into one unique.
Change-Id: I59f55d282338eee507d490e5d70d96c9b5023d37
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
Fix wrong lab name: should be lab-baylibre-legacy instead of
lab-baylibre-dev (and rename file accordingly.)
Change-Id: I48d788b32b4527aaa8b665a368aaa8ecec70690f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add an option to specify the build version from the command line.
The kernel_version in the job metadata is updated accordingly
if this option is used. Otherwise the default kernel_version is used.
Change-Id: Ifc73405d23cb48f48be3d558588bbd20b5063552
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Change-Id: I7ca635bbdbfca4630f3e9e5a3f9d0c9cdd4eac0e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Idc991f4208b75f37a957a3301537f1c4dacf7c11
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
This reverts commit 2bc4acf27f841ee4e9554320ad03fa5d53f4b34b.
Fails with:
argparse.ArgumentError: argument --version/-v: conflicting option string(s): --version
Change-Id: I93fa8b29f53f10e75c73833072d0d79700d31f22
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add an option to specify the build version from the command line.
The kernel_version in the metadata is updated accordingly in the job
description if this option is used. Otherwise the default
kernel_version is used.
Change-Id: I2c8903548a232c9f42453f4f33058c1937fcb001
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
|
|
Add metadata to the m3ulcb machine description.
Change-Id: I0ef49e55414a18480e6ef21713d860fa3a1a5e23
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Sort the machine fields, metadata fields.
Easier to go through them and search for fields.
Change-Id: I657717fda116d78c5733bd1be4000645a3694713
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
These metadatas will be used in the frontend to display job's info
related to AGL.
Change-Id: I3eff231c42fa72a3920ed3583ecb79652ef5b201
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Add a new test definition. This test checks wether a list of services
is running on the platform and reports the result for each service.
Change-Id: I433da8387edd7c066296e1b4966ba867da58d239
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Change-Id: I89077a0e84fce087a1e72e3232fac3161b6c9da1
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
|
|
Provide 2 new command line options: --img-name and --img-ext
These two options require one another since the name image will be
composed from both of them in the following way:
rfs_image = img_name + "-" + yocto-machine + "." + img_ext
Change-Id: I2b6d174b4c141cea28ce63c3c7c7beae1a82ed4c
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
|
|
NFS is untested and not used at the moment.
Remove it for now to avoid unnecessary issues
Change-Id: Ide7f0663f3c31cde14dcda3c6e6694e22165bf49
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
|
|
First documentation on how to use releng-scripts.
Change-Id: I11aab3a725bb9a6c440cb579c9ec98cd8a7695c7
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Without transfer_overlay, LAVA will use libguestfs to insert the overlay
into the rootfs. This will cause problems with rootfs that have security
enabled, so use transfer_overlay to load the overlay after the rootfs
has been booted.
Tested with QEMU devices in lab-baylibre.
Change-Id: Ib27e5e862c64e8b302fa486f113fed4fdc6f5e83
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|
|
Do not require jobid argument as it's too specific to one gerrit-based
jobs URLs.
Change-Id: I93342db3fabd7dc692e345f1fc1a8e5343b06537
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The callback option takes one argument. It is the name of the file
located in ./templates/callback/ that contains all the "secret"
information such as the callback FQDN, lab name and token.
A readme is provided: ./templates/callback/callback_readme.txt
Change-Id: Id457d90eba0d1312e43246ca607289ad829fd55f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add a default rootfs type for each device. the type can still be
overridden from the command line. The 'boot' parameter is no longer
required with this change
Change-Id: I666287d83652bcd81d9619eee75bf9be292d936a
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I5d545d3531f4c4190453724738076bd4eddfc4d6
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
|