Dynamic LAVA tests - #389
Draft
Loïc Minier (lool) wants to merge 7 commits into
Draft
Conversation
The script now accepts an optional third argument: a path to write a JSON list of boards supported in each tarball. Each entry records board name, storage type, and the flash tarball where it lives. No change in behaviour when the argument is omitted. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Call bundle-flash-dirs with a third argument pointing to
${PREFIX}-boards.json. Capture a compact one-line JSON as output of
the staging step, and pretty-print it in place before upload.
Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Add an optional boards_json input to intersect ci/lava/ templates against boards supported in that particular build. board names are matched against template names. When boards_json is empty the behaviour is unchanged and all templates are submitted. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Pass boards_json from debos-linux-deb job to lava-test.yml. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Pass boards_json from build-daily debos job to lava-test.yml. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Rename the build_url file to build-url.txt, drop it together with boards.json into a build-info-artifact/ staging directory, and upload as "<suite>-build-info" so matrix builds don't compete to upload the same build-url artifact. This also provides the boards database alongside the build URL to test-pr.yml which is a separate workflow run and doesn't have direct access to prior workflow outputs. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Replace the single retrieve-build-url + test pair with a
retrieve-build-info job that downloads every <suite>-build-info artifact
from the workflow_run and emits a matrix include[] of {suite, url,
boards_json}. The test job then calls lava-test.yml once per suite in
parallel.
This fixes the artifact-name collision that previously meant only
one suite's build_url survived, and uses the per-suite boards.json
so each suite's LAVA matrix is filtered to boards that are actually
supported for that suite's build.
Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Loïc Minier (lool)
requested review from
Agathe Porte (gagath) and
Milosz Wasilewski (mwasilew)
May 1, 2026 15:05
|
This PR is stale. Add a nice message, can mention maintainers or maintainer team to draw attention |
Contributor
|
Loïc Minier (@lool) I propose to drop this PR and migrate to lava-test-plans + reusable workflow. This is started in #405. I'll be working on it soon (probably this week) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run LAVA on target boards and suites, as captured in build info:
Fixes: #387