Commit Graph

69 Commits

Author SHA1 Message Date
Carl Raiden Worley d2af32dc70 SERVER-46684 Repackage the hang-analyzer as a resmoke subcommand 2020-05-04 19:28:28 +00:00
Jamie Heppenstall e722138cbd SERVER-45556 Create GDB command to dump all active RecoveryUnits 2020-05-04 14:57:45 +00:00
Spencer T Brody 90e56683e8 SERVER-45133 Dump mutex info in hang analyzer
This reverts commit cbf705e93a73052045e7157380748198b427bcd5.
2020-04-09 23:10:40 +00:00
Spencer T Brody b0cbfa49aa Revert "SERVER-45133 Dump mutex info in hang analyzer"
This reverts commit 3fc737f00d.
2020-04-08 22:03:53 +00:00
Spencer T Brody 3fc737f00d SERVER-45133 Dump mutex info in hang analyzer 2020-04-07 21:12:37 +00:00
Mathew Robinson f31bc89f66 SERVER-45048 Use hygienic builds in Evergreen 2020-02-13 15:21:41 +00:00
Robert Guo 29cd14ad59 SERVER-44017 hang_analyzer.py inflates debug-symbols 2019-10-29 15:58:54 +00:00
Robert Guo d49bdf9744 Revert "SERVER-44017 hang_analyzer.py inflates debug-symbols"
This reverts commit a2ab511f01.
2019-10-26 20:08:15 +00:00
Ryan Timmons a2ab511f01 SERVER-44017 hang_analyzer.py inflates debug-symbols 2019-10-22 21:59:21 +00:00
Ryan Timmons f4c495f084 SERVER-43254 Hang Analyzer shell integration uses child and peer mongo processes 2019-10-15 20:53:43 +00:00
Mathew Robinson ca5fd3f9a9 SERVER-42310 Specify mode for NamedTemporaryFile in hang_analyzer.py 2019-07-22 09:15:55 -04:00
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