<?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>222422</bug_id>
          
          <creation_ts>2021-02-25 10:01:53 -0800</creation_ts>
          <short_desc>REGRESSION (r273461): [ macOS ] imported/w3c/web-platform-tests/media-source/mediasource-duration.html is timing out</short_desc>
          <delta_ts>2021-02-26 14:14:12 -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>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=222462</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>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>1733373</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 10:01:53 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/media-source/mediasource-duration.html

is timing out in macOS Catalina and Big Sur, in release and Debug, for Wk1 and Wk2. 

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

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

DIFF TEXT:
--- /Volumes/Data/slave/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/mediasource-duration-expected.txt
+++ /Volumes/Data/slave/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/media-source/mediasource-duration-actual.txt
@@ -1,11 +1,5 @@
+#PID UNRESPONSIVE - WebKitTestRunner (pid 27787)
+FAIL: Timed out waiting for notifyDone to be called
 
-FAIL Test seek starts on duration truncation below currentTime The object is in an invalid state.
-FAIL Test appendBuffer completes previous seek to truncated duration The object is in an invalid state.
-FAIL Test endOfStream completes previous seek to truncated duration The object is in an invalid state.
-PASS Test setting same duration multiple times does not fire duplicate durationchange
-PASS Test setting the duration to less than the highest starting presentation timestamp will throw
-PASS Truncating the duration throws an InvalidStateError exception when new duration is less than the highest buffered range start time of one of the track buffers
-PASS Truncating the duration throws an InvalidStateError exception when new duration is less than a buffered coded frame presentation time
-PASS Increasing the duration does not trigger any SourceBuffer update
-PASS Increasing the duration during media playback does not trigger any SourceBuffer update
-
+#EOF
+#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733374</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-25 10:02:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/74748843&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733378</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 10:06:20 -0800</bug_when>
    <thetext>Timeouts started at changeset r273461:

CHANGESET URL:
https://trac.webkit.org/changeset/273461/webkit

Changes appear related to the test that is timing out. At this time we cannot reproduce due to issues with the builder bots. The builder bots went down yesterday, and there hasn&apos;t been new builds available since yesterday at 1PM. Will test when bots come back up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733464</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 12:39:46 -0800</bug_when>
    <thetext>This test has been constantly failing for a very long time. The test expectations for it, were set to expect a failure since r206264
CHANGESET URL:
https://trac.webkit.org/changeset/206264/webkit

Starting at r273461, the test started to timeout. At this point, I&apos;m not certain if we just need to update test expectations again, revert changes made at r273461, or modify the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733487</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 13:41:22 -0800</bug_when>
    <thetext>Moving forward we are going to treat this as a regression. I was able to reproduce the timeout at tip of tree using the following test:

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

Now, the tricky thing about this one, is that it has been failing for a while, but the test expectations were marked so it passed on the dashboard. So we need to decide if we revert the changes at r273461, or try and fix this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733529</commentid>
    <comment_count>5</comment_count>
      <attachid>421568</attachid>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 14:45:08 -0800</bug_when>
    <thetext>Created attachment 421568
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733530</commentid>
    <comment_count>6</comment_count>
      <attachid>421568</attachid>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-02-25 14:47:11 -0800</bug_when>
    <thetext>Comment on attachment 421568
Patch

Clearing flags on attachment: 421568

Committed r273514 (234589@main): &lt;https://commits.webkit.org/234589@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733531</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-25 14:47:41 -0800</bug_when>
    <thetext>Updated test expectations to include Slow to determine if changes made in r273461 are a regression, or if it made the test run better. 

Before the change the test would fail in 21 seconds. Now, it times out at 60 seconds. Changes made may have fixed part of this test, and that is what we are looking to determine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733971</commentid>
    <comment_count>8</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-02-26 14:14:04 -0800</bug_when>
    <thetext>It looks like the work to fix this test is happening in https://bugs.webkit.org/show_bug.cgi?id=222462</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>421568</attachid>
            <date>2021-02-25 14:45:08 -0800</date>
            <delta_ts>2021-02-25 14:47:11 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-222422-20210225144507.patch</filename>
            <type>text/plain</type>
            <size>2227</size>
            <attacher name="Robert Jenner">jenner</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjczNTEzCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggYjQyNDMxMTI0YzJjNjQxNzc1OWE3
MGI0OGZmMjAwYTc0ZGVmMTkyZS4uM2U4MTJlZDllMzY2N2JkYTc4YmY5NGI4YjY1NmM1MjBhODA2
MjA4YiAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIxLTAyLTI1ICBSb2JlcnQgSmVubmVyICA8
amVubmVyQGFwcGxlLmNvbT4KKworICAgICAgICBSRUdSRVNTSU9OIChyMjczNDYxKTogWyBtYWNP
UyBdIGltcG9ydGVkL3czYy93ZWItcGxhdGZvcm0tdGVzdHMvbWVkaWEtc291cmNlL21lZGlhc291
cmNlLWR1cmF0aW9uLmh0bWwgaXMgdGltaW5nIG91dAorICAgICAgICBodHRwczovL2J1Z3Mud2Vi
a2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjIy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