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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: ahal)

References

Details

(Whiteboard: [mozharness])

Attachments

(1 file, 1 obsolete file)

No description provided.
Whiteboard: [mozharness]
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 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+
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
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 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+
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
Product: mozilla.org → Release Engineering
Component: General Automation → Mozharness
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: