Open Bug 1407553 Opened 2 years ago Updated Last year

Frequent media mochitests timeouts on Windows 10 recently

Categories

(Core :: Audio/Video: cubeb, defect, P3)

Unspecified
Windows 10
defect

Tracking

()

People

(Reporter: jwwang, Assigned: chunmin)

References

(Blocks 41 open bugs)

Details

https://treeherder.mozilla.org/logviewer.html#?job_id=135854322&repo=try&lineNumber=8935

04:13:18     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #2] WARNING: 2580598c220 StateCallback, mState=STARTED cubeb_state=STARTED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:18     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #4] WARNING: 2580598c040 StateCallback, mState=STARTED cubeb_state=STARTED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:18     INFO -  GECKO(9348) | [Child 3508, Unnamed thread 25807b2b000] WARNING: 2580598c040 StateCallback, mState=STARTED cubeb_state=DRAINED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:18     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #2] WARNING: 2580598c040 StateCallback, mState=DRAINED cubeb_state=STOPPED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:19     INFO -  GECKO(9348) | [Child 3508, Unnamed thread 258063f5400] WARNING: 2580598c220 StateCallback, mState=STARTED cubeb_state=DRAINED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:19     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #2] WARNING: 2580598c220 StateCallback, mState=DRAINED cubeb_state=STOPPED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:21     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #4] WARNING: 25805970b50 StateCallback, mState=STARTED cubeb_state=STARTED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711
04:13:21     INFO -  GECKO(9348) | [Child 3508, MediaPlayback #3] WARNING: 2580598e7a0 StateCallback, mState=STARTED cubeb_state=STARTED: file z:/build/build/src/dom/media/AudioStream.cpp, line 711


My logs show that stream 25805970b50 and 2580598e7a0 didn't get cubeb_state=DRAINED and therefore playback couldn't reach the end. That is the reason why we have many test timeouts on Windows 10 recently.
Hi Kinetik,
Per comment 0, can you find someone to look at the cubeb issue? Thanks!
Component: Audio/Video: Playback → Audio/Video: cubeb
Flags: needinfo?(kinetik)
Rank: 35
Priority: -- → P3
> That is the reason why we have many test timeouts on Windows 10 recently.

What range do you mean by "recently"?  There haven't been many changes to the Windows libcubeb backend for several months IIRC.
Flags: needinfo?(kinetik)
Within one week, there have been several bugs opened or reopened for media test timeout.
Thanks.  It's possible but unlikely (because it should only affect capture and/or full-duplex streams AFAIK) that bug 1405258 is implicated, padenot can confirm.  There aren't any other recent changes to the libcubeb Windows audio backend (cubeb_wasapi.cpp hasn't changed since early Sept), which would tend to suggest the issue lies elsewhere.
Blocks: 1407893
(In reply to Matthew Gregan [:kinetik] from comment #4)
> Thanks.  It's possible but unlikely (because it should only affect capture
> and/or full-duplex streams AFAIK) that bug 1405258 is implicated, padenot
> can confirm.  There aren't any other recent changes to the libcubeb Windows
> audio backend (cubeb_wasapi.cpp hasn't changed since early Sept), which
> would tend to suggest the issue lies elsewhere.

I agree. I don't see this being the root cause.
Blocks: 1408238
Blocks: 1408022
Blocks: 1407485
Blocks: 1407127
Blocks: 1407126
Blocks: 1406753
Blocks: 1408237
Blocks: 1408149
Blocks: 1408283
Blocks: 1407128
Blocks: 1408024
Blocks: 1406677
Blocks: 1406503
Blocks: 1302613
Blocks: 1325994
Blocks: 1407020
Blocks: 1295884
Blocks: 1407497
Blocks: 1407382
Blocks: 1407003
Blocks: 1316177
Blocks: 1347756
Blocks: 1406760
Blocks: 1407170
Blocks: 1407373
Blocks: 1407370
Blocks: 1407118
Blocks: 1407119
Blocks: 1124970
Blocks: 1407120
Blocks: 1408160
Blocks: 1320417
Blocks: 1320418
Blocks: 1348386
Blocks: 1344391
Blocks: 1320242
Blocks: 1399852
Blocks: 1406861
Blocks: 1110922
Blocks: 1198168
Blocks: 1123469
Blocks: 1304480
Blocks: 1406755
Blocks: 1335520
Blocks: 1407198
Blocks: 1300443
Blocks: 1406801
Blocks: 1409096
Blocks: 1409236
Blocks: 1409235
Blocks: 1387679
Blocks: 1409908
It looks this problem impacts so many test cases. 
Is anyone working on this?
Blocks: 1410593
Blocks: 1394482
Chunmin,
Per discussion, please check why we got so many test failures on Windows 10.
Thanks!
Flags: needinfo?(cchang)
Sure. I will check this ASAP.
Assignee: nobody → cchang
Flags: needinfo?(cchang)
You need to log in before you can comment on or make changes to this bug.