Skip to content

Qdl ramdump - #359

Closed
mwasilew wants to merge 183 commits into
Linaro:masterfrom
mwasilew:qdl-ramdump
Closed

mwasilew wants to merge 183 commits into
Linaro:masterfrom
mwasilew:qdl-ramdump

Conversation

@mwasilew

Copy link
Copy Markdown
Contributor

No description provided.

Remove tests, devices and test plans that are not required for testing
meta-qcom and qcom-deb-images

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add base template to support flasher deployment.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add RB3gen2 device based on the flasher deployment

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Rename former lt-qcom project to meta-qcom. The goal is to represent
repositories using this tool as projects

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add base flasher devices supported in meta-qcom

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Update workflow to the more recent version of action and python

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Default value for IMAGE_FILE_NAME is required to pass the tests that
include devices based on flasher deployment.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Parallel testing coverage seems to be different than serial testing.
Disabling parallel for now.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Create test plans that reflect meta-qcom builds:
 - qcom-distro
 - poky-altcfg

Initial rename just moves the symlinks that existed before.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Only leave boot test for now for meta-qcom. This is in line with the
current set of tests in the repository

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Initial test plan only contains boot test

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
There is no need for a separate test plan. Kernel testing should be done
in scope of qcom-distro and poky-altcfg

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Change the contact details for the pypi package

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Remove systemd.log_level from default kernel args in context section of
the job. This can be added if needed for particular test or device.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
When "os" key is present in deployment it disables lava_test_results_dir
from job context. This patch makes "os" optional in case test results
dir needs to be changed.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Replace LXC bits with downloads+postprocessing and fastboot deployment.
LXC is no more required with modern LAVA release.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add auth header support to master.jinja2 and meta-qcom templates. It can
be added easily to other templates if required

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add default metadata file

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add missing metadata section

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Only add overlay when test section is present.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add a new project to generate templates for
qualcomm-linux/qcom-deb-images repository actions.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Fix unit tests after renaming qcom-lt to meta-qcom and changing the test
plan for this project

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Define logging formatter in only one place and add more details to the
log lines

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
mwasilew and others added 29 commits June 17, 2026 08:30
devices: exclude Wifi test cases on iq-x7181-evk to unblock premerge
After CompressOverlay issue was fixed in LAVA [1] the job files produced
with the current lava-test-plans implementation will result in LAVA not
able to find the overlay. This patch moves to default setting of
lava_test_results_dir and adds overlay to "/" in the designed partition.
It works on build that don't use custom layout. For example ostree
enabled builds will fail and they need to employ custom overlay path
with download postprocess step.

[1] https://gitlab.com/lava/lava/-/merge_requests/3333

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
According to recent lava jobs, adsp/cdsp remoteproc test failed
on part of LAVA devices. Exclude the cases from testkit for now
and will add back once issue get resolved by dsp team.

Issue jobs:
01: cdsp - fail, adsp - fail https://lava.infra.foundries.io/results/290909
02: cdsp - fail, adsp - fail https://lava.infra.foundries.io/results/290905
03: cdsp - fail, adsp - fail https://lava.infra.foundries.io/results/290910
04: cdsp - pass, adsp - fail https://lava.infra.foundries.io/results/290908
06: cdsp - pass, adps - pass https://lava.infra.foundries.io/results/290906
07: cdsp - pass, adsp - pass https://lava.infra.foundries.io/results/290907

MCN for device 01~03: 65-88988-2021
MCN for device 04:    65-88988-1764
MCN for device 06/07: 65-88988-1001

Signed-off-by: Shoudi Li <shoudil@qti.qualcomm.com>
devices: exclude adsp/cdsp remoteproc test for iq-x7181-evk
flasher: Move default overlay path to root
Move all Qualcomm boards to use deploy/boot to qdl. It requires LAVA to
support these methods. The patchset wasn't merged yet.

Top level devices are named the same way as new LAVA device types. This
is in line with upstream DTB file names. Project specific devices derive
from base devices so requested device type is consistent.

Devices using flasher deployment are left for reference. They will be
removed in the future.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Allow to use a custom container to validate the generated test jobs.
This enables testing templates which contain not-yet-upstreamed
features.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add base device definition and meta-qcom project override for
shikra-iqs-evk, a new device type with its own LAVA device type identifier,
boot prompt, and flasher configuration.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add PR URL and number to metadata. This should allow to search jobs in
LAVA database using meta-qcom PR.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Shikra should use emmc storage. By default qdl deployment uses ufs.
Fixing the default for shikra.

