<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>194916</bug_id>
          
          <creation_ts>2019-02-21 13:51:39 -0800</creation_ts>
          <short_desc>fast/mediastream/MediaStream-video-element.html is flaky</short_desc>
          <delta_ts>2019-04-19 22:12:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=194829</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>lforschler</cc>
    
    <cc>rniwa</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1508648</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-21 13:51:39 -0800</bug_when>
    <thetext>fast/mediastream/MediaStream-video-element.html is flaky:
--- /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/fast/mediastream/MediaStream-video-element-expected.txt
+++ /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/fast/mediastream/MediaStream-video-element-actual.txt
@@ -47,7 +47,7 @@
 video.audioTracks[0] properties:
   track.id = &lt;UUID&gt;
   track.kind = main
-  track.label = Mock audio device 1
+  track.label = 
   track.language = 
   track.enabled = true
   track.sourceBuffer = null

Steps to reproduce:
run-webkit-tests fast/mediastream/MediaStream-video-element-video-tracks-disabled.html fast/mediastream/MediaStream-video-element.html --child-processes 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508649</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-21 13:52:55 -0800</bug_when>
    <thetext>This is somehow related to using a different WebView for the 2 tests but the same WKContext/WebProcessPool. I am not super familiar with this code. I spent some time trying to understand the mock media devices code yesterday but could not figure out the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508650</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-21 13:54:08 -0800</bug_when>
    <thetext>This started with https://trac.webkit.org/changeset/241821 which avoids re-constructing a new WKContext / WebProcessPool between tests whenever possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1509464</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-02-24 08:41:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/48345402&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1509645</commentid>
    <comment_count>4</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-02-25 09:05:07 -0800</bug_when>
    <thetext>Marked test as failing to get the tree green while waiting on resolution:
https://trac.webkit.org/changeset/242044/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1519939</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-03-21 14:27:28 -0700</bug_when>
    <thetext>You can reproduce it with the test by itself:
Tools/Scripts/run-webkit-tests fast/mediastream/MediaStream-video-element.html -gf --repeat-each=50

So it is a flaky test and r241821 merely impacted the timing of things, making the test flakier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1519941</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-03-21 14:28:58 -0700</bug_when>
    <thetext>The test is relying on a setTimeout(100):

function canplay()
{
    debug(&quot;&lt;br&gt;*** start playback ****&quot;);
    evalAndLog(&quot;video.play()&quot;);
    setTimeout(checkVideoElement, 100);
}

:/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529040</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-04-19 22:12:48 -0700</bug_when>
    <thetext>This test appears to be always failing now?÷</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>