Closed
Bug 1152151
Opened 10 years ago
Closed 10 years ago
[EME] Some tests keep working after they should have finished
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(2 files, 1 obsolete file)
5.90 KB,
patch
|
mozbugz
:
review+
|
Details | Diff | Splinter Review |
8.12 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
Some EME tests keep doing some work after they have first declared themselves finished, e.g.:
https://treeherder.mozilla.org/logviewer.html#?job_id=6292556&repo=try
"23:09:54 INFO - 331 INFO TEST-UNEXPECTED-FAIL | dom/media/test/test_eme_canvas_blocked.html | bipbop-cenc-videoinit.mp4-2 fragment 'bipbop-cenc-audio3.m4s' size: expected 977, got 977 - Result logged after SimpleTest.finish()"
This is because "LoadTest(test, v, token)" asynchronously loads all the fragments for each test case, but the test themselves only check pass/fail conditions early (typically after the init segments) and declare the test finished. But loading continues in the background, and some checks are done there, which could result in late errors.
Possible solutions:
1. Don't mark the test 'finished' until loading has completed.
2. Only try to load the segments needed for each test.
3. Allow the test to stop the loading operation.
Assignee | ||
Updated•10 years ago
|
Summary: [EME] Some tests keep checking things after they should be finished → [EME] Some tests keep working after they should have finished
Assignee | ||
Comment 1•10 years ago
|
||
Added manager.started(token+"_load") and manager.finished(token+"_load") around TestLoad to ensure that test don't terminate tests too quickly while fetching is still running.
Attachment #8589523 -
Flags: review?(edwin)
Attachment #8589523 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Backed out for test_eme_persistent_sessions.html timeouts on multiple platforms.
https://hg.mozilla.org/integration/mozilla-inbound/rev/82fc1964041c
https://treeherder.mozilla.org/logviewer.html#?job_id=8683992&repo=mozilla-inbound
Assignee | ||
Comment 5•10 years ago
|
||
Rebase & patch rename, no actual changes, carrying r+.
Attachment #8589523 -
Attachment is obsolete: true
Attachment #8592552 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
Some tests only need the init fragment and the first data fragment, no need to load more.
Attachment #8592553 -
Flags: review?(edwin)
Attachment #8592553 -
Flags: review?(edwin) → review+
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c55cbfbc2a24
https://hg.mozilla.org/mozilla-central/rev/03406fe40cc9
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•