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

Run hang-analyzer from resmoke and integrate with archival

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      STM 2020-06-01, STM 2020-06-15, STM 2020-06-29, STM 2020-07-27, STM 2020-08-10, STM 2020-08-24
    • Story Points:
      7

      Description

      NOTE: This should be behind a flag. SERVER-46691 will remove it.

      When a test or task times out in evergreen, resmoke will be sent a sigusr1 signal. The signal handler in resmoke will be modified to call the hang-analyzer on all tests that are still running. In the case of a test timeout, there should only be one, but in the case of a task timeout there can be multiple jobs.

      Some complexity exists in determining the test pids. For tests started by resmoke fixtures, we can grab the fixture pids themselves. For tests using mongorunner to start processes, use process.children on the mongo shell process to get the list.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlad.rachev Vlad Rachev
              Reporter:
              vlad.rachev Vlad Rachev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: