Skip to content

Add smoke tests for RB3 #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

lool
Copy link
Contributor

@lool lool commented Jul 21, 2025

  • ci: lava: Run media-ctl -p in smoke tests
  • ci: lava: RB3: Run usb-smoke-tests
  • ci: lava: RB3: Run alsa-smoke tests
  • ci: lava: RB3: Run wlan-smoke test

@lool
Copy link
Contributor Author

lool commented Jul 23, 2025

I tested these by manually submitting a job to LAVA today with these new tests; BTW I did it by:

  1. installing and setting up lavacli with an API token
  2. looking at github actions to find the job number from the RB3 test of the latest daily
  3. exporting the job YAML that was submitted lavacli jobs definition 84377 >84377.yaml
  4. editing the yaml
  5. submitting it with lavacli jobs submit rb3gen2-smoke.yaml

Results are here:
https://lava.infra.foundries.io/scheduler/job/84449

First, running "media-ctl -p" during the smoke tests on RB3 reports:

Failed to enumerate /dev/media0 (-2)
media-ctl fail

but the smoke-test still passes; I guess:

  • there's something wrong with VPU on RB3Gen2 (Cc: @ldts)
  • we shouldn't count on error codes for commands from the smoke test
  • so we need another media-ctl test somewhere

Next, lsusb:

INFO: Running list-all-usb-devices test...
lsusb fail

properly detected as failing; not sure why it fails (wouldn't type-C port be there at least, even if Renesas firmware is missing?).

(I don't want to add a failing test though.)

Next, alsa:

+ cd ./automated/linux/alsa-smoke/
+ ./alsa-smoke.sh -s True -p /dev/snd
INFO: install_deps skipped
/usr/bin/aplay
aplay: device_list:279: no soundcards found...
playback_devices fail

properly detected as failing; not sure why (Cc: @Srinivas-Kandagatla)

Last, wlan smoke tests:

  • properly runs all tests
  • all passing on RB3
  • detected as passing

Yay!

So I guess we should add wlan tests for RB3.

@ndechesne
Copy link
Collaborator

Some comments:

  1. media-ctl is used for camera not VPU.
  2. the 'smoke_test' is a test suite, and has a few tests inside it. The media-ctl test is reported as a failure in the test suite. I don't think it's correct to report that 'smoke_test' should fail.

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.

2 participants