WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
327334
[macOS Tahoe arm64] 6x TestWebKitAPI storage tests are constant text failures
https://bugs.webkit.org/show_bug.cgi?id=327334
Summary
[macOS Tahoe arm64] 6x TestWebKitAPI storage tests are constant text failures
jespinal23
Reported
2026-10-12 19:12:23 PDT
The following api-tests are constant failures on Tahoe Release arm64: TestWebKitAPI.WKWebsiteDataStore.RemoveAndFetchData TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit TestWebKitAPI.WKWebsiteDataStorePrivate.FetchWithSize TestWebKitAPI.WKWebView.ClearStaleAppCache TestWebKitAPI.WKWebView.LocalStorageFetchDataRecords TestWebKitAPI.WKWebView.LocalStorageNoRecordAfterGetItem These six are filed together because they fail for the same reason, in the same runs. Each test clears all website data first, later fetches the data records, and gets exactly one record more than it expects: WKWebsiteDataStore.RemoveAndFetchData expects 0, gets 1 WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit expects 0, gets 1 WKWebsiteDataStorePrivate.FetchWithSize expects 1, gets 2 WKWebView.ClearStaleAppCache expects 0, gets 1 WKWebView.LocalStorageFetchDataRecords expects 1, gets 2 WKWebView.LocalStorageNoRecordAfterGetItem expects 0, gets 1 RemoveDataWaitUntilWebProcessesExit logs the type of its extra record: WKWebsiteDataTypeScreenTime. The other five don't log types, but each of them fetches a set of types that includes WKWebsiteDataTypeScreenTime. History:
https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebsiteDataStore.RemoveAndFetchData&test=TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit&test=TestWebKitAPI.WKWebsiteDataStorePrivate.FetchWithSize&test=TestWebKitAPI.WKWebView.ClearStaleAppCache&test=TestWebKitAPI.WKWebView.LocalStorageFetchDataRecords&test=TestWebKitAPI.WKWebView.LocalStorageNoRecordAfterGetItem&platform=mac&version_name=Tahoe&style=release&architecture=arm64&limit=50000
Test Run:
https://build.webkit.org/#/builders/1716/builds/7091
Output: 17:21:31.217 7840 ------------------------------ 17:21:31.217 7840 Test suite failed 17:21:31.217 7840 17:21:31.217 7840 Skipped 13 tests 17:21:31.217 7840 17:21:31.217 7840 ** UNEXPECTED FAILURES ** 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebView.ClearStaleAppCache 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/LocalStorageClear.mm:178 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 websiteDataRecords.count 17:21:31.217 7840 Which is: 1 17:21:31.217 7840 0ul 17:21:31.217 7840 Which is: 0 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebView.LocalStorageFetchDataRecords 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/LocalStorageDatabaseTracker.mm:78 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 1u 17:21:31.217 7840 Which is: 1 17:21:31.217 7840 dataRecords.count 17:21:31.217 7840 Which is: 2 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebView.LocalStorageNoRecordAfterGetItem 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/LocalStorageDatabaseTracker.mm:105 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 0u 17:21:31.217 7840 Which is: 0 17:21:31.217 7840 dataRecords.count 17:21:31.217 7840 Which is: 1 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebsiteDataStore.RemoveAndFetchData 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebsiteDatastore.mm:158 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 0u 17:21:31.217 7840 Which is: 0 17:21:31.217 7840 dataRecords.count 17:21:31.217 7840 Which is: 1 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit 17:21:31.217 7840 2026-10-12 17:10:14.391 TestWebKitAPI[37257:7405581] Unexpected record with type: [WKWebsiteDataTypeScreenTime] 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebsiteDatastore.mm:259 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 dataRecords.count 17:21:31.217 7840 Which is: 1 17:21:31.217 7840 0u 17:21:31.217 7840 Which is: 0 17:21:31.217 7840 17:21:31.217 7840 TestWebKitAPI.WKWebsiteDataStorePrivate.FetchWithSize 17:21:31.217 7840 17:21:31.217 7840 /Volumes/Data/worker/Apple-Tahoe-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebsiteDatastore.mm:854 17:21:31.217 7840 Expected equality of these values: 17:21:31.217 7840 [records count] 17:21:31.217 7840 Which is: 2 17:21:31.217 7840 1u 17:21:31.217 7840 Which is: 1 Reproduction: run-api-tests --debug --iterations 5 --force TestWebKitAPI.WKWebsiteDataStore.RemoveAndFetchData TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit TestWebKitAPI.WKWebsiteDataStorePrivate.FetchWithSize TestWebKitAPI.WKWebView.ClearStaleAppCache TestWebKitAPI.WKWebView.LocalStorageFetchDataRecords TestWebKitAPI.WKWebView.LocalStorageNoRecordAfterGetItem I tried reproducing a test failure locally but was unsuccessful.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-10-12 19:12:31 PDT
<
rdar://problem/189869111
>
jespinal23
Comment 2
2026-10-12 19:17:59 PDT
Test gardening pull request:
https://github.com/WebKit/WebKit/pull/76823
EWS
Comment 3
2026-10-12 19:20:53 PDT
Test gardening commit
323526@main
(6b36556eedae): <
https://commits.webkit.org/323526@main
> Reviewed commits have been landed. Closing PR #76823 and removing active labels.
Alexey Proskuryakov
Comment 4
2026-10-12 20:17:55 PDT
Looks like something writes a WKWebsiteDataTypeScreenTime record, which is then stuck on the machine forever, poisoning test results?
Alexey Proskuryakov
Comment 5
2026-10-12 20:26:02 PDT
Probably triggered by enabling Screen Time in
320705@main
. Then one bot started filling on 9/17, and another on 9/27.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug