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

smoke.py should have a signal handler to dump a stack trace

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.5
    • None
    • Testing Infrastructure
    • None
    • ALL
    • Server 2.7.5

    Description

      smoke.py should setup a signal handler to dump its stack trace, so if its stuck we can debug it by doing something like

      kill -3 <pid>

      good example of how to do this here: http://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application

      this command could be added to the timeout handler in MCI so that we get info on what smoke.py is doing when an MCI test suite hangs.

      cc mark.benvenuto

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: