Closed Bug 1821661 Opened 3 years ago Closed 3 years ago

FAIL Uncaught exception received from previously timed out test bound testEncryptedMessageReplyIsEncrypted - focus listener not removed before the end of test

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 113
defect

Tracking

(Not tracked)

RESOLVED FIXED
113 Branch

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(2 files)

I see this test failure locally:
FAIL Uncaught exception received from previously timed out test bound testEncryptedMessageReplyIsEncrypted - focus listener not removed before the end of test

I have a fix.

Assignee: nobody → kaie
Status: NEW → ASSIGNED

Maybe this failure is related to bug 1808258, but it produces a different error.

See Also: → 1808258
Target Milestone: --- → 113 Branch
Version: unspecified → Thunderbird 113

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/2527a3441972
Fix test testEncryptedMessageReplyIsEncrypted. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

It's still failing on treeherder.
(bct7, linux x64 opt)

That's confusing, because it works for me locally. Most of the time.

Exactly ONCE I was able to see a failure locally. It was apparently stuck while trying to click the save button. I saw that the save button wasn't simply clicked, but the button's dropdown menu was open (which offers several ways for saving).

I looked at the code that triggers saving, but I don't understand how this could have happened. And I don't know if that one-time local event is actually the thing that goes wrong on treeherder.

Instead I attempted to change other places in this code to reuse existing test helpers.

I also found two more things that might help. The initial be_in_folder didn't make sense for this test. We should be in the draft folders. With some added sleep calls, I attempted to look at window behavior. I had the impression that saving didn't work right (but I don't understand why the test still worked for me locally). By changing the initial call to be_in_folder(gDrafts), I saw that saving to the drafts folder worked. (Or at least I could see it, because the 3pane window was switched to that folder.) But that alone wasn't sufficient to fix the bug.
(failed try: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=15ad747c87cead292445262ad12529cd80c59e4a)

Despite my lack of understanding, my additional experiments I found code that actually works in treeherder.
Working try:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=4165d9f9deab6a48112906d878590c1e7d3fe617

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5cb4e6ab51e0
Another attempt to fix testEncryptedMessageReplyIsEncrypted (works in try). r=mkmelin

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: