Closed Bug 1367955 Opened 4 years ago Closed 4 years ago
_mediarecorder _record _changing _video _resolution .html | called finish() multiple times
4 years ago
Component: Audio/Video: Playback → Audio/Video: Recording
Quick look at this and it's being caused by the onended function being called multiple times. If the video has already ended and seekToNextFrame() is called the ended event will fire a second time. I'm pretty sure video.ended check in seekThroughFrames races, and rarely another seekThroughFrames() will be queued when we're on the last frame: I've confirmed this locally with extra logging. I would have thought this couldn't happen: that if the video has ended as a result of seekToNextFrame, that by the time the then() is run video.ended should consistently return true. Took me 152 iterations to hit the issue. Will attach patch for others to repro.
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
Bulk priority update of open intermittent test failure bugs. P3 => P5 https://bugzilla.mozilla.org/show_bug.cgi?id=1381960
Priority: P3 → P5
Uptick in failure rate is odd. There have been some moderate sized recorder changes which may have impacted this. Provided the reason we're failing is the save as discussed in the above comments: IMO this test shouldn't be disabled and these failures represent an real underling issue, though not the one the test is designed to test. I would prefer the test can remain as is, but since we have Bug 1386489 to track the issue causing this test to fail, I could band-aid hack the test to avoid the failure. Since Bug 1386489 looks stalled, I'll band-aid this if failures remain high.
:singingtree, thanks for commenting on this- I agree, if this remains failing so frequently it would warrant some attention. There is also a QuantumRender only failure for this test in bug 1367879- not sure if it is all related.
See Also: → 1367879
Whiteboard: [stockwell needswork]
this stopped failing on october 6th, possibly this is fixed by disabling the test on linux64-webrender in bug 1367879.
Whiteboard: [stockwell needswork] → [stockwell unknown]
this has started failing again on windows 10* and linux64 debug/asan. The previous comment of this error stopping was true, we had 3 days with no failures (oddly a friday-sunday). :singingtree- could you take another look at this bug when you get a chance?
Whiteboard: [stockwell unknown] → [stockwell needswork]
gentle ping :singingtree
Apologies for the delay. Let's see if this bandaid helps.
Comment on attachment 8922473 [details] Bug 1367955 - Remove onended handler during ended handling to avoid video.ended race issues. https://reviewboard.mozilla.org/r/193546/#review198950
Attachment #8922473 - Flags: review?(apehrson) → review+
Attachment #8922472 - Attachment is obsolete: true
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/a30a745cfbcf Remove onended handler during ended handling to avoid video.ended race issues. r=pehrsons
You need to log in before you can comment on or make changes to this bug.