Commit Graph

58 Commits

Author SHA1 Message Date
Mathew Robinson
32fb818708 SERVER-40593 hang_analyzer.py should not crash when receiving invalid unicode from a subprocess 2019-04-11 15:31:55 -04:00
Mathew Robinson
f4feba485b SERVER-40542 Remove references to pip2 2019-04-10 11:42:47 -04:00
Mathew Robinson
8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Kaloian Manassiev
e1f404b1f2 SERVER-40244 Make hang_analyzer.py discover Windows 10 SDK's debugger 2019-03-21 09:20:16 -04:00
William Schultz
b734df9941 SERVER-38823 Re-enable dumping of SessionCatalog in hang analyzer 2019-01-04 19:20:17 -05:00
William Schultz
fd29722a14 SERVER-38045 Remove dump sessions command from hang analyzer 2018-12-21 16:14:51 -05:00
William Schultz
23128892c8 SERVER-38045 Disable dumping of the SessionCatalog in the hang analyzer
The recent change to utilize the abseil hash map for stdx::unordered_map breaks the logic used to unpack a LogicalSessionIdMap inside the mongod-dump-sessions GDB command. This commit disabled the command until a suitable workaround is found.
2018-12-21 14:36:28 -05:00
William Schultz
35da9daad1 SERVER-38045 Add GDB tools for dumping the SessionCatalog in the hang analyzer 2018-12-11 15:19:23 -05:00
Jonathan Abrahams
c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams
36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Jonathan Abrahams
324839c0c0 SERVER-28824 Trap debugger excptions in hang analyzer and display at end for all processes 2017-08-08 11:31:49 -04:00
Jonathan Abrahams
20c5ecac94 SERVER-29646 hang_analyzer.py signals python processes before attaching to any processes 2017-06-20 12:16:38 -04:00
Jonathan Abrahams
d4eeb742d8 SERVER-28596 Upload hanging or failing tests in compile_all to S3 2017-06-02 12:34:58 -04:00
Max Hirschhorn
ee0020c9b3 SERVER-28995 Fix format string in JstackDumper. 2017-04-27 15:21:27 -04:00
Jonathan Abrahams
4677c2b465 SERVER-28354 Fix typo in help 2017-04-13 12:03:11 -04:00
Jonathan Abrahams
484f61548c SERVER-28354 Add new option to supply base process name in hang_analyzer 2017-04-13 11:23:01 -04:00
Eddie Louie
7c14dc3bd5 SERVER-28349 Redirect stderr to stdout for process output logs generated by hang_analyzer 2017-04-03 12:29:48 -04:00
Eddie Louie
b95082ab3f SERVER-28466 hang_analyzer should not attach to resmoke.py and dump
stacks via debugger
2017-04-03 10:22:08 -04:00
Eddie Louie
b6d2b5e5c6 SERVER-21842 Generate report.json file and dump resmoke stacks on Windows 2017-03-31 18:21:53 -04:00
Jonathan Abrahams
7677a8aa54 SERVER-28416 Hang analyzer GDB on ARM can run "thread apply all bt" 2017-03-30 09:28:37 -04:00
Jonathan Abrahams
a95d617a37 SERVER-28463 Add set scheduler-locking to Hang Analyzer to prevent threads from running in GDB 2017-03-30 09:00:45 -04:00
Jonathan Abrahams
d6552eddac SERVER-28416 Split mongo pretty printers into separate file 2017-03-30 08:55:44 -04:00
Max Hirschhorn
39ebea7cc9 SERVER-28479 Canonicalize process names to lowercase in hang analyzer. 2017-03-24 18:45:23 -04:00
Mathias Stearn
65fa51f459 SERVER-27727 Dump raw stacks to a file so we have them if we need them 2017-03-24 16:13:26 -04:00
Mathias Stearn
27ddad2221 SERVER-27727 Hide idle threads in hang analyzer (core only) 2017-03-24 16:13:26 -04:00
Jonathan Abrahams
d65a41a35d SERVER-28415 Run thread backtrace before loading Python modules in hang_analyzer.py on ARM platform 2017-03-23 13:14:33 -04:00
Jonathan Abrahams
19abe0c2da SERVER-27874 - Hang analysis thread backtrace and mongo locks
- Run unique thread on Solaris
  - Add a legend to graph file
  - Do not generate digraph file, if graph is empty
