Bug 207019

Summary: [ Mac Release wk2 ] five http/tests/cache/disk-cache/disk-cache-* tests are failing in tandem
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: beidson, bfulgham, koivisto, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Truitt Savell 2020-01-30 15:22:24 PST
http/tests/cache/disk-cache/disk-cache-disable.html
http/tests/cache/disk-cache/disk-cache-last-modified.html
http/tests/cache/disk-cache/disk-cache-media.html
http/tests/cache/disk-cache/disk-cache-range.html
http/tests/cache/disk-cache/disk-cache-redirect.html

History:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=http%2Ftests%2Fcache%2Fdisk-cache%2Fdisk-cache-disable.html&test=http%2Ftests%2Fcache%2Fdisk-cache%2Fdisk-cache-last-modified.html&test=http%2Ftests%2Fcache%2Fdisk-cache%2Fdisk-cache-media.html&test=http%2Ftests%2Fcache%2Fdisk-cache%2Fdisk-cache-range.html&test=http%2Ftests%2Fcache%2Fdisk-cache%2Fdisk-cache-redirect.html

These tests are failing together in tandem. They always fail on the same test runner together. I have tried to reproduce this locally but have not succeeded yet.
They all are failing with the same message of "response source: Network" instead of Disk cache. Some test upstream may be setting a bad state or the system is falling into this state. 

Results page:
https://build.webkit.org/results/Apple-Catalina-Release-WK2-Tests/r255440%20(2570)/results.html

example diff:
--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/cache/disk-cache/disk-cache-redirect-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/cache/disk-cache/disk-cache-redirect-actual.txt
@@ -7,7 +7,7 @@
 
 --------Testing loads from disk cache--------
 response headers: {"Status":"301","Location":"unique-cacheable"}
-response source: Disk cache
+response source: Network
Comment 1 Radar WebKit Bug Importer 2020-01-30 15:22:59 PST
<rdar://problem/59044362>
Comment 2 Truitt Savell 2020-01-30 15:33:31 PST
This looks like it has been happening for the whole history
Comment 3 Alexey Proskuryakov 2020-01-31 22:00:06 PST
We have many bugs about http/tests/cache/disk-cache tests, including generic bug 149087 and bug 172662 that are very similar to this one, for a total of 20 open bugs with "http/tests/cache/disk-cache" in the title. Antti tried to fix these before, but obviously more work is needed.

We should clean up the bugs though.
Comment 4 Brent Fulgham 2022-02-11 14:34:30 PST
Current history shows these tests are no longer failing. last failure was on r256612