[SERVER-48887] C++ death tests should fail on TSAN exit code Created: 16/Jun/20 Updated: 29/Oct/23 Resolved: 03/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | thread-sanitizer | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Security 2020-06-29, Security 2020-07-13 |
| Participants: |
| Description |
|
If a fork() child of a death test fails due to a thread sanitizer failure, it is only detected as a failure due to Since tests are typically run as follows: we should instead assert the child exit code is not 66 (default TSAN exit code). |
| Comments |
| Comment by Githook User [ 03/Jul/20 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |