Closed Bug 1688071 Opened 3 years ago Closed 3 years ago

tb windows perma fail: comm/mailnews/base/test/unit/test_folderLookupService.js | xpcshell return code: 0

Categories

(Thunderbird :: General, defect, P5)

Tracking

(thunderbird_esr78 unaffected, thunderbird85 unaffected)

RESOLVED FIXED
86 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird85 --- unaffected

People

(Reporter: intermittent-bug-filer, Assigned: rnons)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

[task 2021-01-21T12:03:27.950Z] 12:03:27 INFO - comm/mailnews/base/test/unit/test_folderLookupService.js | Starting test_unicode_uris
[task 2021-01-21T12:03:27.950Z] 12:03:27 INFO - (xpcshell/head.js) | test test_unicode_uris pending (2)
[task 2021-01-21T12:03:27.950Z] 12:03:27 INFO - (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - Unexpected exception TypeError: can't access property "URI", tap is null at Z:/task_1611229883/build/tests/xpcshell/tests/comm/mailnews/base/test/unit/test_folderLookupService.js:75
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - test_unicode_uris@Z:/task_1611229883/build/tests/xpcshell/tests/comm/mailnews/base/test/unit/test_folderLookupService.js:75:3
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - _run_next_test/<@Z:\task_1611229883\build\tests\xpcshell\head.js:1620:22
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - _run_next_test@Z:\task_1611229883\build\tests\xpcshell\head.js:1620:38
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - run@Z:\task_1611229883\build\tests\xpcshell\head.js:767:9
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - _do_main@Z:\task_1611229883\build\tests\xpcshell\head.js:239:6
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - _execute_test@Z:\task_1611229883\build\tests\xpcshell\head.js:567:5
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - @-e:1:1
[task 2021-01-21T12:03:27.951Z] 12:03:27 INFO - exiting test

https://searchfox.org/comm-central/rev/477376239c7add0cb7581d788e2cd79a1a4360b2/mailnews/base/test/unit/test_folderLookupService.js#75

Attached patch 1688071.patchSplinter Review

The failing test case was newly added in bug 1687412. Found that non-ASCII folder name is hashed on Windows, so treat it different in the test.

Try: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=bfb386fc78a2e60373789c783b5c2dfbd11fb15e

Assignee: nobody → remotenonsense
Status: NEW → ASSIGNED
Attachment #9198579 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9198579 [details] [diff] [review]
1688071.patch

Review of attachment 9198579 [details] [diff] [review]:
-----------------------------------------------------------------

Thx! 
As I recall it's not "non-ascii" that is hashed, but names that can't be used since they have characters that the windows file system can't support. 
It's a bit (or a few!) odd that this hashing is also inside the url of course...
Attachment #9198579 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 86 Branch

Perhaps "non-ascii" is inaccurate, it's hashed when ConvertibleToNative https://searchfox.org/comm-central/source/mailnews/base/src/nsMsgUtils.cpp#296 returns false.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/af9af6bc9337c93c6ca214dbd4eb24a05f01ac24
Fix test_folderLookupService.js for Windows. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 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: