Extensions from distribution/extensions not loaded for mochitest on Mac
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
Details
Attachments
(1 file, 1 obsolete file)
4.46 KB,
patch
|
pmorris
:
review+
pmorris
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
The point of failure could be any one of a number of things here, but I'm posting this in Mochitest since that's what I'm trying to do.
For Thunderbird beta/ESR, Lightning is at distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
. This gets copied into the profile directory at start-up, and everything is fine. Except when it isn't – on Mac mochitest jobs, Lightning never loads and there's no mention of it in the logs, so I presume it is not copied into the profile directory.
This is happening on TaskCluster (example). I haven't got a Mac so I can't test if it happens on a local build.
Assignee | ||
Comment 1•5 years ago
|
||
I could use some help on this. We're making more and more mochitests so it's becoming more important.
What I don't understand is why it works on Linux and Windows but not on Mac. The file must be packaged correctly since Mozmill tests load Lightning as expected. Is it something to do with how the profile is set up on TC? Is it something OS-specific in Marionette?
Comment 2•5 years ago
|
||
Are you modifying the following preference for the Thunderbird tests?
If you don't it shouldn't work at all, so not sure why it is only failing on MacOS. Maybe try with various combinations of the addon specific preferences.
Assignee | ||
Comment 3•5 years ago
|
||
It seems that's exactly the problem, but as you say, why does it work on Linux and Windows?
Comment 4•5 years ago
|
||
It might be good to ask some extension folks about it. If the prefs are set to block those extensions it should work cross-platform. Otherwise it smells like a bug to me.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Fixed the pref order so I don't grumble later about people who can't put things in order, only to find myself at fault.
Comment 7•5 years ago
|
||
Comment on attachment 9103186 [details] [diff] [review] 1588678-calendar-mochitest-2.diff Review of attachment 9103186 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Updated•5 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0f8f556acd91
Enable loading of Lightning in mochitest on beta/ESR channels. r=pmorris
Comment 9•5 years ago
|
||
Need Calendar 72 Milestone. Does Philipp still need to do this himself?
Assignee | ||
Comment 11•5 years ago
|
||
I can't see if this was caused by a problem with the testing infrastructure or with the extensions code itself. CC'ing Andrew, who might be interested.
Updated•5 years ago
|
Comment 12•5 years ago
|
||
TB 71 beta 1:
https://hg.mozilla.org/releases/comm-beta/rev/0649668a52e0ac68c987c542c2afc9cb7cd18012
Description
•