[Webkit-unassigned] [Bug 202852] http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.html is a flaky failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 17 13:32:50 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202852

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdumez at apple.com

--- Comment #4 from Chris Dumez <cdumez at apple.com> ---
(In reply to Katherine_cheney from comment #0)
> The following layout test is a flaky timeout on macOS WK2 and iOS wk2:
> 
> http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-
> with-interaction-database.html 
> 
> Reproducible with:
> 
> run-webkit-tests
> http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-
> with-interaction-database.html --iterations 2
> 
> Flakiness Dashboard:
> 
> https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.
> html#showAllRuns=true&tests=http%2Ftests%2FresourceLoadStatistics%2Fswitch-
> session-on-navigation-to-prevalent-with-interaction-database.html%20
> 
> Diff:
> ---
> /Volumes/Data/slave/highsierra-debug-tests-wk2/build/layout-test-results/
> http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-
> with-interaction-expected.txt
> +++
> /Volumes/Data/slave/highsierra-debug-tests-wk2/build/layout-test-results/
> http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-
> with-interaction-actual.txt
> @@ -5,8 +5,9 @@
>  
>  PASS Should have and has the session cookie.
>  PASS Should have and has the persistent cookie.
> -PASS Origin has isolated session.
> +FAIL Origin has no isolated session.
>  PASS successfullyParsed is true
> +Some tests failed.
>  
>  TEST COMPLETE
>  
> 
> Probable cause:
> 
> The failures are fixed locally when I clear the NetworkLoad cache and all
> pending write operations in between the tests. I think this is because
> clearIsolatedSessions() is called between tests, but a new isolated session
> is only added with a call to startNetworkLoad() in the
> NetworkResourceLoader, which doesn't happen if the resource is in the cache. 

So how about you make sure this particular resource does not enter the disk cache by serving the "Cache-Control: no-store" HTTP header. It is pretty common in our tests.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191017/afd1be79/attachment.html>


More information about the webkit-unassigned mailing list