[SERVER-14181] buildscript to collect stack trace info from running mongod processes Created: 05/Jun/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: Improvement 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
related to SERVER-14714 smoke.py should have a signal handler... Closed
Sprint: Server 2.7.3, Server 2.7.4, Server 2.7.5
Participants:

 Description   

could be called by MCI when a timeout occurs, so that if there is a deadlock that resulted in a timeout condition we can see debug information describing what happened.



 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

Comment by Githook User [ 26/Jul/14 ]

Author:

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

Message: SERVER-14181: Test Hang Analyzer
A prototype hang analyzer for MCI integration to help investigate test
timeouts.

1. Script supports taking dumps, and/or dumping a summary of useful
information about a process
2. Script will iterate through a list of interesting processes (mongo,
mongod, and mongos), and run the tools from step 1.

Supports Linux, MacOS X, and Windows.
Branch: master
https://github.com/mongodb/mongo/commit/00b5c825ebd1f4060595a191b903ad8639f0922a

Comment by Githook User [ 02/Jul/14 ]

Author:

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

Message: SERVER-14181: Test Hang Analyzer

Add a stub hang_analyzer.py for MCI to integrate with.
Branch: master
https://github.com/mongodb/mongo/commit/4adee3fa86664d37c778bb0293e709629711478d

Comment by Mark Benvenuto [ 19/Jun/14 ]

Design goals of this script

Overview:
There are multiple failures due to hung tests in MCI. We do not know why their are hung, and often need more information to understand why. This script is trying to provide more information by analyzing the running programs, and providing insight into
their behavior by attaching the debugger and printing useful information.

Goal

  • Support tests running MCI
  • Not a general purpose tool for analyzing mongo in the field
  • Goal is for MCI to have a tool which is easy to integrate and does not have to customize by arguments for each of the build variations.
  • Support Linux, Windows, MacOS
Comment by Mark Benvenuto [ 16/Jun/14 ]

This is an internal script to help analyze hangs in MCI. I do not feel we need any particular CAP testing.

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