Closed
Bug 931071
Opened 12 years ago
Closed 12 years ago
Desktop talos runs don't clean up the local minidump directory, unlike mobile
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: vaibhav1994)
Details
Attachments
(1 file)
|
1.14 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Broken out from bug 931032:
(In reply to Ed Morley [:edmorley UTC+1] from bug 931032 comment #12)
> Side note:
> Strange how we clear up the local directory in the Android case, but not
> desktop. Is this intentional?
(In reply to Joel Maher (:jmaher) from comment #14)
> we really should clear up the local directory in the desktop case, that
> isn't intentional
| Reporter | ||
Comment 1•12 years ago
|
||
On mobile:
https://hg.mozilla.org/build/talos/file/608228e6477f/talos/ttest.py#l170
158 # check for minidumps
159 minidumpdir = tempfile.mkdtemp()
160 try:
161 if self._ffprocess.testAgent.dirExists(remoteminidumpdir):
162 self._ffprocess.testAgent.getDirectory(remoteminidumpdir, minidumpdir)
163 except mozdevice.DMError:
164 print "Remote Device Error: Error getting crash minidumps from device"
165 raise
166 found = mozcrash.check_for_crashes(minidumpdir,
167 browser_config['symbols_path'],
168 stackwalk_binary=stackwalkbin,
169 test_name=test_name)
170 self._hostproc.removeDirectory(minidumpdir)
On desktop:
https://hg.mozilla.org/build/talos/file/608228e6477f/talos/ttest.py#l175
174 else:
175 # check for minidumps
176 minidumpdir = os.path.join(profile_dir, 'minidumps')
177 found = mozcrash.check_for_crashes(minidumpdir,
178 browser_config['symbols_path'],
179 stackwalk_binary=stackwalkbin,
180 test_name=test_name)
| Assignee | ||
Comment 2•12 years ago
|
||
Can I take up this bug?
Updated•12 years ago
|
Assignee: nobody → vaibhavmagarwal
| Assignee | ||
Comment 3•12 years ago
|
||
This takes care of cleaning up minidumps directory.
Attachment #8370762 -
Flags: review?(jmaher)
Comment 4•12 years ago
|
||
Comment on attachment 8370762 [details] [diff] [review]
minidump.patch
Review of attachment 8370762 [details] [diff] [review]:
-----------------------------------------------------------------
ok, that was simple!
Attachment #8370762 -
Flags: review?(jmaher) → review+
Comment 5•12 years ago
|
||
in talos repo- will pick it up when we update talos in the future.
https://hg.mozilla.org/build/talos/rev/5b82097d719d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•12 years ago
|
||
Vaibhav - thank you for the patch! :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•