Closed
Bug 985403
Opened 11 years ago
Closed 11 years ago
Gaia ui tests not setting symbols path and minidump stackwalk
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Firefox OS Graveyard
Gaia::UI Tests
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S1 (9may)
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(2 files, 1 obsolete file)
1.07 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
7.00 KB,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
In https://tbpl.mozilla.org/php/getParsedLog.php?id=36359908&tree=Mozilla-Inbound
I noticed:
16:22:23 INFO - No symbols path given, can't process dump.
16:22:23 INFO - MINIDUMP_STACKWALK not set, can't process dump.
I thought this was working already, but apparently not?
Assignee | ||
Comment 1•11 years ago
|
||
So symbols_path is passed into the constructor when we have an emulator, but otherwise not:
http://mxr.mozilla.org/mozilla-central/source/testing/marionette/client/marionette/runner/base.py#633
I don't like that the Marionette constructor is called in four different places. I think it makes it easy to not pass in arguments into all the places we should be (like symbols_path). I think I'm going to refactor this a bit so we build the arguments first and then only have one Marionette constructor call.
Assignee | ||
Comment 2•11 years ago
|
||
I'm almost certain this patch is equivalent to the old way, but here's a try run just in case:
https://tbpl.mozilla.org/?tree=Try&rev=93b94958e013
Imo, this is easier to read, plus it's easy to see where a new option needs to get added depending on what scenario it's supposed to be used in.
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8393506 -
Flags: review?(jgriffin)
Assignee | ||
Comment 4•11 years ago
|
||
One thing I forgot to mention about attachment 8393492 [details] [diff] [review], I removed the getMarionetteOrExit entry from the emulator code path. That was a hack we introduced back when we were installing gecko into the emulator which we don't really need anymore. We should probably remove it in all the other harnesses too, but that is out of scope for this bug.
Assignee | ||
Comment 6•11 years ago
|
||
Oops, made a minor typo.
New try runs:
https://tbpl.mozilla.org/?tree=Try&rev=06b98ef8b6be
https://tbpl.mozilla.org/?tree=Try&rev=eaf619dd28f7
(Did two because apparently specifying both marionette and marionette-webapi doesn't work?)
Attachment #8393492 -
Attachment is obsolete: true
Comment 7•11 years ago
|
||
Comment on attachment 8393506 [details] [diff] [review]
(mozharness) install minidump stackwalk in b2g desktop Gu
Review of attachment 8393506 [details] [diff] [review]:
-----------------------------------------------------------------
Yep, that looks right. :)
Attachment #8393506 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8393660 [details] [diff] [review]
Refactor start_marionette and add symbols_path everywhere
Review of attachment 8393660 [details] [diff] [review]:
-----------------------------------------------------------------
Try looks good.
Attachment #8393660 -
Flags: review?(mdas)
Assignee | ||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Comment on attachment 8393660 [details] [diff] [review]
Refactor start_marionette and add symbols_path everywhere
Review of attachment 8393660 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks, this is much more concise.
Attachment #8393660 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.5 S1 (9may)
You need to log in
before you can comment on or make changes to this bug.
Description
•