Closed
Bug 483548
Opened 16 years ago
Closed 16 years ago
buildsymbols messes up Linux Z test results
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: ted)
References
Details
Attachments
(1 file)
|
860 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
The Linux tinderbox is showing 15MB (or about the entire codesize) fluctuations in the Z number. For a typical build when Z decreased by 15MB, here are the library files that are claimed to have gotten smaller:
libxpcom.so.dbg
nm2tsv.dbg
libunixprintplugin.so.dbg
libplds4.so.dbg
mozilla-xremote-client.dbg
nsinstall.dbg
libplc4.so.dbg
codesighs.dbg
libnullplugin.so.dbg
maptsvdifftool.dbg
etc, etc,
libxul.so.dbg,
etc
I assume that something is leaving files that it shouldn't in dist, right?
Comment 1•16 years ago
|
||
Looks like fallout from bug 478876, which gives us stacks for talos.
Comment 2•16 years ago
|
||
Graph server makes it look like it started midday 2009-03-11, which looks more like bug 420474. Ted's fault either way, but then that's no surprise ;)
| Assignee | ||
Comment 3•16 years ago
|
||
Yeah, that bug makes us use objcopy --only-debug to split debug info out of binary files. We can probably fix the symbol store script to not leave those wherever they get counted by codesighs. Basically just change this copy to a move:
http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/tools/symbolstore.py#658
| Reporter | ||
Comment 4•16 years ago
|
||
Another option would be to change autosummary.unix.bash to filter those files out; not sure which is a simpler/safer change. Right now, autosummary uses the following command to find the files it wants:
find $OBJROOT/dist/bin -not -type d
Can we do one or the other quickly, though?
Comment 5•16 years ago
|
||
Ted: Dont mind if you leave this bug here or not, but can you take this?
Assignee: nobody → ted.mielczarek
OS: Mac OS X → Linux
| Assignee | ||
Updated•16 years ago
|
Assignee: ted.mielczarek → nobody
Group: mozilla-confidential
Component: Release Engineering → Build Config
Product: mozilla.org → Core
QA Contact: release → build-config
Version: other → Trunk
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → ted.mielczarek
| Assignee | ||
Updated•16 years ago
|
Group: mozilla-confidential
| Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•16 years ago
|
Summary: Linux Z test results completely nuts → buildsymbols messes up Linux Z test results
| Assignee | ||
Comment 6•16 years ago
|
||
This fixes the symbolstore script to not leave .dbg files in dist/bin. Works for me locally.
Attachment #367602 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #367602 -
Flags: review?(benjamin) → review+
Comment 7•16 years ago
|
||
I don't think we're blowing away dist/bin at the top of each build, so we need to go round with a clobber or manual cleanup for this ?
| Assignee | ||
Comment 8•16 years ago
|
||
Pushed to m-c:
http://hg.mozilla.org/mozilla-central/rev/132f022dcdd0
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•16 years ago
|
||
Nick: I think this should resolve itself (since they'll be overwritten and then moved), if it doesn't after a cycle you could do a:
find dist/bin -name "*.dbg" | xargs rm
Comment 10•16 years ago
|
||
Verified that the script is moving *.dbg away, but unfortunately that happens after calculating Z for the current run. Went ahead and removed all the dbg's hanging around on the slaves (mozilla-central-linux dirs only).
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•