<?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>187911</bug_id>
          
          <creation_ts>2018-07-23 10:43:53 -0700</creation_ts>
          <short_desc>[macOS debug] Layout Test imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-readyState.html is a flaky failure</short_desc>
          <delta_ts>2025-11-27 04:51:25 -0800</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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jacob_uphoff</cc>
    
    <cc>jean-yves.avenard</cc>
    
    <cc>jer.noble</cc>
    
    <cc>realdawei</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1444306</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-23 10:43:53 -0700</bug_when>
    <thetext>The following layout test is flaky on macOS debug bots

imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-readyState.html

Probable cause:

Unknown, this test has been flaky for a while.

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2Fmedia-source%2FSourceBuffer-abort-readyState.html

The test usually completes less than 2 seconds, but intermittently times out after 135 seconds with the following diff:

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-readyState-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-readyState-actual.txt
@@ -1,4 +1,7 @@
+CONSOLE MESSAGE: line 51: InvalidStateError: The object is in an invalid state.
+
+Harness Error (FAIL), message = InvalidStateError: The object is in an invalid state.
 
 FAIL SourceBuffer#abort() (video/webm; codecs=&quot;vorbis,vp8&quot;) : If the readyState attribute of the parent media source is not in the &quot;open&quot; state then throw an INVALID_STATE_ERR exception and abort these steps. assert_unreached: Browser doesn&apos;t support the MIME used in this test: video/webm; codecs=&quot;vorbis,vp8&quot; Reached unreachable code
-PASS SourceBuffer#abort() (video/mp4) : If the readyState attribute of the parent media source is not in the &quot;open&quot; state then throw an INVALID_STATE_ERR exception and abort these steps. 
+TIMEOUT SourceBuffer#abort() (video/mp4) : If the readyState attribute of the parent media source is not in the &quot;open&quot; state then throw an INVALID_STATE_ERR exception and abort these steps. Test timed out</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1455477</commentid>
    <comment_count>1</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2018-08-30 16:56:02 -0700</bug_when>
    <thetext>Issue still occurring. 

easily can reproduce issue with a debug build and running with:

run-webkit-tests --root debug-235460 imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-readyState.html --iterations 500 -f --debug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639241</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-04-08 12:54:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/61471458&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639242</commentid>
    <comment_count>3</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-04-08 12:55:20 -0700</bug_when>
    <thetext>Test is still flaky failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639254</commentid>
    <comment_count>4</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-04-08 13:05:51 -0700</bug_when>
    <thetext>Set expectations for this here: https://trac.webkit.org/changeset/259749/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>