-
Notifications
You must be signed in to change notification settings - Fork 48
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
[FEATURE] IPC4: verify-firmware-presence.sh: use actual firmware #841
Comments
The
Is This test is designed to PASS before the firmware is loaded. I doubt it's possible to predict the IPC version before the firmware is loaded, is there? So should the test just look for both and pass when any is found? If this gets too complicated this test should simply be removed from IPC4 test plans. It's never been terribly useful IMHO. |
Thanks @ranj063 for answering this: yes this is a good template for closed source. Open source will hopefully have a template too but a different one, probably something like |
we are going to use a different path for SOF w/ IPC4, e.g. inte/sof-ipc4/. So I wonder if this test should be removed completely. |
Don't run verify-firmware-presence and verify-firmware-load by default. The run-all-tests.sh "harcoded test plan" is a bit of a hack, purely for interactive use. Not used as a test runner by any automation any time soon. When run without firmware the script now fails like this: + sof-test/test-case/verify-pcm-list.sh grep: /proc/asound/cards: No such file or directory For interactive users who forget to load the firmware and have direct access to every log file and everything else this is a good enough error message. This makes testing IPC4 firmware easier as it mitigates issues thesofproject#841 and Signed-off-by: Marc Herbert <[email protected]>
Don't run verify-firmware-presence and verify-firmware-load by default. The run-all-tests.sh "harcoded test plan" is a bit of a hack, purely for interactive use. Not used as a test runner by any automation any time soon. When run without firmware the script now fails like this: + sof-test/test-case/verify-pcm-list.sh grep: /proc/asound/cards: No such file or directory For interactive users who forget to load the firmware and have direct access to every log file and everything else this is a good enough error message. This makes testing IPC4 firmware easier as it mitigates issues thesofproject#841 and thesofproject#842 Signed-off-by: Marc Herbert <[email protected]>
Don't run verify-firmware-presence and verify-firmware-load by default. The run-all-tests.sh "harcoded test plan" is a bit of a hack, purely for interactive use. Not used as a test runner by any automation any time soon. When run without firmware the script now fails like this: + sof-test/test-case/verify-pcm-list.sh grep: /proc/asound/cards: No such file or directory For interactive users who forget to load the firmware and have direct access to every log file and everything else this is a good enough error message. This makes testing IPC4 firmware easier as it mitigates issues #841 and #842 Signed-off-by: Marc Herbert <[email protected]>
@miRoox I think we need to revise our DUT deployment script? What do you think? |
I will upgrade the We should all use the same scripts, laying out files in /lib/firmware/ is not a CI-specific task. Probably off-topic. |
@marc-hb Are you good to be the feature owner? |
Yes and the plan is in #855 |
I think we should get rid of this test. At the SOF level we simply have no control on what the The good news is |
we could also check that the request_firmware succeeds, but if that fails we'll also never see the boot complete stage, so no problem with removing this test. |
@marc-hb I can't recall if we ever reached a consensus on this, and if we even have an issue to fix. |
I think people either agree to remove this test from every test plan where it is an issue, or they don't care. No one will miss it. @thesofproject/test-maintainers |
With the IPC4 file path and filename changes, this test needs to be updated:
The paths and filenames need to be updated.
The text was updated successfully, but these errors were encountered: