Age | Commit message (Collapse) | Author | Files | Lines |
|
By default LAVA set the test device on IDE.
Stretch version of qemu doesnt care about this setting and was always
using virtio.
But buster qemu care now about this and fail with:
machine type does not support if=ide,bus=0,unit=0
This patch adds the necessary to restore the use of virtio.
Change-Id: If34194d82b6104b9b5be7118a5194bd3b61fc090
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This is needed if we do not let systemd remount it.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I6f3ddbbc45844bff2a4adb423c7ecb8b57c0c0fd
|
|
to avoid systemd fstab generator to mount
partitions that do not exist in the netboot case.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I4c08bd50690062202590d7aae8f6508798f29997
|
|
This patch add the template for raspberrypi4.
Like rpi3, the job need some custom parameters like console_device and
extra_kernel_args.
Unlike rpi3, we use directly extra_kernel_args as the device_type will
permit to override it.
Bug-AGL: SPEC-3004
Change-Id: Iac88f04e0954f77bc2e3a3daf0baf43aec3fa7c7
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
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
|
|
The plan is to have: H3 with KF, M3 without KF.
So let's revert to the right DTB for single M3.
If we need later M3+KF the right releng templates are already present
for it.
This reverts commit 8a349e865441c277498a008ac4fd9f13893b5527.
Change-Id: I2d2bcf0f3658804d98e06ca7f094aff8efaf2adf
Bug-AGL: SPEC-2921
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The prompt for h3ulcb-kf is h3ulcb, so yocto_machine need to be set to
it.
Bug-AGL: SPEC-2921
Change-Id: I73b9606b7c9de5142619f531d6cced402763bb85
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The initrd path for h3ulcb-kf is the same as h3ulcb.
Bug-AGL: SPEC-2921
Change-Id: Ieb6812bcb121d2334c94027e9049c45fdb536733
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This patch adds M3ULCB+KF and H3ULCB+KF support to releng-scripts
Change-Id: I97ef1d63f330f4aaf669ad33f770d4527c00a271
Bug-AGL: SPEC-2921
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Since AGL use only M3 with KingFisher, let's use the right DTB.
Change-Id: I89bfe021b13f69f786d091b630f44f77ed20a3a0
Bug-AGL: SPEC-2921
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Split the can tests in two, one for basic tests that doesn't need the
two can interfaces to be related, and the other one is for a board with
two related interfaces.
Added a tag for Baylibre board "can_if_hw_connection" to notice the difference.
AGL-bug: SPEC-2878
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: I1350098709de05ba50faf719bbb13f9a59f7eac0
|
|
To fix the xmlsec ptest in
https://gerrit.automotivelinux.org/gerrit/#/c/AGL/releng-scripts/+/22510/
we added the virtio-rng-pci to the qemuarm and qemuarm64 targets.
Do this also to the x86-64 target.
Change-Id: I3ab0a08371656137621120d7eb5356ba993c8b2b
Bug-AGL: SPEC-2739
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
ptest-runner fail on xmlsec1 on ARM/ARM64.
This is due to lack of randomness as the first test in doing a RSA
signature.
This patch adds a virtio-rng-pci device on qemuarm and qemuarm64 which
adds enough randomness to permit this test to pass.
Bug-AGL: SPEC-2739
Change-Id: I98dddd421572cecf2027793aad62a12853e07c59
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
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 silences a lot of useless systemd messages.
Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds a template for qemuarm
Bug-AGL: SPEC-2376
Change-Id: Ib0b9f44d96fc7f365f7da17ce3ce3461d0a3c6c0
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
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>
|
|
This patch adds a template for qemuarm64
Bug-AGL: SPEC-2376
Change-Id: I2f8a5fbd1625df8fcb03ba4798c2d8329889408b
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
LAVA expect machine, memory and cpu to be passed as argument in context and not
via extra args.
This patchs introduce qemu_cpu, qemu_memory and qemu_machine as jinja
variables.
Change-Id: I8893943947a046f90be388febccfc29c7923d5b4
Bug-AGL: SPEC-2376
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
See the qemu case.
Bug-AGL: SPEC-2449
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib23bd4897e89d3eca1eaba33a37c256c932e2d36
|
|
I have assumed that only master is used for appfw but it is false.
Some app review are done against non-master branch.
This patch adds a way to change the branch used via --app-branch.
Bug-AGL: SPEC-1850
Change-Id: I10c8ad0e5a08158f9c2295692e4b3c266b97b14e
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
We should not include application-lifecycle tests based on APPURL, but
on the presence of the --test application-lifecycle parameter.
Bug-AGL: SPEC-1850
Change-Id: Idda5d9011f54cd7eb1710e15254ab358ef7b99b1
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The generated APPURL was invalid:
- it needed to be always using ci
- it missed branch and arches path
This patch move the generation of the application url in the jinja file
for accessing the new sdk_arch
Bug-AGL: SPEC-1850
Change-Id: Ie3ffff5f6181fdc89c3ebbd41078e4d60a06992b
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
As asked by JSM on review 21232, this patch removes the porter machine.
Bug-AGL: SPEC-2375
Change-Id: Iaa8083a271bb61ee1f9208f671d617fc15a00028
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds suppport for the upsquare.
Upsquare use a GRUB boot method, so we needed to add a new
generic-grub-tftp boot template.
Since all x86_64 use the same yocto generated build name, we add a new
upsquare machine, but tweaked a bit utils/agljobtemplate.py to keep
intel-corei7-64 everywhere (except for the LAVA device-type).
Bug-AGL: SPEC-2075
Change-Id: I15c850fada53efbcda4fd58527d7b7414865f89d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
In order to take care with the old dtb names and to keep it as flexible
as possible we create a file for each board and branch with the name
that matches with each branch.
Change-Id: I223588aa794e4af6428b2ddcd13a1f8d396152a8
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
As we are upgrading to a new branch we had to change dtb file names to
match the new convention names.
Change-Id: I6cda162056e6074c730d3ec64aa0e37b3eb8642f
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds a new parameter application_url which permit to adds a
location where to download apps and test them.
The applications_url could also be generated via
app-changeid/app-patchset.
Change-Id: I88d91b5e6e30b5ab5d72e8181b15b0f561bea72d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Actually our 'lcd-lg' was removed. FWIW the board is not usable now with screen.
Change-Id: Ie1f551e1e60d61ad50a977b6d2538fe16e9917f1
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>
|
|
Actually the lava tag is "CAN", so "can" in lowercase won't work, so
this patch fix this issue.
Change-Id: Iabfbc17bf59bd5a2152accb347e147836db51fd3
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Update the CI test plan to add the CAN tests for devices with tag "can".
Change-Id: I8f0a583787b60d9f3f2a4c21848da43f1891f612
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>
|
|
The attr and acl parameters are causing jobs failure each time, so for
now we are removing them from the ci.jinja2 and release.jinja2 files
Change-Id: I7ef6f5cb8143fb1687aa955a88a913146940af58
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>
|