Skip to content

Additional postprocess steps - #357

Closed
mwasilew wants to merge 106 commits into
Linaro:masterfrom
mwasilew:additional_postprocess_steps
Closed

mwasilew wants to merge 106 commits into
Linaro:masterfrom
mwasilew:additional_postprocess_steps

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 February 27, 2026 15:01
Not all projects use metadata. Keeping the keyword in master template
caused the tests to fail. This patch keeps the block in master template
but moves the actual keyword to the project templates. This makes the
tests pass and still allows to define project specific metadata.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Better to use the nodistro since we are no longer use the poky-altcfg.

Fix qualcomm-linux/meta-qcom#1665

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
lava_test_plans: replace poky-altcfg with nodistro
Only run pre-merge-bt on devices that have "has-bt" tag setup. This
ensures that the tests won't run on unsupported hardware.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
testcases: add has-bt tag to pre-merge-bt test
Change FLASHER_DEVICE_TYPE to flasher_device_type. By convetion
uppercase variables can be set externally while lowercase are internal
to the tool. Move flasher_device_type to be an internal variable.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Each device uses specific flasher type. This variable was inserted in
github workflow but it can be stored in project devices as well. This
patch enables removing the variable from github workflow

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
projects: add flasher_device_type to devices
Allow to submit jobs to LAVA without proxying through qa-reports

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Enable "break" and "continue" keywords in loops

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
When devices EXCLUDED_LIST contains all test from specific .yaml file,
invalid LAVA job would be produced. This patch allows to skip all tests
from the test file with loop (pre-merge) and still produce a valid LAVA
job. In this case the test job will be equivalent to a boot test

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
BT tests for QCS615 fail due to incompatible hardware. Disable all tests
until the hardware is upgraded.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Add devices which got missing in the initial meta-qcom-distro submission
at the commit bf0c70e ("Create meta-qcom-distro as a copy of
meta-qcom").

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Add pre-merge-audio test for LAVA audio validation
Add base device configuration and meta-qcom project device file for
iq-x7181-evk. The device uses flasher deployment with default gz
compression for rootfs.

The project device file includes flasher_device_type configuration
to ensure proper device identification during flasher deployment.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Add base device configuration and meta-qcom project device file for
glymur-crd. The device uses flasher deployment with default gz
compression for rootfs.

The project device file includes flasher_device_type configuration
to ensure proper device identification during flasher deployment.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Add base device configuration and meta-qcom project device file for
kaanapali-mtp. The device uses flasher deployment with default gz
compression for rootfs.

The project device file includes flasher_device_type configuration
to ensure proper device identification during flasher deployment.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Add base device configuration and meta-qcom project device file for
sm8750-mtp. The device uses flasher deployment with default gz
compression for rootfs.

The project device file includes flasher_device_type configuration
to ensure proper device identification during flasher deployment.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
templates: Add iq-x7181-evk device support
templates: Add glymur-crd, kaanapali-mtp, sm8750-mtp device support
…ets"

This reverts commit cc3a476, reversing
changes made to 2092477.

Need to revert as device expected in this PR are not ready in the LAVA pool.

Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
Revert "Merge pull request Linaro#36 from qcom-anilyada/test/add-targets"
fastrpc_test fails on qcs615 device. Exact reason requires
investigation. For now the test needs to be disabled to allow github
workflows to pass.

The issue is tracked at qualcomm-linux/meta-qcom#1767

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
meta-qcom-distro: add more devices
projects: meta-qcom: disable fastrpc_test for qcs615
postprocess.jinja2 is included in the flasher.jinja2. It provides steps
to modify downloaded images. There may be additional steps required in
some projects. This patch provides the option of adding more steps based
on the project or device.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
@mwasilew mwasilew closed this Mar 25, 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.

7 participants