<?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>194798</bug_id>
          
          <creation_ts>2019-02-18 15:59:14 -0800</creation_ts>
          <short_desc>[ Mac ] REGRESSION (r237587) Layout Test compositing/visible-rect/animated-from-none.html is flaky text diff failure</short_desc>
          <delta_ts>2019-04-09 10:50:18 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Shawn Roberts">sroberts</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>lforschler</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1507510</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-02-18 15:59:14 -0800</bug_when>
    <thetext>The following layout test is flaky on Mac

compositing/visible-rect/animated-from-none.html

Probable cause:

Test started to become flaky after R237924. Prior revision passes. 

reproduced locally with:

run-webkit-tests compositing/visible-rect/animated-from-none.html --iterations 5000 -f --exit-after-n-failures=1 --no-retry-failures

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=compositing%2Fvisible-rect%2Fanimated-from-none.html

Diff:

--- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/compositing/visible-rect/animated-from-none-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/compositing/visible-rect/animated-from-none-actual.txt
@@ -35,6 +35,7 @@
                   (position -100.00 0.00)
                   (bounds 200.00 200.00)
                   (contentsOpaque 1)
+                  (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00])
                   (visible rect 100.00, 0.00 100.00 x 200.00)
                   (coverage rect 100.00, 0.00 500.00 x 200.00)
                   (intersects coverage rect 1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1507511</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-02-18 16:00:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/48181898&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1507514</commentid>
    <comment_count>2</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2019-02-18 16:04:45 -0800</bug_when>
    <thetext>(In reply to Shawn Roberts from comment #0)
&gt; The following layout test is flaky on Mac
&gt; 
&gt; compositing/visible-rect/animated-from-none.html
&gt; 
&gt; Probable cause:
&gt; 
&gt; Test started to become flaky after R237924. Prior revision passes. 

I haven&apos;t investigated this to any depth yet, but it seems somewhat unlikely that &lt;https://trac.webkit.org/r237924&gt; would cause a layout test on macOS to become flaky.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1507515</commentid>
    <comment_count>3</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2019-02-18 16:07:12 -0800</bug_when>
    <thetext>Is it possible that another change (which might&apos;ve landed around the same time as r237924) caused this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1507524</commentid>
    <comment_count>4</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-02-18 16:17:26 -0800</bug_when>
    <thetext>It is definitely possible. Partnering with another bot watcher they thought perhaps the Rect it was referring to was it attempting to draw a rectangle and it was off. 

237925 has a similar reference but I don&apos;t think anything had been changed in that regard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1507525</commentid>
    <comment_count>5</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-02-18 16:17:44 -0800</bug_when>
    <thetext>https://trac.webkit.org/changeset/237925/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525255</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-08 10:48:15 -0700</bug_when>
    <thetext>The dumping code is:
    if (m_transform &amp;&amp; !m_transform-&gt;isIdentity()) {
        ts &lt;&lt; indent &lt;&lt; &quot;(transform &quot;;
        ts &lt;&lt; &quot;[&quot; &lt;&lt; m_transform-&gt;m11() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m12() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m13() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m14() &lt;&lt; &quot;] &quot;;
        ts &lt;&lt; &quot;[&quot; &lt;&lt; m_transform-&gt;m21() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m22() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m23() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m24() &lt;&lt; &quot;] &quot;;
        ts &lt;&lt; &quot;[&quot; &lt;&lt; m_transform-&gt;m31() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m32() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m33() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m34() &lt;&lt; &quot;] &quot;;
        ts &lt;&lt; &quot;[&quot; &lt;&lt; m_transform-&gt;m41() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m42() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m43() &lt;&lt; &quot; &quot; &lt;&lt; m_transform-&gt;m44() &lt;&lt; &quot;])\n&quot;;
    }


So this transform must be slightly non-identity. Figure out why!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525612</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-09 07:09:24 -0700</bug_when>
    <thetext>I think the reason is that the animation&apos;s progress can be a very small number larger than 0. I don&apos;t know whether that is a bug or a shortcoming of the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525660</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-09 10:09:59 -0700</bug_when>
    <thetext>I think for the Web Animations engine the right thing to use is the &quot;ready&quot; promise and not an &quot;animationstart&quot; event where the event delivery is async and progress may not be 0 at the time it&apos;s delivered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525661</commentid>
    <comment_count>9</comment_count>
      <attachid>367047</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-09 10:12:00 -0700</bug_when>
    <thetext>Created attachment 367047
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525665</commentid>
    <comment_count>10</comment_count>
      <attachid>367047</attachid>
    <who name="Dean Jackson">dino</who>
    <bug_when>2019-04-09 10:21:12 -0700</bug_when>
    <thetext>Comment on attachment 367047
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=367047&amp;action=review

&gt; LayoutTests/ChangeLog:11
&gt; +        than 1 and yield an animated transform that isn&apos;t quite the identity matrix.

Don&apos;t you mean 0?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525676</commentid>
    <comment_count>11</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-09 10:50:18 -0700</bug_when>
    <thetext>Committed r244082: &lt;https://trac.webkit.org/changeset/244082&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>367047</attachid>
            <date>2019-04-09 10:12:00 -0700</date>
            <delta_ts>2019-04-09 10:21:12 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-194798-20190409191159.patch</filename>
            <type>text/plain</type>
            <size>2317</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ0MDY4CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNDEyNWI3MzY5YjdmOGIwYTIxMWVm
MjY0ZGNlODVmYWU0YTY1YzUwNy4uNjAwYTU0ZjM3NTNlNGJkN2M5YjkzYzlkNjNmMDgyNTEzZjI3
ZTZlOSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDE5LTA0LTA5ICBBbnRvaW5lIFF1aW50ICA8
Z3Jhb3V0c0BhcHBsZS5jb20+CisKKyAgICAgICAgWyBNYWMgXSBSRUdSRVNTSU9OIChyMjM3NTg3
KSBMYXlvdXQgVGVzdCBjb21wb3NpdGluZy92aXNpYmxlLXJlY3QvYW5pbWF0ZWQtZnJvbS1ub25l
Lmh0bWwgaXMgZmxha3kgdGV4dCBkaWZmIGZhaWx1cmUKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5NDc5OAorICAgICAgICA8cmRhcjovL3Byb2JsZW0v
NDgxODE4OTg+CisKKyAgICAgICAg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Fsc2UpOwotICAgICAgICAgICAg
Ci0gICAgICAgICAgICBhbmltYXRlZC5jbGFzc0xpc3QuYWRkKCdhbmltYXRpbmcnKTsKKyAgICAg
ICAgICAgIH0pOwogICAgICAgICB9CiAgICAgICAgIHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKCds
b2FkJywgZG9UZXN0LCBmYWxzZSk7CiAgICAgPC9zY3JpcHQ+Cg==
</data>
<flag name="review"
          id="383389"
          type_id="1"
          status="+"
          setter="dino"
    />
          </attachment>
      

    </bug>

</bugzilla>