Age | Commit message (Collapse) | Author | Files | Lines |
|
For H3 and RPI4, we need to start weather/geoclue services until a
proper solution to SPEC-3655 is found.
Change-Id: I6cfd3ef5cad789e93e039a57d571a44c3e30594f
Bug-AGL: SPEC-3655
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Add veth test which adds an extra virtual network card for testing.
Change-Id: Iad5499ad653b4511fd7bd21f57d1b42ef4decb22
Bug-AGL: SPEC-3631
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Recent kernelCI expects to have more metadata in LAVA job definition.
This patchs add them.
Change-Id: I936947ee2ea799c28220f25a587392b7d94d488e
Bug-AGL: SPEC-3414
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
On 2020.02, qemu jobs fail to mount the rootfs.
This is due to LAVA ignore now compression for ramdisk and the AGL image
is in xz.
But AGL qemu jobs in fact does not use a ramdisk but a virtio disk.
Renaming the ramdisk definition entry to rootvd handle this issue.
Furthermore, let's introduce a new rootfs type rootvd.
Change-Id: I71ef6dee0d859c6aa0b29f1d47ac14dd4db900d8
Bug-AGL: SPEC-3210
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The current job workload can take more than 15 minutes to boot on e.g. qemuarm
during firstboot.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If913db0a5984b1d4403cfb759797809a860bac6f
|
|
This reverts commit b0eeec805136c097873dac29a1dfdbc5de545e98.
Reason for revert: This patch should be reverted because the changes related to this patch not accepted yet in KernleCI backend, so there will be no job accepted in the backend with this new metadata field.
Change-Id: If6045e437275d7d10ae354f39aeb2e2caaec9f47
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
It's a field that is going to be used later in the email report
to provied the link of each faild test case of a test job.
This metadata will provid the link of the lava web interface.
AGL-bug: SPEC-3020
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: If4d90e0c992dc3c07972cdb053f2ef25e934450f
|
|
build-tags: is not a valid LAVA keyword/section so is causing LAVA
jobs to be refused. Only "tags:" is a valid keyword/section.
However, build-tags are not needed for selecting a correct LAVA
device. This is what 'device-tags' are for. The build-tags are only
propogated to the test-scripts.
So, to fix, just remove the entire build-tags section.
Bug-AGL: SPEC-2751
Change-Id: Ic24bf9c0caf1f4bc2dacd8065eb0edbace7937b1
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add new argument --build-tags to be used in the job template and to
be passed to the tests to be run along with using --device-tags.
Bug-AGL: SPEC-2721
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
|
|
This mitigates slower downloads.
Change-Id: I4e18f133097e8a3c32889fcc30a076ad24b882f9
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
|
|
Whenever --device-tags are passed, a "tags:" section is added to the
job with all of the tags passed on the command-line.
To facilitate this, the device_tags list is passed directly from
python to the jinja templates, and iteration is done in jinja
instead of a string created in python.
Also, while here, ensure that tags are always passed lower-cased.
IMPORTANT: this implies that any tags in LAVA labs that are upper-case
will *never* be used.
Change-Id: I8f274098a69e34c32c5ed2d1c430eca0d364bcc5
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The kernelci-backend is now more strict about enforcing valid and
required keys in the metadata. The field `vcs.url` was already a
duplicate of `git.url` but now `vcs.url` is no longer considered
valid, and using it causes callbacks to be refused by the backend.
Fix it by using git.url instead.
Change-Id: I768229f3fabc8d127f68f4c33bd6ae22c1f654c4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds a new metadata field git.url, this is a link back to the
AGL gerrit.
Change-Id: I7f7b5fff79198fac7814004ab99b3687cf92125c
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Upstream kernelci backend has a new required metadata field:
job.build_environment.
Eventually, we can use this to describe the yocto environment. For now,
let's just use our "AGL-yocto" default string.
Change-Id: If4b39c8f0cda49d9ced866eb6fc24fe56b203442
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
To aid with better reporting, recent versions of the kernelci-backend
require a few more metadatata fields for test results.
The new required fields are test.plan, device.type and git.commit.
Change-Id: I89cbddee019ae1e8b91b54a2d174aac4feaf769e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
LAVA jobs can now submit multiple callbacks per job.
Update the create-jobs tool and its underlying templates to support this
feature.
- Callback templates are now split in two file and follow LAVA specification:
'section' and 'subsection'.
- create-jobs tool supports multiple arguments for the '--callback-to' option.
- Default configuration for callback targets can now be a list of targets.
Change-Id: I36c502c0bb5b54010ce32a53ba78a6be5e6a1642
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Use new "callbacks" syntax (note plural) so that in the future,
additional callbacks can be added.
Change-Id: Ic793aa591d427bcda45ffbba91e8ea2fadfa6157
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
the emulated runs (qemu*) take quite some time.
Extend the timeout.
Change-Id: I9fc924930655d11902fa3e7b224f5239af58d594
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ib28d25e1efd0033458fa9ae787610a8de9f5d275
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Set kernel_tree (used by kernelCI UI) to AGL-yocto instead of
AGL-kernel-tree which doesn't really have much meaning.
Change-Id: Ie2a3a8040f5da4c23de90bd9492f4742d8a3b84e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The rootfs filename has changed for the daily builds. Change the default
to the new filename for both platforms.
Change-Id: I44ae29902d882ab6f38dc14bba11cc8aee88f8c2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
New callback procedure. Now the arguments are:
- '--callback-from' LAVA lab
- '--callback-to' kCI instance
This new procedure helps differentiating the lab and the kCI target.
Callback config files updated accordingly.
Documentation on callback updated.
Change-Id: I41b9dc86e33783f1d6a8164fc783557c81678c7f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
- Machine is now a mandatory argument: --machine
- Change in the URL scheme usage:
Now the argument is --url, it should be used with --branch & --version
(or --changeid and --patchset which are aliases).
The default url is the latest AGL release (dab - 4.0.2)
- Build version is derived from the URL, branch and version if not set
through command line.
Example usage:
./utils/create-jobs.py --machine m3ulcb
./utils/create-jobs.py --machine qemux86-64
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine m3ulcb
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine qemux86-64
./utils/create-jobs.py --url daily --branch master --version latest --machine m3ulcb
./utils/create-jobs.py --url daily --branch master --version latest --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine m3ulcb
./utils/create-jobs.py --url http://baylibre.com/pub/agl/ci/raspberrypi3 --machine raspberrypi3
Update the README.md following changes on the url scheme and --machine
argument.
Bug-AGL: SPEC-975
Change-Id: Idd0d539627d56e8d28e1e4990570a929b3fa0f5d
Signed-off-by: lollivier <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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|