RESOLVED FIXED Bug 225372
[ BigSur Release ] TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=225372
Summary [ BigSur Release ] TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection i...
Robert Jenner
Reported 2021-05-04 16:43:21 PDT
TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection is a constantly failing API on BigSur Release. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:129 Expected equality of these values: @"Open Succeeded" Which is: "Open Succeeded" string3.get() Which is: "Open Failed"
Attachments
Patch (8.84 KB, patch)
2021-05-12 13:13 PDT, Sihui Liu
no flags
Patch for landing (8.77 KB, patch)
2021-05-12 13:40 PDT, Sihui Liu
no flags
Radar WebKit Bug Importer
Comment 1 2021-05-04 16:43:43 PDT
Sihui Liu
Comment 2 2021-05-12 13:13:07 PDT
Chris Dumez
Comment 3 2021-05-12 13:16:46 PDT
Comment on attachment 428408 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428408&action=review > Tools/TestWebKitAPI/Tests/WebKitCocoa/KillWebProcessWithOpenConnection-1.html:3 > +var db; Why this? > Tools/TestWebKitAPI/Tests/WebKitCocoa/KillWebProcessWithOpenConnection-1.html:7 > + db = event.target.result; why not use var here? > Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:41 > +static bool readyToContinue; You don't need a global here. > Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:111 > + readyToContinue = false; __block bool readyToContinue = false;
Sihui Liu
Comment 4 2021-05-12 13:40:34 PDT
Comment on attachment 428408 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428408&action=review >> Tools/TestWebKitAPI/Tests/WebKitCocoa/KillWebProcessWithOpenConnection-1.html:7 >> + db = event.target.result; > > why not use var here? Left for testing. Will move it here. >> Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:41 >> +static bool readyToContinue; > > You don't need a global here. Will remove.
Sihui Liu
Comment 5 2021-05-12 13:40:55 PDT
Created attachment 428412 [details] Patch for landing
EWS
Comment 6 2021-05-12 14:56:20 PDT
Committed r277392 (237648@main): <https://commits.webkit.org/237648@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428412 [details].
Chris Dumez
Comment 7 2021-05-24 15:04:06 PDT
Open Failed: UnknownError: Error creating or migrating Records table in database
Sihui Liu
Comment 8 2021-05-25 08:36:42 PDT
(In reply to Chris Dumez from comment #7) > Open Failed: UnknownError: Error creating or migrating Records table in > database Yes, this is not fixed so I filed https://bugs.webkit.org/show_bug.cgi?id=226124. Can you take a look?
Ryan Haddad
Comment 9 2021-05-26 11:33:04 PDT
Current output: TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:134 Expected equality of these values: @"Open Succeeded" Which is: "Open Succeeded" string3.get() Which is: "Open Failed: UnknownError: Error creating new Records table (%i) - %s5database is locked" https://build.webkit.org/#/builders/105/builds/1474/steps/11/logs/stdio
Ryan Haddad
Comment 10 2021-06-04 13:42:31 PDT
This appears to have been resolved by <https://commits.webkit.org/238469@main>.
Note You need to log in before you can comment on or make changes to this bug.