<?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>161242</bug_id>
          
          <creation_ts>2016-08-26 06:53:25 -0700</creation_ts>
          <short_desc>[GTK][Threaded Compositor] Several flaky tests</short_desc>
          <delta_ts>2020-01-23 08:36:46 -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>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=160450</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=206662</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>clopez</cc>
    
    <cc>lforschler</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1223498</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-26 06:53:25 -0700</bug_when>
    <thetext>Even after fixing bug #160450 we still have a lot of laky tests sometimes in the bots. We no longer see the problem of scrollbars partially rendered, but we see scrollbars in some cases where they shouldn&apos;t be there at all (the contents are not bigger than the view size). That made me think that maybe there are tests leaving the view in an inconsistent state, most of the flaky tests are ref tests and all run by the same worker. But I tried to run all the tests using a single worker and I couldn&apos;t reproduce the problem so there must be something else. The other thing I can think of is that maybe in some cases the bot is more overloaded and a particular worker has less priority and things happen slower. We are still assuming that scheduling the task in the next loop iteration in the UI process after a force redraw ensures a redraw. The patch I initially posted in bug #160450 as a workaround tried to fix that assumption. I&apos;m not sure that&apos;s the problem though, but we could try that patch and roll it out if it doesn&apos;t work. I&apos;m a bit lost with this, because it only happens sometimes in the bots and I&apos;ve never been able to reproduce it locally in any of machines I&apos;ve tried.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223508</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-08-26 08:21:20 -0700</bug_when>
    <thetext>Doesn&apos;t hurt to try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223569</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-08-26 10:19:58 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Even after fixing bug #160450 we still have a lot of laky tests sometimes in
&gt; the bots. We no longer see the problem of scrollbars partially rendered, but
&gt; we see scrollbars in some cases where they shouldn&apos;t be there at all (the
&gt; contents are not bigger than the view size). That made me think that maybe
&gt; there are tests leaving the view in an inconsistent state, most of the flaky
&gt; tests are ref tests and all run by the same worker. But I tried to run all
&gt; the tests using a single worker and I couldn&apos;t reproduce the problem so
&gt; there must be something else. The other thing I can think of is that maybe
&gt; in some cases the bot is more overloaded and a particular worker has less
&gt; priority and things happen slower. We are still assuming that scheduling the
&gt; task in the next loop iteration in the UI process after a force redraw
&gt; ensures a redraw. The patch I initially posted in bug #160450 as a
&gt; workaround tried to fix that assumption. I&apos;m not sure that&apos;s the problem
&gt; though, but we could try that patch and roll it out if it doesn&apos;t work. I&apos;m
&gt; a bit lost with this, because it only happens sometimes in the bots and I&apos;ve
&gt; never been able to reproduce it locally in any of machines I&apos;ve tried.

I think you will be able to reproduce this if you run the whole test suite instead a subset of it.

And this is something that I believe was happening before the threaded compositor with other kind of tests.

I have found many tests that are flaky when the whole test suite is run, but if you run then manually or you run a subset of the test suite (for example: run only the fast/ tests). Then its not longer reproducible.

I&apos;m not sure if the problem is on webkit itself or is in the tooling and the way the tests are ran.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223885</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-26 23:42:33 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #0)
&gt; &gt; Even after fixing bug #160450 we still have a lot of laky tests sometimes in
&gt; &gt; the bots. We no longer see the problem of scrollbars partially rendered, but
&gt; &gt; we see scrollbars in some cases where they shouldn&apos;t be there at all (the
&gt; &gt; contents are not bigger than the view size). That made me think that maybe
&gt; &gt; there are tests leaving the view in an inconsistent state, most of the flaky
&gt; &gt; tests are ref tests and all run by the same worker. But I tried to run all
&gt; &gt; the tests using a single worker and I couldn&apos;t reproduce the problem so
&gt; &gt; there must be something else. The other thing I can think of is that maybe
&gt; &gt; in some cases the bot is more overloaded and a particular worker has less
&gt; &gt; priority and things happen slower. We are still assuming that scheduling the
&gt; &gt; task in the next loop iteration in the UI process after a force redraw
&gt; &gt; ensures a redraw. The patch I initially posted in bug #160450 as a
&gt; &gt; workaround tried to fix that assumption. I&apos;m not sure that&apos;s the problem
&gt; &gt; though, but we could try that patch and roll it out if it doesn&apos;t work. I&apos;m
&gt; &gt; a bit lost with this, because it only happens sometimes in the bots and I&apos;ve
&gt; &gt; never been able to reproduce it locally in any of machines I&apos;ve tried.
&gt; 
&gt; I think you will be able to reproduce this if you run the whole test suite
&gt; instead a subset of it.

