[SERVER-65508] Resmoke should warn if there are lingering Mongo processes at startup time Created: 03/Mar/22 Updated: 29/Oct/23 Resolved: 01/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Daniel Moody |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | dp-qol, local-testing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-06-13, Dev Platform 2022-06-27, Dev Platform 2022-07-11, Dev Platform 2022-07-25 | ||||
| Participants: | |||||
| Linked BF Score: | 171 | ||||
| Description |
|
The errors reported by resmoke.py are sometimes very cryptic and hard to diagnose, so it would be nice that it "eliminates" all the possible error conditions before it even proceeds executing. One such condition is the presence of MongoD/MongoS processes from previous runs. If such processes exist, the errors reported by resmoke.py look like the ones at the end of the description. It would be nice if resmoke.py printed a warning (or even better failed) if there are any MongoD/MongoS processes running when it starts. Here is the errors reported due to a lingering MongoD process:
|
| Comments |
| Comment by Githook User [ 16/Jun/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: Revert " This reverts commit 39f9ba8ff353eb86806d40b82168219696fcf91b. |
| Comment by Githook User [ 16/Jun/22 ] |
|
Author: {'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}Message: Revert " This reverts commit 303a781ceb19938da362a7a6bb3480e5d784beb7. |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Robert Guo (Inactive) [ 12/Apr/22 ] |
|
I added a label to evaluate this as part of improving the local testing experience. |