All users were logged out of Bugzilla on October 13th, 2018

make running tests with TSan more ergonomic

RESOLVED FIXED in Firefox 40

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla40
Points:
---

Firefox Tracking Flags

(firefox40 fixed)

Details

Attachments

(2 attachments)

Comment hidden (empty)
(Assignee)

Comment 1

4 years ago
Created attachment 8597339 [details] [diff] [review]
part 1 - don't run TSan on test tools or the xpcshell HTTP server in mochitests

This is exactly what we do for ASan, but with TSan flavoring.
Attachment #8597339 - Flags: review?(jmaher)
(Assignee)

Comment 2

4 years ago
Created attachment 8597342 [details] [diff] [review]
part 2 - set TSAN_OPTIONS environment variable in automationutils.py for TSan

This setting is done mostly to encourage TSan to use llvm-symbolizer, which
does a better job of producing stack traces.

I see that ASAN_OPTIONS is set similarly in build/automation.py.in...do I need
to set TSAN_OPTIONS there as well?
Attachment #8597342 - Flags: review?(jmaher)
Comment on attachment 8597339 [details] [diff] [review]
part 1 - don't run TSan on test tools or the xpcshell HTTP server in mochitests

Review of attachment 8597339 [details] [diff] [review]:
-----------------------------------------------------------------

oh more *san stuff :)
Attachment #8597339 - Flags: review?(jmaher) → review+
Comment on attachment 8597342 [details] [diff] [review]
part 2 - set TSAN_OPTIONS environment variable in automationutils.py for TSan

Review of attachment 8597342 [details] [diff] [review]:
-----------------------------------------------------------------

cool;
Attachment #8597342 - Flags: review?(jmaher) → review+
https://hg.mozilla.org/mozilla-central/rev/6db78683fa3e
https://hg.mozilla.org/mozilla-central/rev/cc1ce0be9226
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox40: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.