[SERVER-14714] smoke.py should have a signal handler to dump a stack trace Created: 29/Jul/14  Updated: 11/Jul/16  Resolved: 05/Aug/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.7.5

Type: Bug Priority: Major - P3
Reporter: Michael O'Brien Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-14181 buildscript to collect stack trace in... Closed
Operating System: ALL
Sprint: Server 2.7.5
Participants:

 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



 Comments   
Comment by Githook User [ 05/Aug/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-14714: Add stack trace signal handler
SERVER-14181: Dump dbtest & python processes, add timeout
Branch: master
https://github.com/mongodb/mongo/commit/35f827aef4ddfcf9acb9e4b90cb200ff29183b7c

Generated at Thu Feb 08 03:35:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.