Repository navigation
Stress: suspend/resume failure after dozens iterations on Yorp #304
Copy link
Copy link
Closed
Labels
GLKApplies to Gemini LakeApplies to Gemini LakeP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't workingSomething isn't working
Description
The criterion form chrome is 500 iterations. but now we only can pass dozens iterations.
dmesg log:
[ 1722.402305] sof-audio sof-audio: ipc tx: 0x30030000
[ 1722.402382] sof-audio sof-audio: ipc tx succeeded: 0x30030000
[ 1722.402399] sof-audio sof-audio: ipc tx: 0x30030000
[ 1722.402479] sof-audio sof-audio: ipc tx succeeded: 0x30030000
[ 1722.402495] sof-audio sof-audio: ipc tx: 0x30030000
[ 1722.402579] sof-audio sof-audio: ipc tx succeeded: 0x30030000
[ 1722.402678] sof-audio sof-audio: ipc tx: 0x30030000
[ 1722.402832] sof-audio sof-audio: ipc tx succeeded: 0x30030000
[ 1722.402853] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.402983] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.403003] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.403123] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.403144] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.403266] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.403287] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.403759] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.403771] sof-audio sof-audio: error: rx list empty but received 0x0
[ 1722.403776] sof-audio sof-audio: error: can't find message header 0x10000
[ 1722.403794] sof-audio sof-audio: ipc rx: 0x90020000
[ 1722.403811] sof-audio sof-audio: ipc rx done: 0x90020000
[ 1722.403832] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.403912] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.403931] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.404007] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.404026] sof-audio sof-audio: ipc tx: 0x80010000
[ 1722.404101] sof-audio sof-audio: ipc tx succeeded: 0x80010000
[ 1722.404109] sof-audio sof-audio: tplg: complete pipeline PIPELINE.7.HDA5.OUT id 44
[ 1722.404119] sof-audio sof-audio: ipc tx: 0x30130000
[ 1722.404194] sof-audio sof-audio: ipc tx succeeded: 0x30130000
[ 1722.404201] sof-audio sof-audio: tplg: complete pipeline PIPELINE.6.HDA4.OUT id 37
[ 1722.404213] sof-audio sof-audio: ipc tx: 0x30130000
[ 1722.404285] sof-audio sof-audio: ipc tx succeeded: 0x30130000
[ 1722.404293] sof-audio sof-audio: tplg: complete pipeline PIPELINE.5.HDA3.OUT id 30
[ 1722.404303] sof-audio sof-audio: ipc tx: 0x30130000
[ 1722.404371] sof-audio sof-audio: ipc tx succeeded: 0x30130000
[ 1722.404378] sof-audio sof-audio: tplg: complete pipeline PIPELINE.4.DMIC0.IN id 23
logger trace: no observed error trace
No memory window trace available.
How to reproduce:
sudo suspend_stress_test -c 500
Tested with:
SOF-glk-004-drop-stable
Commit: 1f799207f4d7eb7108d5e5602a4a4c15ed9c49f6
SOF topology-master
Commit: 8cc1dad
SOF Drivers-cros-sof-v4.14-rebase
Commit: bf94547
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
GLKApplies to Gemini LakeApplies to Gemini LakeP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't workingSomething isn't working
Activity
keqiaozhang commentedon Nov 20, 2018
Re-tested it with same commits, but got different error logs:
Command line error output:
dmesg log:
dmesg.log
logger-t.log
ranj063 commentedon Nov 20, 2018
@keqiaozhang just confirming once more:
The suspend stress test is during hdmi playback?
If so, instead of using youtube for hdmi playback, can you please test local hdmi playback through the browser and disconnect the network when you run this test?
I am asking because I see this error in the log:
[15073.750425] kauditd_printk_skb: 4 callbacks suppressed
[15073.750427] audit: type=1400 audit(1542630606.738:1124): avc: granted { execute } for pid=9603 comm="minijail0" path="/sbin/minijail0" dev="mmcblk0p3" ino=16408 scontext=u:r:cros_debugd_minijail:s0 tcontext=u:object_r:cros_minijail_exec:s0 tclass=file
[18657.500472] wlan0: deauthenticated from 00:62:ec:e6:2f:5d (Reason: 103=)
[18657.516495] ------------[ cut here ]------------
[18657.516505] Command STATISTICS_CMD: a command is already active!
mengdonglin commentedon Nov 24, 2018
@keqiaozhang Could you paste the 3 repo branch and commit info, and accurate reproduce steps here? Could you reply Ranjani?
keqiaozhang commentedon Nov 26, 2018
@ranj063
I have passed the first ~500 iterations of test under following condition:
local HDMI playback through browser + disconnect the network.
I will do more tests next.
ranj063 commentedon Nov 26, 2018
@keqiaozhang then is it ok to close this? I think the previous failure was likely due to network issues.
keqiaozhang commentedon Nov 26, 2018
@ranj063
I'm doing more rounds of test to confirm it. if no errors, I will close it.
keqiaozhang commentedon Nov 27, 2018
@ranj063
Confirmed that this issue is fixed after disconnecting the network.
I did 5 rounds of tests, each round of test can pass ~500 iterations.
ranj063 commentedon Nov 27, 2018
Thanks @keqiaozhang
selftests/bpf: Skip test when perf_event_open returns EOPNOTSUPP