Bug 210308 - REGRESSION: [ Mac ] storage/indexeddb/cursor-request-cycle-private.html is a flaky failure
Summary: REGRESSION: [ Mac ] storage/indexeddb/cursor-request-cycle-private.html is a ...
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-09 14:56 PDT by Truitt Savell
Modified: 2020-04-14 17:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Truitt Savell 2020-04-09 14:56:27 PDT
storage/indexeddb/cursor-request-cycle-private.html

This test is failing very infrequently. 

I am able to reproduce this test using command:
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 -1 storage/indexeddb/cursor-request-cycle-private.html

history:
https://results.webkit.org/?suite=layout-tests&test=storage%2Findexeddb%2Fcursor-request-cycle-private.html

Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/storage/indexeddb/cursor-request-cycle-private-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/storage/indexeddb/cursor-request-cycle-private-actual.txt
@@ -25,23 +25,10 @@
 Ensure requests are not released if cursors are still around.
 cursorRequests = null
 gc()
-PASS isAnyCollected(cursorRequestObservers) is false
-Ensure requests are not released if they are pending.
-cursors = null
-gc()
-PASS isAnyCollected(cursorObservers) is false
-PASS isAnyCollected(cursorRequestObservers) is false
-finalRequest = store.get(0)
-
-finalRequestSuccess():
-Ensure requests and cursors are released.
-PASS cursors is non-null.
-PASS cursors.length is 1000
-cursors = null
-gc()
-PASS isAnyCollected(cursorObservers) is true
-PASS isAnyCollected(cursorRequestObservers) is true
-PASS successfullyParsed is true
+FAIL isAnyCollected(cursorRequestObservers) should be false. Was true.
+FAIL Unexpected error: InvalidStateError: The object is in an invalid state.
+FAIL successfullyParsed should be true. Was false.
+Some tests failed.
 
 TEST COMPLETE
Comment 1 Truitt Savell 2020-04-09 15:08:51 PDT

*** This bug has been marked as a duplicate of bug 210278 ***
Comment 2 Truitt Savell 2020-04-09 15:11:22 PDT
Duped this incorrectly
Comment 3 Radar WebKit Bug Importer 2020-04-14 17:45:49 PDT
<rdar://problem/61799384>