Bug 210517

Summary: [ macOS / iOS ] storage/indexeddb/result-request-cycle.html is a flaky failure
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: keith_miller, webkit-bot-watchers-bugzilla, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Truitt Savell 2020-04-14 14:23:42 PDT
storage/indexeddb/result-request-cycle.html

This test seems to have begun failing around r256598

Reproduces with:
run-webkit-tests --iterations 2000 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --debug-rwt-logging --no-retry --force --no-build -f storage/indexeddb/result-request-cycle.html

History:
https://results.webkit.org/?suite=layout-tests&test=storage%2Findexeddb%2Fresult-request-cycle.html&platform=mac

Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/storage/indexeddb/result-request-cycle-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/storage/indexeddb/result-request-cycle-actual.txt
@@ -32,9 +32,10 @@
 PASS resultObservation.wasCollected is false
 result = null
 gc()
-PASS getRequestObervation.wasCollected is true
-PASS resultObservation.wasCollected is true
+FAIL getRequestObervation.wasCollected should be true. Was false.
+FAIL resultObservation.wasCollected should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
Comment 1 Radar WebKit Bug Importer 2020-04-14 14:23:58 PDT
<rdar://problem/61790508>
Comment 2 Truitt Savell 2020-04-14 14:29:58 PDT
I was able to bisect this down to r259554
Comment 3 Keith Miller 2020-04-15 11:33:30 PDT
This failure is because the test is not correct. In the future if you see GC tests like this failing, before bisecting feel free to ask me or someone else on JSC if the test makes sense first.
Comment 4 Ryan Haddad 2020-04-28 22:26:22 PDT
Marked test as flaky in https://trac.webkit.org/changeset/260867/webkit