<?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>63186</bug_id>
          
          <creation_ts>2011-06-22 14:45:32 -0700</creation_ts>
          <short_desc>svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky</short_desc>
          <delta_ts>2025-09-20 15:26:05 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>71673</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Adam Klein">adamk</assigned_to>
          <cc>adamk</cc>
    
    <cc>andreip</cc>
    
    <cc>dochez</cc>
    
    <cc>jamesr</cc>
    
    <cc>jberlin</cc>
    
    <cc>lforschler</cc>
    
    <cc>mario</cc>
    
    <cc>ossy</cc>
    
    <cc>reed</cc>
    
    <cc>tkent</cc>
    
    <cc>www.fm1985</cc>
    
    <cc>zherczeg</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>425611</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:45:32 -0700</bug_when>
    <thetext>The svg/zoom/page/zoom-svg-through-object-with-*.xhtml tests are flaky. See dupes for examples.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425614</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:46:17 -0700</bug_when>
    <thetext>*** Bug 61664 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425616</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:46:20 -0700</bug_when>
    <thetext>*** Bug 61757 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425618</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:46:22 -0700</bug_when>
    <thetext>*** Bug 61918 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425620</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:46:24 -0700</bug_when>
    <thetext>*** Bug 62023 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425622</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:46:27 -0700</bug_when>
    <thetext>*** Bug 62555 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425624</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:47:00 -0700</bug_when>
    <thetext>*** Bug 62558 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425627</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:47:16 -0700</bug_when>
    <thetext>*** Bug 62560 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425629</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 14:47:20 -0700</bug_when>
    <thetext>*** Bug 62563 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425643</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 15:02:47 -0700</bug_when>
    <thetext>Disabled the tests in r89484.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>426054</commentid>
    <comment_count>10</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-06-23 03:01:31 -0700</bug_when>
    <thetext>What a pity, these tests are pretty important :(
I haven&apos;t been able to reproduce this on my SL machines so far, I&apos;ll try --random -p runs soon, maybe I can finally see the problem on my own...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427343</commentid>
    <comment_count>11</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-06-25 02:54:22 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; What a pity, these tests are pretty important :(
&gt; I haven&apos;t been able to reproduce this on my SL machines so far, I&apos;ll try --random -p runs soon, maybe I can finally see the problem on my own...

Some results:

run-webkit-tests --tolerance 0 -p --random svg/zoom/page svg/zoom/page....
No errors.

run-webkit-tests --tolerance 0 -p --iterations 20 svg/zoom/page svg/...
No errors.

Also running without pixel tests makes no difference for me :(

Note: I moved the foo-disabled files to foo before running the tests, so I am sure they are enabled.
I&apos;ve also tried -1 (singly) runs, w/o luck in reproducing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427554</commentid>
    <comment_count>12</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-26 11:12:02 -0700</bug_when>
    <thetext>Perhaps some earlier test affects these ones? Then the tests would pass or fail depending on exactly when DRT is relaunched (which is dependent on which tests crash, how many tests are run in total, etc.).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427968</commentid>
    <comment_count>13</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-06-27 08:41:40 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; Perhaps some earlier test affects these ones? Then the tests would pass or fail depending on exactly when DRT is relaunched (which is dependent on which tests crash, how many tests are run in total, etc.).

I&apos;ll try to debug more tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442193</commentid>
    <comment_count>14</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-07-26 05:49:10 -0700</bug_when>
    <thetext>The root of all evil is probably the bug described in 64974. I&apos;m working on a proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>447608</commentid>
    <comment_count>15</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-08-06 08:23:44 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; The root of all evil is probably the bug described in 64974. I&apos;m working on a proper fix.

The fix landed in r92545. It&apos;s better now, but there&apos;s still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win.

I&apos;m testing following, as it seems to be a problem that we call notifyDone() right after the zooming.
-            layoutTestController.notifyDone();
+            setTimeout(function() { layoutTestController.notifyDone(); }, 0);

Let&apos;s see.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>447995</commentid>
    <comment_count>16</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-08-08 07:49:11 -0700</bug_when>
    <thetext>(In reply to comment #15)
&gt; (In reply to comment #14)
&gt; &gt; The root of all evil is probably the bug described in 64974. I&apos;m working on a proper fix.
&gt; 
&gt; The fix landed in r92545. It&apos;s better now, but there&apos;s still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win.
&gt; 
&gt; I&apos;m testing following, as it seems to be a problem that we call notifyDone() right after the zooming.
&gt; -            layoutTestController.notifyDone();
&gt; +            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
&gt; 
&gt; Let&apos;s see.

FYI, these tests currently fail on Chromium too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448012</commentid>
    <comment_count>17</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-08-08 08:31:50 -0700</bug_when>
    <thetext>(In reply to comment #16)
&gt; (In reply to comment #15)
&gt; &gt; (In reply to comment #14)
&gt; &gt; &gt; The root of all evil is probably the bug described in 64974. I&apos;m working on a proper fix.
&gt; &gt; 
&gt; &gt; The fix landed in r92545. It&apos;s better now, but there&apos;s still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win.
&gt; &gt; 
&gt; &gt; I&apos;m testing following, as it seems to be a problem that we call notifyDone() right after the zooming.
&gt; &gt; -            layoutTestController.notifyDone();
&gt; &gt; +            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
&gt; &gt; 
&gt; &gt; Let&apos;s see.
&gt; 
&gt; FYI, these tests currently fail on Chromium too.
You mean they&apos;re flakey or fail every time? Or do they just need a re-baseline?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448019</commentid>
    <comment_count>18</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-08-08 08:39:10 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; (In reply to comment #16)
&gt; &gt; (In reply to comment #15)
&gt; &gt; &gt; (In reply to comment #14)
&gt; &gt; &gt; &gt; The root of all evil is probably the bug described in 64974. I&apos;m working on a proper fix.
&gt; &gt; &gt; 
&gt; &gt; &gt; The fix landed in r92545. It&apos;s better now, but there&apos;s still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win.
&gt; &gt; &gt; 
&gt; &gt; &gt; I&apos;m testing following, as it seems to be a problem that we call notifyDone() right after the zooming.
&gt; &gt; &gt; -            layoutTestController.notifyDone();
&gt; &gt; &gt; +            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
&gt; &gt; &gt; 
&gt; &gt; &gt; Let&apos;s see.
&gt; &gt; 
&gt; &gt; FYI, these tests currently fail on Chromium too.
&gt; You mean they&apos;re flakey or fail every time? Or do they just need a re-baseline?

They fail every time. I am not sure whether they need a re-baseline or not, the actual results look slightly suspicious:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&amp;tests=svg%2Fzoom%2Fpage%2Fzoom-svg-through-object-with-absolute-size-2.xhtml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448467</commentid>
    <comment_count>19</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-08-09 01:22:36 -0700</bug_when>
    <thetext>(In reply to comment #18)
&gt; They fail every time. I am not sure whether they need a re-baseline or not, the actual results look slightly suspicious:
&gt; 
&gt; http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&amp;tests=svg%2Fzoom%2Fpage%2Fzoom-svg-through-object-with-absolute-size-2.xhtml

This is a known problem on Chromium (the extra scrollbar).
When these svg/zoom/page/zoom-svg-through-object* tests were landed the first time, they were flakey on at least Win/Chromium/Gtk, producing extra-scrollbars on Chromium all the time, but never on other platforms.

The tests should now no longer be flakey - the extra scrollbar problem on chromium remains though.
We need someone with Chromium to debug this, I fear.

Could you rebaseline them for now, to see whether they are stable at least now on Chromium?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448528</commentid>
    <comment_count>20</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-08-09 05:39:13 -0700</bug_when>
    <thetext>(In reply to comment #19)
&gt; (In reply to comment #18)
&gt; &gt; They fail every time. I am not sure whether they need a re-baseline or not, the actual results look slightly suspicious:
&gt; &gt; 
&gt; &gt; http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&amp;tests=svg%2Fzoom%2Fpage%2Fzoom-svg-through-object-with-absolute-size-2.xhtml
&gt; 
&gt; This is a known problem on Chromium (the extra scrollbar).
&gt; When these svg/zoom/page/zoom-svg-through-object* tests were landed the first time, they were flakey on at least Win/Chromium/Gtk, producing extra-scrollbars on Chromium all the time, but never on other platforms.
&gt; 
&gt; The tests should now no longer be flakey - the extra scrollbar problem on chromium remains though.
&gt; We need someone with Chromium to debug this, I fear.
&gt; 
&gt; Could you rebaseline them for now, to see whether they are stable at least now on Chromium?

Thanks for the background! I have filed:

http://code.google.com/p/chromium/issues/detail?id=92037

and Mike Reed was kind enough to volunteer looking into the issue. Mike, would you be ok with me rebaselining the tests for now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452242</commentid>
    <comment_count>21</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-08-17 07:54:34 -0700</bug_when>
    <thetext>*** Bug 62143 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>461340</commentid>
    <comment_count>22</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-09-02 11:04:46 -0700</bug_when>
    <thetext>They are not stable, the tests are still flaky on all chromium platforms.  The text output differs from run to run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>461341</commentid>
    <comment_count>23</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-09-02 11:04:58 -0700</bug_when>
    <thetext>Example test failure (from a mac):

--- /b/build/slave/Webkit_Mac10_6__CG__dbg_/build/layout-test-results/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt 
+++ /b/build/slave/Webkit_Mac10_6__CG__dbg_/build/layout-test-results/svg/zoom/page/zoom-svg-through-object-with-percentage-size-actual.txt 
@@ -25,7 +25,7 @@
                     RenderTableCell {td} at (1,90) size 343x263 [r=2 c=0 rs=1 cs=1]
                       RenderEmbeddedObject {object} at (5,5) size 333x250
                         layer at (0,0) size 333x250
-                          RenderView at (0,0) size 333x250
+                          RenderView at (0,0) size 318x235
                         layer at (0,0) size 333x250
                           RenderSVGRoot {svg} at (0,0) size 333x250
                             RenderSVGContainer {g} at (18,31) size 260x164</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>500164</commentid>
    <comment_count>24</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-11-10 12:51:49 -0800</bug_when>
    <thetext>(In reply to comment #22)
&gt; They are not stable, the tests are still flaky on all chromium platforms.  The text output differs from run to run.

That&apos;s correct, I found the root of the problem. Bug 71673 has a patch, I expect all problems to be gone then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>500641</commentid>
    <comment_count>25</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-11-11 03:50:48 -0800</bug_when>
    <thetext>(In reply to comment #24)
&gt; That&apos;s correct, I found the root of the problem. Bug 71673 has a patch, I expect all problems to be gone then.

r99937 has the fix. We probably need some rebaselines and expectations update for chromium. Crossing fingers and watching the flakiness dashboard, I hope extra scrollbars are gone everywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>507834</commentid>
    <comment_count>26</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2011-11-22 15:09:44 -0800</bug_when>
    <thetext>Committed r101028: &lt;http://trac.webkit.org/changeset/101028&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>