[perma] comm/mail/test/browser/account/browser_accountTelemetry.js | A promise chain failed to handle a rejection: can't access property "noPassword", this.protocol is null - stack: get _passwordRequired@resource:///modules/imAccounts.jsm:621:12
Categories
(Chat Core :: IRC, defect, P5)
Tracking
(thunderbird_esr78 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
People
(Reporter: intermittent-bug-filer, Assigned: freaktechnik)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Filed by: mkmelin [at] iki.fi
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=341758687&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Baekt82IS3yFjmeWGkxhVg/runs/0/artifacts/public/logs/live_backing.log
Comment hidden (Intermittent Failures Robot) |
Comment 2•3 years ago
|
||
This appears to be triggered by the creation of an IRC account in the test. I don't think any of our changes at the time caused it, and there's a big list of m-c changes.
Assignee | ||
Comment 3•3 years ago
•
|
||
This is most likely a race that we just started losing due to some timing change (or the logins getting initialized within the test context, thus the promise resolving?): https://searchfox.org/comm-central/rev/7893eeaf930fcc8923c0ca59d5ed4e3be455d5a5/chat/components/src/imAccounts.jsm#204
I guess the solution is to make sure the imAccount we create is initialized enough that it has a protocol.
Assignee | ||
Comment 4•3 years ago
|
||
I think I have a fix, though I'm slightly confused how the protocol can be intact at line 208 of imAccounts.jsm and then be destroyed at 220. I don't see anything that would let other code run in between those two lines.
Assignee | ||
Comment 5•3 years ago
|
||
Also disables OTR for browser_accountTelemetry.js due to a race with key generation when the account is removed.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/9d4c932955c5
Fix race in imAccount constructor between account destruction and login service. r=clokep
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•