Bug: Intermittent browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\pkcs11.txt before first paint -
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-07-07 11:16:13+00:00
Resolved: 2023-01-26 14:18:49+00:00

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

---
```
[task 2021-07-07T10:00:16.351Z] 10:00:16     INFO - TEST-START | browser/base/content/test/performance/browser_startup_mainthreadio.js
[task 2021-07-07T10:00:16.419Z] 10:00:16     INFO - TEST-INFO | started process screenshot
[task 2021-07-07T10:00:16.481Z] 10:00:16     INFO - TEST-INFO | screenshot: exit 0
[task 2021-07-07T10:00:16.482Z] 10:00:16     INFO - <snipped 14 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-07-07T10:00:16.482Z] 10:00:16     INFO - Buffered messages logged at 10:00:16
[task 2021-07-07T10:00:16.483Z] 10:00:16     INFO - (PoisonIOInterposer) write - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\compatibility.ini
[task 2021-07-07T10:00:16.483Z] 10:00:16     INFO - (PoisonIOInterposer) write - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\compatibility.ini
[task 2021-07-07T10:00:16.484Z] 10:00:16     INFO - (PoisonIOInterposer) write - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\compatibility.ini
[task 2021-07-07T10:00:16.484Z] 10:00:16     INFO - (PoisonIOInterposer) write - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\compatibility.ini
[task 2021-07-07T10:00:16.485Z] 10:00:16     INFO - (PoisonIOInterposer) write - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\compatibility.ini
[task 2021-07-07T10:00:16.485Z] 10:00:16     INFO - (PoisonIOInterposer) read - Z:\task_1625651703\build\application\firefox\defaults\pref\channel-prefs.js
[task 2021-07-07T10:00:16.486Z] 10:00:16     INFO - (PoisonIOInterposer) stat - Z:\task_1625651703\build\application\firefox\browser\defaults\preferences
<...>
[task 2021-07-07T10:00:16.536Z] 10:00:16     INFO - TEST-PASS | browser/base/content/test/performance/browser_startup_mainthreadio.js | close on Z:\task_1625651703\build\application\firefox\browser\features\webcompat@mozilla.org.xpi allowed 2 more times before opening first browser window - 
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO - known main thread IO paths during before first paint:
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   C:\Users\task_1625651703\AppData\Local\Mozilla\updates\DFD50D6AA2F2A42F - condition: true, stat: 1, listedPath: OldUpdRootD:
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   C:\ProgramData\Mozilla\updates\DFD50D6AA2F2A42F\updates\0\update.status - condition: true, stat: 1, listedPath: UpdRootD:updates/0/update.status
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   Z:\task_1625651703\build\application\firefox\distribution\distribution.ini - condition: true, stat: 1, listedPath: XREAppDist:distribution.ini
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   *Fonts\StaticCache.dat - condition: true, ignoreIfUnused: true, read: 1, listedPath: *Fonts/StaticCache.dat
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   C:\Windows\system32\spool\drivers\color\* - condition: true, read: 1, listedPath: SysD:spool/drivers/color/*
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   Z:\task_1625651703\AppData\Roaming\Mozilla\Firefox - ignoreIfUnused: true, condition: true, stat: 1, listedPath: UAppData:
[task 2021-07-07T10:00:16.538Z] 10:00:16     INFO -   C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\d3d11layers.guard - ignoreIfUnused: true, stat: 1, listedPath: ProfD:d3d11layers.guard
[task 2021-07-07T10:00:16.539Z] 10:00:16     INFO -   C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\glcontext.guard - ignoreIfUnused: true, stat: 1, listedPath: ProfD:glcontext.guard
[task 2021-07-07T10:00:16.539Z] 10:00:16     INFO -   C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\wmfvpxvideo.guard - ignoreIfUnused: true, stat: 1, listedPath: ProfD:wmfvpxvideo.guard
[task 2021-07-07T10:00:16.539Z] 10:00:16     INFO - (PoisonIOInterposer) stat - C:\Users\task_1625651703\AppData\Local\Mozilla\updates\DFD50D6AA2F2A42F
[task 2021-07-07T10:00:16.540Z] 10:00:16     INFO - (PoisonIOInterposer) stat - C:\ProgramData\Mozilla\updates\DFD50D6AA2F2A42F\updates\0\update.status
[task 2021-07-07T10:00:16.540Z] 10:00:16     INFO - (PoisonIOInterposer) stat - Z:\task_1625651703\build\application\firefox\distribution\distribution.ini
[task 2021-07-07T10:00:16.540Z] 10:00:16     INFO - (PoisonIOInterposer) read - C:\Windows\system32\spool\drivers\color\sRGB Color Space Profile.icm
[task 2021-07-07T10:00:16.541Z] 10:00:16     INFO - Buffered messages finished
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\pkcs11.txt before first paint - 
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO - Stack trace:
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   nsNSSComponent::InitializeNSS
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   GetServiceByContractID @mozilla.org/psm;1
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   fetchLatestChanges (resource://services-settings/Utils.jsm:150:26)
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   sync (resource://services-settings/RemoteSettingsClient.jsm:465:12)
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   InterpretGeneratorResume (self-hosted:1482:33)
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   AsyncFunctionNext (self-hosted:692:26)
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   promise callback
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   EventDispatcher::Dispatch message
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   EventDispatcher::Dispatch
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   Task Worker debuggee queue
[task 2021-07-07T10:00:16.542Z] 10:00:16     INFO -   XREMain::XRE_main
[task 2021-07-07T10:00:16.543Z] 10:00:16     INFO - (PoisonIOInterposer) read - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\pkcs11.txt
[task 2021-07-07T10:00:16.543Z] 10:00:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-07T10:00:16.544Z] 10:00:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\pkcs11.txt before first paint - 
[task 2021-07-07T10:00:16.544Z] 10:00:16     INFO - Stack trace:
[task 2021-07-07T10:00:16.544Z] 10:00:16     INFO -   nsNSSComponent::InitializeNSS
[task 2021-07-07T10:00:16.544Z] 10:00:16     INFO -   GetServiceByContractID @mozilla.org/psm;1
[task 2021-07-07T10:00:16.544Z] 10:00:16     INFO -   fetchLatestChanges (resource://services-settings/Utils.jsm:150:26)
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   sync (resource://services-settings/RemoteSettingsClient.jsm:465:12)
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   InterpretGeneratorResume (self-hosted:1482:33)
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   AsyncFunctionNext (self-hosted:692:26)
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   promise callback
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   EventDispatcher::Dispatch message
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   EventDispatcher::Dispatch
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   Task Worker debuggee queue
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO -   XREMain::XRE_main
[task 2021-07-07T10:00:16.545Z] 10:00:16     INFO - (PoisonIOInterposer) read - C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\pkcs11.txt
[task 2021-07-07T10:00:16.546Z] 10:00:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-07T10:00:16.547Z] 10:00:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected stat on C:\Users\task_1625651703\AppData\Local\Temp\tmpnp_fkke1.mozrunner\cert9.db before first paint - 
[task 2021-07-07T10:00:16.547Z] 10:00:16     INFO - Stack trace:
[task 2021-07-07T10:00:16.547Z] 10:00:16     INFO -   nsNSSComponent::InitializeNSS
[task 2021-07-07T10:00:16.547Z] 10:00:16     INFO -   GetServiceByContractID @mozilla.org/psm;1
<...>
```