b2g-info now subsumes b2g-procrank and b2g-psDear all,
I just merged b2g-info, a tool which gives you information about b2g
processes running on a device, into gonk-misc. You can get this new
tool by running ./repo sync and then rebuilding with ./build.sh.
b2g-info is meant to subsume b2g-procrank and b2g-ps. It (hopefully)
outputs all of the useful information from b2g-ps, b2g-procrank,
b2g-procrank --nice, and b2g-procrank --oom plus some additional data
in a (hopefully) easier-to-digest format.
b2g-info is also faster than b2g-procrank, which makes a difference if
you're running b2g-info repeatedly from a script. ...
|mach mochitest-remote| and |mach mochitest-b2g-desktop| replaced by |mach mochitest-plain|Bug 1046992 (just landed on inbound) removes the `mochitest-remote` and
`mochitest-b2g-desktop` mach commands.
Instead, simply run |mach mochitest-plain| like you would on desktop.
The `mochitest-plain` command will detect what platform you have built
and do the right thing.
In the near future, I'll also be removing all of the suite specific (e.g
|mach mochitest-chrome|) commands. The |mach mochitest| command will be
the single entry point into the harness, no matter what flavor or
platform you are using.
On a related note, |mach mochitest-chrome| is also now available...
B2G desktop mochitests now runningJust an fyi, b2g desktop mochitests are now running on all
mozilla-central based branches (this does not include mozilla-b2g26,
though if this is desired, I can look into it). They are running the
same set of mochitests as the b2g emulators, minus a few that had b2g
desktop specific issues (see bug 931116 for a list of which ones).
Please file test issues as blocking bugs to bug 931116.
The biggest outstanding issue is the inability to run a single test via
mach (see bug 927889 for more details or if you'd like to help investigate).
Thanks,
Andrew
...
[signin][b2g] - B2G->dev mergeWe have been discussing forceAuthentication, but there are other B2G
features that must be merged into dev. So that JedP and I can
prioritize, bisect, and tackle, can we get a list of features and any
dependencies they have on other features?
Off the top of my head I know of:
* forceAuthentication
* forceIssuer
* allowUnverified
* special TOS/PP handling - in B2G, TOS/PP links must be opened in an
IFRAME instead of in a new tab.
* A way of indicating experimental features
Are there other new features that I am missing?
We are actively discussing forceAuthentication, but t...
mochitest-chrome tests now running on B2G emulatorsA mochitest-chrome job is now running on B2G emulators, and appears in
Treeherder as M(c). This job skips most existing chrome tests, since most
of the existing tests are not compatible with B2G. But it provides a
better alternative when writing mochitests that need chrome privileges than
using SpecialPowers in mochitest-plain.
If you want your new chrome mochitest to get run on B2G, just make sure
it's written as an XHTML file and not a XUL one; see
https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/static/chrome.template.txt
..
If you don't want your new ...
Debug mochitests on B2GAt the last work week, Jonas indicated it was important to get
mochitests (and other tests) running on debug builds, since tests
running against debug builds catch assertions, which are silently
ignored on opt builds. These assertions indicate some unexpected state
was reached in the code, which is usually indicative of a bug.
We have had debug mochitests running on cedar for a while now. They're
all orange or red. I've just finished triaging them and have filed bugs
for all the unique failures; see
https://bugzilla.mozilla.org/showdependencytree.cgi?id=916359&hi...
blocking-b2g / feature-b2g / status-b2g-v2.5 change for FxOS 2.5 in Bugzilla
--Apple-Mail=_A344D24D-898F-4783-9B3E-33CDD840A153
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Dear b2g friends,
Just to inform you the following change has been applied to Bugzilla =
since we have announced FxOS 2.5:
1. blocking-b2g and feature-b2g flags are renamed from 3.0?/+ to =
2.5?/+.
2. New tracking flag status-b2g-v2.5 is created.
Sincerely,
-------------------------------------------------------
Josh Cheng
Engineering Project Manager, Firefox OS
Mozilla Corporation
=E2=9C=89 joshcheng@mozilla.com <mailto:joche...
running B2G mochitests on tryWe are now running a small set of mochitests on B2G emulators on all
trunk trees. We'll be expanding this set of tests as quickly as we can.
Meanwhile, if you'd like to run tests through try, here's how you can do it:
- Use a platform field of ics_armv7a_gecko
- Use a build type of 'o' (opt)
- If you want to change the set of mochitests that are run, modify this
file:
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/b2g.json
A complete try push syntax might look like:
try: -b o -p ics_armv7a_gecko -t none -u mochitests
Regards,
Jona...
mailman config changed; text/html should now show up in dev-gaia and dev-b2g and links should not be corruptedThis is a multi-part message in MIME format.
--------------040907020305070007060305
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Assuming all has gone well, the mailman list-server software we use for
dev-b2g and dev-gaia should no longer force multipart/alternative mail
messages to use the first sub-part (which is likely to be text/plain).
What this means is that if you use the gmail web UI to talk on the list
and your hyperlinks have ended up messed up, that should stop
happening. (This, by definition, is/was a bug in gmail'...
mailman config changed; text/html should now show up in dev-gaia and dev-b2g and links should not be corruptedThis is a multi-part message in MIME format.
--------------040907020305070007060305
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Assuming all has gone well, the mailman list-server software we use for
dev-b2g and dev-gaia should no longer force multipart/alternative mail
messages to use the first sub-part (which is likely to be text/plain).
What this means is that if you use the gmail web UI to talk on the list
and your hyperlinks have ended up messed up, that should stop
happening. (This, by definition, is/was a bug in gmail'...
Mach target for B2G desktop mochitestsIf you have a B2G desktop build, you can now run ./mach
mochitest-b2g-desktop (./mach help mochitest-b2g-desktop for more options).
If your environment isn't set up properly, the command should guide you
through the steps needed with helpful error messages. But for posterity,
you need to:
* pass in --profile or set GAIA_PROFILE to a non-debug gaia profile
* have a marionette enabled build (ENABLE_MARIONETTE=1 in your mozconfig)
-Andrew
...
running mochitests in B2G desktop build
Hi all,
i followed the directions at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_B2G_desktop_client
and https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Mochitests
to run a mochitest in the B2G desktop build (on linux) for something i'm trying to land that's having issues
on B2G.
i'm hitting this error : JavaScript error: http://mochi.test:8888/tests/content/base/test/test_CSP_inlinestyle.html?autorun=1&closeWhenDone=1&logFile=%2Fhome%2Fimelven%2Fsrc%2Fmozilla-central%2Fobjdir-dbg%2F_tests%2Ftesting%2Fmochites...
Is it time for mochitest-chrome on Android and B2GPeriodically, we field a request to add support for mochitest-chrome to
Android and B2G. To date, we've avoided this by pointing out ways that
mochitest-plain can be used for the same use case, which usually
involves SpecialPowers.
We have a new request for this, in the context of requestAutocomplete
(https://bugzilla.mozilla.org/show_bug.cgi?id=1021060#c16). The tests
for this, as well as some other features we've seen requests for, need
to be able to execute some setup code with chrome privileges, and
SpecialPowers isn't always flexible enough. As bholley poin...
running mochitests on B2G desktop buildsIt's now possible to run mochitests on B2G desktop builds. Instructions
are at
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/B2G_Mochitests.
If you run into any problems, please ping jgriffin on #ateam, or file
bugs under Testing:Mochitest.
Jonathan
...