Remove parameters from crash signatures in bug summaries
Categories
(bugzilla.mozilla.org :: General, task)
Tracking
()
People
(Reporter: gbrown, Assigned: dkl)
References
Details
Attachments
(1 file)
https://phabricator.services.mozilla.com/D161483 changes the crash signature reported in automated tests such that parameters are no longer included. Instead of
PROCESS-CRASH | gtest | application crashed [@ SpanTest_from_nullptr_constructor_Test::TestBody()]
now we'll report
PROCESS-CRASH | gtest | application crashed [@ SpanTest_from_nullptr_constructor_Test::TestBody]
We are concerned that will make it more difficult to match up new test crashes with existing bugs, so want to update bug summaries to match the new signature format.
For example, bug 1790704,
Intermittent browser/components/newtab/test/browser/browser_newtab_ping.js | application crashed [@ MOZ_Crash(char const*, int, char const*)]
becomes
Intermittent browser/components/newtab/test/browser/browser_newtab_ping.js | application crashed [@ MOZ_Crash]
@aryx suggested using something like https://github.com/mozilla-bteam/bmo/blob/5924eec6eeb1d59ff8e1db6f078b24f3871833ad/scripts/update-crash-signatures.pl
| Assignee | ||
Comment 1•3 years ago
|
||
Note to self:
# Strip parameters from signature
pmatch = re.search(r"(.*)\(.*\)", func)
if pmatch:
func = pmatch.group(1)
| Assignee | ||
Comment 2•3 years ago
|
||
Just to be clear, we want the summaries update AND the text in the crash signature field, or just the summaries? For bug 1790704, the summary both contain [@ MOZ_Crash(char const*, int, char const*)].
| Reporter | ||
Comment 3•3 years ago
|
||
I was thinking just the summaries. Probably the crash signature field also is a good idea. Hopefully :aryx can say more definitively.
Comment 4•3 years ago
|
||
Both. Summary gets used by Treeherder for failure line matching, crash-stats uses the summary field.
| Assignee | ||
Comment 5•3 years ago
|
||
Given my current workload trying to get my H2 goals completed and the impending holiday schedule, is this something that can wait til the first of the year? How critical is this to be done now?
| Reporter | ||
Comment 7•2 years ago
|
||
Hi :dkl. Will you be able to get back to this? While there is no hard completion date requirement, I think there is value in making this change; I don't want it to be forgotten.
Comment 8•2 years ago
|
||
| Assignee | ||
Comment 9•2 years ago
|
||
Merged. Should be able to run the migration script today or tomorrow.
https://github.com/mozilla-bteam/bmo/commit/be996be30cd92c1ff52d963de4fd9f8e4407be52
| Assignee | ||
Comment 10•2 years ago
|
||
Script has been ran without issue. Please let me know if you see anything wrong or need any further changes.
Description
•