Open Bug 1667082 Opened 6 years ago Updated 6 years ago

[research] compare socorro top crashers with crash ping data

Categories

(Socorro :: General, task, P3)

Tracking

(Not tracked)

People

(Reporter: willkg, Unassigned)

Details

Mozilla has two crash data sets: crash reports in Socorro and crash pings in Telemetry.

This bug covers comparing the top crashers in Socorro with what's in the crash ping data set.

What percentage of crash reports have equivalent crash pings and vice versa?

Do the top crashers in Socorro match the top crashers in crash ping data?

Making this a P3.

I'm pretty sure I have all the bits to do something like this now except for time--that's a precious commodity. The crash ping data is in BigQuery and we have fx-crash-sig for generating signatures for crash pings. The crash report data is accessible via crashstats-tools. We could probably script a bunch of it.

Priority: -- → P3

This STMO query shows overall crash ping vs. crash report counts on a day-by-day basis:

https://sql.telemetry.mozilla.org/queries/75198/

Here are the last 7 days:

day crash pings crash reports
2020-09-21 (M) 2,069,239 89,239
2020-09-22 (Tu) 2,142,069 89,496
2020-09-23 (W) 2,076,255 91,194
2020-09-24 (Th) 2,053,680 90,264
2020-09-25 (F) 2,174,232 88,711
2020-09-26 (Sa) 1,510,816 65,928
2020-09-27 (Su) 1,585,601 65,137

Couple of things to note:

  1. currently, we get crash reports for a bunch of products, but only get crash ping data from Firefox and Fennec
  2. Socorro rejects a fair number of crash reports (https://github.com/mozilla-services/antenna/blob/main/antenna/throttler.py#L303) including:
    • rejecting roughly 90% of Firefox desktop release channel crash reports
    • rejecting crash reports where the BuildID is older than 2 years

We should fix the crash ping total query to filter down to BuildID is <= 2 years.

Gabriele pointed out that we will send "crash reports" on shutdown hangs, but not send corresponding crash pings. Thus some of the things in the Socorro data set won't exist in the crash ping data set.

If we filter on hang_type=0 (process crashes), then we get this:

day crash pings crash reports
2020-09-21 2,069,239 89,220
2020-09-22 2,142,069 89,479
2020-09-23 2,076,255 91,175
2020-09-24 2,053,680 90,237
2020-09-25 2,174,232 88,684
2020-09-26 1,510,816 65,913
2020-09-27 1,585,601 65,130

The numbers don't change drastically, but they are slightly different. I updated the STMO query.

I think that the discrepancy between crash reports and crash pings with DOMFissioneEnabled=1 is down to content process shutdown hangs - which I don't think are flagged as hangs on Socorro and aren't submitted as crash pings. It's all the content process crashes with a signature starting with IPCError-browser | ShutDownKill.

I updated the STMO query to filter on ipc_channel_error IS NULL OR ipc_channel_error != 'ShutDownKill' and that reduces the socorro crash reports numbers a bit more:

day crash pings crash reports
2020-09-21 2,069,239 88,202
2020-09-22 2,142,069 88,167
2020-09-23 2,076,255 90,203
2020-09-24 2,053,680 89,072
2020-09-25 2,174,232 87,587
2020-09-26 1,510,816 65,025
2020-09-27 1,585,601 64,199
You need to log in before you can comment on or make changes to this bug.