[SERVER-48337] Fix failing death tests with TSAN Created: 20/May/20 Updated: 29/Oct/23 Resolved: 28/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 4.5 Desired |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ryan Egesdahl (Inactive) | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | thread-sanitizer | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Dev Platform 2020-06-01 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
In |
| Comments |
| Comment by Githook User [ 27/May/20 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Fix death tests running under ThreadSanitizer. Death tests were causing |
| Comment by Ryan Egesdahl (Inactive) [ 27/May/20 ] |
|
Problem found. It looks like the death tests have to examine the output of the server when it dies, and it's expecting JSON. Unfortunately, TSAN is spitting out its output first, and that's messing with the output parsing. I think the best way to handle this is to add signal reports from death_test.cpp to the suppression list so we still get any other failure types. I'm testing this now. |