Keep ThreadSanitizer reports in summary.jsonl
Categories
(Testing :: Mozbase, task)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: benoit.goupilleau, Assigned: benoit.goupilleau)
References
Details
Attachments
(1 external file)
TestSummaryFormatter drops the tsan_error action added in bug 2043574, so the summary.jsonl of a TSan task has no trace of the report that aborted the browser. In task XauHr1_HRhCSTehEwhcaPA (autoland, mochitest-browser-chrome-swr-10 on linux2404-64-tsan) the only record of the data race is an INFO error_line for the raw SUMMARY: ThreadSanitizer line, while the parsed report (kind, signature, labeled stacks, racing pid, scope) only reaches the resource usage profile.
Firefox TSan builds run with halt_on_error=1, so every report is fatal to the process it names and belongs in the summary like ubsan_error (bug 2072610) and the crash records. Keep tsan_error records, including their pid (the report names the racing process, not the logging one, so it must not be stripped with the other logging fields) and their stacks.
The harness not failing the run when the aborted process leaves no minidump is a separate Testing::Mochitest bug; the error summary group status is bug 2088064.
TSan runs with halt_on_error, so every report is fatal to the process it
names and belongs in the summary like crashes and ubsan_error records.
The pid is kept: it names the racing process, not the logging one.
Updated•19 days ago
|
Description
•