Bug 63186

Summary: svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Adam Klein <adamk>
Status: RESOLVED FIXED    
Severity: Normal CC: adamk, andreip, dochez, jamesr, jberlin, lforschler, mario, ossy, reed, tkent, zherczeg, zimmermann
Priority: P2 Keywords: LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 71673    
Bug Blocks:    

Adam Roben (:aroben)
Reported 2011-06-22 14:45:32 PDT
The svg/zoom/page/zoom-svg-through-object-with-*.xhtml tests are flaky. See dupes for examples.
Attachments
Adam Roben (:aroben)
Comment 1 2011-06-22 14:46:17 PDT
*** Bug 61664 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 2 2011-06-22 14:46:20 PDT
*** Bug 61757 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 3 2011-06-22 14:46:22 PDT
*** Bug 61918 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 4 2011-06-22 14:46:24 PDT
*** Bug 62023 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 5 2011-06-22 14:46:27 PDT
*** Bug 62555 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 6 2011-06-22 14:47:00 PDT
*** Bug 62558 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 7 2011-06-22 14:47:16 PDT
*** Bug 62560 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 8 2011-06-22 14:47:20 PDT
*** Bug 62563 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 9 2011-06-22 15:02:47 PDT
Disabled the tests in r89484.
Nikolas Zimmermann
Comment 10 2011-06-23 03:01:31 PDT
What a pity, these tests are pretty important :( I haven't been able to reproduce this on my SL machines so far, I'll try --random -p runs soon, maybe I can finally see the problem on my own...
Nikolas Zimmermann
Comment 11 2011-06-25 02:54:22 PDT
(In reply to comment #10) > What a pity, these tests are pretty important :( > I haven't been able to reproduce this on my SL machines so far, I'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've also tried -1 (singly) runs, w/o luck in reproducing.
Adam Roben (:aroben)
Comment 12 2011-06-26 11:12:02 PDT
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.).
Nikolas Zimmermann
Comment 13 2011-06-27 08:41:40 PDT
(In reply to comment #12) > 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'll try to debug more tomorrow.
Nikolas Zimmermann
Comment 14 2011-07-26 05:49:10 PDT
The root of all evil is probably the bug described in 64974. I'm working on a proper fix.
Nikolas Zimmermann
Comment 15 2011-08-06 08:23:44 PDT
(In reply to comment #14) > The root of all evil is probably the bug described in 64974. I'm working on a proper fix. The fix landed in r92545. It's better now, but there's still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win. I'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's see.
Andrei Popescu
Comment 16 2011-08-08 07:49:11 PDT
(In reply to comment #15) > (In reply to comment #14) > > The root of all evil is probably the bug described in 64974. I'm working on a proper fix. > > The fix landed in r92545. It's better now, but there's still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win. > > I'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's see. FYI, these tests currently fail on Chromium too.
Nikolas Zimmermann
Comment 17 2011-08-08 08:31:50 PDT
(In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #14) > > > The root of all evil is probably the bug described in 64974. I'm working on a proper fix. > > > > The fix landed in r92545. It's better now, but there's still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win. > > > > I'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's see. > > FYI, these tests currently fail on Chromium too. You mean they're flakey or fail every time? Or do they just need a re-baseline?
Andrei Popescu
Comment 18 2011-08-08 08:39:10 PDT
(In reply to comment #17) > (In reply to comment #16) > > (In reply to comment #15) > > > (In reply to comment #14) > > > > The root of all evil is probably the bug described in 64974. I'm working on a proper fix. > > > > > > The fix landed in r92545. It's better now, but there's still a problem with the page zoom tests in general, seems easy to trigger on non-mac eg gtk/win. > > > > > > I'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's see. > > > > FYI, these tests currently fail on Chromium too. > You mean they'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&tests=svg%2Fzoom%2Fpage%2Fzoom-svg-through-object-with-absolute-size-2.xhtml
Nikolas Zimmermann
Comment 19 2011-08-09 01:22:36 PDT
(In reply to comment #18) > 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&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?
Andrei Popescu
Comment 20 2011-08-09 05:39:13 PDT
(In reply to comment #19) > (In reply to comment #18) > > 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&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? 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?
Adam Roben (:aroben)
Comment 21 2011-08-17 07:54:34 PDT
*** Bug 62143 has been marked as a duplicate of this bug. ***
James Robinson
Comment 22 2011-09-02 11:04:46 PDT
They are not stable, the tests are still flaky on all chromium platforms. The text output differs from run to run.
James Robinson
Comment 23 2011-09-02 11:04:58 PDT
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
Nikolas Zimmermann
Comment 24 2011-11-10 12:51:49 PST
(In reply to comment #22) > They are not stable, the tests are still flaky on all chromium platforms. The text output differs from run to run. That's correct, I found the root of the problem. Bug 71673 has a patch, I expect all problems to be gone then.
Nikolas Zimmermann
Comment 25 2011-11-11 03:50:48 PST
(In reply to comment #24) > That'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.
Adam Klein
Comment 26 2011-11-22 15:09:44 PST
Note You need to log in before you can comment on or make changes to this bug.