Closed
Bug 1054726
Opened 10 years ago
Closed 10 years ago
Add crash log formatting to StructuredFormatter
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgraham, Assigned: jgraham)
Details
Attachments
(2 files)
2.00 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
5.89 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
The StructuredFormatter class needs to be updated for crash log handling.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8474208 -
Flags: review?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → james
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
More substantive approach in which we replace the mozharness-specific formatter with the one in mozlog. This only works for tests using structured logging; if we want mozharness itself to use structured logging it will be necessary for it to have a copy of mozlog in its tree.
Attachment #8474270 -
Flags: review?(jgriffin)
Comment 3•10 years ago
|
||
Comment on attachment 8474208 [details] [diff] [review] Add crash log formatting to StructuredFormatter Review of attachment 8474208 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozharness/mozilla/structuredlog.py @@ +65,5 @@ > + def format_crash(self, data): > + id = self.id_str(data["test"]) if "test" in data else "pid: " % data["process"] > + > + rv = ["PROCESS-CRASH | %s | application crashed [%s]" % (id, > + data["signature"])] Is data guaranteed to have 'process' and 'signature' keys?
Attachment #8474208 -
Flags: review?(jgriffin) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8474270 [details] [diff] [review] Use the TbplFormatter from mozlog to format structured output Review of attachment 8474270 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozharness/mozilla/structuredlog.py @@ +13,3 @@ > > class StructuredOutputParser(OutputParser): > + # The scrip class using this must inherit the MozbaseMixin to ensure s/scrip/script
Attachment #8474270 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/build/mozharness/rev/6f30bb65e223
Comment 6•10 years ago
|
||
In production with reconfig on 2014-08-19 10:47 PT
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•