Intermittent comm/mail/test/browser/openpgp/browser_keyWizard.js | uncaught exception - TypeError: can't access property "resizeVertically", gSubDialog._topDialog is undefined at resizeDialog/<@chrome://openpgp/content/ui/keyWizard.js:533:7
Categories
(Thunderbird :: General, defect, P5)
Tracking
(thunderbird_esr78 fixed, thunderbird84 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: aleca)
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
3.81 KB,
patch
|
mkmelin
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
Filed by: mkmelin [at] iki.fi
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=321553429&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RawiaY91Tx69DsBpeRPewQ/runs/0/artifacts/public/logs/live_backing.log
Don't think I saw it before https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=RawiaY91Tx69DsBpeRPewQ.0&revision=1104390ebf76c917b35d2fbee3a9f31a62ac92c2```
Assignee | ||
Comment 2•4 years ago
|
||
Thanks for the ping, I'll take care of it.
Assignee | ||
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 4•4 years ago
|
||
Very hard to reproduce locally as it seems to be related to an issue only happening when the test runs quicker than the transition timeout and closes the subdialog before the resizeDialog()
got a chance to run.
This should fix it.
We could implement a smarter way waiting for the transition to end and the resize to happen, but that means delaying the test unnecessarily.
Do you think we should do that?
Meanwhile, here's a try run with the current patch: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=6ab54522622c626a98439f74d828d6f0723a0472
Assignee | ||
Comment 5•4 years ago
|
||
I forgot the macOS tests don't run if I only pick mochitests.
I launched another try-run with all the tests, just to be sure we're not breaking anything else: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=2183bdf6c3d0e4690c0c5240d6eca78d74c59b5d
Assignee | ||
Comment 6•4 years ago
|
||
Comment on attachment 9188196 [details] [diff] [review]
1676865-keywizard-test.diff
Still failing, I'll try another solution.
Assignee | ||
Comment 7•4 years ago
•
|
||
Maybe the issue is not the test or the KeyWizard itself but rather the RNP library not running on treeherder?
https://treeherder.mozilla.org/logviewer?job_id=322006631&repo=try-comm-central&lineNumber=3197-3198
Nevermind, the RNP library doesn't load with artifact builds, that's why everything was failing.
Comment 8•4 years ago
|
||
Yeah mac artifacts not working with rnp is bug 1675160.
Comment 9•4 years ago
•
|
||
Comment on attachment 9188196 [details] [diff] [review] 1676865-keywizard-test.diff Review of attachment 9188196 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/extensions/openpgp/content/ui/keyWizard.js @@ +527,2 @@ > function resizeDialog() { > // Timeout to trigger the dialog resize after the reveal animation completed. Well you do have the transitionend event, so maybe hook up to that? I'll also note there seems to be a lot of eventListener setup+removals for that event here. If it's just going to be used once, just pass in the { once: true } option to addEventListener instead, could make the code easier to undestand
Assignee | ||
Comment 10•4 years ago
|
||
Try run seems good: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=5f7e927949bf176486bfb60e064a38df36f56b12
Comment 11•4 years ago
|
||
Comment on attachment 9188943 [details] [diff] [review] 1676865-keywizard-test.diff Review of attachment 9188943 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, r=mkmelin
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a141d1237293
Fix intermittent comm/mail/test/browser/openpgp/browser_keyWizard.js test failure. r=mkmelin
Comment hidden (Intermittent Failures Robot) |
Comment 14•4 years ago
|
||
Should this get uplifted to 84 beta?
Comment 15•4 years ago
|
||
Comment on attachment 9188943 [details] [diff] [review] 1676865-keywizard-test.diff Review of attachment 9188943 [details] [diff] [review]: ----------------------------------------------------------------- Fix intermittent test failure on beta.
Comment 16•4 years ago
|
||
Comment on attachment 9188943 [details] [diff] [review]
1676865-keywizard-test.diff
[Triage Comment]
Approved for beta
Comment 17•4 years ago
|
||
I think I saw this one on esr78 today with a local build. I suggest to target an uplift to esr78, too.
Updated•4 years ago
|
Comment 18•4 years ago
|
||
bugherder uplift |
Thunderbird 84.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/25ed583dc78d
Comment 19•3 years ago
|
||
saw this again in a local build
Comment 20•3 years ago
|
||
are we ready to request esr78 approval?
Assignee | ||
Comment 21•3 years ago
|
||
(In reply to Kai Engert (:KaiE:) from comment #20)
are we ready to request esr78 approval?
Yes, I'll do that, I was waiting for the beta release and potential intermittent issues there.
Assignee | ||
Comment 22•3 years ago
|
||
Comment on attachment 9188943 [details] [diff] [review]
1676865-keywizard-test.diff
[Approval Request Comment]
Fix intermittent test failure on esr 78.
Comment 23•3 years ago
|
||
Comment on attachment 9188943 [details] [diff] [review]
1676865-keywizard-test.diff
[Triage Comment]
Approved for esr78
Comment 24•3 years ago
|
||
Description
•