<?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>181482</bug_id>
          
          <creation_ts>2018-01-10 08:48:25 -0800</creation_ts>
          <short_desc>REGRESSION: Layout Test http/tests/resourceLoadStatistics/grandfathering.html is a flaky timeout</short_desc>
          <delta_ts>2018-01-29 16:17:06 -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>New Bugs</component>
          <version>WebKit Nightly 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=181223</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="John Wilander">wilander</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>jlewis3</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1387684</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-10 08:48:25 -0800</bug_when>
    <thetext>The following layout test is flaky on  macOS WK2

http/tests/resourceLoadStatistics/grandfathering.html

Probable cause:

The first macOS WK2 timeout visible on the dashboard blames this range: https://trac.webkit.org/log/webkit/?action=stop_on_copy&amp;mode=stop_on_copy&amp;rev=226543&amp;stop_rev=226541&amp;limit=100&amp;verbose=on

A few commits before that, I skipped the test listed right above this one in TestExpectations: https://trac.webkit.org/changeset/226538/webkit


Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2FresourceLoadStatistics%2Fgrandfathering.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388428</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-11 13:38:45 -0800</bug_when>
    <thetext>Previously the test expectations were [ Pass Failure Timeout ] and were changed with many others in https://trac.webkit.org/changeset/225640/webkit however according to the dashboard as Ryan said, the test seems to have recently become a flaky timeout again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388598</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-11 17:58:50 -0800</bug_when>
    <thetext>I wonder if another resourceLoadStatistics test was timing out for a similar or an underlying issue in the bug related via see also. 

diff for this test:
--- /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/http/tests/resourceLoadStatistics/grandfathering-expected.txt
+++ /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/http/tests/resourceLoadStatistics/grandfathering-actual.txt
@@ -1,2 +1,5 @@
-PASS Grandfathered cookie was not purged.
+#PID UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 1666)
+FAIL: Timed out waiting for notifyDone to be called
 
+#EOF
+#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388821</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-12 09:41:55 -0800</bug_when>
    <thetext>Skipped in https://trac.webkit.org/changeset/226896/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388934</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-12 13:14:51 -0800</bug_when>
    <thetext>(In reply to Matt Lewis from comment #3)
&gt; Skipped in https://trac.webkit.org/changeset/226896/webkit

http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html started timing out after this, so something weird is going on:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2FresourceLoadStatistics%2Fnon-prevalent-resource-with-user-interaction.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389609</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-16 10:41:02 -0800</bug_when>
    <thetext>&lt;rdar://problem/36549026&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391115</commentid>
    <comment_count>6</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2018-01-19 12:49:45 -0800</bug_when>
    <thetext>Hopefully resolved in https://trac.webkit.org/changeset/227223, https://bugs.webkit.org/show_bug.cgi?id=181822.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391319</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-19 18:04:22 -0800</bug_when>
    <thetext>Still happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391854</commentid>
    <comment_count>8</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-22 16:02:44 -0800</bug_when>
    <thetext>Skipped the test again in https://trac.webkit.org/changeset/227368/webkit

Seeing if this is just now only the test or if it is still the same issue as before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392162</commentid>
    <comment_count>9</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-23 11:50:25 -0800</bug_when>
    <thetext>(In reply to Matt Lewis from comment #8)
&gt; Skipped the test again in https://trac.webkit.org/changeset/227368/webkit
&gt; 
&gt; Seeing if this is just now only the test or if it is still the same issue as
&gt; before.

http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html is timing out frequently, so this requires more investigation.

John, can you take a look?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394266</commentid>
    <comment_count>10</comment_count>
      <attachid>332581</attachid>
    <who name="John Wilander">wilander</who>
    <bug_when>2018-01-29 14:30:07 -0800</bug_when>
    <thetext>Created attachment 332581
Patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394267</commentid>
    <comment_count>11</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2018-01-29 14:30:38 -0800</bug_when>
    <thetext>Here&apos;s to hoping. 100 iterations on my laptop without timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394322</commentid>
    <comment_count>12</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2018-01-29 16:16:48 -0800</bug_when>
    <thetext>Committed r227761: &lt;https://trac.webkit.org/changeset/227761&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>332581</attachid>
            <date>2018-01-29 14:30:07 -0800</date>
            <delta_ts>2018-01-29 16:17:06 -0800</delta_ts>
            <desc>Patch for landing</desc>
            <filename>bug-181482-20180129143006.patch</filename>
            <type>text/plain</type>
            <size>2278</size>
            <attacher name="John Wilander">wilander</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDIyNzc1NikKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDE5IEBACisyMDE4LTAxLTI5ICBKb2huIFdpbGFuZGVyICA8
d2lsYW5kZXJAYXBwbGUuY29tPgorCisgICAgICAgIFN3aXRjaCBncmFuZGZhdGhlcmluZyBs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