[Webkit-unassigned] [Bug 202736] New: [WPE] Several appcache and cache-storage tests are failing or flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 9 02:19:23 PDT 2019


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

            Bug ID: 202736
           Summary: [WPE] Several appcache and cache-storage tests are
                    failing or flaky
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

All of these tests are now flaky

http/tests/appcache/document-cookie-http-only.php [ Failure Pass ]
http/tests/appcache/history-test.html [ Failure Pass ]
http/tests/appcache/remove-cache.html [ Timeout Pass ]
http/tests/cache-storage/cache-clearing-all.https.html [ Failure Pass ]
http/tests/cache-storage/cache-clearing-origin.https.html [ Failure Pass ]
http/tests/cache-storage/cache-origins.https.html [ Failure Pass ]
http/tests/cache-storage/cache-persistency.https.html [ Failure Pass ]
http/wpt/cache-storage/quota-third-party.https.html [ Failure Timeout Pass ]
http/wpt/cache-storage/cache-quota-add.any.html [ Failure ]

All of them were passing reliably until the changes that came in these 2 revisions
- r249614: Deprecate WKContextGetWebsiteDataStore
- r249619: Remove calls to WKContextGetWebsiteDataStore missed in r249614


Here are the diffs for some of the tests when they fail:

http/tests/appcache/document-cookie-http-only.php [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/appcache/document-cookie-http-only-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/appcache/document-cookie-http-only-actual.txt
@@ -1,6 +1,6 @@
 CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 This tests that HttpOnly cookies set on the main document are used when accessing resources in the manifest.
 This also tests that cookies used by appcache resource loading are scoped properly.
-PASSED: Some cookies should not be visible from JavaScript.
+FAILED: Some cookies should not be visible from JavaScript.
 PASSED: Script Cookie is set to 'script'
 PASSED: Cookie is set to 'bar'


http/tests/appcache/history-test.html [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/appcache/history-test-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/appcache/history-test-actual.txt
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 CONSOLE MESSAGE: line 1: ApplicationCache is deprecated. Please use ServiceWorkers instead.
 Test whether window.history.back() is supported in application cache.


http/tests/cache-storage/cache-clearing-all.https.html [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-clearing-all.https-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-clearing-all.https-actual.txt
@@ -1,4 +1,4 @@

 PASS Cleaning existing caches 
-PASS Clearing all disk cache 
+FAIL Clearing all disk cache assert_equals: keys should be empty expected 0 but got 1


http/tests/cache-storage/cache-clearing-origin.https.html [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-clearing-origin.https-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-clearing-origin.https-actual.txt
@@ -1,7 +1,7 @@


 PASS Create a cache storage from localhost and clear it 
-PASS Clearing disk cache of a given origin 
+FAIL Clearing disk cache of a given origin assert_true: hasDOMCache with actual origin expected true got false
 PASS Validating cache representation before clearing 
-PASS Validating cache representation after clearing 
+FAIL Validating cache representation after clearing assert_array_equals: lengths differ, expected 0 got 1


http/tests/cache-storage/cache-origins.https.html [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-origins.https-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-origins.https-actual.txt
@@ -1,7 +1,7 @@


 PASS Create a cache storage and look at the representation 
-PASS Verifying that two caches are created on two different client origins 
+FAIL Verifying that two caches are created on two different client origins assert_array_equals: lengths differ, expected 1 got 2
 PASS Verifying that caches are clustered per client origin. 
-PASS Verifying that clearing caches for an origin will clear both top origin and client origin caches. 
+FAIL Verifying that clearing caches for an origin will clear both top origin and client origin caches. assert_array_equals: lengths differ, expected 0 got 2


http/tests/cache-storage/cache-persistency.https.html [ Failure Pass ]
--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-persistency.https-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/http/tests/cache-storage/cache-persistency.https-actual.txt
@@ -1,8 +1,8 @@


 PASS Cleaning existing caches 
-PASS Clear memory representation but keep disk persistency 
+FAIL Clear memory representation but keep disk persistency assert_true: A cache object should be found expected true got false
 PASS Cleaning added caches from previous test 
-PASS Adding/Removing caches and clearing in memory representation at various times 
+FAIL Adding/Removing caches and clearing in memory representation at various times assert_array_equals: lengths differ, expected 2 got 3
 PASS Cleaning added caches

-- 
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/20191009/4268273e/attachment.html>


More information about the webkit-unassigned mailing list