Bug 167749 - LayoutTest http/tests/media/track-in-band-hls-metadata-crash.html is a flaky timeout
Summary: LayoutTest http/tests/media/track-in-band-hls-metadata-crash.html is a flaky ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-02 12:48 PST by Ryan Haddad
Modified: 2017-05-15 15:40 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.70 KB, patch)
2017-05-10 05:24 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch (2.75 KB, patch)
2017-05-11 00:42 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch (2.45 KB, patch)
2017-05-12 05:41 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-02-02 12:48:34 PST
LayoutTest http/tests/media/track-in-band-hls-metadata-crash.html is a flaky timeout

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fmedia%2Ftrack-in-band-hls-metadata-crash.html
Comment 1 Ryan Haddad 2017-02-02 12:49:37 PST
This test was added with https://trac.webkit.org/changeset/211495
Comment 2 Ryan Haddad 2017-02-02 12:50:08 PST
This appears to be limited to El Capitan.
Comment 3 Ryan Haddad 2017-02-07 16:49:51 PST
Jer, this test continues to be very flaky. Can you take a look?
Comment 4 Radar WebKit Bug Importer 2017-02-08 17:47:19 PST
<rdar://problem/30434020>
Comment 5 Ryan Haddad 2017-02-09 13:22:45 PST
Marked test as flaky in https://trac.webkit.org/changeset/211985
Comment 6 Per Arne Vollan 2017-05-10 05:24:35 PDT
Created attachment 309593 [details]
Patch
Comment 7 Per Arne Vollan 2017-05-10 09:20:29 PDT
Comment on attachment 309593 [details]
Patch

Thanks for reviewing!
Comment 8 WebKit Commit Bot 2017-05-10 09:30:02 PDT
Comment on attachment 309593 [details]
Patch

Clearing flags on attachment: 309593

Committed r216588: <http://trac.webkit.org/changeset/216588>
Comment 9 WebKit Commit Bot 2017-05-10 09:30:03 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Per Arne Vollan 2017-05-11 00:42:55 PDT
Reopening to attach new patch.
Comment 11 Per Arne Vollan 2017-05-11 00:42:58 PDT
Created attachment 309700 [details]
Patch
Comment 12 Eric Carlson 2017-05-11 08:51:59 PDT
Comment on attachment 309700 [details]
Patch

This is fine if this works, but another way to remove the flakiness of the current version is to not log the 'canplaythrough' event: document.addEventListener('canplaythrough', () => { video.play() });
Comment 13 Per Arne Vollan 2017-05-11 09:02:50 PDT
(In reply to Eric Carlson from comment #12)
> Comment on attachment 309700 [details]
> Patch
> 
> This is fine if this works, but another way to remove the flakiness of the
> current version is to not log the 'canplaythrough' event:
> document.addEventListener('canplaythrough', () => { video.play() });

Ah, I see, thanks! I also noticed that the 'canplaythrough' event was dispatched twice on one of the bots, causing 'video.play()' to be called two times.
Comment 14 Eric Carlson 2017-05-11 09:09:18 PDT
(In reply to Per Arne Vollan from comment #13)
> (In reply to Eric Carlson from comment #12)
> > Comment on attachment 309700 [details]
> > Patch
> > 
> > This is fine if this works, but another way to remove the flakiness of the
> > current version is to not log the 'canplaythrough' event:
> > document.addEventListener('canplaythrough', () => { video.play() });
> 
> Ah, I see, thanks! I also noticed that the 'canplaythrough' event was
> dispatched twice on one of the bots, causing 'video.play()' to be called two
> times.

document.oncanplaythrough = () => { document.removeAttribute('oncanplaythrough'); video.play() });
Comment 15 WebKit Commit Bot 2017-05-11 09:31:55 PDT
Comment on attachment 309700 [details]
Patch

Clearing flags on attachment: 309700

Committed r216680: <http://trac.webkit.org/changeset/216680>
Comment 16 WebKit Commit Bot 2017-05-11 09:31:56 PDT
All reviewed patches have been landed.  Closing bug.
Comment 17 Per Arne Vollan 2017-05-12 05:41:20 PDT
Reopening to attach new patch.
Comment 18 Per Arne Vollan 2017-05-12 05:41:22 PDT
Created attachment 309890 [details]
Patch
Comment 19 Per Arne Vollan 2017-05-12 05:42:30 PDT
(In reply to Eric Carlson from comment #14)
> (In reply to Per Arne Vollan from comment #13)
> > (In reply to Eric Carlson from comment #12)
> > > Comment on attachment 309700 [details]
> > > Patch
> > > 
> > > This is fine if this works, but another way to remove the flakiness of the
> > > current version is to not log the 'canplaythrough' event:
> > > document.addEventListener('canplaythrough', () => { video.play() });
> > 
> > Ah, I see, thanks! I also noticed that the 'canplaythrough' event was
> > dispatched twice on one of the bots, causing 'video.play()' to be called two
> > times.
> 
> document.oncanplaythrough = () => {
> document.removeAttribute('oncanplaythrough'); video.play() });

Thanks! I have updated the patch :)
Comment 20 WebKit Commit Bot 2017-05-15 15:40:54 PDT
Comment on attachment 309890 [details]
Patch

Clearing flags on attachment: 309890

Committed r216885: <http://trac.webkit.org/changeset/216885>
Comment 21 WebKit Commit Bot 2017-05-15 15:40:55 PDT
All reviewed patches have been landed.  Closing bug.