[SERVER-19824] Mongo shell should report that subprograms exited with non-zero exit code if they die … Created: 06/Aug/15 Updated: 25/Jan/17 Resolved: 12/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.7 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Atul Kachru | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Security 7 08/10/15 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
| Comments |
| Comment by Githook User [ 12/Aug/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: This patch causes wait_for_pid to report that processes that terminate due to a signal had a non-zero exit code. Specifically, it reports -1 times the signal number. |
| Comment by Andy Schwerin [ 07/Aug/15 ] |
|
The root of the problem is that the mongo shell erroneously reports an exit code of 0| for processes that terminate with a signal. See here. |