aboutsummaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2018-11-16Disable full ptest run due to failuresJan-Simon Möller1-0/+0
All available ptests currently will fail to run. We need to select. Change-Id: I9aa6d4b233aa9e78163cfb80235386288c0b47b3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-08templates: agl-callback: use new syntaxKevin Hilman1-6/+6
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>
2018-10-12Increase timeout for ptestsJan-Simon Möller2-2/+2
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-10-09Add full ptest run for all installed ptestsJan-Simon Möller1-0/+8
Change-Id: I2c22cfc01e1f0da1c0891a886ea505cfb4bff4ce Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-06tests/yocto-ptest: increase timeout to 30mKevin Hilman1-1/+1
Change-Id: I67c8b924a367dec280b3b1acdb72522d0c2e7845 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-06templates/machines: qemu: Add an USB host controllerCorentin LABBE1-1/+1
This patch adds an emulated USB host controller to qemu. Bug-AGL: SPEC-1773 Change-Id: Iba405d87598c9e527d5b754b12998081a22fd44f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2018-10-04templates/tests: remove health-testKevin Hilman1-21/+0
This test suite is no longer useful as the smoke tests are now serving this purpose. Change-Id: I3c7165f34a9e5f4db2ec0010da13a793cf5dfdda Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-09-28Extend timeouts, add callback and gitignoreJan-Simon Möller2-0/+6
Change-Id: Ib28d25e1efd0033458fa9ae787610a8de9f5d275 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-28Add lab-jsmoeller template and fix typo in qemuJan-Simon Möller2-1/+8
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-31Update to new tokenflounder_6.0.5flounder_6.0.4flounder_6.0.3flounder_6.0.1flounder_6.0.0flounder_5.99.7flounder_5.99.6flounder_5.99.5flounder/6.0.5flounder/6.0.4flounder/6.0.3flounder/6.0.1flounder/6.0.0flounder/5.99.7flounder/5.99.6flounder/5.99.56.0.56.0.46.0.36.0.16.0.05.99.75.99.65.99.5Jan-Simon Möller1-1/+1
Change-Id: I52d9c7da99cb84b4c5b79f98ece541553549dba2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-16tests/health-test: remove always-failflounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.4flounder/5.99.3flounder/5.99.25.99.45.99.35.99.2Kevin Hilman1-4/+1
Remove the always-fail test as it just creates false fail noise in the test results. Change-Id: I0389f8305fc97a6f9cc3d81c62ad31f8da496f0d Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-07-04Merge "Test template for CAN interfaces"Jan-Simon Moeller1-0/+9
2018-07-03Test template for CAN interfaceskhouloud touil1-0/+9
Add new test template for CAN bus interfaces Change-Id: I9ef213afd2bbb3bd2115735821b15ac599f50bca Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-06-27Merge "This needs to be reverted until the tests are in the ↵Kevin Hilman1-9/+0
qa-testdefinitions repo, othewise LAVA jobs fail."
2018-06-27This needs to be reverted until the tests are in the qa-testdefinitions ↵Kevin Hilman1-9/+0
repo, othewise LAVA jobs fail. Revert "Test template for CAN interfaces" This reverts commit e0ff6f1ae01eaf39c0dea40dbf6c4faf137644bf. Change-Id: I4fbf756cf672b8a6c88da005c79585762d4ff00b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
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-06-22Test template for CAN interfaceskhouloud touil1-0/+9
Add new test template for CAN bus interfaces Change-Id: I9d3b57c732743a9a5c7c65999d0b475993ad6200 Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-06-14Merge "templates/boot: generic-base-boot: fix boot with NBD"Kevin Hilman1-0/+9
2018-06-14templates/boot: generic-base-boot: fix boot with NBDCorentin LABBE1-0/+9
Since the following commit: https://github.com/Linaro/lava-dispatcher/commit/b8e7dc1317e263884c2e10bcf4ff822857a545a5 LAVA jobs need to have a set_port action. This patch permit to generate a job with such action Change-Id: I34152d146f3deb6839c320da86a0b75187a93070 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Tested-on: m3ulcb
2018-06-13fix rpi3 console deviceKevin Hilman1-0/+1
After upgrade to LAVA 2018.x, the ways of sending u-boot arguments have changed slightly, and now need the console_device specified in the job. This is especially important when overriding arguments with custom_kernel_args. Change-Id: Ief8fcaec14a89e34bd03187316e61c0fdb0424d0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-05-07Merge "templates/machines: porter: add device_arch and device_mach"Kevin Hilman1-0/+2
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>