Closed Bug 1202537 Opened 9 years ago Closed 8 years ago

Mochitest shouldn't depend on Gaia b2g_sdk

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1146713

People

(Reporter: rickychien, Unassigned)

Details

According to https://bugzilla.mozilla.org/show_bug.cgi?id=1146713#c0, emulator mochitest depends on gaia b2g_sdk's ssltunnel is an unusual case and cause failures itself when gaia upgrades latest b2g_sdk (gaia will try to upgrade b2g_sdk periodically).

Gaia depends on b2g_sdk's JS run-time to build gaia. In the long term, gaia b2g_sdk will be migrated to node.js so that b2g_sdk will no longer download during build time. So it would make mochitest unable to work properly.

Andreas, do you know why mochitest needs to depend on ssltunnel in gaia's b2g_sdk?
If that is necessary, I prefer that mochitest maintains these ssltunnel stuffs by itself. And that would be a nice solution for bug 1146713.
Flags: needinfo?(ato)
releng does not involving actually set up the test, the bug should be redirect to automation team.

:jgriffin, do you know who is in charge of the Emulator testing environment?
Component: General Automation → Marionette
Flags: needinfo?(jgriffin)
Product: Release Engineering → Testing
QA Contact: catlee
(In reply to Ricky Chien [:rickychien] from comment #0)
> Andreas, do you know why mochitest needs to depend on ssltunnel in gaia's
> b2g_sdk?

Sorry, this is outside my area of expertise.
Flags: needinfo?(ato)
ssltunnel is used to support SSL mochitests.  The version of ssltunnel produced by B2G builds is an arm binary, which is useless since ssltunnel runs on the host machine, and not the device/emulator.  So we currently grab a version from the b2g_sdk.

Likewise, we grab xpcshell from the sdk, since we need a version to run on the host machine, and the version produced by the emulator build is an arm binary.

If b2g_sdk is going away, we'll have to figure out a different way to get linux binaries for xpcshell and ssltunnel.  Do we know when b2g_sdk is being deprecated?
Flags: needinfo?(jgriffin)
(In reply to Jonathan Griffin (:jgriffin) from comment #3)
> Do we know when b2g_sdk is being deprecated?

That would depend the status of :gaye and :ricky's work.

(Update: bug 1146713 should be fixed without depending on this work)
No longer blocks: 1146713
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.