On 10 November 2015 at 10:45, Bevis Tseng <
bts...@mozilla.com> wrote:
> Marionette-webapi is heavily used by Telephony framework in B2G.
> (The test cases are hidden currently in treehelder and we are working
> aggressively to enable it in the treehelder by default once the criteria is
> met.)
This is excellent news! I've broken marionette-webapi on a number of
occasions because it's not available in try, most recently in
https://bugzilla.mozilla.org/show_bug.cgi?id=1211503 (fixed in
https://bugzilla.mozilla.org/show_bug.cgi?id=1223028).
As we run into issues in consumer code, we always try to add a reduced
test case to the Marionette unit test suite. This is an effective
guard against the same problem happening again, later.
This was caused by
https://bugzilla.mozilla.org/show_bug.cgi?id=1212608 and fixed
yesterday in
https://bugzilla.mozilla.org/show_bug.cgi?id=1222388. The
fix landed on central this morning.
Unfortunately we see this type of mach-related breakage from time to
time because try isn't using mach to invoke the tests. I'm afraid
until there's a coordinated effort to fix this, there aren't many
options for preventing this specific type of breakage.
> Is there anyway to ensure the functionality of Mnw in B2G even it's hidden
> currently?
If the test suite is hidden and it has known problems I feel it's
unreasonably cumbersome to expect changes "not to break Mnw further".
I think the best option is to fix the test suite and have it
re-enabled as a Tier-1 job on try. If intermittents and bad tests are
preventing this, one should perhaps begin to question the usefulness
of these tests as they are not _currently_ contributing anything good
to the stability of Firefox OS.
> This will be very helpful to reduce our time of debugging why mnw is broken
> again.
This is a "help us help you" situation. I think the best course of
action is to get marionette-webapi tests running on try so that we can
tell upfront when Marionette patches break your harness.
When we do see breakage in consumers of Marionette we should be
vigilant and add unit tests for it to the Mn unit test suite as well,
as I did for
https://bugzilla.mozilla.org/show_bug.cgi?id=1223028.