Closed Bug 821091 Opened 12 years ago Closed 12 years ago

Add a pref to make Marionette use force-local:true

Categories

(Remote Protocol :: Marionette, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox19 fixed, firefox20 fixed, b2g18 fixed)

RESOLVED FIXED
mozilla20
Tracking Status
firefox19 --- fixed
firefox20 --- fixed
b2g18 --- fixed

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Attachments

(1 file)

Bug 800138 caused us to change how we open Marionette's listening socket.  On B2G, we went from force-local:true to force-local:false.  Unfortunately, this breaks gaia smoke tests on unagis (see bug 821084).

A possible workaround is to add a pref to control whether or not Marionette sets force-local:false before opening its socket.  It should default to setting this, so that panda testing works.  However, we should be able to override this with a pref that we can inject into /data/local/user.js or equivalent (in a Jenkins job, for instance).
This allows us to fix the unagi test problems by setting the Jenkins job to push a file containing:

user_pref(marionette.force-local, true);

to /data/local/user.js before running the tests.  I'm going to land it only b2g18 only now, so it will be tomorrow's nightly, but will hold off on the other branches until reviewed.
Attachment #691611 - Flags: review?(mdas)
Attachment #691611 - Flags: review?(mdas) → review+
Landed only on b2g18 for now, pending review: http://hg.mozilla.org/releases/mozilla-b2g18/rev/4df290e276b2
ah, mdas was fast :)
Whiteboard: [status-b2g18:fixed][automation-needed-in-aurora]
https://hg.mozilla.org/mozilla-central/rev/aac5a6c4024c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Will, you'll probably need this workaround too for panda work once you update your gecko.  Due to bug 820617, Marionette isn't acting nicely on the panda.  To work around this, you can add the pref 'marioentte.force-local': true to the profile.
https://hg.mozilla.org/releases/mozilla-aurora/rev/c1c3e6924008
Whiteboard: [status-b2g18:fixed][automation-needed-in-aurora] → [status-b2g18:fixed]
Whiteboard: [status-b2g18:fixed]
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: