[SERVER-57674] Record "child" process pids explicitly in resmoke.py Created: 14/Jun/21  Updated: 29/Oct/23  Resolved: 25/Jun/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: tig-resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: STM 2021-06-28, STM 2021-07-12
Participants:
Story Points: 2

 Description   

We currently record child processes in resmoke.py to run the hang analyzer on them. After jasper, there will no longer be child processes of resmoke; we should instead store an explicit list of global pids in config.py from values returned by jasper (See self.pids in jasper_process.py).

AC:

  • we should also write an integration test that starts a mock Jasper process and check that the pids are correctly added when the process is created and removed when the process terminates for all different stop() (in process.py) scenarios. 


 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 25/Jun/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-57674 Record "child" process pids explicitly in resmoke.py
Branch: master
https://github.com/mongodb/mongo/commit/139bc302dd68cc56292ac45c2372c1ae5573d62b

Generated at Thu Feb 08 05:42:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.