Closed
Bug 1492379
Opened 6 years ago
Closed 6 years ago
Test failure for Thunderbird in toolkit/components/places/tests/unifiedcomplete/ (plus four from toolkit/components/places/tests/unit/)
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
References
Details
(Whiteboard: [Thunderbird-testfailure: X all])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
Thunderbird runs all toolkit Xpcshell tests and now the ones from toolkit/components/places/tests/unifiedcomplete/ all fail.
This appears to come from bug 1489282 or bug 1490527 which made those tests use a new file browser/components/urlbar/UrlbarPrefs.jsm.
Surprisingly the logs show:
"CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: " {file: "jar:file:///Users/cltbld/tasks/task_1537334919/build/application/Thunderbird%20Daily.app/Contents/Resources/omni.ja!/components/UnifiedComplete.js" line: 2325}]"
Marco and Drew, how can we resolve this? Turn off the entire test directory for TB? Or make some adjustments at your end?
Additionally to the unifiedcomplete test, these now also fail:
TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/unit/test_413784.js
TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/unit/test_408221.js
TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/unit/test_000_frecency.js
TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/unit/test_frecency.js
TEST-UNEXPECTED-FAIL | tools/profiler/tests/test_enterjit_osr.js
Flags: needinfo?(mak77)
Flags: needinfo?(adw)
Comment 1•6 years ago
|
||
This was my fear, we actually plan to move the unifiedcomplete component to browser/ so it won't affect your anymore.
Flags: needinfo?(mak77)
Assignee | ||
Comment 2•6 years ago
|
||
ETA for that? I have permanent failures on the tree now :-(
Comment 3•6 years ago
|
||
if you wish to make a patch to exclude the unifiedcomplete test folder for you, we can take it sooner.
Assignee | ||
Comment 4•6 years ago
|
||
I'll do that, but there are some more, see comment #0. What are they about? We switched off some "frecency" tests in bug 1482627 and bug 1482085.
Assignee | ||
Updated•6 years ago
|
Component: General → Address Bar
Product: Thunderbird → Firefox
Version: unspecified → Trunk
Assignee | ||
Comment 5•6 years ago
|
||
I ran
toolkit/components/places/tests/unit/test_413784.js
toolkit/components/places/tests/unit/test_408221.js
toolkit/components/places/tests/unit/test_000_frecency.js
toolkit/components/places/tests/unit/test_frecency.js
manually and they all failed with
JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: ... UnifiedComplete.js"
So I switched those off as well. I don't quite understand the error since UnifiedComplete.js is still available at:
https://hg.mozilla.org/mozilla-central/log/tip/toolkit/components/places/UnifiedComplete.js
Assignee | ||
Comment 6•6 years ago
|
||
Forgot to mention Thunderbird in the commit message.
Attachment #9010204 -
Attachment is obsolete: true
Attachment #9010204 -
Flags: review?(mak77)
Attachment #9010205 -
Flags: review?(mak77)
Comment 7•6 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #5)
> manually and they all failed with
> JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: ... UnifiedComplete.js"
>
> So I switched those off as well. I don't quite understand the error since
> UnifiedComplete.js is still available at:
> https://hg.mozilla.org/mozilla-central/log/tip/toolkit/components/places/
> UnifiedComplete.js
I think if you look at the full error:
"CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: " {file: "jar:file:///Z:/task_1537356921/build/application/thunderbird/omni.ja!/components/UnifiedComplete.js" line: 2325}]"
Then it is saying that there's a file not found which is triggered on line 2325 of UnifiedComplete.js. That line is using UrlbarPrefs, which is a lazy getter which loads the newly added UrlbarPrefs.js that's under browser.
For info, bug 1492226 is the already filed bug for moving UnifiedComplete.js across to browser/.
Comment 9•6 years ago
|
||
Comment on attachment 9010205 [details] [diff] [review]
1492379-switch-off-tests.patch
Review of attachment 9010205 [details] [diff] [review]:
-----------------------------------------------------------------
those tests checks how frecency influences unifiedcomplete, so it's ok to disable them and we should move them to the urlbar component along with the unifiedcomplete component. Thank you!
Attachment #9010205 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 10•6 years ago
|
||
Thanks for your help and the quick turnaround.
Keywords: checkin-needed
Summary: Massive toolkit/components/places/tests/unifiedcomplete/ (plus some from toolkit/components/places/tests/unit/) failure in Thunderbird → Test failure for Thunderbird in toolkit/components/places/tests/unifiedcomplete/ (plus four from toolkit/components/places/tests/unit/)
Comment 11•6 years ago
|
||
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/db8fbd7e55fc
Switch off tests in unifiedcomplete and four more all depending on UnifiedComplete.js for Thunderbird. r=mak
Keywords: checkin-needed
Comment 12•6 years ago
|
||
Sorry about this, I didn't realize it might break tests on Thunderbird but of course now it's obvious.
Comment 13•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in
before you can comment on or make changes to this bug.
Description
•