Closed Bug 1267612 Opened 9 years ago Closed 9 years ago

TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js and test_csp_custom_policies.js

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(firefox48 fixed, firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox48 --- fixed
firefox49 --- fixed

People

(Reporter: jorgk-bmo, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

New on C-C since Apr 25, 2016: TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_csp_custom_policies.js | xpcshell return code: 0 TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_csp_custom_policies.js | test_addon_csp - [test_addon_csp : 17] Expected base CSP value - "script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-ext == "undefined" TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | xpcshell return code: 0 TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | test_implicit_id - [test_implicit_id : 28] null != null TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | test_implicit_id - [test_implicit_id : 221] A promise chain failed to handle a rejection: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.directoryEntries] - rejection date: Mon Apr 25 2016 06:56:38 GMT-0700 (Pacific Standard Time) - stack: JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: .cleanStagingDir :: line 7827 TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | xpcshell return code: 0 TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | test_implicit_id - [test_implicit_id : 28] null != null TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js | test_implicit_id - [test_implicit_id : 221] A promise chain failed to handle a rejection: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.directoryEntries] - rejection date: Mon Apr 25 2016 06:56:40 GMT-0700 (Pacific Standard Time) - stack: JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: .cleanStagingDir :: line 7827 Return code: 1
Tests fail locally: $ mozilla/mach xpcshell-test toolkit/components/extensions/test/xpcshell/test_csp_custom_policies.js This is from bug 1254194. Kris, should this test be disabled for Thunderbird or how do we make it work? $ mozilla/mach xpcshell-test toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js This comes from bug 1262005. Robert, should this test be disabled for Thunderbird or how do we make it work? Sorry for putting two issues into the same bug, but they are both related to web extensions. If necessary, I'll split it into bugs. Kent, what's the tack TB is taking on web extensions?
Flags: needinfo?(rkent)
Flags: needinfo?(rhelmer)
Flags: needinfo?(kmaglione+bmo)
(In reply to Jorg K (GMT+2) from comment #1) > Tests fail locally: > $ mozilla/mach xpcshell-test > toolkit/components/extensions/test/xpcshell/test_csp_custom_policies.js > This is from bug 1254194. Kris, should this test be disabled for Thunderbird > or how do we make it work? The whole directory should probably be disabled. > $ mozilla/mach xpcshell-test > toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js > This comes from bug 1262005. Robert, should this test be disabled for > Thunderbird or how do we make it work? It should be disabled.
Flags: needinfo?(rhelmer)
Flags: needinfo?(kmaglione+bmo)
Thanks for the quick reply. Here a patch that disables things as you suggested.
Attachment #8745610 - Flags: review?(kmaglione+bmo)
Attachment #8745610 - Flags: review?(kmaglione+bmo) → review+
Comment on attachment 8745610 [details] [diff] [review] Disable tests not suitable for Thunderbird. Approval Request Comment [Feature/regressing bug #]: Bug 1254194 and bug 1262005. [User impact if declined]: None. But Thunderbird test suite fails. [Risks and why]: No risk. Just disabling tests for Thunderbird test suite. [String/UUID change made/needed]: None. Bug 1254194 and bug 1262005 and were landed on mozilla48, so this needs to go there, too.
Attachment #8745610 - Flags: approval-mozilla-aurora?
Component: General → WebExtensions
Product: Thunderbird → Toolkit
Keywords: checkin-needed
Dear Sheriff, I know that rules say that you need a try run to use the "checkin-needed" service. Well, since this patch only disables tests for Thunderbird, there is no try run.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
"Kent, what's the tack TB is taking on web extensions?" BWinton long ago advised us that web extensions made little sense for Thunderbird, and even if they did the web extensions group would be unlikely to accept patches for Thunderbird functionality. So we pretty much stopped looking further at any role web extensions might have with Thunderbird.
Flags: needinfo?(rkent)
Gentle ping for Aurora approval. The change doesn't affect Firefox at all, it only disables a test for Thunderbird.
Flags: needinfo?(lhenry)
Approval isn't needed for test-only changes. It can land in Aurora with a=testonly.
OK, and who do I ping to do it? Let's try a Sheriff. Dear Sheriff, can you please push to Aurora as per comment #10.
Flags: needinfo?(lhenry) → needinfo?(cbook)
Flags: needinfo?(cbook)
Attachment #8745610 - Flags: approval-mozilla-aurora?
as Kris said no approval needed (and this might conflict with landing queries when there is still the request but no approval :) landed in https://hg.mozilla.org/releases/mozilla-aurora/rev/fdf6664b4ed7b2bc3cb5bbb4037fab9c71162358
Blocks: TBWebExtFail
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: