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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: vaibhav1994)

Details

Attachments

(1 file)

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
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)
Can I take up this bug?
Assignee: nobody → vaibhavmagarwal
Attached patch minidump.patchSplinter Review
This takes care of cleaning up minidumps directory.
Attachment #8370762 - Flags: review?(jmaher)
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+
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
Vaibhav - thank you for the patch! :-)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: