Closed Bug 851278 Opened 11 years ago Closed 11 years ago

Hoststubtest and packstubtest apps are visibile in the production environment build.

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed)

VERIFIED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: nhirata, Assigned: myk)

Details

Attachments

(3 files)

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/8e9dd87b4f3b
Gaia   69dbcd84085f10bec0c0189b926ffb535b14dcfe
BuildID 20130314114915
Version 18.0

1. flash device with today's build

Expected: no test apps
Actual: test apps in production build
Myk, what lead to that? that's annoying mostly because they show up in nightly updates now.
John, can we switch off the "DOGFOOD" flag for nightlies?
(In reply to Fabrice Desré [:fabrice] from comment #1)
> Myk, what lead to that? that's annoying mostly because they show up in
> nightly updates now.

We added these to dogfood builds in January to get testing by our dogfooders, but they didn't actually show up until recently, although I'm not sure why.

I'd still like to get more testing of the stub update experience, but it seems unwarranted to show these apps to those users at this point.  It would be better to engage in some targeted testing with QA and turn off these test apps for dogfood/nightly builds (while keeping them enabled for builds that include test apps).
I don't have an environment to test this, but this should be a trivial patch.
Assignee: nobody → jhford
Status: NEW → ASSIGNED
Attachment #725608 - Flags: review?(aki)
Comment on attachment 725608 [details] [diff] [review]
stop setting DOGFOOD=1 in production environment

This effectively backs out bug 840609, which we had significant pressure to land.

Sounds like we have a communication breakdown here.
Attachment #725608 - Flags: review?(aki)
The more I'm digging into this problem, the more I'm thinking the problem is actually having to do with the external-dogfood-apps directory and those apps specifically, rather than generally setting the DOGFOOD=1 flag. If you build an engineering build, you will not get the stubs, although I would have expected to see them.
external-dogfood-apps should be in anytime DOGFOOD=1 (see https://github.com/mozilla-b2g/gaia/blob/master/build/utils.js#L178)

Would moving them to "test" apps make everyone happy? (I would be)
(In reply to Fabrice Desré [:fabrice] from comment #7)
> external-dogfood-apps should be in anytime DOGFOOD=1 (see
> https://github.com/mozilla-b2g/gaia/blob/master/build/utils.js#L178)
> 
> Would moving them to "test" apps make everyone happy? (I would be)

Yeah, that works.
Assignee: jhford → myk
(In reply to Jason Smith [:jsmith] from comment #8)
> (In reply to Fabrice Desré [:fabrice] from comment #7)
> > external-dogfood-apps should be in anytime DOGFOOD=1 (see
> > https://github.com/mozilla-b2g/gaia/blob/master/build/utils.js#L178)
> > 
> > Would moving them to "test" apps make everyone happy? (I would be)
> 
> Yeah, that works.

Ok, here's a change that does that.  All it does is move the files from external-dogfood-apps/ to test_external_apps/, which causes the build system to build them only when the DOGFOOD and PRODUCTION variables are set to '0' in build/utils.js.

Fabrice: if this looks good, merge it via pull request 8706 <https://github.com/mozilla-b2g/gaia/pull/8706>.
Attachment #726219 - Flags: review?(fabrice)
Marking leo? since that blocks getting nightlies and they are build off v1-train
blocking-b2g: --- → leo?
Comment on attachment 726219 [details] [diff] [review]
move test stub apps to test-specific dir

Review of attachment 726219 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #726219 - Flags: review?(fabrice) → review+
Associated pull request:

https://github.com/mozilla-b2g/gaia/pull/8707
Attachment #726269 - Flags: review?(fabrice)
Attachment #726269 - Flags: review?(fabrice) → review+
This broke B2G builds on all trees (which are now closed as a result). Please can this be backed out.

eg:
https://tbpl.mozilla.org/php/getParsedLog.php?id=20785230&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=20785293&tree=Mozilla-Inbound

Please can you also watch https://tbpl.mozilla.org/?tree=Gaia-Master when landing on gaia to more easily spot gaia commit induced failures (that break all trees and make the sheriffs sad). Thank you :-)
s/all trees/all trees that use gaia master/
This is a blocker for product and press.  Thanks.
blocking-b2g: leo? → leo+
Ping for someone to back this out please.
(In reply to Ed Morley [:edmorley UTC+0] from comment #18)
> Ping for someone to back this out please.

We pushed a followup and that looks ok at https://tbpl.mozilla.org/?tree=Gaia-Master
Oh I didn't realise - though we'll still likely need to wait for it to come back green (it's not finished). For future occasions, please can you comment in the bug if you land a followup for things that are keeping the tree closed - thank you :-)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Thank you :-)
Squashed commits into 2b594f6587dd9c4a7cca8c9cd59325c4eb2fedf1 on v1-train
Verified on 3/19 build - no longer seeing these apps in daily builds on v1 train.
Status: RESOLVED → VERIFIED
Flags: in-moztrap-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: