Closed
Bug 1011016
Opened 10 years ago
Closed 10 years ago
Marketplace-dev is not installed on Firefox OS v2.0 releng engineering builds
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(b2g-v2.0 verified, b2g-v2.0M verified, b2g-v2.1 verified, b2g-v2.2 verified)
VERIFIED
FIXED
2.1 S6 (10oct)
People
(Reporter: zcampbell, Assigned: jlal)
References
Details
(Whiteboard: NPOTB)
Attachments
(3 files)
323.70 KB,
image/png
|
Details | |
46 bytes,
text/x-github-pull-request
|
rickychien
:
review+
bajaj
:
approval-gaia-v2.0+
fabrice
:
approval-gaia-v2.1+
|
Details | Review |
5.54 MB,
video/mp4
|
Details |
Marketplace dev is not installed on engineering builds of Firefox OS v2.0. Only Marketplace stage and prod are installed.. We need dev to do testing against. This is blocking QA smoketests. (NB, dev is installed on v1.3 builds so something changed in the build config) Gaia 2f89c43e798ccba631025bedc47a1fb24e830cf2 Gecko https://hg.mozilla.org/mozilla-central/rev/4b6d63b05a0a BuildID 20140512160204 Version 32.0a1 ro.build.version.incremental=324 ro.build.date=Thu Dec 19 14:04:55 CST 2013
Comment 1•10 years ago
|
||
Screenshot from v1.3 build. You can see that all 3 Marketplace icons are there. On v1.4 and v2.0 Marketplace dev is missing.
Reporter | ||
Comment 2•10 years ago
|
||
Krupa, can you speak to the right people to make this happen?
Flags: needinfo?(krupa.mozbugs)
Comment 3•10 years ago
|
||
Adding clouserw A little history: Currently, the engineering builds have the hosted dev app which comes with limited functionality. This will be a good time to ship the engineering builds with packaged dev app (with certs) Talking about dev certs, Bug 864820 is still open. What we need to add is the packaged dev app from https://marketplace-dev.allizom.org/app/marketplace installed by default on 2.0 Engineering builds. Clouser can add more details if needed.
Flags: needinfo?(krupa.mozbugs)
Updated•10 years ago
|
Component: Integration → GonkIntegration
Product: Marketplace → Firefox OS
Version: Avenir → unspecified
Updated•10 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Updated•10 years ago
|
Component: GonkIntegration → Gaia::Build
Reporter | ||
Comment 4•10 years ago
|
||
Jsmith, this is blocking automation of a QA smoketest, do you know who can work on this?
Flags: needinfo?(jsmith)
Comment 5•10 years ago
|
||
I don't know. I know what needs to be done here, but I don't have time to look into right now.
Flags: needinfo?(jsmith)
Comment 6•10 years ago
|
||
Why can't you use marketplace stage for testing?
Comment 7•10 years ago
|
||
Can you link to where these are in the gaia tree? I see these two on master: https://github.com/mozilla-b2g/gaia/tree/master/dev_apps/marketplace-dev.allizom.org https://github.com/mozilla-b2g/gaia/tree/master/dev_apps/marketplace.allizom.org but I'm not sure where 2.0 is.
Comment 8•10 years ago
|
||
Just adding a note that we want to move _all_ marketplace testing on Firefox OS to v1.4, but the lack of the Marketplace Dev packaged app on the engineering build is blocking us from doing that too, so let's please try to get this fixed asap. As noted above, the Marketplace Dev app is currently installed in the v1.3 build, but is missing from v1.4 and above. Perhaps it's just an issue of comparing the two build configs and then having the appropriate person implement the fix? Feel free to contact me directly if you need anything from me.
Flags: needinfo?(clouserw)
Comment 9•10 years ago
|
||
My question in comment 7 is unanswered, but on the 2.0 branch there exists a marketplace-dev app also: https://github.com/mozilla-b2g/gaia/tree/v2.0/dev_apps/marketplace-dev.allizom.org I don't know why that wouldn't show up in the build. Fabrice will have better input than me.
Flags: needinfo?(clouserw) → needinfo?(fabrice)
Comment 10•10 years ago
|
||
Thanks Will. I don't know the answer to your question in comment 7, although it looks like you provided the link above. Fabrice, please note that we also need this on v1.4, not only on v2.0.
Comment 11•10 years ago
|
||
The cause on 2.0 is that the marketplace-dev is missing from the list at https://github.com/mozilla-b2g/gaia/blob/v2.0/build/config/phone/apps-engineering.list On 1.4 the list is in https://github.com/mozilla-b2g/gaia/blob/v1.4/build/config/apps-engineering.list
Flags: needinfo?(fabrice)
Comment 12•10 years ago
|
||
Thanks Fabrice. The list at https://github.com/mozilla-b2g/gaia/blob/v1.4/build/config/apps-engineering.list includes `test_external_apps/*`, and there is a folder under `test_external_apps` called `marketplace-dev.allizom.org` which seems to be the marketplace-dev app, so I would expect it to be installed. Comparing the marketplace-dev.allizom.org folders between v1.3 (which does have Marketplace-dev installed) and v1.4 (which does not) shows that the metadata.json file in the latter is missing a line that is in the former. Specifically, https://github.com/mozilla-b2g/gaia/blob/v1.3/test_external_apps/marketplace-dev.allizom.org/metadata.json#L5 is missing from the file on v1.4. Could that be the reason that the app is not being installed on the v1.4 build?
Flags: needinfo?(clouserw)
Comment 13•10 years ago
|
||
That seems reasonable, but I don't know. Fabrice is the gaia expert.
Flags: needinfo?(clouserw) → needinfo?(fabrice)
Comment 14•10 years ago
|
||
the origin was removed from metadata.json in bug 929602. So we use the origin from the manifest, but marketplace-dev has the origin set to "origin": "app://marketplace.firefox.com" (see manifest.webapp in https://github.com/mozilla-b2g/gaia/blob/v1.4/test_external_apps/marketplace-dev.allizom.org/application.zip), and that fails to install alongside the non-dev marketplace.
Flags: needinfo?(fabrice)
Comment 15•10 years ago
|
||
The push for this change is failing in a reproducible way. I can reproduce it on my local machine. Specifically: 1) Build Integration tests make without rule & variable: Uncaught AssertionError: expected -1 to equal 0 at /Users/jhford/b2g/gaia/build/test/integration/helper.js:62:12 at Array.forEach (native) at Object.checkWebappsScheme (/Users/jhford/b2g/gaia/build/test/integration/helper.js:51:24) at /Users/jhford/b2g/gaia/build/test/integration/build.test.js:369:14 at ChildProcess.exithandler (child_process.js:645:7) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:755:16) at Process.ChildProcess._handle.onexit (child_process.js:822:5) 2) Build Integration tests make with DEBUG=1: Uncaught AssertionError: expected 2 to equal 1 at complete (/Users/jhford/b2g/gaia/build/test/integration/build.test.js:670:18) at /Users/jhford/b2g/gaia/node_modules/dive/dive.js:72:19 at Object.oncomplete (fs.js:107:15) I've run the build for this commit with "make" and "make DEBUG=1" and I have an exit code of 0 both times. Do these tests check for more than just exit code? The assertion for the first error is: var scheme = webapp.origin.indexOf('mochi.test') !== -1 || webapp.origin.indexOf('marketplace.allizom.org') !== -1 || webapp.origin.indexOf('inapp-pay-test.paas.allizom.org') !== -1 ? 'http' : 'app'; assert.equal(webapp.origin.indexOf(scheme), 0); The assertion for the second error is: // only expect one zip file for marketplace. assert.equal(zipCount, 1); So it looks like we have two zip files being created? I wonder if this package is being included in a place where it shouldn't be? Yuren, do you have any ideas what might be going wrong here?
Flags: needinfo?(yurenju.mozilla)
Comment 16•10 years ago
|
||
> webapp.origin.indexOf('marketplace.allizom.org') !== -1 ||
I'm not sure of the rest, but on dev that assertion should be something like marketplace-dev.allizom.org, that domain points to stage, not dev.
Comment 17•10 years ago
|
||
the reason is we use origin field in application.zip file to create directory in profile/webapps, in this case application.zip in marketplace-dev use "app://marketplace.firefox.com" in origin field, so marketplace-dev will be copy to profile/webapps/marketplace.firefox.com.
Flags: needinfo?(yurenju.mozilla)
Comment 18•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/blob/master/build/webapp-manifests.js#L45-L47
Comment 19•10 years ago
|
||
That makes sense and I see that issue in the code in b2g right now. Bug 1038350 will fix this problem so I'd suggest we fix that bug and get this one for free.
Comment 20•10 years ago
|
||
(In reply to Wil Clouser [:clouserw] from comment #19) > That makes sense and I see that issue in the code in b2g right now. Bug > 1038350 will fix this problem so I'd suggest we fix that bug and get this > one for free. https://github.com/mozilla-b2g/gaia/pull/21722 is the PR from bug 1038350 that will fix this bug but we need help with why the tests fail.
Comment 21•10 years ago
|
||
We got new builds on bug 1038350, any idea what those errors are?
Flags: needinfo?(yurenju.mozilla)
Reporter | ||
Comment 23•10 years ago
|
||
I just flashed with a b2g32_2.0 Flame build from pvt using https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/flash_pvt.py flash tool and I could not find Marketplace dev on the homescreen. Here is my Flame's configuration: Gaia 295c7f50707372e5af6d8e83148d2d970076dfd6 Gecko https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/879c5208084f BuildID 20140815000200 Version 32.0 ro.build.version.incremental=110 ro.build.date=Fri Jun 27 15:57:58 CST 2014 B1TC00011230
Comment 24•10 years ago
|
||
The origin issues in comment 17 were fixed when Fabrice landed the patches in bug 1038350. If I follow the rest of the discussion above, I think this (untested) patch will fix this bug: https://github.com/mozilla-b2g/gaia/pull/22944
Assignee | ||
Comment 25•10 years ago
|
||
I landed this https://github.com/mozilla-b2g/gaia/commit/ddec117b2d6ac8ea50d7fd833a9cf0605d5b358b if shit is broken after it its my fault and lets back it out (should be fine)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 26•10 years ago
|
||
Reverted for Gaia build test perma-fail. v2.0: https://github.com/mozilla-b2g/gaia/commit/57b4f805719cca636b3b94224a4925d06025887a https://tbpl.mozilla.org/php/getParsedLog.php?id=47826763&tree=Mozilla-B2g32-v2.0
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #26) > Reverted for Gaia build test perma-fail. > v2.0: > https://github.com/mozilla-b2g/gaia/commit/ > 57b4f805719cca636b3b94224a4925d06025887a > > https://tbpl.mozilla.org/php/getParsedLog.php?id=47826763&tree=Mozilla-B2g32- > v2.0 Reopening -- James, mind taking another look? Thanks!
Status: RESOLVED → REOPENED
Flags: needinfo?(jlal)
Resolution: FIXED → ---
Dylan/James -- can we please get some <3 on this? Thanks!
Flags: needinfo?(doliver)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jlal
Flags: needinfo?(jlal)
Assignee | ||
Comment 29•10 years ago
|
||
Will uplift after we land on master this is not part of the production build but does effect eng builds we generate
Attachment #8497284 -
Flags: review?(ricky060709)
Flags: needinfo?(doliver)
Comment 30•10 years ago
|
||
Comment on attachment 8497284 [details] [review] https://github.com/mozilla-b2g/gaia/pull/24539 It looks good and works fine on my machine. Please set r=@RickyChien.
Attachment #8497284 -
Flags: review?(ricky060709) → review+
Assignee | ||
Comment 31•10 years ago
|
||
Comment on attachment 8497284 [details] [review] https://github.com/mozilla-b2g/gaia/pull/24539 [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: [Testing completed]: [Risk to taking this patch] (and alternatives if risky): [String changes made]: NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. Not part of the production build just needs uplift (this does effect eng builds however!) [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: [Testing completed]: [Risk to taking this patch] (and alternatives if risky): [String changes made]:
Attachment #8497284 -
Flags: approval-gaia-v2.1?
Attachment #8497284 -
Flags: approval-gaia-v2.0?
Updated•10 years ago
|
Attachment #8497284 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 32•10 years ago
|
||
Just making a note that I saw a `bug-1011016` branch was created on upstream against this bug. I assume it was accidental, and since this has landed I've gone ahead and removed it.
Updated•10 years ago
|
Whiteboard: NPOTB
Comment 33•10 years ago
|
||
Comment on attachment 8497284 [details] [review] https://github.com/mozilla-b2g/gaia/pull/24539 low-risk, NPOTB approving on 2.0 as well
Attachment #8497284 -
Flags: approval-gaia-v2.0? → approval-gaia-v2.0+
Comment 34•10 years ago
|
||
Iiutc, this should be fixed on trunk now, right?
Comment 35•10 years ago
|
||
When is this expected to land? This morning's v2.0 engineering build does not have Marketplace Dev installed. This is blocking re-enabling Marketplace tests on device as they are now going to be running on v2.0.
Comment 36•10 years ago
|
||
kgrandon: Is this supposed to have landed, or is it still waiting for someone/something?
Flags: needinfo?(kgrandon)
Comment 37•10 years ago
|
||
Hmm, it looks like this was landed, but never uplifted due to it not being marked as fixed. We can resolve this! Looks like it was landed to master in: https://github.com/mozilla-b2g/gaia/commit/b9374ad2c4c407847b756c1f6dcb36461962183f
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
status-b2g-v2.0:
--- → affected
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → fixed
Flags: needinfo?(kgrandon)
Resolution: --- → FIXED
Comment 38•10 years ago
|
||
Ok, I can see a "Dev" marketplace on trunk now on the Flame, thanks.
Status: RESOLVED → VERIFIED
Comment 39•10 years ago
|
||
v2.1: https://github.com/mozilla-b2g/gaia/commit/9e79e1f4fd177bc2901b17644fc2174d5d0febe3 v2.0: https://github.com/mozilla-b2g/gaia/commit/31a49c7932c7085961760a6bef9ed381ea38d7e3
Target Milestone: --- → 2.1 S6 (10oct)
Comment 40•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/31a49c7932c7085961760a6bef9ed381ea38d7e3
Comment 41•10 years ago
|
||
Verify passed, this issue can't be repro on Woodduck 2.0;Flame2.0. Attached: Verify_Woodduck_DEV.mp4 Reproducing rate: 0/5 Woodduck build: Gaia-Rev 3a98f1287fa7b604891220ba5d86982ae8f9971e Gecko-Rev 03d3ab62d5b07b915434f2d1d68495ad5915ecd2 Build-ID 20141120103003 Version 32.0 Flame2.0 build: Gaia-Rev 1ede2666f1e6c1b3fd3b282011caf0cbc59544b0 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/54f1b0ee07a6 Build-ID 20141120000206 Version 32.0 Flame 2.1 build: Gaia-Rev f8d3bf44029e0afc0124600a4bb34dba8fc1ad21 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/f70a67a7f846 Build-ID 20141120001207 Version 34.0 FLame2.2 build: Gaia-Rev 1abe09b4925547699dfdb2d358aed019137c3aa6 Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/6ce1b906c690 Build-ID 20141120040205 Version 36.0a1 Note: On Flame 2.1&2.2,there are three Marketplace with same name,can't confirm whether containing DEV or not, please check it.
Comment 42•10 years ago
|
||
Updated•10 years ago
|
Flags: needinfo?(jocheng) → needinfo?(hlu)
Comment 43•10 years ago
|
||
(In reply to Coler from comment #41) > Verify passed, this issue can't be repro on Woodduck 2.0;Flame2.0. > > Attached: Verify_Woodduck_DEV.mp4 > Reproducing rate: 0/5 > > Woodduck build: > Gaia-Rev 3a98f1287fa7b604891220ba5d86982ae8f9971e > Gecko-Rev 03d3ab62d5b07b915434f2d1d68495ad5915ecd2 > Build-ID 20141120103003 > Version 32.0 > > Flame2.0 build: > Gaia-Rev 1ede2666f1e6c1b3fd3b282011caf0cbc59544b0 > Gecko-Rev > https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/54f1b0ee07a6 > Build-ID 20141120000206 > Version 32.0 > > Flame 2.1 build: > Gaia-Rev f8d3bf44029e0afc0124600a4bb34dba8fc1ad21 > Gecko-Rev > https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/f70a67a7f846 > Build-ID 20141120001207 > Version 34.0 > > FLame2.2 build: > Gaia-Rev 1abe09b4925547699dfdb2d358aed019137c3aa6 > Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/6ce1b906c690 > Build-ID 20141120040205 > Version 36.0a1 > > Note: > On Flame 2.1&2.2,there are three Marketplace with same name,can't confirm > whether containing DEV or not, please check it. Hi Coler, You could check it via Firefox app manager. After I check it, Marketplace dev is installed on latest build.
Flags: needinfo?(hlu)
Comment 44•10 years ago
|
||
Hi Hubert, OK,Thank you very much!
You need to log in
before you can comment on or make changes to this bug.
Description
•