thesofproject / sof-test

BSD 3-Clause "New" or "Revised" License
12 stars 44 forks source link

[APL] APL_UP2_NOCODEC TIMEOUT when suspend-resume #717

Closed XiaoyunWu6666 closed 1 month ago

XiaoyunWu6666 commented 3 years ago

Describe the bug According to our inner daily tests , APL_UP2_NOCODEC TIMEOUT when suspend-resume quite often (without too much meaningful error/warning logs) . eg inner daily 4849 model=APL_UP2_NOCODEC testcase=check-suspend-resume-50 [console log]

2021-06-24 23:33:43 UTC [REMOTE_INFO] ===== Round(33/50) =====
2021-06-24 23:33:43 UTC [REMOTE_COMMAND] Run the command: rtcwake -m mem -s 5
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jun 24 23:33:49 2021
2021-06-24 23:33:51 UTC [REMOTE_COMMAND] sleep for 5
2021-06-24 23:33:56 UTC [REMOTE_INFO] Check for the kernel log status
declare -- cmd="journalctl_cmd --since=@1624577618"
2021-06-24 23:33:56 UTC [REMOTE_INFO] Check for the wakeup_count
2021-06-24 23:33:56 UTC [REMOTE_INFO] ===== Round(34/50) =====
2021-06-24 23:33:56 UTC [REMOTE_COMMAND] Run the command: rtcwake -m mem -s 5
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jun 24 23:34:02 2021

TCR shows that all TIMEOUT happen on jf DUTs , no TIMEOUT happen on sh APL_UP2_NOCODEC DUTs. (You can use filters shown as following) image

Reproduction TPLG=sof-apl-nocodec.tplg ~/sof-test/test-case/check-suspend-resume.sh -l 50

XiaoyunWu6666 commented 3 years ago

thanks @fredoh9 for refining the TIMEOUT value for jf APL_UP2_NOCODEC DUTs. (they have longer network delay so bigger TIMEOUT value should be used!) Let's close it if following inner daily tests work well

plbossart commented 2 years ago

@XiaoyunWu6666 this doesn't seem like a current issue?

marc-hb commented 2 years ago

rtcwake timeout in daily 14218?model=APL_UP2_HDA_ZEPHYR&testcase=check-suspend-resume-without-audio-20 Start Time: 2022-07-25 21:29:47 UTC

Both APL_UP2_NOCODEC_ZEPHYR and APL_UP2_HDA_ZEPHYR timed out in daily 14198

Start Time: 2022-07-24 21:29:42 UTC Kernel Branch: topic/sof-dev Kernel Commit: 70f9e7b34a9d SOF Branch: main SOF Commit: 2845fc8cdec2 Zephyr Commit: e81c0b07e248

marc-hb commented 1 month ago

Not seen for a long time - at least not more frequently than on other platforms.