Bug: High frequency  browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite before handling user events -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-16 12:39:09+00:00
Resolved: 2021-11-09 17:01:25+00:00

**Filed by:** ccozmuta [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=355000079&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GvpzzKFrTdOCKGOONzGWKg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-10-16T11:19:14.271Z] 11:19:14     INFO - TEST-START | browser/base/content/test/performance/browser_startup_mainthreadio.js
[task 2021-10-16T11:19:14.363Z] 11:19:14     INFO - TEST-INFO | started process screenshot
[task 2021-10-16T11:19:14.429Z] 11:19:14     INFO - TEST-INFO | screenshot: exit 0
[task 2021-10-16T11:19:14.439Z] 11:19:14     INFO - <snipped 67 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-10-16T11:19:14.440Z] 11:19:14     INFO - Buffered messages logged at 11:19:14
[task 2021-10-16T11:19:14.440Z] 11:19:14     INFO - (PoisonIOInterposer) read - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite
[task 2021-10-16T11:19:14.441Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite
[task 2021-10-16T11:19:14.441Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner
[task 2021-10-16T11:19:14.442Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.442Z] 11:19:14     INFO - (PoisonIOInterposer) read - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite
[task 2021-10-16T11:19:14.443Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-wal
[task 2021-10-16T11:19:14.443Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.444Z] 11:19:14     INFO - (PoisonIOInterposer) write - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.444Z] 11:19:14     INFO - (PoisonIOInterposer) write - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.445Z] 11:19:14     INFO - (PoisonIOInterposer) write - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.446Z] 11:19:14     INFO - (PoisonIOInterposer) write - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal
[task 2021-10-16T11:19:14.446Z] 11:19:14     INFO - (PoisonIOInterposer) write - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite
[task 2021-10-16T11:19:14.447Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\doh-rollout@mozilla.org.xpi
[task 2021-10-16T11:19:14.447Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\formautofill@mozilla.org.xpi
[task 2021-10-16T11:19:14.448Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\pictureinpicture@mozilla.org.xpi
[task 2021-10-16T11:19:14.448Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\proxy-failover@mozilla.com.xpi
[task 2021-10-16T11:19:14.449Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\screenshots@mozilla.org.xpi
[task 2021-10-16T11:19:14.449Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\webcompat-reporter@mozilla.org.xpi
[task 2021-10-16T11:19:14.450Z] 11:19:14     INFO - (PoisonIOInterposer) stat - Z:\task_163438241050416\build\application\firefox\browser\features\webcompat@mozilla.org.xpi
[task 2021-10-16T11:19:14.451Z] 11:19:14     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_mainthreadio.js | stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner as many times as expected before opening first browser window - 
[task 2021-10-16T11:19:14.451Z] 11:19:14     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_mainthreadio.js | stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal as many times as expected before opening first browser window - 
[task 2021-10-16T11:19:14.452Z] 11:19:14     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_mainthreadio.js | write on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite-journal as many times as expected before opening first browser window - 
[task 2021-10-16T11:19:14.453Z] 11:19:14     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_mainthreadio.js | stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\cookies.sqlite as many times as expected before opening first browser window - 
<...>
[task 2021-10-16T11:19:14.506Z] 11:19:14     INFO - Buffered messages finished
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite before handling user events - 
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO - Stack trace:
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO -   nsLocalFile::ResolveAndStat
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO -   get nsINavBookmarksService.tagsFolder
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO -   get (resource://gre/modules/PlacesUtils.jsm:1953:11)
[task 2021-10-16T11:19:14.507Z] 11:19:14     INFO -   get tagsFolderId (resource://gre/modules/PlacesUtils.jsm:1278:18)
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO -   telemetry (resource://gre/modules/PlacesDBUtils.jsm:1099:17)
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO -   BG__onFirstWindowLoaded/< (resource:///modules/BrowserGlue.jsm:1707:43)
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO -   XPCWrappedJS method call
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO -   Task BG__onFirstWindowLoaded/<[BrowserGlue.jsm]:JS
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO -   XREMain::XRE_main
[task 2021-10-16T11:19:14.508Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite
[task 2021-10-16T11:19:14.509Z] 11:19:14     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected stat on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite before handling user events - 
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO - Stack trace:
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO -   Connection::initialize
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO -   get nsINavBookmarksService.tagsFolder
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO -   get (resource://gre/modules/PlacesUtils.jsm:1953:11)
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO -   get tagsFolderId (resource://gre/modules/PlacesUtils.jsm:1278:18)
[task 2021-10-16T11:19:14.510Z] 11:19:14     INFO -   telemetry (resource://gre/modules/PlacesDBUtils.jsm:1099:17)
[task 2021-10-16T11:19:14.511Z] 11:19:14     INFO -   BG__onFirstWindowLoaded/< (resource:///modules/BrowserGlue.jsm:1707:43)
[task 2021-10-16T11:19:14.511Z] 11:19:14     INFO -   XPCWrappedJS method call
[task 2021-10-16T11:19:14.511Z] 11:19:14     INFO -   Task BG__onFirstWindowLoaded/<[BrowserGlue.jsm]:JS
[task 2021-10-16T11:19:14.511Z] 11:19:14     INFO -   XREMain::XRE_main
[task 2021-10-16T11:19:14.511Z] 11:19:14     INFO - (PoisonIOInterposer) stat - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite
[task 2021-10-16T11:19:14.512Z] 11:19:14     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite before handling user events - 
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO - Stack trace:
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   Connection::initialize
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   get nsINavBookmarksService.tagsFolder
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   get (resource://gre/modules/PlacesUtils.jsm:1953:11)
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   get tagsFolderId (resource://gre/modules/PlacesUtils.jsm:1278:18)
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   telemetry (resource://gre/modules/PlacesDBUtils.jsm:1099:17)
[task 2021-10-16T11:19:14.513Z] 11:19:14     INFO -   BG__onFirstWindowLoaded/< (resource:///modules/BrowserGlue.jsm:1707:43)
[task 2021-10-16T11:19:14.514Z] 11:19:14     INFO -   XPCWrappedJS method call
[task 2021-10-16T11:19:14.514Z] 11:19:14     INFO -   Task BG__onFirstWindowLoaded/<[BrowserGlue.jsm]:JS
[task 2021-10-16T11:19:14.514Z] 11:19:14     INFO -   XREMain::XRE_main
[task 2021-10-16T11:19:14.514Z] 11:19:14     INFO - (PoisonIOInterposer) read - C:\Users\task_163438241050416\AppData\Local\Temp\tmpb0qp6lag.mozrunner\places.sqlite
[task 2021-10-16T11:19:14.515Z] 11:19:14     INFO - Not taking screenshot here: see the one that was previously logged
```