summaryrefslogtreecommitdiffstats
path: root/templates/base/agl-base-defaults.jinja2
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04SPEC-3210: qemu do not use ramdiskCorentin LABBE1-0/+2
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>
2020-03-18Update timeouts based on job profileJan-Simon Moeller1-5/+5
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
2020-01-22Revert "Add a new metadata field for the job_base_url"Khouloud Touil1-1/+0
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>
2020-01-17Add a new metadata field for the job_base_urlKhouloud Touil1-0/+1
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
2019-05-31Extend the timeouts for CIBT jobs in the templateshalibut_7.99.1halibut/7.99.17.99.1build.automotivelinux.org1-4/+4
This mitigates slower downloads. Change-Id: I4e18f133097e8a3c32889fcc30a076ad24b882f9 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-04-14Change default timeoutsJan-Simon Möller1-2/+2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-01-15templates/base: add new metadata fieldsguppy_6.99.4guppy/6.99.46.99.4Kevin Hilman1-0/+2
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>
2018-10-12Increase timeout for ptestsJan-Simon Möller1-1/+1
the emulated runs (qemu*) take quite some time. Extend the timeout. Change-Id: I9fc924930655d11902fa3e7b224f5239af58d594 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-26templates/base: set kernel_tree AGL-yoctoKevin Hilman1-1/+1
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>
2018-01-10templates: fix the rootfs name for m3ulcb and rpi3 daily buildsLoys Ollivier1-0/+1
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>
2017-11-06New machine, url, branch, version argumentslollivier1-2/+1
- 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>
2017-10-09New boot type definitionLoys Ollivier1-0/+10
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>
2017-10-06Revert "Move boot type to kernel type"Kevin Hilman1-10/+0
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>
2017-10-06Move boot type to kernel typeLoys Ollivier1-0/+10
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>
2017-10-06New arguments to specify build artifacts namesLoys Ollivier1-17/+19
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>
2017-09-26Sort machine and metadata definition fieldsLoys Ollivier1-12/+12
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>
2017-09-26Add AGL metadata in job descriptionLoys Ollivier1-0/+7
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>
2017-09-19rfs-image: provide command line options to setup the image nameJerome Brunet1-2/+2
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>
2017-09-19rootfs_type: remove nfsJerome Brunet1-4/+0
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>
2017-09-07rootfs_type: add default rootfs type for each deviceJerome Brunet1-0/+1
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>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman1-0/+40
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>