Skip to content

ci: migrate to reusable test workflow - #405

Draft
Milosz Wasilewski (mwasilew) wants to merge 1 commit into
qualcomm-linux:mainfrom
mwasilew:workflows/reusable-test-workflow
Draft

ci: migrate to reusable test workflow#405
Milosz Wasilewski (mwasilew) wants to merge 1 commit into
qualcomm-linux:mainfrom
mwasilew:workflows/reusable-test-workflow

Conversation

@mwasilew

@mwasilew Milosz Wasilewski (mwasilew) commented May 8, 2026

Copy link
Copy Markdown
Contributor

Replace current testing setup with reusable test-distro.yml workflow from meta-qcom.

See also qualcomm-linux/lava-test-plans#30

@github-actions

Copy link
Copy Markdown

This PR is stale. Add a nice message, can mention maintainers or maintainer team to draw attention

@github-actions github-actions Bot added the Stale label Jul 31, 2026
@mwasilew

Copy link
Copy Markdown
Contributor Author

Loïc Minier (@lool) I'll be picking this up soon

Comment thread .github/workflows/lava-test.yml Fixed
test-debian:
needs: [prepare-env]
name: "Test nodistro"
uses: mwasilew/meta-qcom/.github/workflows/test-distro.yml@debian-support
needs: [prepare-env]
name: "Test nodistro"
uses: mwasilew/meta-qcom/.github/workflows/test-distro.yml@debian-support
secrets: inherit
@obbardc Christopher Obbard (obbardc) changed the title workflows: migrate to reusable test workflow ci: migrate to reusable test workflow Aug 12, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far, some small thoughts!

Comment thread .github/workflows/build-debian.yml
Comment thread .github/workflows/build-debian.yml
# qrb2210-rb1 testing is disabled until it can be resurrected; see #424
# glymur-crd can't boot the distro kernel, only qcom-next
# monaco-arduino-monza and monaco-evk only validated against the
# linux-next/qcom-next/arduino
# kernels so far, not the distro kernel; see
# https://github.com/qualcomm-linux/qcom-deb-images/issues/440
boards_exclude: '["glymur-crd", "lemans-evk", "monaco-arduino-monza", "monaco-evk", "qcs615-ride", "qcs8300-ride", "qrb2210-rb1"]'
boards_include: 'qcs6490-rb3gen2-vision-kit'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering why the other boards are not yet tested?

Comment thread .github/workflows/build-daily.yml Outdated
# every board but monaco-arduino-monza; see
# https://github.com/qualcomm-linux/qcom-deb-images/issues/537
boards_exclude: '["monaco-arduino-monza"]'
boards_include: 'glymur-crd,lemans-evk,monaco-evk,qcs615-ride,qcs6490-rb3gen2-vision-kit,qcs8300-ride,qrb2210-rb1'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not keep boards_exclude ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, i see you removed boards_exclude, see later comment about that.

description: Distribution suite (e.g. trixie, forky)
type: string
default: trixie
boards_include:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, we now don't have boards_exclude and have to manually set the list of boards to enable tests on. Not sure how I feel about that :/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally there would be just one list, but since different builds use different kernels I assume there needs to be some list of boards to test for each build. The include/exclude was added when test job templates were kept in the qcom-deb-images repository. Now the templates are moved to lava-test-plans. exclude makes sense only if you have a list of "all boards" somewhere. I don't think such list exists at the moment so from my pov it's best to just keep "include" list - list of boards to be tested. It's easier to maintain IMHO as there is nothing "hidden". Tests are only run on the boards listed in the workflow.

Comment thread .github/workflows/lava-test.yml Outdated
fetch-depth: 0
persist-credentials: false
- name: Print trigger
- name: "Print ref"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: "Print ref"
- name: Print lava-test-plans ref

or similar ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread .github/workflows/lava-test.yml Outdated
# never overwritten, so scope them by suite + run attempt instead.
test_job_file_name_prefix: ${{ inputs.suite }}-${{ github.run_attempt }}-
test-debian:
needs: [prepare-env]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove [] from the needs, not needed

Comment thread .github/workflows/lava-test.yml Outdated
test_job_file_name_prefix: ${{ inputs.suite }}-${{ github.run_attempt }}-
test-debian:
needs: [prepare-env]
name: "Test nodistro"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "" from the name ?

@github-actions

Copy link
Copy Markdown

Test Results

  7 files  ±0   21 suites  ±0   16m 27s ⏱️ ±0s
 21 tests ±0   21 ✅ ±0  0 💤 ±0  0 ❌ ±0 
184 runs  ±0  184 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 5248af4. ± Comparison against base commit 6b23302.

@github-actions

Copy link
Copy Markdown

Replace current testing setup with reusable test-distro.yml workflow
from meta-qcom.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
@mwasilew
Milosz Wasilewski (mwasilew) force-pushed the workflows/reusable-test-workflow branch from 14d1e99 to f9a1954 Compare August 17, 2026 18:44
@github-actions

Copy link
Copy Markdown

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.

4 participants