2017-03-21 15:45:39 -04:00
Jonathan Abrahams
5fe822f53e SERVER-27874 Display locks and generate digraph for threads using LockManager locks and/or pthread_mutexes 2017-03-16 14:39:09 -04:00
Jonathan Abrahams
eaf3190fd5 SERVER-27873 Dump a JavaScript backtrace of any code running in SpiderMonkey in hang_analyzer.py 2017-03-16 09:49:43 -04:00
Eddie Louie
dbf7adc73d SERVER-27877 Write function to deduplicate stacks from different threads in GDB 2017-03-09 19:35:11 -05:00
Mark Benvenuto
7ca96b371e SERVER-27462 Remove Python 2.6 compatibility code from scripts in buildscripts/ directory 2017-03-09 13:47:54 -05:00
Jonathan Abrahams
b2ccf54b27 SERVER-27817 Remove extraneous messages from hang_analyzer.py 2017-02-27 19:35:41 -05:00
Jonathan Abrahams
d124f6c14f SERVER-27871 Add hang_analyzer.py option to produce core dump, default to off 2017-02-27 19:17:42 -05:00
Jonathan Abrahams
0700bcb7da SERVER-27870 Add option to invoke hang_analyzer.py with an explicit list of PIDs 2017-02-27 17:50:15 -05:00
Jonathan Abrahams
4bd3616208 SERVER-27869 Create a build artifact of hang_analyzer.py output and upload it to S3 2017-02-23 13:12:39 -05:00
Eddie Louie
89cc7047e7 SERVER-27876 Exclude stacks that are duplicates when dumping stacks on
Windows in hang_analyzer.py
2017-02-21 17:21:57 -05:00
Eddie Louie
baedb6631e SERVER-27875 Dump locked critical sections on Windows in hang_analyzer.py 2017-02-21 16:04:55 -05:00
Jonathan Abrahams
afd3c348e1 SERVER-27684 Remove hang_analyzer timeout 2017-01-17 19:05:04 -05:00
Mark Benvenuto
e713fab06d SERVER-27191 hang analyzer should dump lock manager state 2016-12-08 15:15:01 -05:00
Mark Benvenuto
aad88dd01b SERVER-26634 GDB Pretty-Printers and Commands 2016-12-08 15:15:01 -05:00
Mark Benvenuto
cd675c9e3d SERVER-15407 Set Thread Name in Windows, Mac OS X, and Linux 2016-12-02 11:45:16 -05:00
Mark Benvenuto
1ff7169ec6 SERVER-26931 Add file:line info to windows hang analyzers 2016-11-11 10:51:01 -05:00
Mark Benvenuto
cc32f2cf59 SERVER-26842 dump the go stack traces on hung tools in the hang analyzer 2016-11-04 12:18:02 -04:00
Mark Benvenuto
2ea868d3c1 SERVER-25761 hang_analyzer should use GDB in the mongodb tool chain 2016-08-24 13:12:21 -04:00
Mark Benvenuto
48594ea613 SERVER-25288 Configure hang_analyzer.py to generate coredumps on Linux 2016-08-17 11:22:42 -04:00
Jonathan Abrahams
46e47e5aac SERVER-24420 Add Jepsen processes to hang_analyzer 2016-06-15 14:55:58 -04:00
Jonathan Abrahams
40e9159548 SERVER-23007 hang_analyzer support on Solaris 2016-03-10 12:58:53 -05:00
Jonathan Abrahams
4019e38d10 SERVER-23006 hang_analyzer should use GDB in the mongodb tool chain 2016-03-09 09:06:18 -05:00
Jonathan Abrahams
a89f968134 SERVER-22101 Generate minidumps when the hang analyzer is triggered on Windows 2016-02-09 16:22:40 -05:00
Mike Grundy
df9b5b55f2 SERVER-22314 Fix the detection of Python processes in the hang analyzer script 2016-01-29 14:05:48 -05:00