Closed Bug 517475 Opened 15 years ago Closed 14 years ago

Stop running leak tests on debug builds?

Categories

(Release Engineering :: General, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: lsblakk)

References

Details

(Whiteboard: [unittest])

Attachments

(1 file, 1 obsolete file)

Once we have unittests running on debug builds, is there any reason to continue running the current leak tests?
Do the new tests need to be posting results to the graph server and/or be comparing leak/bloat logs?
Hmmm.  Actually, nothing would be running the trace-malloc leak test anymore with this change.  So that actually is a pretty important thing we need to catch; otherwise we wouldn't catch regressions in leaks of non-logged objects.

We probably don't need the max heap numbers anymore; the Tp memset numbers are better.  (Though there might be value in tracking memory use after just bringing up a firefox window.)
So we can stop running:
python leaktest.py -- -register
python leaktest.py -- -CreateProfile default
python leaktest.py -- -P default
python leaktest.py -l bloat.log

but keep:

python leaktest.py -- --trace-malloc malloc.log --shutdown-leaks=sdleak.log

?
(In reply to comment #4)
> So we can stop running:
> python leaktest.py -- -register
> python leaktest.py -- -CreateProfile default
> python leaktest.py -- -P default

These three are sort of the "set things up for the rest" part, so I think they should probably stay.

> python leaktest.py -l bloat.log

Yes, this can go.

> but keep:
> 
> python leaktest.py -- --trace-malloc malloc.log --shutdown-leaks=sdleak.log

Yes.


(But aren't there a bunch of other steps for comparing the logs?)
(In reply to comment #5)
> (In reply to comment #4)
> > So we can stop running:
> > python leaktest.py -- -register
> > python leaktest.py -- -CreateProfile default
> > python leaktest.py -- -P default
> 
> These three are sort of the "set things up for the rest" part, so I think they
> should probably stay.
> 
> > python leaktest.py -l bloat.log
> 
> Yes, this can go.
> 
> > but keep:
> > 
> > python leaktest.py -- --trace-malloc malloc.log --shutdown-leaks=sdleak.log
> 
> Yes.
> 
> 
> (But aren't there a bunch of other steps for comparing the logs?)

Yes, the steps for comparing the logs for everything except malloc.log and sdleak.log would go as well, as would the graph server posts.
Mass move of bugs from Release Engineering:Future -> Release Engineering. See
http://coop.deadsquid.com/2010/02/kiss-the-future-goodbye/ for more details.
Component: Release Engineering: Future → Release Engineering
Priority: -- → P3
Depends on: 525234
Whiteboard: [unittest]
Assignee: nobody → lsblakk
Comment on attachment 482289 [details] [diff] [review]
[tested] removing unwanted steps from leak test build steps

Ran this in staging successfully.
Attachment #482289 - Flags: review?(catlee)
Attachment #482289 - Attachment is patch: true
Attachment #482289 - Attachment mime type: application/octet-stream → text/plain
Which steps are you removing?  It looks to me like this is removing the nsTraceRefcnt-based leak test (which makes sense to me) and also removing graph server posts for the trace-malloc-based leak test (which doesn't make sense to me).
> Which steps are you removing? 

I took out all the bloat.log steps based on the comments in this bug - and also the graph server posts as per comment 6:

> Yes, the steps for comparing the logs for everything except malloc.log and
> sdleak.log would go as well, as would the graph server posts.
Perhaps I misunderstood comment 6?
So what are we posting to the graph server and what are we not posting to the graph server?  We should still be posting the trace-malloc test data to the graph server.
You're right, I was taking out both graphserver posts. 

So now I'm taking out only:

TinderboxPrint: <a title="refcnt_leaks"....

And leaving in the following:

TinderboxPrint: <a title="trace_malloc_maxheap"....
TinderboxPrint: <a title="trace_malloc_allocs"....
TinderboxPrint: <a title="trace_malloc_leaks"....
Attachment #482289 - Attachment is obsolete: true
Attachment #482369 - Flags: review?(catlee)
Attachment #482289 - Flags: review?(catlee)
Attachment #482369 - Flags: review?(catlee) → review+
Flags: needs-reconfig?
Comment on attachment 482369 [details] [diff] [review]
[tested] removing unwanted steps from leak test build steps

http://hg.mozilla.org/build/buildbotcustom/rev/dd5d5d953b0b
Attachment #482369 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: needs-reconfig?
Resolution: --- → FIXED
Depends on: 624634
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: