Closed Bug 827504 Opened 13 years ago Closed 13 years ago

Marionette timeout waiting for port when running crashtests

Categories

(Testing :: Reftest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox20 fixed, firefox21 fixed, b2g18 fixed)

RESOLVED FIXED
Tracking Status
firefox20 --- fixed
firefox21 --- fixed
b2g18 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(1 file)

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
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: nobody → ahalberstadt
Status: NEW → ASSIGNED
Attachment #700063 - Flags: review?(jgriffin)
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+
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.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: