Bug 87633

Summary: Application cache abort() tests are flaky
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, gyuyoung.kim, lucas.de.marchi, sw0524.lee
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=76270

Description Chris Dumez 2012-05-28 01:23:33 PDT
The following test cases are consistently flaky on the bot:
  http/tests/appcache/abort-cache-onchecking-manifest-404.html = TEXT PASS
  http/tests/appcache/abort-cache-ondownloading-resource-404.html = TEXT PASS

The diff looks like:
--- /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/http/tests/appcache/abort-cache-onchecking-manifest-404-expected.txt
+++ /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/http/tests/appcache/abort-cache-onchecking-manifest-404-actual.txt
@@ -1,3 +1,2 @@
-CONSOLE MESSAGE: Application Cache download process was aborted.
 This tests that download process was aborted after checking event and before update failed.

It appears that the Application Cache download process could not be aborted in time and the download completed/succeeded.
Comment 1 Alexey Proskuryakov 2015-02-08 11:01:53 PST
*** Bug 141368 has been marked as a duplicate of this bug. ***
Comment 2 Alexey Proskuryakov 2015-02-08 11:05:07 PST
These tests are intrinsically flaky - appcache progress events are for notification purposes only, so update progress can be at an entirely different stage when the event is dispatched.

Notably, the tests with 404 responses can have the update already failed by the time "checking" event handled is called.
Comment 3 Alexey Proskuryakov 2015-02-08 11:11:56 PST
Updated expectations in r179798.