Closed Bug 791218 Opened 12 years ago Closed 11 years ago

Add "MetroFirefox" product to Socorro

Categories

(Socorro :: Webapp, task)

x86_64
Windows 8.1
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jimm, Assigned: rhelmer)

Details

(Whiteboard: metro-preview)

The win8 version of firefox for the metro immersive environment is a separate browser from the desktop product and as such has it's own app id and app name. Filing this bug to be sure crash reports (currently triggered in elm builds) are accessible via crash stats. It would also be nice if we could filter on the 'MetroFirefox' product name through the main interface.

Here's an example crash report I generated - 

https://crash-stats.mozilla.com/report/index/bp-d58d5407-f8f0-465c-9d80-94e892120914

The app id is {99bceaaa-e3c6-48c1-b981-ef9b46b67d60}
Metro is a trademark of Metro AG and Microsoft chose to no longer use it: http://news.cnet.com/8301-10805_3-57490379-75/microsoft-dont-call-it-metro-call-it-windows-8/

The product name should be FirefoxWin8 or Win8Firefox.
(In reply to Scoobidiver from comment #1)
> Metro is a trademark of Metro AG and Microsoft chose to no longer use it:
> http://news.cnet.com/8301-10805_3-57490379-75/microsoft-dont-call-it-metro-
> call-it-windows-8/
> 
> The product name should be FirefoxWin8 or Win8Firefox.

Externally we just call it Firefox. Internally we're using monikers like MetroFirefox, metrofx, etc.. There's no harm in this.

FWIW, any moniker we do use shouldn't be specific to Win8 since I'm pretty sure Metro will be with us through multiple Windows releases.
Hrm, I hoped it would just report as "Fennec" and then everything would have been easy as everything would have been there right away. But well, it's "MetroFirefox", so we'll go and add another product and let the old one sit there unused and get covered with dust... ;-)

So, for adding a new product, we need three sets of data:

1) Product info (could figure that out from the report you submitted):
Product Name: "MetroFirefox"
Product ID: "{99bceaaa-e3c6-48c1-b981-ef9b46b67d60}"
Special/Rewriting needs: none

2) Where on FTP does RelEng post the builds for this, so we can scrape for info on new builds/versions?

3) Do we have ADU metrics? We need to make sure those are posted to Socorro correctly by the metrics team.


jimm, can you answer those questions in #2 and #3?


And, Scoobidiver, given that this is internal names and a development-only-facing website (I include all of our stability community in "development" there), we don't need to care about official branding issues or trademarks, from what I understand.
Summary: Expose metro firefox related crash reports → Add "MetroFirefox" product to Socorro
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #3)
> Hrm, I hoped it would just report as "Fennec" and then everything would have
> been easy as everything would have been there right away.
Fennec 10.0.5esr (unsafe version) is still used by about 130kADU.
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #3)
> Hrm, I hoped it would just report as "Fennec" and then everything would have
> been easy as everything would have been there right away. But well, it's
> 1) Product info (could figure that out from the report you submitted):
> Product Name: "MetroFirefox"
> Product ID: "{99bceaaa-e3c6-48c1-b981-ef9b46b67d60}"
> Special/Rewriting needs: none

All correct.

> 2) Where on FTP does RelEng post the builds for this, so we can scrape for
> info on new builds/versions?

Per bug 779902, these will be stored as elm nightlies. cc'ing bhearsum/armen to confirm.

> 3) Do we have ADU metrics? We need to make sure those are posted to Socorro
> correctly by the metrics team.

Per bug 790212, we are currently sending blocklist pings. There's an example there of the ping we send.
(In reply to Jim Mathies [:jimm] from comment #5)
> Per bug 779902, these will be stored as elm nightlies. cc'ing bhearsum/armen
> to confirm.

What we care about is 1) in which nightly/ directory those are appearing, and 2) if *in the end* those will be separate builds or the same builds as those we have for desktop Firefox, in which case we'll need to do some fake-dance the same way we are doing for WebRT.
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #6)
> (In reply to Jim Mathies [:jimm] from comment #5)
> > Per bug 779902, these will be stored as elm nightlies. cc'ing bhearsum/armen
> > to confirm.
> 
> What we care about is 1) in which nightly/ directory those are appearing,
> and 2) if *in the end* those will be separate builds or the same builds as
> those we have for desktop Firefox, in which case we'll need to do some
> fake-dance the same way we are doing for WebRT.

1) I'd like rel-eng to confirm this but here's the current Elm win32 nightly from last night - 

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-14-04-02-04-elm/

The metro builds should start showing up in the same location. This is what bug 779902 is all about. (bhearsum, help!)

