Closed Bug 617441 Opened 14 years ago Closed 11 years ago

stop running trace-malloc tests

Categories

(Release Engineering :: General, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: catlee)

References

Details

(Whiteboard: [unittest][automation])

Attachments

(2 files, 2 obsolete files)

From e-mail: On Tuesday 2010-12-07 15:32 -0500, Ben Hearsum wrote: > > On 12/07/10 03:30 PM, Ehsan Akhgari wrote: >> > >Hi David, >> > > >> > >I was pointing out to Ben just now that one of the test suites which is >> > >network dependent is the leaktest, and I remembered that I can actually >> > >question the very need of running those tests. He said you're the best >> > >person to talk to about this, so here's my question. Is there any >> > >actual value in running the leaktest suite? Are we expecting to catch >> > >certain types of leaks in this suite which we wouldn't be able to using >> > >our mochitest framework? >> > > >> > >I think if we do want to test whether we leak on this very small subset >> > >of web pages, we should rewrite the suite to be based on mochitest and >> > >just load stuff from an httpd.js based local server. >> > > >> > >What do you think? >> > >Ehsan > > > > Just to be crystal clear: we're talking about the thing that gets > > run inside of the "leak test" builders, launches firefox with > > --trace-malloc, and cycles through some pages on mozilla.org. It's the only thing we're testing with --trace-malloc leak testing, so it's the only thing that we run that catches leaks that don't involve nsTraceRefcnt-logged objects (except for ones that are big enough to affect the Tp memory use metrics). That said, I'm not sure we look at either set of numbers (trace-malloc leaks or Tp memory use metrics). I guess I'd be ok with just dropping it. -David Probably should go out to the newsgroups before happening, too.
Priority: -- → P3
Depends on: 620273
Depends on: 620282
Landed bug 620273, so it's no longer the case that it hits the network. I did offer some other reasons to kill it, in the newsgroup thread, though some of them were just my not understand the ways in which we're running things wrong, which would be cleaned up by bug 620282, and the noisiness and the resulting way we ignore the results may well be fixed by bug 620273, we'll see.
No longer blocks: debug_builds
Assignee: nobody → catlee
Are we disabling both 'make leaktest' and 'make leaktest --trace-malloc', or just the tracemalloc tests?
Blocks: 774844
Component: Release Engineering → Release Engineering: Automation (General)
QA Contact: catlee
Attached patch stop running leak tests (obsolete) — Splinter Review
Attachment #777497 - Flags: review?(nthomas)
I'll review this patch on Sunday PT.
Comment on attachment 777497 [details] [diff] [review] stop running leak tests Looks fairly close, just some leftover references to leakTest* and leakTarget: process/factory.py 773: ausHost=None, nightly=False, leakTest=False, leakTarget=None, 847: self.leakTest = leakTest 1037: if self.uploadSymbols or (not self.disableSymbols and (self.packageTests or self.leakTest)): 1908: self.leakTestReferenceRepo = 'mozilla-central' 1910: self.leakTestReferenceRepo = 'comm-central' r+ if those can go away on checkin, and maybe check with pylint or something. Followup up patch to remove enable_leaktests, run_alive_tests, run_make_alive_tests from buildbot-configs ?
Attachment #777497 - Flags: review?(nthomas) → review+
removed leakTest and leakTarget from __init__ and in misc.py. There's one bit of logic that depended on leakTest being enabled, but looks like it doesn't affect any of our existing configurations.
Attachment #777497 - Attachment is obsolete: true
Attachment #779922 - Flags: review?(nthomas)
this is a noop once the buildbotcustom patch is applied
Attachment #779925 - Flags: review?(nthomas)
Comment on attachment 779922 [details] [diff] [review] stop running leak tests The interdiff looks good.
Attachment #779922 - Flags: review?(nthomas) → review+
Attachment #779922 - Flags: checked-in+
Comment on attachment 779925 [details] [diff] [review] remove unused configuration options This misses: * 1 enable_leaktests in mozilla/b2g_config.py * 2 enable_leaktests in mozilla/project_branches.py * 1 leak_target, 9 run_alive_tests and 4 enable_leaktests in mozilla/thunderbird_config.py A potential spanner in the works is thunderbird_config setting 'leak_target': 'mailbloat'
Attachment #779925 - Flags: review?(nthomas) → review-
Attachment #779925 - Attachment is obsolete: true
Attachment #780035 - Flags: review?(nthomas)
(In reply to Nick Thomas [:nthomas] from comment #10) > A potential spanner in the works is thunderbird_config setting > 'leak_target': 'mailbloat' Shouldn't be, it was just a specialised form of trace-malloc test relevant to Thunderbird.
Attachment #780035 - Flags: review?(nthomas) → review+
Attachment #780035 - Flags: checked-in+
Blocks: 897419
In production
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 900535
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: