<?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>221693</bug_id>
          
          <creation_ts>2021-02-10 10:29:07 -0800</creation_ts>
          <short_desc>[GPUP] One media test fails or timeout when media in GPU Process is enabled</short_desc>
          <delta_ts>2021-04-30 15:23:16 -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>Media</component>
          <version>Other</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=222094</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=223523</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>
          <dependson>223386</dependson>
    
    <dependson>223523</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peng Liu">peng.liu6</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>amir_mark</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jonlee</cc>
    
    <cc>pnormand</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1727612</commentid>
    <comment_count>0</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-02-10 10:29:07 -0800</bug_when>
    <thetext>media/audio-playback-restriction-removed-track-enabled.html [ Timeout Pass ]
media/controls/inline-elements-dropoff-order.html [ Failure Pass ]
media/encrypted-media/clearKey/clearKey-session-life-cycle.html [ Failure Crash ]
media/media-can-play-webm.html [ Failure ]
media/media-controller-time-constant.html [ Timeout ]
media/media-controller-time.html [ Timeout ]
media/media-controller-unpause.html [ Timeout ]
media/track/track-cues-pause-on-exit.html [ Timeout Pass ]
media/video-as-img-output-pts.html [ Timeout Pass ]
media/video-canvas-createPattern.html [ Crash ]
media/video-controller-child-rate.html [ Timeout ]
media/video-controller-currentTime-rate.html [ Failure ]
media/video-orientation-canvas.html [ Failure ]
media/video-set-rate-from-pause.html [ Timeout Pass ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730287</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-02-17 08:31:34 -0800</bug_when>
    <thetext>Why was this flagged in the wk2 expectations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730328</commentid>
    <comment_count>2</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-02-17 09:47:25 -0800</bug_when>
    <thetext>They are flagged as flaky because of the GPU Process work. Now &quot;media in GPU Process&quot; is enabled in the test runner for Mac and iOS. It is disabled for GStreamer-based ports, right? Then maybe I need to move the change to mac-wk2 and ios-wk2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730332</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-02-17 09:54:09 -0800</bug_when>
    <thetext>(In reply to Peng Liu from comment #2)
&gt; They are flagged as flaky because of the GPU Process work. Now &quot;media in GPU
&gt; Process&quot; is enabled in the test runner for Mac and iOS. It is disabled for
&gt; GStreamer-based ports, right? Then maybe I need to move the change to
&gt; mac-wk2 and ios-wk2.

I moved most to the glib TestExpectation as expect-pass: https://github.com/WebKit/WebKit/commit/3ff6c67518b693e0511fa75b1342fdcdd1b24941</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730339</commentid>
    <comment_count>4</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-02-17 10:00:23 -0800</bug_when>
    <thetext>(In reply to Philippe Normand from comment #3)
&gt; 
&gt; I moved most to the glib TestExpectation as expect-pass:
&gt; https://github.com/WebKit/WebKit/commit/
&gt; 3ff6c67518b693e0511fa75b1342fdcdd1b24941

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730363</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-17 10:30:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/74439562&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1734982</commentid>
    <comment_count>6</comment_count>
    <who name="Amir Mark Jr">amir_mark</who>
    <bug_when>2021-03-02 12:50:58 -0800</bug_when>
    <thetext>media/video-controller-child-rate.html is consistently failing on iOS. 

Able to reproduce issue using:

run-webkit-tests --ios-simulator --iterations 200 -f media/video-controller-child-rate.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735547</commentid>
    <comment_count>7</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-03-03 15:03:01 -0800</bug_when>
    <thetext>Following tests are passing on bots now:

media/video-as-img-output-pts.html
media/track/track-cues-pause-on-exit.html
media/controls/inline-elements-dropoff-order.html
media/audio-playback-restriction-removed-track-enabled.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735922</commentid>
    <comment_count>8</comment_count>
      <attachid>422256</attachid>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-03-04 10:41:45 -0800</bug_when>
    <thetext>Created attachment 422256
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735986</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-03-04 13:00:57 -0800</bug_when>
    <thetext>Committed r273914: &lt;https://commits.webkit.org/r273914&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422256.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735988</commentid>
    <comment_count>10</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-03-04 13:05:11 -0800</bug_when>
    <thetext>Reopen this bug to track the remaining 4 test failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1736234</commentid>
    <comment_count>11</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2021-03-05 01:36:45 -0800</bug_when>
    <thetext>media/media-controller-unpause.html no longer fails on the bots, likely due to r273895</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1738200</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2021-03-10 13:25:17 -0800</bug_when>
    <thetext>It looks like these are left:

media/encrypted-media/clearKey/clearKey-session-life-cycle.html
media/video-controller-child-rate.html
media/video-set-rate-from-pause.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740907</commentid>
    <comment_count>13</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2021-03-17 14:20:07 -0700</bug_when>
    <thetext>media/video-set-rate-from-pause.html was fixed by https://bugs.webkit.org/show_bug.cgi?id=223386</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741772</commentid>
    <comment_count>14</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2021-03-19 10:25:32 -0700</bug_when>
    <thetext>Patch for Bug 223523 will fix the failure of media/video-controller-child-rate.html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742099</commentid>
    <comment_count>15</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2021-03-21 14:31:20 -0700</bug_when>
    <thetext>media/encrypted-media/clearKey/clearKey-session-life-cycle.html is failing because the retain count of the mediaKeySession internal instance is 2 instead of 1, but this is due to the instance being retained by the RemoteCDMFactory for tracking purposes, and not an actual bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>422256</attachid>
            <date>2021-03-04 10:41:45 -0800</date>
            <delta_ts>2021-03-04 13:00:58 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-221693-20210304104144.patch</filename>
            <type>text/plain</type>
            <size>1814</size>
            <attacher name="Peng Liu">peng.liu6</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjczOTAyCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNzA0ZTJhYWMwYzFiZGZjZDkxMTM0
MThkY2FiYjk5MTk1ZmJkOWQ5MS4uMTljZjBhNTUwNGY0OGUzNDg5MmU4MzMxMjliMWI1Y2UxMjZm
NWEwOSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0IEBACisyMDIxLTAzLTA0ICBQZW5nIExpdSAgPHBlbmcu
bGl1NkBhcHBsZS5jb20+CisKKyAgICAgICAgW0dQVVBdIFNvbWUgbWVkaWEgdGVzdHMgYXJlIGZs
YWt5IHdoZW4gbWVkaWEgaW4gR1BVIFByb2Nlc3MgaXMgZW5hYmxlZAorICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjIxNjkzCisKKyAgICAgICAgVW5yZXZp
ZXdlZCB0ZXN0IGdhcmRlbmluZy4KKworICAgICAgICBSZW1vdmUgdGhlIHRlc3RzIHdoaWNoIGFy
ZSBjb25zaXN0ZW50bHkgcGFzc2luZyBvbiBib3RzIGZyb20gdGhlIHRlc3QgZXhwZWN0YXRpb25z
LgorCisgICAgICAgICogcGxhdGZvcm0vd2syL1Rlc3RFeHBlY3RhdGlvbnM6CisKIDIwMjEtMDMt
MDQgIFNhaWQgQWJvdS1IYWxsYXdhICA8c2FpZEBhcHBsZS5j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