Closed Bug 1880690 Opened 9 months ago Closed 6 months ago

Handle comm-esr115 failure in mailnews/base/test/unit/test_accountMgr2.js

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 115
defect

Tracking

(thunderbird_esr115 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
thunderbird_esr115 --- fixed

People

(Reporter: betterbird.project+14, Assigned: mkmelin)

References

Details

Attachments

(2 files)

This
https://searchfox.org/comm-esr115/rev/eabfed25d212a3671c1c0da2091e629f7a08caf4/mailnews/base/test/unit/test_accountMgr2.js#164-168
fails on ESR 115, since createIncomingServer() doesn't support unicode parameters. They are only supported after this change:
https://hg.mozilla.org/comm-central/rev/ae2ec9897473#l24.51

The test failure is visible as X1 on the ESR 115 tree since 115.7.0.

Flags: needinfo?(mkmelin+mozilla)

Is there any particular reason why in that changeset APIs related to ASCII keys were changed from ACString to AUTF8String, like for example here:
https://hg.mozilla.org/comm-central/rev/ae2ec9897473#l24.12

Bug 1865068 is not very appropriate to uplift. Probably best to disable that part of the test and leave the functionality broken for 115 (like it was forever).

Flags: needinfo?(mkmelin+mozilla)
Summary: Backport of bug 1870720 caused permafail of mailnews/base/test/unit/test_accountMgr2.js → Handle comm-esr115 failure in mailnews/base/test/unit/test_accountMgr2.js
Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9380800 - Flags: review?(rob)

How about just backporting the IDL change? These three lines:
https://hg.mozilla.org/comm-central/rev/ae2ec9897473#l24.51

Comment on attachment 9380800 [details] [diff] [review] bug1880690_115_acctmgr.patch Review of attachment 9380800 [details] [diff] [review]: ----------------------------------------------------------------- Works for me. Will get into next 115 release.
Attachment #9380800 - Flags: review?(rob)
Attachment #9380800 - Flags: review+
Attachment #9380800 - Flags: approval-comm-esr115+
Target Milestone: --- → 115 Branch
Depends on: 1870720

The test still fails:

Unexpected exception NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIIOService.newURI]
@Z:/task_170915039895512/build/tests/xpcshell/tests/comm/mailnews/base/test/unit/test_accountMgr2.js:190:17

https://searchfox.org/comm-esr115/rev/0ec42c71066a867a26c7546b296a115bf7c82af9/mailnews/base/test/unit/test_accountMgr2.js#190

Attached patch 1880690.patchSplinter Review

The later part of the test also needs disabling

Attachment #9388671 - Flags: review?(rob)
Version: unspecified → Thunderbird 115
Comment on attachment 9388671 [details] [diff] [review] 1880690.patch Review of attachment 9388671 [details] [diff] [review]: ----------------------------------------------------------------- r+a for esr115.
Attachment #9388671 - Flags: review?(rob)
Attachment #9388671 - Flags: review+
Attachment #9388671 - Flags: approval-comm-esr115+
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: 115 Branch → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: