Closed Bug 1364202 Opened 7 years ago Closed 7 years ago

Intermittent testAudioFocus | Checking the audio playing state of tab, isTabPlaying = true - Tab's audio playing state is correct.

Categories

(Firefox for Android Graveyard :: Testing, defect, P1)

defect

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: alwu)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Attachments

(1 file)

New test added in bug 1357639.

Alastor, can you make this test more reliable?
Blocks: 1357639
Flags: needinfo?(alwu)
Priority: -- → P1
After investigation, I check some fail cases showing on [1], and I found that the audio decoding speed is super SLOW on the emulator...

I choose 7 fail cases [2] and check the start time we wait for "file starts audilbe" and "the audible event dispatched to Java", the result is in the following.

> Start waiting audible 22:18:03.866
> Receive audible event 22:18:13.805
> —
> Start waiting audible 00:45:48.182 
> Receive audible event 00:45:56.003
> —
> Start waiting audible 07:51:37.299
> Receive audible event 07:51:47.028
> —
> Start waiting audible 09:29:29.385
> Receive audible event 09:29:36.395
> —
> Start waiting audible 01:16:07.408
> Receive audible event 01:16:13.349
> —
> Start waiting audible 14:10:00.271
> Receive audible event 14:10:10.351
> —
> Start waiting audible 04:58:13.198
> Receive audible event 04:58:19.977

The longest waiting time could be almost 10 seconds, the emulator indeed super slow.
Therefore, we should increase the waiting time to avoid this kinds of intermittent fail.

[1] https://brasstacks.mozilla.com/orangefactor/?display=Bug&tree=trunk&startday=2017-05-10&endday=2017-05-17&bugid=1364202

[2]
https://public-artifacts.taskcluster.net/WiHAIVgETGKuEkw0JS2JqA/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/bSVpfn6JTWS2W7Nj1fNj7w/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/PTr88AOpRfer8TejSny7KA/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/eR8pouAGTi62i8DL9uswWQ/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/a5GpCVJGTbOOgL2vb09imw/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/RhczyGKoSdCCGXiNX4T4Dg/0/public/logs/live_backing.log
https://public-artifacts.taskcluster.net/X8w2US4DQVygVreSbbR41Q/0/public/logs/live_backing.log
Assignee: nobody → alwu
Flags: needinfo?(alwu)
review ping?
From the report in comment6, we should fix this bug ASAP.
Thanks!
Flags: needinfo?(s.kaspari)
Comment on attachment 8868373 [details]
Bug 1364202 - increase timeout time for waiting playback status changed.

https://reviewboard.mozilla.org/r/139952/#review145532
Attachment #8868373 - Flags: review?(s.kaspari) → review+
(In reply to Alastor Wu [:alwu][please needinfo? me] from comment #7)
> review ping?
> From the report in comment6, we should fix this bug ASAP.
> Thanks!

Sorry, I have been traveling the last two weeks. :)
Flags: needinfo?(s.kaspari)
(In reply to Sebastian Kaspari (:sebastian) from comment #9)
> Sorry, I have been traveling the last two weeks. :)

Thanks :)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fbb41e115741
increase timeout time for waiting playback status changed. r=sebastian
https://hg.mozilla.org/mozilla-central/rev/fbb41e115741
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Whiteboard: [stockwell fixed]
Blocks: 1395086
See Also: → 1467418
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: