Closed Bug 540627 Opened 10 years ago Closed 10 years ago

minidump is always deleted

Categories

(Testing :: Mochitest, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davidb, Assigned: ted)

References

Details

Attachments

(1 file)

Ideally the minidump should be moved into a storage location for future analysis. 

Aside: this came up when I was running tests on a dedicated tinderbox (sm-a11y-test) and I had an application crash with related spew:
PROCESS-CRASH | automation.py | application crashed (minidump found)
No symbols path given, can't process dump.
MINIDUMP_STACKWALK not set, can't process dump.

No minidump to be found.
We should allow setting an environment variable containing a path, like MINIDUMP_STORAGE_PATH, and have automation.py move the minidumps there if it's set.
(Fwiw, maybe they could be uploaded to the related tinderbox ftp directory?)
Version: unspecified → Trunk
The machines that run packaged unit tests don't currently upload anything.
This would be very useful.
who would this get assigned to, were it to be prioritized?
Probably me. I could throw together a quick patch if it'd help you guys debug something.
It would really help finding bug 543558.
Blocks: 543558
This patch lets you set MINIDUMP_SAVE_PATH=/some/path, and all minidumps will be moved there instead of just deleted. We should be able to set this on the test machines, and then you can ask someone from RelEng to fetch a minidump for you. I think this should be reasonably low-volume, so the manual intervention shouldn't be a problem. If we need something better in the future we can file another bug.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #425028 - Flags: review?(benjamin)
Attachment #425028 - Flags: review?(benjamin) → review+
Pushed to m-c:
http://hg.mozilla.org/mozilla-central/rev/577a861efe56

Will file another bug on getting this setup on tinderboxes in a minute.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 544062
You need to log in before you can comment on or make changes to this bug.