Age | Commit message (Collapse) | Author | Files | Lines |
|
qemu machines does not have a network card by default.
So let's add one.
Change-Id: I6ea5d5625ee5c24b5ee49652f1aa838580a6f952
Bug-AGL: SPEC-3631
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
We need to add video device to qemu ARM/ARM64.
Both arm and arm64 use the virt qemu machine which dont have any video
device. But since they have both a PCI bus, we could add a VGA device.
Along with the VGA device, let's add some input peripheral for all qemu.
Bug-AGL: SPEC-3597
Change-Id: Ic2cee663145abf0b668ca166f40f46318e526bc7
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This fits what we do when calling runqemu.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic5ffa2f2a65b5b55c820063300171cc31d3d878c
|
|
We need to add a virtual display device for testing homescreen.
Let's add a vnc to do this.
But we need to avoid VNC to open a network port, so we will use an unix
socket.
For handling the fact that two job could run in parallel, each unix
patch need to be unique. We will generate an unique path with gerrit id,
branch, and a random int.
The vnc is added for all qemu since it seems to not hurt ARM/ARM64.
We also add a virtio display device on x86_64 since apps are tested only
on x86_64.
Change-Id: I22412df75cad16f151f73d0d93b0e38ae386ef4d
Bug-AGL: SPEC-3597
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Allow the tool to generate jobs against the prerelease location.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
|
|
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>
|
|
After upgraded our lab to 2020.02 and so upgraded to buster, the qemu
version has increased.
With this new version, the qemu x86 jobs fail with a kernel panic about
IO APIC timer.
This is a know issue and the simpliest fix is to add no_timer_check to
the kernel cmdline.
Change-Id: I75c2427e683690bfe961f482ad5267d1d957c36f
Bug-AGL: SPEC-3210
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
|
|
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>
|
|
This silences a lot of useless systemd messages.
Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|