You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TPLG=/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-4ch.tplg MODEL=MTLP_RVP_HDA ~/sof-test/test-case/check-kmod-load-unload.sh
Polling 'sof_firmware_boot_complete --since=@1684343454' every 1s for 10s
Command 'sof_firmware_boot_complete --since=@1684343454' timed out after 10s and 11 attempts
2023-05-17 17:11:08 UTC [INFO] Test Result: FAIL!
However running the kmod scripts works fine.
It's likely a timeout value that's not long enough for MTL. Can we increase it to 70s as done for the boot?
@fredoh9@marc-hb@keqiaozhang this is a gap in our coverage, we do need to start testing module load/unload - possibly with a reduced number of cycles since we lose one minute with the i915 issue
# Set MAX Polling time to check FW Loading. If FW is already loaded, it will
# return immediately. Default value is set to 60 seconds, because i915 driver
# timeout is 60 seconds.
MAX_WAIT_FW_LOADING=${MAX_WAIT_FW_LOADING:-70}
Activity
marc-hb commentedon May 17, 2023
This is not a sof-test bug, this is new, platform-specific timeout feature (not questioning the priority)
This i915 timeout/bug has been a royal pain all across the board, @kv2019i is there really no way to avoid it?
plbossart commentedon May 17, 2023
we already have a 70s timeout in other parts of sof-test, so I will assert that it's a bug. This should just work with the delay being handled.
We have the same issue for all FPGA tests btw, the tests need to deal with the i915 60s wait.
plbossart commentedon May 17, 2023
case-lib/config.sh:MAX_WAIT_FW_LOADING=${MAX_WAIT_FW_LOADING:-70}
why can't we use this for kmod tests as well?
check-kmod-load-unload: remove hard-coded 10s timeout
check-kmod-load-unload: remove hard-coded 10s timeout
marc-hb commentedon Jun 27, 2023
Re-opening because this is not in any test plan yet, will close once this is running daily.
EDIT: blocked by bug 4442 below.
keqiaozhang commentedon Jun 28, 2023
There's an open bug for MTL when testing kmod
EDIT: closed as duplicated of:
marc-hb commentedon Oct 9, 2023
I checked the last daily (32811) and the test is now passing on MTL, probably has for a while. However it's still not enabled on PR testing: https://sof-ci.01.org/softestpr/PR1110/build783/devicetest/index.html (#1110).
plbossart commentedon Oct 9, 2023
probably because of the 60s graphics timeout, but this one will be removed "soon"
marc-hb commentedon Oct 9, 2023
Pretty sure we did the work for this test to pass even with the i915 60s timeout.
Moreover the timeout happens only once right after boot AFAIK.
For sure daily tests haven't been affected one way or the other.
So I think we should just add it back.
keqiaozhang commentedon Oct 10, 2023
We have been enabling the kmod related tests in our mtl-daily test for weeks now. I just enabled them in PR testing.
marc-hb commentedon Oct 11, 2023
It's passing now, thanks @keqiaozhang and everyone else!