As for 2) assume for now that metro code on elm will merge to mc this fall and will be incorporated into our normal mc/aurora/beta/release builds. If that changes over the next few months it will be widely broadcast.
(In reply to Jim Mathies [:jimm] from comment #7)
> 1) I'd like rel-eng to confirm this but here's the current Elm win32 nightly
> from last night - 
> 
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-14-04-
> 02-04-elm/
> 
> The metro builds should start showing up in the same location. This is what
> bug 779902 is all about. (bhearsum, help!)

Yeah, that would be an example of a build directory they would show up in. I think Socorro folks will probably want to look at https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-elm/ instead, though. I don't know what the file names for Metro builds will look like yet, it depends on what MOZ_PKG_PLATFORM gets set to (https://bugzilla.mozilla.org/show_bug.cgi?id=779902#c29).
AFAIK, Socorro never looks at latest-* and if the team would be forced to do that, we'd have no luck adding the product this year.

That said, for me, it looks like the FTP story mirrors what we have for WebappRuntime.

FYI, we'll not have graphs or topcrash reports in any case until you'll be on the normal "nightly" etc. channels, though, and that's also something that will not be able to change withing any reasonable timeframe.
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #9)
> AFAIK, Socorro never looks at latest-* and if the team would be forced to do
> that, we'd have no luck adding the product this year.
> 
> That said, for me, it looks like the FTP story mirrors what we have for
> WebappRuntime.
> 
> FYI, we'll not have graphs or topcrash reports in any case until you'll be
> on the normal "nightly" etc. channels, though, and that's also something
> that will not be able to change withing any reasonable timeframe.

Sorry, I didn't meant to imply that you should be looking there, I merely meant that I thought those type of directories are where you already look. If you tell me where you normally look for whatever information you need I can tell you more precisely what the Metro equivalent will be.
Rob actually knows the details, I'm just the messenger between the world and the Socorro team in most cases. ;-)

In any case, from what I see, this ends up being in /firefox/nightly/ and therefore we need to do the same trick as for WebappRuntime where we mirror what we scrape for Firefox over to this product.
So it would be nice to get MetroFirefox in the product listing, but it's not absolutely necessary. To find a crash, you can do a similar search under Firefox, then just edit the product code in the url.
(In reply to Ben Hearsum [:bhearsum] from comment #10)
> (In reply to Robert Kaiser (:kairo@mozilla.com) from comment #9)
> > AFAIK, Socorro never looks at latest-* and if the team would be forced to do
> > that, we'd have no luck adding the product this year.
> > 
> > That said, for me, it looks like the FTP story mirrors what we have for
> > WebappRuntime.
> > 
> > FYI, we'll not have graphs or topcrash reports in any case until you'll be
> > on the normal "nightly" etc. channels, though, and that's also something
> > that will not be able to change withing any reasonable timeframe.
> 
> Sorry, I didn't meant to imply that you should be looking there, I merely
> meant that I thought those type of directories are where you already look.
> If you tell me where you normally look for whatever information you need I
> can tell you more precisely what the Metro equivalent will be.

Socorro does record all nightly builds and all channels, you can see the script here:
https://github.com/mozilla/socorro/blob/master/socorro/cron/ftpscraper.py

So we should be able to show individual crashes fine.

*However* Socorro only shows reports (such as graphs, "top crashes by signature", etc) for nightly/aurora/beta/release (by design), if we need to support experimental branches we'll need to add support for that.
Having a rudimentary top-crashes list will be important. I'm not sure how we would track what we need to work on without it. Can we generate those manually occasionally or maybe access the raw data somehow?
This would be for elm nightly builds only, for maybe three months tops before we get everything integrated into mc.
(In reply to Robert Helmer [:rhelmer] from comment #14)
> if we need to
> support experimental branches we'll need to add support for that.

That's bug 703018.

(In reply to Jim Mathies [:jimm] from comment #15)
> Having a rudimentary top-crashes list will be important. I'm not sure how we
> would track what we need to work on without it. Can we generate those
> manually occasionally or maybe access the raw data somehow?

When we add this product, you should be able to get that via an advanced search, actually, similar to this one: https://crash-stats.mozilla.com/query/query?product=B2G&version=ALL%3AALL&do_query=1 (B2G also is not using the "correct" channels yet, for other reasons, though).
Assignee: nobody → rhelmer
Target Milestone: --- → 32
Target Milestone: 32 → 33
Target Milestone: 33 → 34
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/e03d68f589c6502fe6f9d30170fb59bdd4d0290b
bug 791218 - add metrofirefox to socorro
+ Update for v 35.0 and setting rapid beta version
Target Milestone: 34 → 35
Applied DB change to dev.

[postgres@socorro1 35.0]$ ./upgrade.sh 
*********************************************************
add MetroFirefox to database
bug 791218
DO
Time: 69.647 ms
CREATE FUNCTION
Time: 26.756 ms
 update_socorro_db_version 
---------------------------
 t
(1 row)

34.0 upgrade done
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.