Age | Commit message (Collapse) | Author | Files | Lines |
|
utils/create-jobs: Add the --device-tags argument
Add new --device-tags arguement to create a job that contain the device
tags as parameters.
utils/agljobtemplate: Add the device_tags to the job
Add the device_tags to the job in order to be used later in the test scripts
to determine which test case should be runned or not.
Change-Id: If22fb40b2ddf1a7c0496a59d4318e633028495b9
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Insert the board tags dynamically as parameters in the release.jinja2
and the ci.jinja2 files while generating the test template.
Change-Id: Ic89323b673fa99a28266a2ac89382fd3f7d9899f
Signed-off-by: Khouloud Touil <ktouil@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>
|
|
Switch from custom AGL ptest wrapper to Linaro ptest wrapper which
is more maintained and is more actively used and developed.
Note that for now, both CI and release templates are doing a subset of
ptests, which are now listed in the test definition, and not in a
separate script.
Change-Id: Ibfaa72443b19c35152db69223df709269d2b668f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
3 minutes are too short for CAN tests, upgrade timeout to 10.
Fixes: SPEC-1842
Change-Id: Ieb60f706959ea154301a5f6a332abc6671211f5d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Update kernel command-line args to match what is set when booting from
SD card.
Change-Id: I36e6e50efee83aa99f2e56d84893c6ec774c2e68
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
This is the testplan that will be used whenever --build-type=release.
For starters, this is the same as the ci test plan.
Change-Id: Ic7a83d683c6df8e2b3eb3b1db94d25ef906dbf48
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Now that we support multiple callbacks, change the default so that
callbacks are sent to both AGL and BayLibre kernelCI backends.
Change-Id: I56777d3ffc21c7df57d0d8cca8f532ab920450a1
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>
|
|
Change-Id: Ia91512e66e89a05e0b52482b47d07539a444c378
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Remove specific test-plan templates, and migrate to the build-specific
templates: ci, snapshot, release.
Note that the contents of smoke and yocto-ptest are now part of the "ci"
template.
Change-Id: I982529ecafddd903db5954af03af15ac8d4f871a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Rather than specifing the list of test suites on the command-line,
instead use a new "ci" template for all the test-suites to run for CI
jobs.
For starters, it combines what is currently in "smoke" and "yocto-ptest"
While at it, add the "history: False" property so that the .git
directory is not included in the overlay tarball that is downloaded by
the target device.
Change-Id: Ibf53dfb035d306cf2f40b73b3c7fc15dc6e78b58
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The builds now produce a combined DTB (using fdtoverlay) for additional
features (e.g. VC4). Use the combined DTB by default.
Change-Id: Idd06d8a4316feb2e03a0f850700ec0581be5a130
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Since iPXE based boards can use NBD boot[1], now in releng-scripts,
we also add support to generate LAVA jobs for iPXE based boards.
With this support, Intel-UP2, one of the community reference boards, can
do validation tests with the generated jobs easily.
[1] https://git.lavasoftware.org/lava/lava/merge_requests/64/diffs
Change-Id: I9adce67d7e9207181675e82bf22a653c73682eb8
Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
|
|
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>
|
|
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>
|
|
Change-Id: If8c422f8da34d6ab3474200095aff1f8cb7923d0
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: I2c22cfc01e1f0da1c0891a886ea505cfb4bff4ce
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I67c8b924a367dec280b3b1acdb72522d0c2e7845
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
Change-Id: I8341bb7c3ab65a02a7b144171f778c850484850b
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Allow the --build-version cmdline option to override the other ways of
generating the kernel.version metadata.
Change-Id: I9da1de7fdc795d888a7b864965755821a53e2830
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
Change-Id: Ib28d25e1efd0033458fa9ae787610a8de9f5d275
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
call with ./run-flounder-ci-tests 5.99.x
lava-tool needs the auth-token setup.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
When using --build-type=ci, the url_branch and url_version are
repurposed for gerrit changeid and patchset. However, this means
that the kernelCI metadata fields "branch" and "version" values
are interpreted as integers by the backend, causing various problems.
To add clarity to kernelCI fields, prefix with "changeid-" and
"patchset-", and this also makes kernelci-backend interpret
fields as strings, as expected.
Change-Id: I6b648d9c94751a3ce20ec48c593d60b7e71640b1
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I52d9c7da99cb84b4c5b79f98ece541553549dba2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
|
|
Add new test template for CAN bus interfaces
Change-Id: I9ef213afd2bbb3bd2115735821b15ac599f50bca
Signed-off-by: khouloud touil <ktouil@baylibre.com>
|
|
qa-testdefinitions repo, othewise LAVA jobs fail."
|
|
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>
|
|
|
|
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>
|
|
Fixup LAVA job metadata that is used by kernelCI UI for displaying
branch, and version info, and also set "image-type" to the AGL build
type (e.g., gerrit, snapshot, release)
Change-Id: I12ca93dfbe8629bde5dc35ab1f056f8331805e40
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Add new test template for CAN bus interfaces
Change-Id: I9d3b57c732743a9a5c7c65999d0b475993ad6200
Signed-off-by: khouloud touil <ktouil@baylibre.com>
|
|
|
|
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
|
|
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>
|
|
|
|
Add missing fields to machine templated. Needed for correct LAVA job
output.
Change-Id: Ia4d55dad0c3fee7d5b5faa4e756a13a5e91af86c
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
Change-Id: Ie6716905c624494aa17675e8a99a1f6c68859fdd
Signed-off-by: David Lewin <dlewin@baylibre.com>
|
|
we now use the agl-imag-ivi-crosssdk everywhere.
Change-Id: I397f3338d554f6135ecd3b160fe4e095e5880fa4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I39bf3c24d66bb9b48370fa79a7b7162ee3d02949
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I4767be1c87b25ecf4b526da24a2846acc658fc27
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|