Fixes: Linaro#78

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Remove depenency on tuxpkg and migrate out of gitlab. The package is now
hosted on github and is not a part of tuxsuite any more.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Exclude all lava-test-plans templates using .coveragerc. The coverage
reporting tool was mistakenly importing these templates and crashing.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
devices: fix shikra-iqs-evk deployment
Add project-specific device file for sm8750-mtp (pakala) under meta-qcom,
setting flasher_device_type for QDL deployment.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
sm8750-mtp: add meta-qcom project device override
Camera tests require an external camera not available on this setup.
Ethernet test removed as the mobile form factor lacks an RJ45 port.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
projects: meta-qcom: include PR details in metadata
The device was previously named shikra-iqs-evk in the meta-qcom project
override. Rename it to shikra-evk to align with the correct board name
and update flasher_device_type accordingly.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
sm8750-mtp: exclude camera testplan and ethernet test
overlay_path is not going to be used after the next LAVA release.
Removing from templates.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Remove overlay_path from qdl deployment
Exclude AudioRecord, AudioPlayback, and DSP_AudioPD as noise is observed
during audio playback randomly (CR/4585837, issue #2890). Exclude
cdsp_remoteproc and adsp_remoteproc as the Modem PIL is observed offline
in Shikra by default (CR/4576192, issue #2891). Exclude
WiFi_Firmware_Driver and WiFi_OnOff as WLAN interface is observed not
available in Shikra (CR/4576321, issue #2889).

Exclude pre-merge-camera.yaml and pre-merge-gstr-video.yaml as L0 is not
done. Exclude pre-merge-audio.yaml for the audio playback noise issue
above. Exclude pre-merge-display-gfx.yaml as display is observed not
working for Shikra IQS/IQ-ITP (CR/4576295, issue #2892).

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
shikra-evk: exclude testplans and tests with reported issues
Add fastrpc_test to the pre-merge basic test plan and remove its
device-specific exclusions for glymur-crd, kaanapali-mtp,
qcs615-ride, and rb1-core-kit.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
test: enable FastRPC validation in pre-merge basic tests
Add a project for meta-qcom-3rdparty, the Yocto BSP layer for third-party
Qualcomm based boards, covering the two boards it builds that have devices
in the lab: uno-q and ventuno-q.

The base devices qrb2210-arduino-imola and monaco-arduino-monza already
exist, so the project only adds the device overrides, the qdl deployment
template and boot test plans for the nodistro and qcom-distro
configurations the layer builds. The boot test plans are symlinks to
testcases/boot.yaml, as in the other projects.

Both device files are named after the Yocto MACHINE, because the layer's
GitHub workflow passes the machine name as the device-type template path
and derives the artifact names from it. The rendered device_type comes
from the base device, so the LAVA device type stays decoupled from the
machine name.

Two things differ from the Debian images the base devices describe:

  - The boot prompt is root@<machine>: the image hostname is the Yocto
    MACHINE name, not the board name the LAVA device type is named after.

  - ventuno-q flashes the qcs8275-monza eMMC layout, which spans two eMMC
    physical partitions, the main user data area and the OTP area holding
    the cdt. ptool emits a rawprogram/patch pair per physical partition
    and all of it is flashed in one eMMC stage, so the Debian spinor and
    eMMC split does not apply. It also uses prog_firehose_ddr.elf rather
    than xbl_s_devprg_ns.melf. uno-q builds the qrb2210-unoq layout, which
    has a single physical partition, so it keeps the base device values.

The metadata block does not switch on OS_INFO the way the meta-qcom
project does: the per-distro metadata files there are identical, so a
single include is enough and cannot fail to resolve if OS_INFO changes.

Verified by rendering both devices against both test plans and comparing
the result against a known good job for ventuno-q submitted from a local
meta-qcom-3rdparty build (lava.infra.foundries.io job 359455): the deploy
and boot actions match.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
…roject

projects: add meta-qcom-3rdparty project
LAVA supports collecting ramdumps from jobs that use boot-to-qdl. This
patch enables ramdump collection by default. It can be disabled on the
project level. Ramdumps are uploaded to the predefined storage. This
configuration is instance specific and outside of scope of this
repository.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
@mwasilew mwasilew closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants