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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.5
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • ALL
    • Server 2.7.5

      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

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

              Created:
              Updated:
              Resolved: