Bug 229457

Summary: [ Win EWS ] storage/indexeddb/getdatabases.html is a flaky failure
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: Hironori.Fujii, pvollan, rniwa, sihui_liu, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Unspecified   

Description ayumi_kojima 2021-08-24 11:20:56 PDT
storage/indexeddb/getdatabases.html

Is a flaky failure on Windows-EWS.

It's also showing up as a flaky failure on the open source: https://results.webkit.org/?suite=layout-tests&test=storage%2Findexeddb%2Fgetdatabases.html

There was a constant failure previously that got fixed at https://trac.webkit.org/changeset/280524/webkit. Not sure if this is a new failure or something that's related to the previous bug (https://bugs.webkit.org/show_bug.cgi?id=228692).

Seems that the test first failed at this time at r280719

Diff:

--- /home/buildbot/worker/Windows-EWS/build/layout-test-results/storage/indexeddb/getdatabases-expected.txt
+++ /home/buildbot/worker/Windows-EWS/build/layout-test-results/storage/indexeddb/getdatabases-actual.txt
@@ -6,13 +6,14 @@
 indexedDB.open('getdatabase-first')
 PASS databases.length is 0
 indexedDB.open('getdatabase-second', 2)
-PASS databases.length is 1
+FAIL databases.length should be 1. Was 2.
 PASS databases[0].version is 1
 PASS databases[0].name is "getdatabase-first"
-PASS databases.length is 2
+FAIL databases.length should be 2. Was 3.
 PASS databases[1].version is 2
 PASS databases[1].name is "getdatabase-second"
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 
Result page: https://ews-build.s3-us-west-2.amazonaws.com/Windows-EWS/r435927-101989/results.html  

Flakiness on EWS seems to have started at around this build https://ews-build.webkit.org/#/builders/10/builds/101989
Comment 1 Radar WebKit Bug Importer 2021-08-24 11:21:49 PDT
<rdar://problem/82301199>
Comment 2 Fujii Hironori 2021-08-24 13:03:31 PDT
I guess this is caused by 
Bug 173868 – [Win] When running layout tests, each DRT should have a unique IndexedDB directory path.
Comment 3 ayumi_kojima 2021-08-25 10:42:54 PDT
Updated test expectations https://trac.webkit.org/changeset/281562/webkit