Closed
Bug 853591
Opened 12 years ago
Closed 12 years ago
Mozharness should be able to download the minidump_stackwalk binary from build/tools
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahal, Assigned: ahal)
References
Details
(Whiteboard: [mozharness])
Attachments
(1 file, 1 obsolete file)
7.95 KB,
patch
|
mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Whiteboard: [mozharness]
Assignee | ||
Comment 1•12 years ago
|
||
Possibly ways to do this better, but should be good enough for my current needs. Did a push to ash-mozharness:
http://hg.mozilla.org/users/asasaki_mozilla.com/ash-mozharness/rev/4eca34e1a773
Watching:
https://tbpl.mozilla.org/?tree=Ash&showall=1&rev=e0464aa637bf
Attachment #727896 -
Flags: review?(aki)
Comment 2•12 years ago
|
||
Comment on attachment 727896 [details] [diff] [review]
Patch 1.0 - install minidump_stackwalk
>diff --git a/configs/b2g/emulator_automation_config.py b/configs/b2g/emulator_automation_config.py
>--- a/configs/b2g/emulator_automation_config.py
>+++ b/configs/b2g/emulator_automation_config.py
>@@ -1,14 +1,20 @@
> # This is a template config file for b2g emulator unittest production.
>+import platform
>+if platform.architecture()[0] = "64bit"
I think you want == here, not = .
>+ os.environ['MINIDUMP_STACKWALK'] = os.path.join(dirs['abs_work_dir'], 'minidump_stackwalk')
This might be better in self.config['env'], but I'm ok with it here as well.
I think you do have to fix the s,=,==,, though.
Attachment #727896 -
Flags: review?(aki) → review+
Assignee | ||
Updated•12 years ago
|
Summary: Mozharness should be able to download the minidump_stackwalk binary from tooltool → Mozharness should be able to download the minidump_stackwalk binary from build/tools
Assignee | ||
Comment 3•12 years ago
|
||
Because of ted's comment (https://bugzilla.mozilla.org/show_bug.cgi?id=853544#c3) I decided to make the script download minidump_stackwalk from build/tools. I guess this means you can also remove the binaries from tooltool again if you want. Sorry about all the extra work!
This patch is tested on ash-mozharness and appears to be working.
Attachment #727896 -
Attachment is obsolete: true
Attachment #728340 -
Flags: review?(aki)
Comment 4•12 years ago
|
||
Comment on attachment 728340 [details] [diff] [review]
Patch 2.0 - download from build/tools
I would lean towards putting this in TestingMixin rather than create a new mixin.
Glad you were able to get this to work!
Attachment #728340 -
Flags: review?(aki) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Moved it into TestingMixin (and tested that it works on ash) and pushed:
https://hg.mozilla.org/build/mozharness/rev/6a08cfda0350
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•11 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•