Bug 162255

Summary: VideoControlsManager.VideoControlsManagerSingleLargeVideo fails intermittently on the Mac WK2 bot
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: MediaAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, jer.noble
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing
none
Patch for landing none

Wenson Hsieh
Reported 2016-09-19 22:13:17 PDT
VideoControlsManager.VideoControlsManagerSingleLargeVideo fails intermittently on the Mac WK2 bot This is reproducible by running the test repeatedly in a for loop (locally, I observed that running the test back-to-back would result in the second one failing). This suggests that even on the runloop after the video starts playing, the state of the playback controls manager may not be up to date in the UI process. Instead, we can just spin the runloop until the playback controls are shown, which makes back-to-back tests to succeed and will probably address flakiness on the bots for this test.
Attachments
Patch (3.60 KB, patch)
2016-09-19 22:15 PDT, Wenson Hsieh
no flags
Patch (3.66 KB, patch)
2016-09-19 22:17 PDT, Wenson Hsieh
no flags
Patch for landing (3.58 KB, patch)
2016-09-20 08:13 PDT, Wenson Hsieh
no flags
Patch for landing (3.58 KB, patch)
2016-09-20 08:16 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2016-09-19 22:15:15 PDT
WebKit Commit Bot
Comment 2 2016-09-19 22:16:17 PDT
Attachment 289320 [details] did not pass style-queue: ERROR: Tools/ChangeLog:3: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Wenson Hsieh
Comment 3 2016-09-19 22:17:37 PDT
Jer Noble
Comment 4 2016-09-19 23:12:23 PDT
Comment on attachment 289321 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=289321&action=review > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:9 > +<body onload=play()> Nit: shouldn't this have quotes?
Wenson Hsieh
Comment 5 2016-09-20 08:07:50 PDT
Comment on attachment 289321 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=289321&action=review >> Tools/TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:9 >> +<body onload=play()> > > Nit: shouldn't this have quotes? Ok! Added quotes.
Wenson Hsieh
Comment 6 2016-09-20 08:13:50 PDT
Created attachment 289346 [details] Patch for landing
WebKit Commit Bot
Comment 7 2016-09-20 08:14:38 PDT
Comment on attachment 289346 [details] Patch for landing Rejecting attachment 289346 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 289346, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Tools/ChangeLog contains OOPS!. Full output: http://webkit-queues.webkit.org/results/2112643
Wenson Hsieh
Comment 8 2016-09-20 08:16:30 PDT
Created attachment 289347 [details] Patch for landing
WebKit Commit Bot
Comment 9 2016-09-20 08:49:25 PDT
Comment on attachment 289347 [details] Patch for landing Clearing flags on attachment: 289347 Committed r206148: <http://trac.webkit.org/changeset/206148>
WebKit Commit Bot
Comment 10 2016-09-20 08:49:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.