Resolve the failures in wpt tests related to database renaming after the update to SQLite 3.51
Categories
(Core :: Storage: IndexedDB, task)
Tracking
()
People
(Reporter: mak, Assigned: hsingh)
References
Details
After updating to SQLite 3.51 we got apparently permanent failures in certain indexeddb tests from the Web Platform Tests harness.
More details are available in Bug 1999921.
We should figure out if these failures are indicating a real issue in the idb code.
This is effectively blocking our SQLite updates, until resolved.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•10 months ago
|
||
Hello, do you have any resources available to look into this issue?
It's preventing us from updating the Sqlite library, as we don't really want to cause unexpected issues to idb.
Updated•10 months ago
|
| Assignee | ||
Comment 2•9 months ago
|
||
I see that lots of indexedDB WPTs for android expect timeout; I am not sure why's the case. Maybe it's because android would generally be slower and as a result it shows some non-deterministic behavior. I don't realistically find anything in the new sqlite changes that would interfere with tests just for android and I have also observed that these tests are timing out intermittently. Maybe we can include some conditions in the ini files for these tests.
| Assignee | ||
Comment 3•9 months ago
|
||
we could also try updating to the latest version (I see that there's a bump in minor version) and see if it makes any difference. I dont' expect much difference.
| Reporter | ||
Comment 4•9 months ago
•
|
||
I have updated the patches in Bug 1998267 if you want to test with the latest release.
Made a Try push: (new one) https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=177750
Andrew suggested in Bug 1999921:
(Andrew Sutherland [:asuth] (he/him) from Bug 1999921 comment #15)
What we really want next is to see what's happening with MOZ_LOG set to 5 for IndexedDB/5 and mozStorage/5. Let's coordinate in Workers & Storage on matrix if anyone kicks off such jobs and/or runs locally.
| Reporter | ||
Comment 5•9 months ago
•
|
||
hmm, it looks like my try had artifact build, even if I'm sure I didn't have it locally. Remaking them.
| Reporter | ||
Comment 6•9 months ago
|
||
The new Try still looks fine, Ryan ran his own Try and it looked fine... So I guess the problem seems resolved?
I'll try to check if 3.51.1 is still causing the failure, to check whether it's effectively the SQLite change, or some change we made.
| Reporter | ||
Comment 7•9 months ago
|
||
3.51.1 definitely was showing some idb failures https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=Kq1T7rIARG6wjPbsb8rg9g.0&revision=534a8b5a7dff7e6c620a8f00f3bdd9f378c22486
Updated•9 months ago
|
| Reporter | ||
Comment 9•9 months ago
|
||
SQLite 3.51.2 was landed.
I checked a few autoland wpt runs, and the intermittent failures view, and I cannot see an increase of failures on Android.
So we can assume some of the bugs fixed in 3.51.2 were the cause here. Either the deadlock or the EXISTS-to-JOIN optimization bugs, the latter seems to be more likely, as I doubt we are accessing the db contents without passing through the SQLite library.
So I'm going to resolve this, but feel free to change it, if you think there's more to do.
| Reporter | ||
Comment 10•9 months ago
•
|
||
I just noticed there seem to be an increase in
idb-open-few-par delete_duration
idb-open-few-seq delete_duration
This has not been triaged yet, likely will be soon: https://treeherder.mozilla.org/perfherder/alerts?id=48597&hideDwnToInv=0
Description
•