[SERVER-54412] DEATH_TEST not handling EINTR from its getline call Created: 09/Feb/21 Updated: 29/Oct/23 Resolved: 11/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Service Arch 2021-02-22 |
| Participants: |
| Description |
|
small writeup attached. When running a DEATH_TEST on macos under lldb, the DeathTest::_doTest getline loop received an EINTR result. This broke out of the loop and aborted the test.
But EINTR is an expected spurious errno and should be tolerated, and the loop should be reentered. |
| Comments |
| Comment by Githook User [ 11/Feb/21 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Billy Donahue [ 09/Feb/21 ] |
|
Code Review: |
| Comment by Billy Donahue [ 09/Feb/21 ] |
|
Taking this on immediately as it is blocking resharding testing work at the moment. |