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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.5
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Operating System:
      ALL
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              mark.benvenuto Mark Benvenuto
              Reporter:
              mpobrien Michael O'Brien
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: