summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03templates/machines: porter: add device_arch and device_machKevin Hilman1-0/+2
Add missing fields to machine templated. Needed for correct LAVA job output. Change-Id: Ia4d55dad0c3fee7d5b5faa4e756a13a5e91af86c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-05-03templates/config: use HTTP URLs for downloadsKevin Hilman1-5/+5
LAVA labs often use a caching proxy (e.g. squid) for caching downloads. Change the URLs for download.automotivelinux.org to use HTTP instead of HTTPS so that squid can cache them. Change-Id: I5c9e7bead20e0d372a6208f229edd127531ffa09 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-03-09Removed unused Health-testDavid Lewin1-4/+4
Change-Id: Ie6716905c624494aa17675e8a99a1f6c68859fdd Signed-off-by: David Lewin <dlewin@baylibre.com>
2018-03-07Unify rfs_image use for m3ulcbJan-Simon Möller1-3/+1
we now use the agl-imag-ivi-crosssdk everywhere. Change-Id: I397f3338d554f6135ecd3b160fe4e095e5880fa4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-14templates/callback: switch default to AGL backendKevin Hilman2-2/+2
Change-Id: I39bf3c24d66bb9b48370fa79a7b7162ee3d02949 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-14templates/callback: use new HTTPS URL for AGL backendKevin Hilman2-2/+2
Change-Id: I4767be1c87b25ecf4b526da24a2846acc658fc27 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-09templates/machines: use crosssdk images for daily/release buildsKevin Hilman2-2/+7
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-07templates/machines: rpi3: switch to upstream device-typeKevin Hilman1-1/+7
Switch the rpi3 to use the upstream LAVA device-type. Note that the the default kernel-command line arguments in the upstream device-type are suited for the upstream kernel. When building with an yocto/AGL kernel, those need to be overridden, so also update the machine template to use the correct kernel command-line. Change-Id: I823a1946bf761aa1019a9ec808fa99594337f4f4 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-01templates/config: update release defaults to eelKevin Hilman1-1/+4
Change-Id: I6ae4a7bc135b3040e5948dd31718c1c02fada6cf Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-01templates/machines: raspberrypi3: use right device-typeKevin Hilman1-1/+1
Until the upstream device-type is fully validated, use the device-type used in both AGL and BayLibre labs. Change-Id: I87b699983dd50efd9f0013685b06f2d4c5d5f210 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-29templates/callback: baylibre: default to BayLibre backendKevin Hilman2-2/+2
While AGL backend is under development and transitioning to kernelci-docker, use baylibre backend. Change-Id: I2b4a56fe0c63c878dbdcfa781c08a87740efca54 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-29templates/callback: agl: update backend URLsKevin Hilman1-3/+3
Both AGL and BayLibre backend URL have changed due to migration to kernelci-docker. Change-Id: Ic0daca56f7442943089a7741d92f6326be200baf Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-29templates/callback: update BayLibre URLKevin Hilman1-2/+2
URL for main backend changed. Is now using kernelci-docker Change-Id: I6c9f976c8e26d6bfe0939c1cb78f43553283a257 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-29Merge "templates/machines: qemu: disable systemd log colors"Kevin Hilman1-1/+1
2018-01-23templates/machines: m3ulcb: use crosssdk image for releaseKevin Hilman1-1/+1
The crosssdk image should be use for daily and for release builds. Change-Id: I58f414d6c8bd7520d1ed3448ae87256ba4553e9e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-23templates/machines: qemu: disable systemd log colorsKevin Hilman1-1/+1
systemd log colors make for noisy/unreadable logs in the CI system. Disable for CI jobs. Change-Id: Ibcf751c61116eb21a731ad3ceae06b8d07deead6 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-18templates: fix the rootfs name for qemu release buildsLoys Ollivier1-1/+5
The rootfs filename has changed for the release builds. Change the default to the new filename for qemu. Change-Id: I1d53010df912dd30d48dd0ee3bf3e4730d79497a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-10templates: fix the rootfs name for m3ulcb and rpi3 daily buildsLoys Ollivier3-1/+9
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>
2018-01-10utils: define test-plans based on build-typeLoys Ollivier1-0/+4
As the list of test is expending, we want to be able to specify test plans grouping several test definitions. These test plans are build type specific. Create a config file that specifies the test plans for each build type. If the user does not specify the tests to run then use the default ones for the build-type. Change-Id: Ied4e9f80d3e42787174189cd08499a2906e500ef Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-02templates/machines/qemux86-64.jinja2: add smp parameter to qemu machineLoys Ollivier1-1/+1
There is a deadlock at boot time in the current AGL builds which is non critical. Add the smp option to created qemu machines. So they can use 2 cores and finish booting. Change-Id: I26198d1c3191acd98b96558af0abc976c971690a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-12-04Relax the prompts by dropping the usernameJan-Simon Möller1-0/+1
This change relaxes the login match a little bit by removing the username. This will assist cases where we see not-recognized logins as well as tests with different usernames (non-root). Change-Id: Ied0ee9930f7804eb9883649495306e16964a75e6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-29templates/machines: dra7xx-evm: use upstream device-typeKevin Hilman1-1/+1
Change-Id: I386e6a142684d4a4d49955980d86cbc7cf7aa1ac Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-28templates/machines: dra7xx-evm: add arch/mach; fix rfs_imageKevin Hilman1-0/+3
Add default arch and mach fields for kCI metadata. Also set default rfs_image to use agl-demo-platform. Tested by creating a default job: ./utils/create-jobs.py --machine dra7xx-evm -o job.yaml and running successfully in AGL-core LAVA lab. Change-Id: Iaf7a0b86034d1b742a5e2b9e08f882bf64dde995 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-16templates/machines: rpi3 rename device typeLoys Ollivier1-1/+1
Change the device type from bcm2837-rpi-3-b-32b to raspebrrypi3 until all labs are aligned with: bcm2837-rpi-3-b-32. Change-Id: I1ce58d37dab9895db075f658260d58a5c2ca0b0d Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-08Callback procedure updateLoys Ollivier7-27/+57
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>
2017-11-06New machine, url, branch, version argumentslollivier4-4/+12
- 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-20Add the yocto-ptest definitionlollivier1-0/+6
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>
2017-10-12Update qemu defaultsLoys Ollivier1-0/+1
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>
2017-10-11Update raspberrypi3 defaultsLoys Ollivier1-5/+5
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>
2017-10-09New boot type definitionLoys Ollivier2-6/+17
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-06Merge "Revert "Move boot type to kernel type""Kevin Hilman4-11/+3
2017-10-06Revert "Move boot type to kernel type"Kevin Hilman4-11/+3
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-06Add lavabox lab callbackLoys Ollivier1-0/+4
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>
2017-10-06Move boot type to kernel typeLoys Ollivier4-3/+11
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 Ollivier6-31/+37
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-10-05templates/boot: include basic root promptKevin Hilman1-1/+4
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>
2017-10-05Merge "templates: qemu: add device_arch, device_mach"Kevin Hilman1-0/+2
2017-10-05templates: rpi3: add device_arch, device_machKevin Hilman1-0/+2
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>
2017-10-05templates: qemu: add device_arch, device_machKevin Hilman1-0/+2
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>
2017-10-05Merge health tests into oneLoys Ollivier3-43/+24
Merge the two health tests into one unique. Change-Id: I59f55d282338eee507d490e5d70d96c9b5023d37 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-04templates/callback: fix lab-baylibre-legacyKevin Hilman1-1/+1
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>
2017-10-03templates/callback: add config for lab-agl-coreKevin Hilman1-0/+4
Change-Id: I7ca635bbdbfca4630f3e9e5a3f9d0c9cdd4eac0e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-03templates/callback: add config for lab-baylibre-devKevin Hilman1-0/+4
Change-Id: Idc991f4208b75f37a957a3301537f1c4dacf7c11 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-26Merge "[Test] Add service test definition"Jan-Simon Moeller1-1/+4
2017-09-26Renesas m3ulcb add metadataLoys Ollivier1-0/+2
Add metadata to the m3ulcb machine description. Change-Id: I0ef49e55414a18480e6ef21713d860fa3a1a5e23 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-26Sort machine and metadata definition fieldsLoys Ollivier6-24/+24
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 Ollivier3-2/+20
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-22[Test] Add service test definitionLoys Ollivier1-1/+4
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>
2017-09-21Merge "rfs-image: provide command line options to setup the image name"Kevin Hilman3-4/+2
2017-09-20Merge "rootfs_type: remove nfs"Kevin Hilman2-9/+1