I did run all the tests using a single worker.

&gt; And this is something that I believe was happening before the threaded
&gt; compositor with other kind of tests.
&gt; 
&gt; I have found many tests that are flaky when the whole test suite is run, but
&gt; if you run then manually or you run a subset of the test suite (for example:
&gt; run only the fast/ tests). Then its not longer reproducible.
&gt; 
&gt; I&apos;m not sure if the problem is on webkit itself or is in the tooling and the
&gt; way the tests are ran.

I&apos;m pretty sure the problem is in the tests infrastructure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223888</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-27 02:14:32 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Doesn&apos;t hurt to try.

Yes, I don&apos;t think it will fix it, to be honest, but actually ensuring a drawing in dispatchAfterEnsuringDrawing instead of assuming it will happen in the next run loop iteration makes sense in any case. So, let&apos;s see if it helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223890</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-27 02:20:53 -0700</bug_when>
    <thetext>Committed r205075: &lt;http://trac.webkit.org/changeset/205075&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224000</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-08-27 17:58:43 -0700</bug_when>
    <thetext>(In reply to comment #4) 
&gt; Yes, I don&apos;t think it will fix it, to be honest

Right as usual. :(

&gt; but actually ensuring a
&gt; drawing in dispatchAfterEnsuringDrawing instead of assuming it will happen
&gt; in the next run loop iteration makes sense in any case.

Agreed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224001</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-08-27 17:59:14 -0700</bug_when>
    <thetext>(Reopening.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224060</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-28 03:38:01 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #4) 
&gt; &gt; Yes, I don&apos;t think it will fix it, to be honest
&gt; 
&gt; Right as usual. :(

However, it seems the number of flaky tests has been reduced a bit, and what is more important, the errors we see now are different too. Before the patch, there were tests in which we were showing scrollbars when we shouldn&apos;t. Now what I see is that contents are blurry and/or clipped, and in many of the cases both the expected and the actual rendering are wrong. So, I think there&apos;s a condition somewhere that can leave a different page scale or device scale factor in the web view that affects other tests.

&gt; &gt; but actually ensuring a
&gt; &gt; drawing in dispatchAfterEnsuringDrawing instead of assuming it will happen
&gt; &gt; in the next run loop iteration makes sense in any case.
&gt; 
&gt; Agreed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224078</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-08-28 12:39:52 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; However, it seems the number of flaky tests has been reduced a bit

It was probably just luck: https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/17930</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224116</commentid>
    <comment_count>10</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2016-08-28 23:43:09 -0700</bug_when>
    <thetext>Would it be possible to test on the bots without using the software rasterizer?

The clipping issues look as if the resizing of the underlying pixmap is not yet complete, or as if just a part of it is rendered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224140</commentid>
    <comment_count>11</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-29 01:21:31 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; Would it be possible to test on the bots without using the software
&gt; rasterizer?

Yes, please, swrast doesn&apos;t work with wayland either, because of eglCreateImage being dummy when using the software rasterizer.

&gt; The clipping issues look as if the resizing of the underlying pixmap is not
&gt; yet complete, or as if just a part of it is rendered.

Why are we using the software path, to not depend on the bot drivers? Maybe that&apos;s why I could never reproduce those issues. And that would explain why all this started when switched to the threaded compositor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224548</commentid>
    <comment_count>12</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-08-30 06:31:09 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; &gt; Would it be possible to test on the bots without using the software
&gt; &gt; rasterizer?
&gt; 
&gt; Yes, please, swrast doesn&apos;t work with wayland either, because of
&gt; eglCreateImage being dummy when using the software rasterizer.
&gt; 
&gt; &gt; The clipping issues look as if the resizing of the underlying pixmap is not
&gt; &gt; yet complete, or as if just a part of it is rendered.
&gt; 
&gt; Why are we using the software path, to not depend on the bot drivers? Maybe
&gt; that&apos;s why I could never reproduce those issues. And that would explain why
&gt; all this started when switched to the threaded compositor.

We use swrast because its the best way of ensuring that developers can get consistent results for the layout tests.

Otherwise it will be a nightmare. Think in developers having nvidia cards, or intel ones. With different versions of the drivers, etc.


I have tested the following:

1) Reproduce the problem. I was able to do this at the first try. The trick is run the whole test suite using the same workers as number of CPUs, which is the default. So if you want to reproduce this, don&apos;t force any number of workers and simply tun the full test suite.

I did this:
    $ Tools/Scripts/run-webkit-tests --no-show-results --no-new-test-results --no-sample-on-timeout --results-directory layout-test-results-xvfb-swrast --debug-rwt-logging --release --gtk

And I got this:
    https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-swrast/results.html

From the stdout.log, you see that I got 122 unexpected image-only flakiness (122): 
    https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-swrast/


Now I did the same but using my native x11 display with the opengl nvidia drivers. To do that, simply export the variable USE_NATIVE_XDISPLAY=1 before running the tests. I did several runs of this, storing each run in a different directory. This are the results:

 -&gt; Run 1: Unexpected flakiness: image-only failures (159) https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-xdisplay1/results.html
 -&gt; Run 2: Unexpected flakiness: image-only failures (25) https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-xdisplay2/results.html
 -&gt; Run 3: Unexpected flakiness: image-only failures (22) https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-xdisplay3/results.html


So, my conclusion is that is not caused by swrast. I can reproduce the flakiness also with the nvidia driver.


BTW, Check this results:

 - swrast: https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-swrast/fast/flexbox/auto-height-with-flex-diffs.html
 - nvidia run 1: https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-xdisplay1/fast/flexbox/auto-height-with-flex-diffs.html
 - nvidia run 2: https://people.igalia.com/clopez/wkbug/161242/xresults/layout-test-results-xvfb-xdisplay2/fast/flexbox/auto-height-with-flex-diffs.html


As you can see. Both the expected and the actual images are different on each one of the three cases.

On the nvidia run 2, the expected result didn&apos;t even reached the point to render anything than a blank viewport.

I think that using swrast instead of hardware-backed opengl is not the problem here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224550</commentid>
    <comment_count>13</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-08-30 06:47:28 -0700</bug_when>
    <thetext>Thanks for the so detailed analysis, Carlos. So, the results are the same than in the bots, both the expected and actual files are incorrectly rendered and scale factors seem to have something to do there. Maybe there&apos;s a condition (test timing out or crashing) causing that any of the scale factors is note correctly reset between tests. The device scale factor is changed from the UI process, while all other are changed in the web process on every BeginTest message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225310</commentid>
    <comment_count>14</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-01 05:06:43 -0700</bug_when>
    <thetext>Finally found the issue. The problem is the viewport controller, that is changed by the fixed layout tests, but never reset. There&apos;s also a problem with the fixed layout tests that could leave the view in an inconsistent state as I explained in bug #160117. I&apos;m already working on a proper fix, but in the meantime I&apos;ve skipped fixed layout tests (they are only two) to make sure we don&apos;t see all those flaky tests in the bots anymore. To easily reproduce it, launch run-webkit-tests with a single worker job and run fixed layout test first and then other ref tests, for example:

$ run-webkit-tests --gtk --release --child-processes=1 fast/fixed-layout/fixed-layout.html fast/regions</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225376</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-01 10:33:52 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; Finally found the issue. The problem is the viewport controller, that is
&gt; changed by the fixed layout tests, but never reset. There&apos;s also a problem
&gt; with the fixed layout tests that could leave the view in an inconsistent
&gt; state as I explained in bug #160117. I&apos;m already working on a proper fix,
&gt; but in the meantime I&apos;ve skipped fixed layout tests (they are only two) to
&gt; make sure we don&apos;t see all those flaky tests in the bots anymore. To easily
&gt; reproduce it, launch run-webkit-tests with a single worker job and run fixed
&gt; layout test first and then other ref tests, for example:
&gt; 
&gt; $ run-webkit-tests --gtk --release --child-processes=1
&gt; fast/fixed-layout/fixed-layout.html fast/regions

It&apos;s clearly a big improvement, good job.

But it&apos;s still not completely fixed. We have 50 unexpected passes in build #18009, for example. These are tests that normally always fail, but occasionally pass now that we&apos;ve enabled threaded compositor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225707</commentid>
    <comment_count>16</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-01 22:40:04 -0700</bug_when>
    <thetext>(In reply to comment #15)
&gt; (In reply to comment #14)
&gt; &gt; Finally found the issue. The problem is the viewport controller, that is
&gt; &gt; changed by the fixed layout tests, but never reset. There&apos;s also a problem
&gt; &gt; with the fixed layout tests that could leave the view in an inconsistent
&gt; &gt; state as I explained in bug #160117. I&apos;m already working on a proper fix,
&gt; &gt; but in the meantime I&apos;ve skipped fixed layout tests (they are only two) to
&gt; &gt; make sure we don&apos;t see all those flaky tests in the bots anymore. To easily
&gt; &gt; reproduce it, launch run-webkit-tests with a single worker job and run fixed
&gt; &gt; layout test first and then other ref tests, for example:
&gt; &gt; 
&gt; &gt; $ run-webkit-tests --gtk --release --child-processes=1
&gt; &gt; fast/fixed-layout/fixed-layout.html fast/regions
&gt; 
&gt; It&apos;s clearly a big improvement, good job.
&gt; 
&gt; But it&apos;s still not completely fixed. We have 50 unexpected passes in build
&gt; #18009, for example. These are tests that normally always fail, but
&gt; occasionally pass now that we&apos;ve enabled threaded compositor.

You are assuming again that there&apos;s a single issue. This particular problem that was making both the expected and actual rendering of reftest fail, was caused by the fixed layout (it changes the viewport controller state that is never reset). Of course there are more issues, but I think the situation now is mostly the same to what we had before switching to the threaded compositor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225751</commentid>
    <comment_count>17</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-02 04:52:41 -0700</bug_when>
    <thetext>(In reply to comment #16)
&gt; You are assuming again that there&apos;s a single issue.

No, clearly there were many different issues, as you&apos;ve fixed three different issues so far....

&gt; I think the situation now
&gt; is mostly the same to what we had before switching to the threaded
&gt; compositor.

Yes, except for the fact that sometimes a bunch of tests pass when they usually fail. In build #18023 we have 84 unexpected passes; that never happened before. What&apos;s interesting is these tests either always pass or always fail in a particular run of run-webkit-tests; they are clearly flaky, but they don&apos;t contribute to the flakiness count.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225761</commentid>
    <comment_count>18</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-02 06:25:48 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; (In reply to comment #16)
&gt; &gt; You are assuming again that there&apos;s a single issue.
&gt; 
&gt; No, clearly there were many different issues, as you&apos;ve fixed three
&gt; different issues so far....
&gt; 
&gt; &gt; I think the situation now
&gt; &gt; is mostly the same to what we had before switching to the threaded
&gt; &gt; compositor.
&gt; 
&gt; Yes, except for the fact that sometimes a bunch of tests pass when they
&gt; usually fail. In build #18023 we have 84 unexpected passes; that never
&gt; happened before. What&apos;s interesting is these tests either always pass or
&gt; always fail in a particular run of run-webkit-tests; they are clearly flaky,
&gt; but they don&apos;t contribute to the flakiness count.

We should probably mark them as pass, to see what&apos;s wrong when they fail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225772</commentid>
    <comment_count>19</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-09-02 08:32:44 -0700</bug_when>
    <thetext>(In reply to comment #18)
&gt; (In reply to comment #17)
&gt; &gt; (In reply to comment #16)
&gt; &gt; &gt; You are assuming again that there&apos;s a single issue.
&gt; &gt; 
&gt; &gt; No, clearly there were many different issues, as you&apos;ve fixed three
&gt; &gt; different issues so far....
&gt; &gt; 
&gt; &gt; &gt; I think the situation now
&gt; &gt; &gt; is mostly the same to what we had before switching to the threaded
&gt; &gt; &gt; compositor.
&gt; &gt; 
&gt; &gt; Yes, except for the fact that sometimes a bunch of tests pass when they
&gt; &gt; usually fail. In build #18023 we have 84 unexpected passes; that never
&gt; &gt; happened before. What&apos;s interesting is these tests either always pass or
&gt; &gt; always fail in a particular run of run-webkit-tests; they are clearly flaky,
&gt; &gt; but they don&apos;t contribute to the flakiness count.
&gt; 
&gt; We should probably mark them as pass, to see what&apos;s wrong when they fail

That don&apos;t makes much sense to me.

You can see the failure diff even if they are expected failures. You just have to navigate under https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/ to find them.

For example: 

1) Check the unexpected passes at end of build #18023 https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/18023/steps/layout-test/logs/stdio and pick 1

2) I pick: imported/mozilla/svg/blend-difference-stacking.html

3) Check that on the next build that test failed. Log of the next build: https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/18024/steps/layout-test/logs/stdio &lt;--- yes it failed

4) Go to https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/ and find the results for build #18204 -&gt; https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r205335%20%2818024%29/

5) Now under that folder navigate to imported/mozilla/svg/ and look for the blend-difference-stacking diff

6) Here you have it: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r205335%20%2818024%29/imported/mozilla/svg/blend-difference-stacking-diffs.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226087</commentid>
    <comment_count>20</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-02 22:44:41 -0700</bug_when>
    <thetext>(In reply to comment #19)
&gt; (In reply to comment #18)
&gt; &gt; (In reply to comment #17)
&gt; &gt; &gt; (In reply to comment #16)
&gt; &gt; &gt; &gt; You are assuming again that there&apos;s a single issue.
&gt; &gt; &gt; 
&gt; &gt; &gt; No, clearly there were many different issues, as you&apos;ve fixed three
&gt; &gt; &gt; different issues so far....
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; I think the situation now
&gt; &gt; &gt; &gt; is mostly the same to what we had before switching to the threaded
&gt; &gt; &gt; &gt; compositor.
&gt; &gt; &gt; 
&gt; &gt; &gt; Yes, except for the fact that sometimes a bunch of tests pass when they
&gt; &gt; &gt; usually fail. In build #18023 we have 84 unexpected passes; that never
&gt; &gt; &gt; happened before. What&apos;s interesting is these tests either always pass or
&gt; &gt; &gt; always fail in a particular run of run-webkit-tests; they are clearly flaky,
&gt; &gt; &gt; but they don&apos;t contribute to the flakiness count.
&gt; &gt; 
&gt; &gt; We should probably mark them as pass, to see what&apos;s wrong when they fail
&gt; 
&gt; That don&apos;t makes much sense to me.
&gt; 
&gt; You can see the failure diff even if they are expected failures. You just
&gt; have to navigate under
&gt; https://build.webkit.org/results/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/ to find them.
&gt; 
&gt; For example: 
&gt; 
&gt; 1) Check the unexpected passes at end of build #18023
&gt; https://build.webkit.org/builders/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/builds/18023/steps/layout-test/logs/stdio and
&gt; pick 1
&gt; 
&gt; 2) I pick: imported/mozilla/svg/blend-difference-stacking.html
&gt; 
&gt; 3) Check that on the next build that test failed. Log of the next build:
&gt; https://build.webkit.org/builders/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/builds/18024/steps/layout-test/logs/stdio &lt;---
&gt; yes it failed
&gt; 
&gt; 4) Go to
&gt; https://build.webkit.org/results/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/ and find the results for build #18204 -&gt;
&gt; https://build.webkit.org/results/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/r205335%20%2818024%29/
&gt; 
&gt; 5) Now under that folder navigate to imported/mozilla/svg/ and look for the
&gt; blend-difference-stacking diff
&gt; 
&gt; 6) Here you have it:
&gt; https://build.webkit.org/results/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/r205335%20%2818024%29/imported/mozilla/svg/blend-
&gt; difference-stacking-diffs.html

hmm, well, not very convenient, but still. I have theory, though. When they unexpectedly pass, they don&apos;t actually pass, we just fail to render both the actual and expected files in the same way (for example a fully white image in both cases). That&apos;s a problem of the reftests. So, more interesting to see what&apos;s failing, which can be also reproduced locally more easily, would be to see what we render when they pass.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226635</commentid>
    <comment_count>21</comment_count>
      <attachid>288009</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-06 03:35:41 -0700</bug_when>
    <thetext>Created attachment 288009
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226678</commentid>
    <comment_count>22</comment_count>
      <attachid>288009</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-06 07:55:40 -0700</bug_when>
    <thetext>Comment on attachment 288009
Patch

(wrong bug)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226683</commentid>
    <comment_count>23</comment_count>
      <attachid>288025</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-06 08:41:16 -0700</bug_when>
    <thetext>Created attachment 288025
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226709</commentid>
    <comment_count>24</comment_count>
      <attachid>288025</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-06 09:32:54 -0700</bug_when>
    <thetext>Comment on attachment 288025
Patch

r=me for the CoordinatedGraphics changes. I&apos;ll let you decide whether or not to wait for an owner on the iOS code you moved; it looks clearly fine to me, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227071</commentid>
    <comment_count>25</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-06 23:43:08 -0700</bug_when>
    <thetext>Committed r205537: &lt;http://trac.webkit.org/changeset/205537&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227136</commentid>
    <comment_count>26</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-07 05:26:20 -0700</bug_when>
    <thetext>Reopening since we still have one bug causing flakiness left (per comment #17)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227144</commentid>
    <comment_count>27</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-09-07 06:09:20 -0700</bug_when>
    <thetext>Please no. Use new bug reports for remaining flaky tests. We have always had flaky tests, so remaining ones might not be related to threaded compositor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227173</commentid>
    <comment_count>28</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-07 08:31:14 -0700</bug_when>
    <thetext>(In reply to comment #27)
&gt; Please no. Use new bug reports for remaining flaky tests. We have always had
&gt; flaky tests, so remaining ones might not be related to threaded compositor.

Bug #161688.

They are almost certainly related to threaded compositor; we&apos;ve never had more than maybe 10 flaky tests appear in unexpected passes until threaded compositor, now we have dozens.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>288009</attachid>
            <date>2016-09-06 03:35:41 -0700</date>
            <delta_ts>2016-09-06 07:55:40 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-plugins-cache.diff</filename>
            <type>text/plain</type>
            <size>2817</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBhMzg4OGZlLi5kZTQ0MDBhIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcg
QEAKKzIwMTYtMDktMDYgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29t
PgorCisgICAgICAgIFtHVEtdW1dheWxhbmRdIGV2aW5jZS1icm93c2VyLXBsdWdpbiBwcmV2ZW50
cyB2aWV3aW5nIFBERnMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcu
Y2dpP2lkPTE1ODY5NworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIFVzZSBhIGRpZmZlcmVudCBjYWNoZSBmaWxlIGZvciBwbHVnaW5zIGRlcGVuZGluZyBv
biB0aGUgY3VycmVudCBwbGF0Zm9ybSBkaXNwbGF5LiBQbHVnaW5zIGNhbiBjbGFpbSB0byB3b3Jr
IG9uCisgICAgICAgIFgxMSBidXQgbm90IG9uIFdheWxhbmQsIGZvciBleGFtcGxlLCBpZiB0aGV5
IG5lZWQgWEVtZWJlZCB0byB3b3JrLiBUaGF0J3MgdGhlIGNhc2Ugb2YgdGhlIGV2aW5jZSBicm93
c2VyIHBsdWdpbi4KKworICAgICAgICAqIFVJUHJvY2Vzcy9QbHVnaW5zL2d0ay9QbHVnaW5JbmZv
Q2FjaGUuY3BwOgorICAgICAgICAoV2ViS2l0OjpjYWNoZUZpbGVuYW1lRm9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V9jYWNoZVBhdGgucmVzZXQoZ19idWlsZF9maWxlbmFt
ZShjYWNoZURpcmVjdG9yeS5nZXQoKSwgInBsdWdpbnMiLCBudWxscHRyKSk7CisgICAgICAgIC8v
IERlbGV0ZSBvbGQgY2FjaGUgZmlsZS4KKyAgICAgICAgR1VuaXF1ZVB0cjxjaGFyPiBvbGRDYWNo
ZVBhdGgoZ19idWlsZF9maWxlbmFtZShjYWNoZURpcmVjdG9yeS5nZXQoKSwgInBsdWdpbnMiLCBu
dWxscHRyKSk7CisgICAgICAgIFdlYkNvcmU6OmRlbGV0ZUZpbGUoV2ViQ29yZTo6ZmlsZW5hbWVU
b1N0cmluZyhvbGRDYWNoZVBhdGguZ2V0KCkpKTsKKworICAgICAgICBtX2NhY2hlUGF0aC5yZXNl
dChnX2J1aWxkX2ZpbGVuYW1lKGNhY2hlRGlyZWN0b3J5LmdldCgpLCBjYWNoZUZpbGVuYW1lRm9y
Q3VycmVudERpc3BsYXkoKSwgbnVsbHB0cikpOwogICAgICAgICBnX2tleV9maWxlX2xvYWRfZnJv
bV9maWxlKG1fY2FjaGVGaWxlLmdldCgpLCBtX2NhY2hlUGF0aC5nZXQoKSwgR19LRVlfRklMRV9O
T05FLCBudWxscHRyKTsKICAgICB9CiAK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>288025</attachid>
            <date>2016-09-06 08:41:16 -0700</date>
            <delta_ts>2016-09-06 09:32:54 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-tc-flaky-tests.diff</filename>
            <type>text/plain</type>
            <size>8934</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCA5ZGJiNmJhLi4yZTNkYmM2IDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VM
b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vmlld3BvcnRBcmd1bWVudHMo
dmlld3BvcnRBcmd1bWVudHMpKQotICAgICAgICB2aWV3cG9ydENvbmZpZ3VyYXRpb25DaGFuZ2Vk
KCk7Ci19Ci0KIHZvaWQgV2ViUGFnZTo6ZGlkUmVjZWl2ZU1vYmlsZURvY1R5cGUoYm9vbCBpc01v
YmlsZURvY3R5cGUpCiB7CiAgICAgaWYgKGlzTW9iaWxlRG9jdHlwZSkK
</data>
<flag name="review"
          id="311423"
          type_id="1"
          status="+"
          setter="mcatanzaro"
    />
          </attachment>
      

    </bug>

</bugzilla>