Closed
Bug 824984
Opened 12 years ago
Closed 12 years ago
minidump_stackwalk is hardcoded as a binary for talos, we should use env['MINIDUMP_STACKWALK']
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: jmaher)
References
Details
Attachments
(4 files, 2 obsolete files)
(deleted),
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
wlach
:
review+
Callek
:
feedback+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
mochitests and other automation uses minidump_stackwalk from the tools directory:
http://hg.mozilla.org/build/tools/file/tip/breakpad/
We have outdated copies in the talos repository:
http://hg.mozilla.org/build/talos/file/d5cf61c4a4ec/talos/breakpad
inside buildbotcustom/factory.py, we set the environment variable minidump_stackwalk to a local clone of build/tools for the unittests:
http://hg.mozilla.org/build/buildbotcustom/file/tip/process/factory.py#l4736
maybe we could add it to the talos factory here:
http://hg.mozilla.org/build/buildbotcustom/file/tip/process/factory.py#l5291
we would need to modify talos to pull the location of the minidump_stackwalk binary from the environment instead of deriving it from the platform information:
http://hg.mozilla.org/build/talos/file/d5cf61c4a4ec/talos/ttest.py#l130
from what I can tell we would need to add the clone_buildtools step from the unittests to the talos factory:
http://hg.mozilla.org/build/buildbotcustom/file/tip/process/factory.py#l452
Comment 1•12 years ago
|
||
Can we just switch Talos to use mozcrash? That should handle the "use the env var" portion, so we'd just have to make the env var change to the factory.
Assignee | ||
Comment 2•12 years ago
|
||
we would have to make all the changes in the buildbot-configs and buildbotcustom repos as mentioned above. Using mozcrash would simplify a bit of talos, but we would need to make mozcrash work for remote scenarios where we pull dumps from a remote device.
I like the idea of mozcrash though.
Assignee | ||
Comment 3•12 years ago
|
||
once we have support from buildbot, this will work great.
Attachment #696107 -
Flags: review?(jhammel)
Assignee | ||
Comment 4•12 years ago
|
||
crap, mozcrash doesn't work with python 2.4 :(
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #696114 -
Flags: review?(jhammel)
Comment 6•12 years ago
|
||
Comment on attachment 696114 [details] [diff] [review]
allow mozcrash to support python 2.4 (1.0)
nit try: finally: to avoid dangling fHandle (especially if further up the chain catches Exceptions)
Attachment #696114 -
Flags: feedback+
Comment 7•12 years ago
|
||
Comment on attachment 696114 [details] [diff] [review]
allow mozcrash to support python 2.4 (1.0)
You kids and your fancy "with" statements. :sigh:
Attachment #696114 -
Flags: review?(jhammel) → review+
Comment 8•12 years ago
|
||
Comment on attachment 696107 [details] [diff] [review]
support mozcrash in talos (1.0)
God I love deleted code.
That said, we can't quite do this. Because mozcrash needs the attachment we'll need to push a new release to pypi first, so the version will be 0.2, not 0.1. So r+ given the version number change.... just make sure we have 0.2 on pypi and in the version spec (both setup.py and create_talos_zip.py, as usual)
Attachment #696107 -
Flags: review?(jhammel) → review+
Comment 9•12 years ago
|
||
Comment on attachment 696114 [details] [diff] [review]
allow mozcrash to support python 2.4 (1.0)
Horrible. Do we have any sort of timeframe for using a non-ancient Python for Talos? (Surely the test slaves already have a non-ancient Python, because those same slaves run our unittests, and those don't support Python 2.4.)
Comment 10•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #9)
> Comment on attachment 696114 [details] [diff] [review]
> allow mozcrash to support python 2.4 (1.0)
>
> Horrible. Do we have any sort of timeframe for using a non-ancient Python
> for Talos? (Surely the test slaves already have a non-ancient Python,
> because those same slaves run our unittests, and those don't support Python
> 2.4.)
AIUI, the schedule is as follows:
- get talos on mozharness; was supposed to happen this quarter (as well as resolving the python 2.7 issue, for that matter) but priorities were elsewhere
- with mozharness, we can *actually* install pywin32 (I think?) in a sensible way (or as sensible as can be done with that particular package)
- with this, afaik, we will be on python 2.7! \o/ however, there is follow up work in https://bugzilla.mozilla.org/show_bug.cgi?id=726700 that should be done right after
My general feeling is that if we make this a priority (and we == A*Team + Releng here) we can probably knock this out right quick. If we don't make it a priority it will very slowly simmer in the background. Obviously there are other ways this can be done; I'm just reporting the consensus as I understand it.
Assignee | ||
Comment 11•12 years ago
|
||
This bug has a few parts:
1) update binaries to get stackwalk working now
2) releng will work on adding breakpad binaries to tooltool and allowing talos to use it (bug 779037)
3) update mozcrash to work on python 2.4
4) deploy mozcrash 0.2
5) have talos support mozcrash (using local hardcoded binaries) instead of MINIDUMP_STACKWALK environment variable
6) when talos uses tooltool, we can remove the code to determine platform and binary location and just use os.env for the MINIDUMP_STACKWALK location.
Attachment #696483 -
Flags: review?(jhammel)
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #696484 -
Flags: review?(jhammel)
Assignee | ||
Comment 13•12 years ago
|
||
update mozcrash to work properly on 2.4 and incorporate feedback from Callek.
Assignee: nobody → jmaher
Attachment #696114 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #696485 -
Flags: review?(jhammel)
Attachment #696485 -
Flags: feedback?(bugspam.Callek)
Assignee | ||
Comment 14•12 years ago
|
||
updated patch for the future!
Attachment #696107 -
Attachment is obsolete: true
Attachment #696486 -
Flags: review?(jhammel)
Updated•12 years ago
|
Attachment #696485 -
Flags: feedback?(bugspam.Callek) → feedback+
Assignee | ||
Updated•12 years ago
|
Attachment #696483 -
Flags: review?(jhammel) → review?(wlachance)
Assignee | ||
Updated•12 years ago
|
Attachment #696484 -
Flags: review?(jhammel) → review?(wlachance)
Assignee | ||
Updated•12 years ago
|
Attachment #696485 -
Flags: review?(jhammel) → review?(wlachance)
Assignee | ||
Updated•12 years ago
|
Attachment #696486 -
Flags: review?(jhammel) → review?(wlachance)
Comment 15•12 years ago
|
||
Comment on attachment 696485 [details] [diff] [review]
allow mozcrash to support python 2.4 (1.1)
Kind of sad that we had to remove the with statement. Oh well.
Let's use the variable name "f" instead of "fHandle", since that's more pythonic (not to mention fitting in with the style in the rest of the file). r+ with that change.
Attachment #696485 -
Flags: review?(wlachance) → review+
Comment 16•12 years ago
|
||
Comment on attachment 696486 [details] [diff] [review]
support mozcrash in talos, use local binaries, mozcrash v0.2 (2.0)
Love it!
Attachment #696486 -
Flags: review?(wlachance) → review+
Comment 17•12 years ago
|
||
Comment on attachment 696484 [details] [diff] [review]
update binary bits for breakpad in talos [windows] (1.0)
If this works for you, I'm cool with it.
Attachment #696484 -
Flags: review?(wlachance) → review+
Comment 18•12 years ago
|
||
Comment on attachment 696483 [details] [diff] [review]
update binary bits for breakpad in talos [no windows] (1.0)
If this works for you, it's cool with me.
Attachment #696483 -
Flags: review?(wlachance) → review+
Comment 19•12 years ago
|
||
Presuming bug 561235 can be duped to this? :-)
Assignee | ||
Comment 20•12 years ago
|
||
live on inbound, will be on m-c on the next merge
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•