Bug 261341

Summary: REGRESSION(266877@main): [ macOS wk2 ] requestidlecallback/requestidlecallback-in-page-cache.html is a flaky text failure/timeout.
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, dino, graouts, rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260115
https://bugs.webkit.org/show_bug.cgi?id=261344

Description Ben Schwartz 2023-09-08 10:35:36 PDT
requestidlecallback/requestidlecallback-in-page-cache.html

This test is a flaky text failure/timeout on macOS wk2.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=requestidlecallback%2Frequestidlecallback-in-page-cache.html

TEXT DIFF:

 PASS event.persisted is true
 PASS logsA.length is 0
 PASS logsB.length is 0
-PASS logsA.length is 4
-PASS logsA.join(", ") is "A1, A2, A3, A4"
-PASS logsB.length is 3
-PASS logsB.join(", ") is "B1, B2, B3"
+FAIL logsA.length should be 4. Was 0.
+FAIL logsA.join(", ") should be A1, A2, A3, A4. Was .
+FAIL logsB.length should be 3. Was 0.
+FAIL logsB.join(", ") should be B1, B2, B3. Was .
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 
DIFF URL:

https://build.webkit.org/results/Apple-Ventura-Release-WK2-Tests/266889@main%20(3150)/requestidlecallback/requestidlecallback-in-page-cache-pretty-diff.html

REPRODUCTION:

I was able to reproduce this issue on macOS Ventura (13.5, 22G74/arm64) ToT using the following command:

run-webkit-tests --verbose --clobber-old-results --iterations 10000 --child-processes 10 -f --exit-after-n-failures 1 requestidlecallback/requestidlecallback-in-page-cache.html

REGRESSION:

I was able to identify a regression point at 266877@main, as this issue did not reproduce before then and changes at that point appear directly related to this issue.

NOTE:

This test is much more flaky in my local testing than on the bots.
Comment 1 Radar WebKit Bug Importer 2023-09-08 10:35:48 PDT
<rdar://problem/115179363>
Comment 2 EWS 2023-09-08 10:43:54 PDT
Test gardening commit 267801@main (c7db38b308cc): <https://commits.webkit.org/267801@main>

Reviewed commits have been landed. Closing PR #17600 and removing active labels.
Comment 3 Ryosuke Niwa 2023-09-26 10:28:57 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18233
Comment 4 EWS 2023-09-26 14:12:33 PDT
Committed 268481@main (2bac3341dc48): <https://commits.webkit.org/268481@main>

Reviewed commits have been landed. Closing PR #18233 and removing active labels.