Closed
Bug 1390118
Opened 7 years ago
Closed 7 years ago
TEST-UNEXPECTED-FAIL | toolkit/components/contextualidentity/tests/unit/test_basic.js | xpcshell return code: 0
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 57.0
People
(Reporter: jorgk-bmo, Assigned: jkt)
Details
(Whiteboard: [Thunderbird-testfailure: X all])
Attachments
(1 file)
TEST-UNEXPECTED-FAIL | toolkit/components/contextualidentity/tests/unit/test_basic.js | xpcshell return code: 0 First seen Mon Aug 14, 2017, 12:11:19 https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=0710b9ff48cd9419fbf3b7275f84a48c94f71860 M-C last good: 3bfcbdf5c6c381d5a8febb5c209e27a69f M-C first bad: df9beb781895fcd0493c21e95ad313e004 https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3bfcbdf5c6c381d5a8febb5c209e27a69f&tochange=df9beb781895fcd0493c21e95ad313e004 Suspect bug 1344519 since that changed test_basic.js: https://hg.mozilla.org/mozilla-central/rev/3323bbf5cea8 The log says: 04:53:04 INFO - Unexpected exception NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName] 04:53:04 INFO - getUserContextLabel@resource://gre/modules/ContextualIdentityService.jsm:330:12 And line 330: reads: return gBrowserBundle.GetStringFromName(identity.l10nID); To me that looks like an invalid dependency between toolkit and browser, so the test fill fail in any context but browser. Perhaps you therefore added those strings for android: https://hg.mozilla.org/mozilla-central/rev/3323bbf5cea8#l1.12 Jonathan and Andrew: Sorry to trouble you, but perhaps you can fix this.
Flags: needinfo?(jkt)
Flags: needinfo?(aswan)
Assignee | ||
Comment 1•7 years ago
|
||
I think we should disable the test for anything that is failing that isn't desktop for the time being. I'm not sure why this seems to be intermittent either as it passed through try.
Assignee: nobody → jkt
Flags: needinfo?(jkt)
Assignee | ||
Comment 2•7 years ago
|
||
Could it be that the file isn't accessible in tests only? Nothing actually has changed for this file just that it is accessed a little more frequently?
Reporter | ||
Comment 3•7 years ago
|
||
OK, looks like you're going to work on it, thanks. Please change product/component/summary accordingly. We usually add skip-if = appname == "thunderbird" for the tests we want to disable in M-C.
Whiteboard: [Thunderbird-testfailure: X all]
Assignee | ||
Comment 4•7 years ago
|
||
Oh wait is this just thunderbird, I couldn't try from the try? I see the component now which makes more sense about the failure. Thanks
Flags: needinfo?(jorgk)
Reporter | ||
Comment 5•7 years ago
|
||
Umm, not sure what info you need. Yes, I reported that this test fails when run on the C-C treeherder: https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=0710b9ff48cd9419fbf3b7275f84a48c94f71860&selectedJob=122966816 Usually I send an M-C patch to disable test which don't work and can't be made to work. However, this test would most likely work in TB, if it had the browser strings that are used in the test. So as I said in comment #0, you've created a dependency between toolkit and browser. If you moved the strings out of browser the test would most likely pass for us.
Flags: needinfo?(jorgk)
Assignee | ||
Comment 6•7 years ago
|
||
I actually didn't make that dependency, I just exposed the android issue by increasing test exposure. We could move the strings I suspect however would Containers ever make any sense to thunderbird? My hunch is not at all, at least without a tonne of work anyway. I will patch up ini file to skip the test for the time being. I appreciate your help on this.
Flags: needinfo?(aswan)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8896976 -
Flags: review?(jorgk)
Assignee | ||
Comment 8•7 years ago
|
||
I wasn't able to push to try as I got the following error: "warning: repository is unrelated" I'm not sure if you are able to test?
Flags: needinfo?(jorgk)
Reporter | ||
Comment 9•7 years ago
|
||
Comment on attachment 8896976 [details] Bug 1390118 - Skip contextual identity test for Thunderbird Thanks, but I really don't have any review authority in toolkit/ being a Thunderbird and Mailnews peer. Anyway, the change looks good and won't break FF ;-)
Attachment #8896976 -
Flags: review?(jorgk) → review+
Reporter | ||
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8896976 [details] Bug 1390118 - Skip contextual identity test for Thunderbird https://reviewboard.mozilla.org/r/168278/#review173470 Thanks, but I really don't have any review authority in toolkit/ being a Thunderbird and Mailnews peer. Anyway, the change looks good and won't break FF ;-)
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(jorgk)
Reporter | ||
Comment 11•7 years ago
|
||
(In reply to Jonathan Kingston [:jkt] from comment #8) > I wasn't able to push to try as I got the following error: "warning: > repository is unrelated" > I'm not sure if you are able to test? Yes, I can ship this off to a C-C try, but all that will happen is that the test won't and and won't fail.
Assignee | ||
Updated•7 years ago
|
Attachment #8896976 -
Flags: review?(jorgk)
Attachment #8896976 -
Flags: review?(aswan)
Attachment #8896976 -
Flags: review+
Reporter | ||
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8896976 [details] Bug 1390118 - Skip contextual identity test for Thunderbird https://reviewboard.mozilla.org/r/168280/#review173472
Attachment #8896976 -
Flags: review?(jorgk) → review+
Comment 13•7 years ago
|
||
mozreview-review |
Comment on attachment 8896976 [details] Bug 1390118 - Skip contextual identity test for Thunderbird https://reviewboard.mozilla.org/r/168280/#review173476
Attachment #8896976 -
Flags: review?(aswan) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 15•7 years ago
|
||
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ea391b57ec4e Skip contextual identity test for Thunderbird r=aswan,jorgk+176914
Keywords: checkin-needed
Updated•7 years ago
|
Flags: needinfo?(ryanvm)
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ea391b57ec4e
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 57.0
You need to log in
before you can comment on or make changes to this bug.
Description
•