<?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>161547</bug_id>
          
          <creation_ts>2016-09-02 13:57:57 -0700</creation_ts>
          <short_desc>REGRESSION: [mac-wk2 debug] LayoutTest tiled-drawing/scrolling/fixed/four-bars-zoomed.html is a flaky failure</short_desc>
          <delta_ts>2016-09-21 08:40:45 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=105223</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>ap</cc>
    
    <cc>jonlee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1225937</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-09-02 13:57:57 -0700</bug_when>
    <thetext>LayoutTest tiled-drawing/scrolling/fixed/four-bars-zoomed.html is a flaky failure

This test is a flaky failure on mac-wk2 debug bots

https://build.webkit.org/builders/Apple%20Yosemite%20Debug%20WK2%20(Tests)/builds/14759

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=tiled-drawing%2Fscrolling%2Ffixed%2Ffour-bars-zoomed.html

--- /Volumes/Data/slave/yosemite-debug-tests-wk2/build/layout-test-results/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt
+++ /Volumes/Data/slave/yosemite-debug-tests-wk2/build/layout-test-results/tiled-drawing/scrolling/fixed/four-bars-zoomed-actual.txt
@@ -43,9 +43,9 @@
       (coverage rect 0.00, 0.00 341.30 x 254.35)
       (intersects coverage rect 1)
       (contentsScale 2.30)
-      (tile cache coverage 0, 0 341 x 445)
-      (tile size 785 x 512)
-      (top left tile 0, 0 tiles grid 1 x 2)
+      (tile cache coverage 0, 0 445 x 445)
+      (tile size 512 x 512)
+      (top left tile 0, 0 tiles grid 2 x 2)
       (children 4
         (GraphicsLayer
           (position -4.00 -4.00)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227311</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-09-07 13:06:19 -0700</bug_when>
    <thetext>First failure according to the dashboard is ~r204892, but that change itself seems unrelated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1227752</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-09-08 13:54:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/28213422&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1228286</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-09-09 12:04:38 -0700</bug_when>
    <thetext>Marked test as flaky in http://trac.webkit.org/projects/webkit/changeset/205758</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231981</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-09-20 22:44:08 -0700</bug_when>
    <thetext>I can reproduce this 100% by simply running the test alone:

run-webkit-tests LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed.html

Or, it reproduces 50 times like this:

run-webkit-tests LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed.html --repeat 50 --no-retry -v --run-singly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231982</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-09-20 22:44:51 -0700</bug_when>
    <thetext>The test has a 10 ms timer, which is never good in regression tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231983</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-09-20 22:50:20 -0700</bug_when>
    <thetext>And if I change the timeout to 1000 ms, then the results are different yet.

Simon, is logging tile sizes meaningful at all? Are there any common techniques for deflaking tests of this kind?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1232071</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-09-21 08:40:45 -0700</bug_when>
    <thetext>Seems like the test is racing with the tile-size timer. I wonder if we could turn off dumping of the tile caches for this test.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>