Closed Bug 1104644 Opened 10 years ago Closed 10 years ago

Mulet crash running Gaia marionnette

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

(Keywords: regression)

Attachments

(2 files)

46 bytes, text/x-github-pull-request
kgrandon
: review+
Details | Review
4.48 KB, text/plain
Details
Because of MOZ_DISABLE_NONLOCAL_CONNECTIONS
Because of tiles.

> Tue, 25 Nov 2014 10:59:10 GMT b2g-desktop stderr FATAL ERROR: Non-local network connections are disabled and a connection attempt to tiles.services.mozilla.com (54.191.174.127) was made.
Once tiles are disabled, we sill have forced update checking that kicks in and breaks, too.
Component: Runtime → Gaia::Build
Ricky, I can't find in the current build system how to add specific prefs when running Marionnette tests.
Flags: needinfo?(ricky060709)
Depends on: 1100345
Flags: needinfo?(ricky060709)
Attached file Gaia PR
Getting crashed on marketplace.firefox.com requests now.
I can't find where this marketplace.firefox.com request is coming from: it's using https, and even dumping ssl master keys and using wireshark I could not decipher.
Flags: needinfo?(jlal)
Comment on attachment 8528357 [details] [review]
Gaia PR

Kevin, those are needed, but maybe not enough for all cases.
Attachment #8528357 - Flags: review?(kgrandon)
Comment on attachment 8528357 [details] [review]
Gaia PR

I don't know what all of these prefs do, but the commit message is insightful and makes sense. TBPL is also green, so I'm happy. Thanks!
Attachment #8528357 - Flags: review?(kgrandon) → review+
(In reply to Alexandre LISSY :gerard-majax from comment #6)
> I can't find where this marketplace.firefox.com request is coming from: it's
> using https, and even dumping ssl master keys and using wireshark I could
> not decipher.

I see quite a few hits here:
http://mxr.mozilla.org/mozilla-central/search?string=marketplace.firefox.com&case=1
http://mxr.mozilla.org/gaia/search?string=marketplace.firefox.com&case=1
Ok, those requests are somehow related to the manifestURL in dev_apps/marketplace.allizom.org/metadata.json and dev_apps/marketplace-dev.allizom.org/metadata.json

But why would this hit only Mulet?
Johnathan, do you think you could use a bit of brain juice to help me? :)
Flags: needinfo?(jgriffin)
The reason this only hits Mulet is because older B2G tests (like those running on b2gdesktop builds) were grandfathered in before this requirement took effect.

Marketplace is unique among stock tes apps in that it's hosted, rather than packaged.  I don't know if we can realistically block it from loading in TBPL.  Leaving the needinfo for James Lal who might know.
Flags: needinfo?(jgriffin)
(In reply to Jonathan Griffin (:jgriffin) from comment #12)
> The reason this only hits Mulet is because older B2G tests (like those
> running on b2gdesktop builds) were grandfathered in before this requirement
> took effect.

That's just false: I checked it by running locally. With B2G Desktop and the flag, it passed. With Mulet and the flag, it crashes.
Attached file B2G vs Mulet
So, those requests are indeed because of Webapps.jsm app update checking. This is triggered by a Gaia-side event, "force-update-check", coming from a change to the setting value of |gaia.system.checkForUpdates|.
PR updated with the added pref from bug 1094362.
https://github.com/mozilla-b2g/gaia/commit/09da77088026f0ecb42e833222e4d009a0b4d9bf
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: needinfo?(jlal)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: