<?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>222371</bug_id>
          
          <creation_ts>2021-02-24 11:12:00 -0800</creation_ts>
          <short_desc>[ macOS Wk2 ] imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html is a flakey text failure</short_desc>
          <delta_ts>2021-04-15 18:30:37 -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>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=221310</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=221830</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jonlee</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1732978</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-24 11:12:00 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html

is a flakey text failure in macOS in release and debug on Wk2. It Is also occurring on EWS, and slowing it down.  

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fmedia-source%2Fmediasource-activesourcebuffers.html&amp;platform=mac

DIFF URL:
https://build.webkit.org/results/Apple-BigSur-Release-WK2-Tests/r273378%20(471)/imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers-pretty-diff.html

DIFF TEXT:
--- /Volumes/Data/slave/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers-expected.txt
+++ /Volumes/Data/slave/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers-actual.txt
@@ -5,6 +5,6 @@
 PASS Active SourceBuffers must appear in the same order as they appear in the sourceBuffers attribute: audio is first sourceBuffer, video media appended first
 PASS Active SourceBuffers must appear in the same order as they appear in the sourceBuffers attribute: video is first sourceBuffer, audio media appended first
 PASS Active SourceBuffers must appear in the same order as they appear in the sourceBuffers attribute: video is first sourceBuffer, video media appended first
-PASS Active SourceBuffers list reflects changes to selected audio/video tracks associated with separate SourceBuffers.
+FAIL Active SourceBuffers list reflects changes to selected audio/video tracks associated with separate SourceBuffers. assert_equals: audio source buffer no longer in the activeSourceBuffers list expected 1 but got 2
 PASS Active SourceBuffers list ignores changes to selected audio/video tracks that do not affect the activation of the SourceBuffer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1732980</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-24 11:13:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/74704447&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733020</commentid>
    <comment_count>2</comment_count>
      <attachid>421438</attachid>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-24 12:19:15 -0800</bug_when>
    <thetext>Created attachment 421438
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733024</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-24 12:32:57 -0800</bug_when>
    <thetext>Was able to reproduce failure at tip of tree using the following test:

run-webkit-test imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html  --iterations 1000 -f

Same failure occurred:
+FAIL Active SourceBuffers list reflects changes to selected audio/video tracks associated with separate SourceBuffers. assert_equals: audio source buffer no longer in the activeSourceBuffers list expected 1 but got 2

Have not tracked to an obvious regress point yet. The test has been flakey for a while, but there is a point where it started to fail more frequently. Currently investigating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733052</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-02-24 13:17:29 -0800</bug_when>
    <thetext>Committed r273433: &lt;https://commits.webkit.org/r273433&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421438.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733055</commentid>
    <comment_count>5</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-02-24 13:27:46 -0800</bug_when>
    <thetext>reopen</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733084</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-24 14:40:33 -0800</bug_when>
    <thetext>After investigating I have bisected to a regression point of r272842. 

Running the following test:
run-webkit-test imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html  --iterations 1000 -f

The same failure was reproduced. When running on r272841, the failure was not reproduced. The test was flakey failing before. However, it failed more frequently after r272842.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750881</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-04-15 18:30:37 -0700</bug_when>
    <thetext>I have added Crash to the test expectations for this test because it has been sporadically crashing.

https://trac.webkit.org/changeset/276101/webkit</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>421438</attachid>
            <date>2021-02-24 12:19:15 -0800</date>
            <delta_ts>2021-02-24 13:17:30 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-222371-20210224121915.patch</filename>
            <type>text/plain</type>
            <size>1532</size>
            <attacher name="Robert Jenner">jenner</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjczNDIxCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggOTNmMmE1OGM1MWJiNDYwMWZmNDky
NjM0Y2U3NGM2YjM4NjI2YzY1YS4uNDc0ZGExOGQ2ZDU3MTFmZDA0ZGM3ZmE0YTI5MTI2M2U0MzFh
YmJlNSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIxLTAyLTI0ICBSb2JlcnQgSmVubmVyICA8
amVubmVyQGFwcGxlLmNvbT4KKworICAgICAgICBbIG1hY09TIFdrMiBdIGltcG9ydGVkL3czYy93
ZWItcGxhdGZvcm0tdGVzdHMvbWVkaWEtc291cmNlL21lZGlhc291cmNlLWFjdGl2ZXNvdXJjZWJ1
ZmZlcnMuaHRtbCBpcyBhIGZsYWtleSB0ZXh0IGZhaWx1cmUKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIyMjM3MQorCisgICAgICAgIFVucmV2aWV3ZWQg
dGVzdCBnYXJkZW5pbmcuCisKKyAgICAgICAgKiBwbGF0Zm9ybS9tYWMtd2syL1Rlc3RFeHBlY3Rh
dGlvbnM6CisKIDIwMjEtMDItMjQgIFNhbSBXZWluaWcgIDx3ZWluaWd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