Closed Bug 1545078 Opened 7 years ago Closed 7 years ago

Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_ignore[capabilities0-alert] - setup error - UnknownErrorException: unknown error (500): Failed to decode response from marionette

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1488790

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: nbeleuzu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=240918800&repo=autoland

https://queue.taskcluster.net/v1/task/QDUm3uW1Te6bN5GWFNjAQA/runs/0/artifacts/public/logs/live_backing.log

11:54:48 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_window_handle/user_prompts.py | test_ignore[capabilities0-alert] - setup error
11:54:48 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
11:54:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1555501307/build/application/Firefox Nigh...orm.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4446}
11:54:48 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
11:54:48 INFO -
11:54:48 INFO - @pytest.fixture(scope="function")
11:54:48 INFO - def session(capabilities, configuration, request):
11:54:48 INFO - """Create and start a session for a test that does not itself test session creation.
11:54:48 INFO -
11:54:48 INFO - By default the session will stay open after each test, but we always try to start a
11:54:48 INFO - new one and assume that if that fails there is already a valid session. This makes it
11:54:48 INFO - possible to recover from some errors that might leave the session in a bad state, but
11:54:48 INFO - does not demand that we start a new session per test."""
11:54:48 INFO - global _current_session
11:54:48 INFO -
11:54:48 INFO - # Update configuration capabilities with custom ones from the
11:54:48 INFO - # capabilities fixture, which can be set by tests
11:54:48 INFO - caps = copy.deepcopy(configuration["capabilities"])
11:54:48 INFO - caps.update(capabilities)
11:54:48 INFO - caps = {"alwaysMatch": caps}
11:54:48 INFO -
11:54:48 INFO - # If there is a session with different capabilities active, end it now
11:54:48 INFO - if _current_session is not None and (
11:54:48 INFO - caps != _current_session.requested_capabilities):
11:54:48 INFO - > _current_session.end()
11:54:48 INFO -
11:54:48 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
11:54:48 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1555501307/build/application/Firefox Night...m.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}, 'unhandledPromptBehavior': 'ignore'}}
11:54:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1555501307/build/application/Firefox Nigh...orm.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4446}
11:54:48 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
11:54:48 INFO -
11:54:48 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:141:
11:54:48 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11:54:48 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:436: in end
11:54:48 INFO - self.send_command("DELETE", "session/%s" % self.session_id)
11:54:48 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11:54:48 INFO -
11:54:48 INFO - self = <Session (disconnected)>, method = 'DELETE'
11:54:48 INFO - url = 'session/9de54bd4-4605-ad47-97dd-a251279ccda0', body = None
11:54:48 INFO -
11:54:48 INFO - def send_command(self, method, url, body=None):
11:54:48 INFO - """
11:54:48 INFO - Send a command to the remote end and validate its success.
11:54:48 INFO -
11:54:48 INFO - :param method: HTTP method to use in request.
11:54:48 INFO - :param uri: "Command part" of the HTTP request URL,
11:54:48 INFO - e.g. `window/rect`.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_ignore[capabilities0-alert] - setup error → Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_ignore[capabilities0-alert] - setup error - UnknownErrorException: unknown error (500): Failed to decode response from marionette
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.