Closed Bug 425484 Opened 16 years ago Closed 16 years ago

upload breakpad symbols for mozilla 2 builds

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: bhearsum)

Details

Attachments

(3 files, 4 obsolete files)

We need this for 1.9 parity.
Assignee: bhearsum → nobody
Component: Release Engineering: Talos → Release Engineering
Priority: -- → P3
Status: NEW → ASSIGNED
Attached patch sub-env for moz2 symbols (obsolete) — Splinter Review
Assignee: nobody → bhearsum
Attachment #314141 - Flags: review?(ted.mielczarek)
AFAICT we'll only be able to do symbols for one branch at a time with the current setup. Ted, you mentioned something about being able to supply an extra string. Maybe we can use that in the future, if we need to.
Attachment #314142 - Flags: review?(ted.mielczarek)
Priority: P3 → P2
Whiteboard: [waiting on review]
You can set MOZ_SYMBOLS_EXTRA_BUILDID to any sort of string (that will work in a filename). We've used this in the past when we were doing builds off of the textframe branch.
Attachment #314141 - Flags: review?(ted.mielczarek) → review+
Attachment #314142 - Flags: review?(ted.mielczarek) → review+
Whiteboard: [waiting on review]
Attached patch one more time, with feeling (obsolete) — Splinter Review
Sorry, got a little excited when doing this and forgot that Moz2 environments are in the config file.
Attachment #314141 - Attachment is obsolete: true
Attachment #314142 - Attachment is obsolete: true
Attachment #314148 - Flags: review?(ted.mielczarek)
Comment on attachment 314148 [details] [diff] [review]
one more time, with feeling

We shouldn't use EXTRA_BUILDID on mozilla-central. That's analogous to CVS trunk, which isn't using one either. It's the main line of development, so it doesn't need any extra specification. Stuff like actionmonkey should use it, however.
Attachment #314148 - Flags: review?(ted.mielczarek) → review+
changeset:   21:291fc58a2200
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Wed Apr 09 08:20:39 2008 -0400
files:       mozilla2/master.cfg
Attachment #314148 - Attachment is obsolete: true
Attached patch last little bits (obsolete) — Splinter Review
I did some tests on Mac and Win32 and noticed that not much actually being stored. I updated the mozconfigs with the lines found here: http://developer.mozilla.org/en/docs/Building_Firefox_with_Debug_Symbols

I also had to hardcode the path to the ssh key -- ${HOME} doesn't work from within Buildbot (ssh will literally end up looking for '${HOME}/.ssh/...').
Attachment #314605 - Flags: review?
Attachment #314605 - Flags: review? → review?(ted.mielczarek)
Comment on attachment 314605 [details] [diff] [review]
last little bits

>diff -r ac56a25e6126 mozilla2/macosx/mozconfig
>--- a/mozilla2/macosx/mozconfig	Wed Apr 09 09:42:55 2008 -0400
>+++ b/mozilla2/macosx/mozconfig	Wed Apr 09 11:38:44 2008 -0400
>@@ -4,3 +4,6 @@ ac_add_options --enable-application=brow
> ac_add_options --enable-application=browser
> ac_add_options --enable-update-packaging
> ac_add_options --disable-tests
>+
>+export CFLAGS="-g -gfull"
>+export CXXFLAGS="-g -gfull"

This is 10.5, right? This needs to be -gstabs -gfull. Then again, we'll probably run into some stupid problems with this. Might need to touch base with Nick to recall how we worked around this?

>diff -r ac56a25e6126 mozilla2/win32/mozconfig
>--- a/mozilla2/win32/mozconfig	Wed Apr 09 09:42:55 2008 -0400
>+++ b/mozilla2/win32/mozconfig	Wed Apr 09 11:38:44 2008 -0400
>@@ -1,3 +1,6 @@ ac_add_options --enable-application=brow
> ac_add_options --enable-application=browser
> ac_add_options --enable-update-packaging
> ac_add_options --enable-jemalloc
>+
>+export MOZ_DEBUG_SYMBOLS=1
>+ac_add_options --enable-debugger-info-modules=yes

--enable-debugger-info-modules is redundant with MOZ_DEBUG_SYMBOLS. Drop the second line.
Attachment #314605 - Flags: review?(ted.mielczarek) → review+
changeset:   23:72f4cdc836f1
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Wed Apr 09 14:11:38 2008 -0400
files:       mozilla2/linux/mozconfig mozilla2/macosx/mozconfig mozilla2/master.cfg mozilla2/win32/mozconfig
Attachment #314605 - Attachment is obsolete: true
-save-temps on mac eats up a *ton* of space - we're going to need to solve that in some way if we add anymore branches. This is working...sortof. Ted says there's a visibility issue with the crash report/symbols, here's an example: http://crash-stats.mozilla.com/report/index/08cae0d7-06fc-11dd-85ea-001b78bc73ea

This bug is fixed...but we should be moving to dwarf symbols on OS X in the future to combat excessive disk space usage, as well as have proper symbols on mac
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 314873 [details] [diff] [review]
[checked in] cleanup many temp files after OS x builds

r=me with extraneous "% OBJDIR" removed per IRC
Attachment #314873 - Flags: review?(benjamin) → review+
Comment on attachment 314873 [details] [diff] [review]
[checked in] cleanup many temp files after OS x builds

changeset:   26:8b793cd1c1e9
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Fri Apr 11 10:16:07 2008 -0400
files:       mozilla2/master.cfg
Attachment #314873 - Attachment description: cleanup many temp files after OS x builds → [checked in] cleanup many temp files after OS x builds
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: