Closed Bug 1051762 Opened 10 years ago Closed 6 years ago

Marionette web-api tests not starting on emulator-jb with gecko 2.0, "ImportError: cannot import name uses_marionette"

Categories

(Firefox OS Graveyard :: Emulator, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tauzen, Unassigned)

Details

I cannot start marionette web-api tests on emulator-jb with v2.0 gecko. Error log below

>./mach marionette-webapi gecko/dom/nfc/tests/marionette/manifest.ini 
>B2G_DIR = /Volumes/firefoxos/B2G
>Error running mach:
>    ['marionette-webapi', 'gecko/dom/nfc/tests/marionette/manifest.ini']
>The error occurred in code that was called by the mach command. This is either
>a bug in the called code itself or in the way that mach is calling it.
>You should consider filing a bug for this issue.
>If filing a bug, please include the full output of mach, including this error
>message.
>The details of the failure are as follows:
>ImportError: cannot import name uses_marionette
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/mach_commands.py", line 90, in run_marionette_webapi
>    testtype=testtype, topsrcdir=self.topsrcdir, address=None)
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/mach_commands.py", line 30, in run_marionette
>    from marionette.runtests import (
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/client/marionette/__init__.py", line 5, in <module>
>    from gestures import smooth_scroll, pinch
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/client/marionette/gestures.py", line 5, in <module>
>    from marionette import MultiActions, Actions
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/client/marionette/marionette.py", line 29, in <module>
>    import geckoinstance
>  File "/Volumes/firefoxos/B2G/gecko/testing/marionette/client/marionette/geckoinstance.py", line 9, in <module>
>    from mozrunner import Runner
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/__init__.py", line 6, in <module>
>    from .local import *
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/local.py", line 20, in <module>
>    from .base import Runner
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/base/__init__.py", line 2, in <module>
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/base/device.py", line 15, in <module>
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/devices/__init__.py", line 5, in <module>
>  File "/Volumes/firefoxos/B2G/gecko/testing/mozbase/mozrunner/mozrunner/devices/emulator.py", line 20, in <module>
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.