Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57674

Record "child" process pids explicitly in resmoke.py

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • STM 2021-06-28, STM 2021-07-12
    • 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. 

      Attachments

        Activity

          People

            mikhail.shchatko@mongodb.com Mikhail Shchatko
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: