<?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>171895</bug_id>
          
          <creation_ts>2017-05-09 16:22:42 -0700</creation_ts>
          <short_desc>[wk2] Layout Test/webrtc/audio-replace-track.html is flaky</short_desc>
          <delta_ts>2017-06-02 17:12:20 -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>New Bugs</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=171815</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=171292</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=172645</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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1306660</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-09 16:22:42 -0700</bug_when>
    <thetext>the test webrtc/audio-replace-track.html is a flaky failure and timeout.

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=webrtc%2Faudio-replace-track.html

build:
https://build.webkit.org/builders/Apple%20Sierra%20Debug%20WK2%20(Tests)/builds/902
https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK2%20(Tests)/r216534%20(902)/results.html

Diff:
--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/webrtc/audio-replace-track-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/webrtc/audio-replace-track-actual.txt
@@ -1,3 +1,3 @@
 
-PASS Replacing audio track from a peer connection 
+FAIL Replacing audio track from a peer connection promise_test: Unhandled rejection with value: object &quot;TypeError: null is not an object (evaluating &apos;context.createMediaStreamSource&apos;)&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306664</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-09 16:28:28 -0700</bug_when>
    <thetext>Marked test as flaky https://trac.webkit.org/changeset/216557/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314280</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-31 13:01:01 -0700</bug_when>
    <thetext>The test has now started to become flaky on iOS as well. 
Added to see also a bug that looks to be an attempt to help with flakiness.

Oldest iOS failure on dashboard is on 5/22 with this build:
https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/1677

additional diff:
--- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/webrtc/audio-replace-track-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/webrtc/audio-replace-track-actual.txt
@@ -1,6 +1,6 @@
 
 PASS Starting an audio connection 
-PASS Ensuring mock audio source is received on the remote side 
+FAIL Ensuring mock audio source is received on the remote side assert_true: heard hum 1 expected true got false
 PASS Using replaceTrack for audio 
-PASS Ensuring remote audio gets the replacing track data 
+FAIL Ensuring remote audio gets the replacing track data assert_true: heard hum 2 expected true got false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315268</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-06-02 16:08:24 -0700</bug_when>
    <thetext>Marked test as flaky on iOS and removed timeout expectation for macOS in https://trac.webkit.org/r217739</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315304</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-06-02 17:12:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/32548741&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>