[CDRIVER-2658] Save minidump file if mongod crashes during test Created: 21/May/18  Updated: 28/Oct/23  Resolved: 09/Jul/18

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-35125 null pointer read access violation in... Closed
Related
related to SERVER-35935 unittest/unittest_test StackTraceForA... Closed

 Description   

When a recent build of mongod crashes during C Driver Evergreen tests it saves a minidump file in c:/mongodb/bin (on Windows), which is outside the working directory. Therefore we don't save that file anywhere it's accessible afterward. Let's either install the downloaded MongoDB within the working directory on Windows, or if tests fail search for a .mdmp file in c:/mongodb/bin and move it to the working directory before uploading the working directory at the end of the test.



 Comments   
Comment by Githook User [ 09/Jul/18 ]

Author:

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

Message: CDRIVER-2658 Save minidump files if mongodb crashes during test
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/938d2333ce77a3a3558bde9bdbd0716fa4609f8b

Generated at Wed Feb 07 21:15:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.