Closed Bug 969392 Opened 10 years ago Closed 10 years ago

Intermittent | test_play_events.html | Last event should be canplaythrough for http://mochi.test:8888/tests/content/media/test/gizmo.mp4 - got playing, expected canplaythrough

Categories

(Core :: Audio/Video, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31
Tracking Status
firefox29 --- wontfix
firefox30 --- fixed
firefox31 --- fixed
firefox-esr24 --- unaffected
b2g-v1.3 --- wontfix
b2g-v1.3T --- wontfix
b2g-v1.4 --- fixed
b2g-v2.0 --- fixed

People

(Reporter: cbook, Assigned: jwwang)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

Ubuntu VM 12.04 x64 fx-team debug test mochitest-1 on 2014-02-06 23:30:31 PST for push c326f427d377

slave: tst-linux64-spot-130

https://tbpl.mozilla.org/php/getParsedLog.php?id=34268225&tree=Fx-Team



8959 ERROR TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_play_events.html | Last event should be canplaythrough for http://mochi.test:8888/tests/content/media/test/gizmo.mp4 - got playing, expected canplaythrough
https://tbpl.mozilla.org/php/getParsedLog.php?id=34468131&tree=Try&full=1#error0

22:01:28     INFO -  9554 INFO TEST-START | /tests/content/media/test/test_mediarecorder_creation_fail_gstreamer.html
22:01:29     INFO -  9555 INFO TEST-INFO | /tests/content/media/test/test_mediarecorder_creation_fail_gstreamer.html | onended
22:01:29     INFO -  9556 ERROR TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_creation_fail_gstreamer.html | oncanplaythrough not fired

It looks like a bug in GStreamerReader that causes premature end of stream and the oncanplaythrough event is not fired.
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
FWIW, this is currently the #2 orange on trunk.
(In reply to TBPL Robot from comment #147)
The event sequence for vp9.webm is:
'play' -> 'ended' -> 'canplay' -> 'canplaythrough'

I am investigating why 'canplay' and 'canplaythrough' are received after 'ended'.
All failures except for one mis-filed one (different canplaythrough failure on android) are b2g emulator
OS: Linux → Gonk (Firefox OS)
Attached patch 969392_fix.patchSplinter Review
Remove the check for 'canplaythrough' in 'ended' event handler.
See https://bugzilla.mozilla.org/show_bug.cgi?id=843265#c140.
Attachment #8373879 - Attachment is obsolete: true
Attachment #8412395 - Flags: review?(kinetik)
Attachment #8412395 - Flags: review?(kinetik) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/3b22ff21d731
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.