Closed
Bug 1255444
Opened 10 years ago
Closed 10 years ago
[stage][prod] FennecAndroid 48.0a1 and 47.0a2 appear to be missing
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mbrandt, Assigned: rhelmer)
Details
Kairo submitted a note in #breakpad that FennecAndroid 48.0a1 and 47.0a2 are missing. Perhaps the FTP scraper needs a nudge.
| Assignee | ||
Comment 1•10 years ago
|
||
Everybody else is away today, I'll take a look right now.
Assignee: nobody → rhelmer
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Matt Brandt [:mbrandt] from comment #0)
> Kairo submitted a note in #breakpad that FennecAndroid 48.0a1 and 47.0a2 are
> missing. Perhaps the FTP scraper needs a nudge.
Looks like the scraper is working ok. I do see entries for this in releases_raw (which the scraper feeds) and also this is happening on stage.
I suspect this is related to platform or repository not matching up in the (too strict IMHO) postgres stored procedure which builds the product_versions table.
The fact that I see the right data in releases_raw and not product_versions makes me think this is correct.
| Assignee | ||
Comment 3•10 years ago
|
||
It looks like the problem is that the entries ftpscraper inserted into releases_raw contain repositories not found in the release_repositories table:
mozilla-central-android-api-9
mozilla-central-android-api-15
It's because of this rule in the update_product_versions stored procedure:
https://github.com/mozilla/socorro/blob/master/socorro/external/postgresql/raw_sql/procs/update_product_versions.sql#L19-L20
I'll see if fixing this works on stage, and if so figure out the right way to update this on prod.
| Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Robert Helmer [:rhelmer] from comment #3)
> I'll see if fixing this works on stage, and if so figure out the right way
> to update this on prod.
Thank you mightily rhelmer!
Summary: [prod] FennecAndroid 48.0a1 and 47.0a2 appear to be missing → [stage][prod] FennecAndroid 48.0a1 and 47.0a2 appear to be missing
| Assignee | ||
Comment 5•10 years ago
|
||
Running this on stage:
insert into release_repositories values ('mozilla-central-android-api-15');
insert into release_repositories values ('mozilla-aurora-android-api-15');
select backfill_matviews('2016-03-09', '2016-03-09');
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Robert Helmer [:rhelmer] from comment #5)
> Running this on stage:
>
> insert into release_repositories values ('mozilla-central-android-api-15');
> insert into release_repositories values ('mozilla-aurora-android-api-15');
> select backfill_matviews('2016-03-09', '2016-03-09');
FennecAndroid also needs entries in special_product_platforms table, which is used inside update_product_versions() to do the rename from "mobile" on FTP and incoming crashes to FennecAndroid:
insert into special_product_platforms values ('android-arm', 'mozilla-aurora-android-api-15', 'aurora', 'mobile', 'FennecAndroid', '37.0');
insert into special_product_platforms values ('android-arm', 'mozilla-central-android-api-15', 'nightly', 'mobile', 'FennecAndroid', '37.0');
If I run "select update_product_versions()" now then I see the right entries in product_versions, so I think this will work. Running a backfill on stage to confirm.
Assuming this all works correctly, I'll write a migration to fix this on prod, and we should add the entries for beta and release now.
Comment 7•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/6cb7e2abb1c688aff8ef40c6c798dbda52e9c70b
bug 1255444 fix fennecandroid for new release repository
https://github.com/mozilla/socorro/commit/2d093b54f757d094f5030d2cb7dc0fcd86e13770
Merge pull request #3237 from rhelmer/bug1255444-fix-fennecandroid-for-new-release-repo
bug 1255444 fix fennecandroid for new release repository
| Assignee | ||
Comment 8•10 years ago
|
||
The migration to fix this has landed, I have tested on stage (the data is starting to show up as the backfill completes each day) and am now going to run on prod.
| Assignee | ||
Comment 9•10 years ago
|
||
Migration has been run on prod, after update_product_versions() I see the data I'd expect in product_versions table now \o/
Last step here is to refill the days since we first received a report (the 7th). Running these one at a time to avoid having super long-running queries:
select backfill_matviews('2016-03-07', '2016-03-07');
select backfill_matviews('2016-03-08', '2016-03-08');
select backfill_matviews('2016-03-09', '2016-03-09');
After this completes and memcache for crash-stats expires we should start seeing data. The featured versions will likely need to be set before they start showing by default on the home page.
| Assignee | ||
Comment 10•10 years ago
|
||
Backfill is complete, I see data now:
https://crash-stats.mozilla.com/crashes-per-day/?p=FennecAndroid&v=48.0a1&v=47.0a2&v=46.0b1&v=45.0&hang_type=any&os=Windows&os=Mac+OS+X&os=Linux&date_start=2016-02-26&date_end=2016-03-11&submit=Generate
Note that these don't show on the front page because the "featured version" bit needs to be set for these.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 11•10 years ago
|
||
(In reply to Robert Helmer [:rhelmer] (away 3/14 -> 3/18) from comment #10)
> Note that these don't show on the front page because the "featured version"
> bit needs to be set for these.
I did that now.
That said, the data I see is a bit strange, I would expect us to actually have something for 48.0a1 for the 8th and 9th. But maybe this is true, no matter, the more important things is to have those versions and the data going forward. :)
| Assignee | ||
Comment 12•10 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #11)
> (In reply to Robert Helmer [:rhelmer] (away 3/14 -> 3/18) from comment #10)
> > Note that these don't show on the front page because the "featured version"
> > bit needs to be set for these.
>
> I did that now.
>
> That said, the data I see is a bit strange, I would expect us to actually
> have something for 48.0a1 for the 8th and 9th. But maybe this is true, no
> matter, the more important things is to have those versions and the data
> going forward. :)
Yes that is odd - might be worth checking to see if we have any crashes for those days, and figure out why they didn't make it into matviews if so.
Comment 13•10 years ago
|
||
(In reply to Robert Helmer [:rhelmer] (away 3/14 -> 3/18) from comment #12)
> Yes that is odd - might be worth checking to see if we have any crashes for
> those days, and figure out why they didn't make it into matviews if so.
The page you link is built from ElasticSearch on the crashes side (ADI of course come from PostgreSQL) - but I'd be really surprised if we have no crashes from the new nightlies on those days. That said, given the low usage of Android, it's not impossible.
You need to log in
before you can comment on or make changes to this bug.
Description
•