Closed
Bug 827504
Opened 13 years ago
Closed 13 years ago
Marionette timeout waiting for port when running crashtests
Categories
(Testing :: Reftest, defect)
Tracking
(firefox20 fixed, firefox21 fixed, b2g18 fixed)
RESOLVED
FIXED
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(1 file)
|
1.25 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
The problem is that emulator.wait_for_port() is timing out:
http://mxr.mozilla.org/mozilla-central/source/build/mobile/b2gautomation.py#243
The odd part is that if I change 'testing/crashtest/crashtest.list' to 'layout/reftests/reftest.list' everything works fine.
Logcat (http://www.pastebin.mozilla.org/2044131) reveals:
E/GeckoConsole( 298): [JavaScript Warning: "Duplicate resource declaration for 'specialpowers' ignored." {file: "file:///system/b2g/distribution/bundles/special-powers@mozilla.org/chrome.manifest" line: 2}]
E/GeckoConsole( 298): [JavaScript Error: "SpecialPowersObserverAPI is not defined" {file: "file:///system/b2g/distribution/bundles/special-powers@mozilla.org/components/SpecialPowersObserver.js" line: 37}]
E/GeckoConsole( 298): While creating services from category 'profile-after-change', could not create service for entry '@mozilla.org/special-powers-observer;1', contract ID '@mozilla.org/special-powers-observer;1'
I/Gecko ( 298): 1357587902227 Marionette INFO MarionetteComponent loaded
I/Gecko ( 298): 1357587902251 Marionette INFO marionette enabled, loadearly: true
| Assignee | ||
Comment 1•13 years ago
|
||
This is happening because of http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/runreftest.py#89 which instantiates specialpowers a second time which causes an exception. Patch upcoming.
| Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Comment on attachment 700063 [details] [diff] [review]
Patch 1.0 - prevent specialpowers extension from installing
Review of attachment 700063 [details] [diff] [review]:
-----------------------------------------------------------------
In mochitest we use http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtestsb2g.py#115 to similar effect. We could probably use the same thing here, but this is fine too.
Attachment #700063 -
Flags: review?(jgriffin) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
extensionsToExclude is implemented in mochitest runtests.py but not in runreftest.py. I'll just stick to the original patch rather than mucking around in runreftest.py.
| Assignee | ||
Comment 5•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4610df88dae7
https://hg.mozilla.org/releases/mozilla-aurora/rev/e661d432085b
https://hg.mozilla.org/releases/mozilla-b2g18/rev/6b59251e3eb5
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
status-b2g18:
--- → fixed
status-firefox20:
--- → fixed
status-firefox21:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•