Closed
Bug 1100345
Opened 11 years ago
Closed 11 years ago
Unable to run Gij with Mulet
Categories
(Firefox OS Graveyard :: Runtime, defect)
Firefox OS Graveyard
Runtime
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
(Keywords: regression)
Attachments
(1 file, 6 obsolete files)
|
3.02 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
> make test-integration-test RUNTIME=/home/alex/codaz/Mozilla/b2g/gecko/obj-mulet/dist/firefox/firefox
Mulet starts, Gaia is visible, but tests are not started. I know this used to work ...
| Assignee | ||
Comment 1•11 years ago
|
||
Johnathan, are you aware of changes that may have broke us? I'm unable to find anything, and I see no error whatsoever :(
Flags: needinfo?(jgriffin)
Comment 2•11 years ago
|
||
I don't know; I'll cc a couple of folks on the B2G automation team to see if they have ideas.
Flags: needinfo?(mdas)
Flags: needinfo?(jlal)
Flags: needinfo?(jgriffin)
Comment 3•11 years ago
|
||
Putting this in my queue... I think we may have regressed this recently (though it will be way easier now to use this)
Assignee: nobody → jlal
Status: NEW → ASSIGNED
Flags: needinfo?(mdas)
Flags: needinfo?(jlal)
| Assignee | ||
Comment 4•11 years ago
|
||
Ok, we still need:
diff --git a/testing/marionette/marionette-server.js b/testing/marionette/marionette-server.js
index e8e5448..521890a 100644
--- a/testing/marionette/marionette-server.js
+++ b/testing/marionette/marionette-server.js
@@ -38,7 +38,7 @@ Cu.import("resource://gre/modules/FileUtils.jsm");
Cu.import("resource://gre/modules/NetUtil.jsm");
Services.prefs.setBoolPref("marionette.contentListener", false);
-let appName = Services.appinfo.name;
+let appName = "B2G"; // Services.appinfo.name;
let { devtools } = Cu.import("resource://gre/modules/devtools/Loader.jsm", {});
let DevToolsUtils = devtools.require("devtools/toolkit/DevToolsUtils.js");
| Assignee | ||
Comment 5•11 years ago
|
||
| Assignee | ||
Comment 6•11 years ago
|
||
| Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8526779 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
That's a first tentative, but I'm not very convinced by myself:
- hardcoding "B2G", but I don't see any other way
- maybe we should make isMulet part of Services.jsm?
- maybe we should have a mulet-specific pref also, rather than lurking around the startup homepage ?
Attachment #8526779 -
Flags: feedback?(jgriffin)
Comment 8•11 years ago
|
||
Comment on attachment 8526779 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
Review of attachment 8526779 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but can you also remove the code that used to do this from http://dxr.mozilla.org/mozilla-central/source/testing/marionette/marionette-server.js#2920 ?
Attachment #8526779 -
Flags: feedback?(jgriffin) → feedback+
Comment 9•11 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #7)
> Comment on attachment 8526779 [details] [diff] [review]
> Make Mulet appear as B2G for Marionette r=jgriffin
>
> That's a first tentative, but I'm not very convinced by myself:
> - hardcoding "B2G", but I don't see any other way
> - maybe we should make isMulet part of Services.jsm?
> - maybe we should have a mulet-specific pref also, rather than lurking
> around the startup homepage ?
Marionette has to behave differently for Mulet depending on whether or not it's running Gaia. We could go the pref route, if that pref were only set for the Gaia case.
| Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #8)
> Comment on attachment 8526779 [details] [diff] [review]
> Make Mulet appear as B2G for Marionette r=jgriffin
>
> Review of attachment 8526779 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, but can you also remove the code that used to do this from
> http://dxr.mozilla.org/mozilla-central/source/testing/marionette/marionette-
> server.js#2920 ?
Thanks, I missed this one.
| Assignee | ||
Comment 11•11 years ago
|
||
| Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8527285 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
Updated all places, and moved to Services.isMulet
Attachment #8527285 -
Flags: feedback?(jgriffin)
| Assignee | ||
Updated•11 years ago
|
Attachment #8526779 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•11 years ago
|
||
Pending try: https://tbpl.mozilla.org/?tree=Try&rev=60fa803a0f29
| Assignee | ||
Comment 14•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8527285 -
Attachment is obsolete: true
Attachment #8527285 -
Flags: feedback?(jgriffin)
| Assignee | ||
Updated•11 years ago
|
Attachment #8527287 -
Flags: feedback?(jgriffin)
| Assignee | ||
Comment 15•11 years ago
|
||
Made a small typo that broke Marionnette. New try: https://tbpl.mozilla.org/?tree=Try&rev=1d2dc1046862
| Assignee | ||
Comment 16•11 years ago
|
||
| Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 8527293 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
Let's keep this as simple as possible.
Attachment #8527293 -
Flags: feedback?(jgriffin)
| Assignee | ||
Updated•11 years ago
|
Attachment #8527287 -
Attachment is obsolete: true
Attachment #8527287 -
Flags: feedback?(jgriffin)
| Assignee | ||
Comment 18•11 years ago
|
||
| Assignee | ||
Comment 19•11 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #18)
> New try: https://tbpl.mozilla.org/?tree=Try&rev=17ab987b2f6d
So the only red on this is B2G ICS Emulator Opt Mn, and it was red before my changes.
Comment 20•11 years ago
|
||
Comment on attachment 8527293 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
Review of attachment 8527293 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm, nice solution, thanks.
Attachment #8527293 -
Flags: feedback?(jgriffin) → feedback+
| Assignee | ||
Updated•11 years ago
|
Attachment #8527293 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Assignee: jlal → lissyx+mozillians
| Assignee | ||
Comment 21•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8528290 -
Flags: review?(jgriffin)
Attachment #8528290 -
Flags: review?(gavin.sharp)
Updated•11 years ago
|
Attachment #8528290 -
Flags: review?(jgriffin) → review+
Comment 22•11 years ago
|
||
Comment on attachment 8528290 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin,gavin
Services.jsm is not the right place for this - "isMulet" is not a service. Couldn't the marionette-server code just check for a Mulet-only pref instead?
Attachment #8528290 -
Flags: review?(gavin.sharp) → review-
| Assignee | ||
Comment 23•11 years ago
|
||
Sure, this is what I was not sure about in comment 7, I'll update with a pref then :)
| Assignee | ||
Comment 24•11 years ago
|
||
When running Gaia Marionette integration tests, we need to talk to Mulet
like if it was a B2G device. We define the "b2g.is_mulet" pref for this
purpose.
| Assignee | ||
Comment 25•11 years ago
|
||
Try with the new pref: https://tbpl.mozilla.org/?tree=Try&rev=ccade8fbcd58
| Assignee | ||
Comment 26•11 years ago
|
||
Looks greenish: https://tbpl.mozilla.org/?tree=Try&rev=ccade8fbcd58
| Assignee | ||
Comment 27•11 years ago
|
||
Comment on attachment 8529527 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin,gavin
Carrying r+ from :jgriffin
Attachment #8529527 -
Flags: review+
| Assignee | ||
Comment 28•11 years ago
|
||
When running Gaia Marionette integration tests, we need to talk to Mulet
like if it was a B2G device. We define the "b2g.is_mulet" pref for this
purpose.
| Assignee | ||
Updated•11 years ago
|
Attachment #8529527 -
Attachment is obsolete: true
| Assignee | ||
Comment 29•11 years ago
|
||
Comment on attachment 8529695 [details] [diff] [review]
Make Mulet appear as B2G for Marionette r=jgriffin
Pref only solution, as advised by :gavin.
Attachment #8529695 -
Flags: review?(jgriffin)
| Assignee | ||
Comment 30•11 years ago
|
||
Updated•11 years ago
|
Attachment #8529695 -
Flags: review?(jgriffin) → review+
| Assignee | ||
Updated•11 years ago
|
Attachment #8528290 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 31•11 years ago
|
||
Keywords: checkin-needed
Comment 32•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•