Closed Bug 1097603 Opened 11 years ago Closed 11 years ago

Tests fail with "MarionetteException: Please start a session" since bug 1073732

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: davehunt, Unassigned)

Details

The change in bug 1073732 appears to break backwards compatibility. Until a new nightly build is available the tests will fail with the following trace: $ python runtests.py --binary=/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin tests/unit/test_expected.py Traceback (most recent call last): File "runtests.py", line 40, in <module> cli() File "runtests.py", line 35, in cli runner = startTestRunner(runner_class, options, tests) File "runtests.py", line 20, in startTestRunner runner.run_tests(tests) File "/Users/dhunt/workspace/mozilla/mozilla-central/testing/marionette/client/marionette/runner/base.py", line 703, in run_tests self.capabilities File "/Users/dhunt/workspace/mozilla/mozilla-central/testing/marionette/client/marionette/runner/base.py", line 548, in capabilities self._capabilities = self.marionette.session_capabilities File "/Users/dhunt/workspace/mozilla/mozilla-central/testing/marionette/client/marionette/marionette.py", line 853, in session_capabilities response = self._send_message('getSessionCapabilities', 'value') File "/Users/dhunt/workspace/mozilla/mozilla-central/testing/marionette/client/marionette/decorators.py", line 36, in _ return func(*args, **kwargs) File "/Users/dhunt/workspace/mozilla/mozilla-central/testing/marionette/client/marionette/marionette.py", line 612, in _send_message raise errors.MarionetteException("Please start a session") errors.MarionetteException: MarionetteException: Please start a session Was the intention to break backwards compatibility? I suspect also that a new Marionette client will need to be released to PyPI once we have new nightly builds.
Flags: needinfo?(dburns)
Summary: Tests fail with MarionetteException: Please start a session since bug 1073732 → Tests fail with "MarionetteException: Please start a session" since bug 1073732
Spoke to Dave about this on IRC and apologized profusely.
Flags: needinfo?(dburns)
So this just means that when a new client is release that it won't be able to run against older nightly builds. It turns out that the current released client is still compatible with the latest nightly builds.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.