<?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>172454</bug_id>
          
          <creation_ts>2017-05-22 09:51:45 -0700</creation_ts>
          <short_desc>[WK2] Layout Test http/tests/navigation/statistics.html is flaky</short_desc>
          <delta_ts>2018-07-31 17:04:56 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1311397</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-22 09:51:45 -0700</bug_when>
    <thetext>The test http/tests/navigation/statistics.html is a flaky failure on WK2 Debug Sierra, El Capitan, and iOS Simulator.

The test recently started failing on all three platforms as of 5/19/2017

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fnavigation%2Fstatistics.html

https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20(Tests)/r217219%20(1539)/results.html
https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20(Tests)/builds/1539

Diff:
--- /Volumes/Data/slave/ios-simulator-10-debug-tests-wk2/build/layout-test-results/http/tests/navigation/statistics-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-debug-tests-wk2/build/layout-test-results/http/tests/navigation/statistics-actual.txt
@@ -2,6 +2,29 @@
 main frame - has 1 onunload handler(s)
 PASS
 Dumping Resource Load Statistics:
+Statistics for 127.0.0.1:
+    hadUserInteraction: No
+    mostRecentUserInteraction: -1
+        grandfathered: No
+    topFrameHasBeenNavigatedToBefore: Yes
+    topFrameHasBeenRedirectedTo: 0
+    topFrameHasBeenRedirectedFrom: 0
+    topFrameInitialLoadCount: 0
+    topFrameHasBeenNavigatedTo: 1
+    topFrameHasBeenNavigatedFrom: 2
+    subframeHasBeenLoadedBefore: No
+    subframeHasBeenRedirectedTo: 0
+    subframeHasBeenRedirectedFrom: 0
+    subframeSubResourceCount: 0
+    subframeHasBeenNavigatedTo: 0
+    subframeHasBeenNavigatedFrom: 0
+    subresourceHasBeenRedirectedFrom: 0
+    subresourceHasBeenRedirectedTo: 0
+    subresourceHasBeenSubresourceCount: 0
+    subresourceHasBeenSubresourceCountDividedByTotalNumberOfOriginsVisited: 0
+    isPrevalentResource: No    dataRecordsRemoved: 0
+    isMarkedForCookiePartitioning: No
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1311398</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-22 09:52:45 -0700</bug_when>
    <thetext>I was unable to reproduce the failure locally in Sierra Debug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1311699</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-22 17:55:16 -0700</bug_when>
    <thetext>(In reply to Matt Lewis from comment #1)
&gt; I was unable to reproduce the failure locally in Sierra Debug.

I managed to get the test to fail on Sierra Debug using this:

run-webkit-tests http/tests/navigation/ --debug --no-retry-failure -f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1313386</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-05-27 00:12:14 -0700</bug_when>
    <thetext>I wonder how this ever works:

        testRunner.notifyDone();
        log(&quot;Dumping Resource Load Statistics:&quot;);
        log(window.internals.resourceLoadStatisticsForOrigin(&quot;127.0.0.1&quot;));

Brent, could you take a look at deflating the test? This is reproducible locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314943</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-06-01 20:53:23 -0700</bug_when>
    <thetext>Marked this test as flaky in http://trac.webkit.org/projects/webkit/changeset/217689</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315697</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-06-05 09:00:37 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #4)
&gt; Marked this test as flaky in
&gt; http://trac.webkit.org/projects/webkit/changeset/217689

This flakiness is not limited to debug. Removed debug only flag in http://trac.webkit.org/projects/webkit/changeset/217782</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446731</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-07-31 17:04:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/42793100&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>