Closed
Bug 1011668
Opened 11 years ago
Closed 11 years ago
TypeError: not enough arguments for format string error trying to wrap a low-level crash (Crash Reporter)
Categories
(Testing :: Marionette Client and Harness, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla32
People
(Reporter: stephend, Assigned: varun.tinkle)
References
()
Details
(Keywords: pi-marionette-client, Whiteboard: [good first bug][lang=py][mentor=automatedtester])
Attachments
(1 file)
|
638 bytes,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
Our automation Flame hit https://crash-stats.mozilla.com/report/index/64512080-78d8-4769-975d-0857f2140516 (bug 1010292), which triggered the modal Crash Reporter dialog.
Looks like Marionette didn't capture/wrap it properly, resulting in:
(log snip)
...
11:28:35 File "/var/jenkins/workspace/b2g.flame.mozilla-central.adhoc.test_settings_wifi/.env/local/lib/python2.7/site-packages/marionette_transport-0.1-py2.7.egg/marionette_transport/transport.py", line 94, in send
11:28:35 raise IOError("%s: %s" % (str(e)), self.connection_lost_msg)
11:28:35 TypeError: not enough arguments for format string
http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-central.adhoc.test_settings_wifi/26/console
Comment 1•11 years ago
|
||
We need to fix http://dxr.mozilla.org/mozilla-central/source/testing/marionette/transport/marionette_transport/transport.py#96
Looks like brackets are not done properly only passing in one argument.
Whiteboard: [good first bug][lang=py][mentor=automatedtester]
Updated•11 years ago
|
Keywords: ateam-marionette-client
This is the correct code. Please tell me what steps to follow to get it integrated in the main repository.
raise IOError("%s: %s" % (str(e), self.connection_lost_msg) )
Attachment #8426341 -
Flags: review?(dburns)
Comment 5•11 years ago
|
||
Comment on attachment 8426341 [details] [diff] [review]
bug1011668.diff
Looks good, pushing to try https://tbpl.mozilla.org/?tree=Try&rev=cbdb2222b55b
Attachment #8426341 -
Flags: review?(dburns) → review+
Flags: needinfo?(dburns)
Comment 6•11 years ago
|
||
Since Varun's provided a patch, I'm assigning to Varun.
Assignee: nobody → varun.tinkle
Comment 7•11 years ago
|
||
Landed in https://hg.mozilla.org/integration/mozilla-inbound/rev/f797fb250394
Varun, Thanks for the patch! The next step is that it will run through the Mozilla build and test infrastructure. If all is good it will be merged to Mozilla-Central and the bug will be closed.
If you are wanting to try another bug, we have a few in https://bugzilla.mozilla.org/buglist.cgi?cmdtype=runnamed&namedcmd=marionette-gfb&list_id=10277951 and I will be adding more soon!
Thanks again!
Flags: needinfo?(dburns)
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
| Reporter | ||
Comment 11•11 years ago
|
||
Thx, I haven't seen this since; verified with:
sdonner-10779:B2G-flash-tool sdonner$ ./check_versions.sh
Gaia 0f9f11d0a6dadb3ea27160204bbe911c1ad69a6f
Gecko https://hg.mozilla.org/mozilla-central/rev/196d05832e12
BuildID 20140709040203
Version 33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Product: Testing → Remote Protocol
Comment 12•2 years ago
|
||
Moving bugs for Marionette client due to component changes.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•