Summary: | [Mac iOS WK2] Layout Test http/wpt/cache-storage/cache-quota-after-restart.any.html is a flaky failure | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Shawn Roberts <sroberts> | ||||
Component: | Tools / Tests | Assignee: | youenn fablet <youennf> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, cdumez, cgarcia, commit-queue, ews-watchlist, koivisto, lforschler, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Shawn Roberts
2019-04-17 16:36:32 PDT
There are two issues there: - Test on iOS might be very slow so we should mark it this way in TestExpectations. - Sometimes, disk writing fails. Doing some logging in NetworkCache::Storage, it seems that between the time we call Storage::dispatchWriteOperation and create the folder where to write using FileSystem::makeAllDirectories and the actual write operation in IOChannel::write, the folder get deleted. Sometimes the call to FileSystem::makeAllDirectories fails as well. Doing some logging, I do not see any calls to remove these folders from another thread. As spotted by Antti, the synchronize mechanism is probably the one deleting the folder that has just been created. This probably happens as write and synchronize share the same background queue and the queue is concurrent. Created attachment 368167 [details]
Patch
Comment on attachment 368167 [details] Patch Clearing flags on attachment: 368167 Committed r244645: <https://trac.webkit.org/changeset/244645> All reviewed patches have been landed. Closing bug. |