[Webkit-unassigned] [Bug 202852] New: 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
Fri Oct 11 10:44:02 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202852
Bug ID: 202852
Summary: http/tests/resourceLoadStatistics/switch-session-on-na
vigation-to-prevalent-with-interaction-database.html
is a flaky failure
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Katherine_cheney at apple.com
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.
Before posting a fix, my questions are:
1. Should the clear() function in the cache also be clearing pending write operations? (I had to do it manually)
2. Should the cache be cleared between tests automatically?
3. The entry in the cache was being stored with a "#step4" on the end of it, is this expected behavior?
--
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/20191011/067b7147/attachment.html>
More information about the webkit-unassigned
mailing list