Closed
Bug 1500327
Opened 6 years ago
Closed 6 years ago
Intermittent /webdriver/tests/back/user_prompts.py | test_accept[capabilities0-alert] - setup error
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: shindli [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=206546288&repo=mozilla-inbound
https://queue.taskcluster.net/v1/task/ZcHtBojcSzKC9AVuVBC8zw/runs/0/artifacts/public/logs/live_backing.log
INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :20: in inner
22:34:40 INFO - STDOUT: return func(self, *args, **kwargs)
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :259: in size
22:34:40 INFO - STDOUT: self.session.send_session_command("POST", "window/rect", body)
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :508: in send_session_command
22:34:40 INFO - STDOUT: return self.send_command(method, url, body)
22:34:40 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - STDOUT: self = <Session 0fdff61d-7188-a846-9c1d-6ed06ef66868>, method = 'POST'
22:34:40 INFO - STDOUT: url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - STDOUT: body = {'height': 600, 'width': 800}
22:34:40 INFO - STDOUT: def send_command(self, method, url, body=None):
22:34:40 INFO - STDOUT: """
22:34:40 INFO - STDOUT: Send a command to the remote end and validate its success.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :param method: HTTP method to use in request.
22:34:40 INFO - STDOUT: :param uri: "Command part" of the HTTP request URL,
22:34:40 INFO - STDOUT: e.g. `window/rect`.
22:34:40 INFO - STDOUT: :param body: Optional body of the HTTP request.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :return: `None` if the HTTP response body was empty, otherwise
22:34:40 INFO - STDOUT: the `value` field returned after parsing the response
22:34:40 INFO - STDOUT: body as JSON.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :raises error.WebDriverException: If the remote end returns
22:34:40 INFO - STDOUT: an error.
22:34:40 INFO - STDOUT: :raises ValueError: If the response body does not contain a
22:34:40 INFO - STDOUT: `value` key.
22:34:40 INFO - STDOUT: """
22:34:40 INFO - STDOUT: response = self.transport.send(
22:34:40 INFO - STDOUT: method, url, body,
22:34:40 INFO - STDOUT: encoder=protocol.Encoder, decoder=protocol.Decoder,
22:34:40 INFO - STDOUT: session=self)
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: if response.status != 200:
22:34:40 INFO - STDOUT: err = error.from_response(response)
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: if isinstance(err, error.InvalidSessionIdException):
22:34:40 INFO - STDOUT: # The driver could have already been deleted the session.
22:34:40 INFO - STDOUT: self.session_id = None
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: > raise err
22:34:40 INFO - STDOUT: E UnknownErrorException: unknown error (500): Failed to decode response from marionette
22:34:40 INFO - STDOUT: body = {'height': 600, 'width': 800}
22:34:40 INFO - STDOUT: err = <UnknownErrorException http_status=500>
22:34:40 INFO - STDOUT: method = 'POST'
22:34:40 INFO - STDOUT: response = <Response status=500 error=<UnknownErrorException http_status=500>>
22:34:40 INFO - STDOUT: self = <Session 0fdff61d-7188-a846-9c1d-6ed06ef66868>
22:34:40 INFO - STDOUT: url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :472: UnknownErrorException
22:34:40 INFO - STDOUT: _____________ ERROR at setup of test_accept[capabilities0-confirm] _____________
22:34:40 INFO - STDOUT: capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_accept[capabilities0-confirm]'>>
22:34:40 INFO - STDOUT: @pytest.fixture(scope="function")
22:34:40 INFO - STDOUT: def session(capabilities, configuration, request):
22:34:40 INFO - STDOUT: """Create and start a session for a test that does not itself test session creation.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: By default the session will stay open after each test, but we always try to start a
22:34:40 INFO - STDOUT: new one and assume that if that fails there is already a valid session. This makes it
22:34:40 INFO - STDOUT: possible to recover from some errors that might leave the session in a bad state, but
22:34:40 INFO - STDOUT: does not demand that we start a new session per test."""
22:34:40 INFO - STDOUT: global _current_session
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: # Update configuration capabilities with custom ones from the
22:34:40 INFO - STDOUT: # capabilities fixture, which can be set by tests
22:34:40 INFO - STDOUT: caps = copy.deepcopy(configuration["capabilities"])
22:34:40 INFO - STDOUT: caps.update(capabilities)
22:34:40 INFO - STDOUT: caps = {"alwaysMatch": caps}
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: # If there is a session with different capabilities active, end it now
22:34:40 INFO - STDOUT: if _current_session is not None and (
22:34:40 INFO - STDOUT: caps != _current_session.requested_capabilities):
22:34:40 INFO - STDOUT: _current_session.end()
22:34:40 INFO - STDOUT: _current_session = None
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: if _current_session is None:
22:34:40 INFO - STDOUT: _current_session = webdriver.Session(
22:34:40 INFO - STDOUT: configuration["host"],
22:34:40 INFO - STDOUT: configuration["port"],
22:34:40 INFO - STDOUT: capabilities=caps)
22:34:40 INFO - STDOUT: try:
22:34:40 INFO - STDOUT: _current_session.start()
22:34:40 INFO - STDOUT: except webdriver.error.SessionNotCreatedException:
22:34:40 INFO - STDOUT: if not _current_session.session_id:
22:34:40 INFO - STDOUT: raise
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: # Enforce a fixed default window size
22:34:40 INFO - STDOUT: > _current_session.window.size = defaults.WINDOW_SIZE
22:34:40 INFO - STDOUT: capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - STDOUT: caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Night...platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept'}}
22:34:40 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_accept[capabilities0-confirm]'>>
22:34:40 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/conftest.py
22:34:40 INFO - STDOUT: :156:
22:34:40 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :20: in inner
22:34:40 INFO - STDOUT: return func(self, *args, **kwargs)
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :259: in size
22:34:40 INFO - STDOUT: self.session.send_session_command("POST", "window/rect", body)
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :508: in send_session_command
22:34:40 INFO - STDOUT: return self.send_command(method, url, body)
22:34:40 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - STDOUT: self = <Session (disconnected)>, method = 'POST'
22:34:40 INFO - STDOUT: url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - STDOUT: body = {'height': 600, 'width': 800}
22:34:40 INFO - STDOUT: def send_command(self, method, url, body=None):
22:34:40 INFO - STDOUT: """
22:34:40 INFO - STDOUT: Send a command to the remote end and validate its success.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :param method: HTTP method to use in request.
22:34:40 INFO - STDOUT: :param uri: "Command part" of the HTTP request URL,
22:34:40 INFO - STDOUT: e.g. `window/rect`.
22:34:40 INFO - STDOUT: :param body: Optional body of the HTTP request.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :return: `None` if the HTTP response body was empty, otherwise
22:34:40 INFO - STDOUT: the `value` field returned after parsing the response
22:34:40 INFO - STDOUT: body as JSON.
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: :raises error.WebDriverException: If the remote end returns
22:34:40 INFO - STDOUT: an error.
22:34:40 INFO - STDOUT: :raises ValueError: If the response body does not contain a
22:34:40 INFO - STDOUT: `value` key.
22:34:40 INFO - STDOUT: """
22:34:40 INFO - STDOUT: response = self.transport.send(
22:34:40 INFO - STDOUT: method, url, body,
22:34:40 INFO - STDOUT: encoder=protocol.Encoder, decoder=protocol.Decoder,
22:34:40 INFO - STDOUT: session=self)
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: if response.status != 200:
22:34:40 INFO - STDOUT: err = error.from_response(response)
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: if isinstance(err, error.InvalidSessionIdException):
22:34:40 INFO - STDOUT: # The driver could have already been deleted the session.
22:34:40 INFO - STDOUT: self.session_id = None
22:34:40 INFO - STDOUT:
22:34:40 INFO - STDOUT: > raise err
22:34:40 INFO - STDOUT: E InvalidSessionIdException: invalid session id (404): Tried to run command without establishing a connection
22:34:40 INFO - STDOUT: body = {'height': 600, 'width': 800}
22:34:40 INFO - STDOUT: err = <InvalidSessionIdException http_status=404>
22:34:40 INFO - STDOUT: method = 'POST'
22:34:40 INFO - STDOUT: response = <Response status=404 error=<InvalidSessionIdException http_status=404>>
22:34:40 INFO - STDOUT: self = <Session (disconnected)>
22:34:40 INFO - STDOUT: url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
22:34:40 INFO - STDOUT: :472: InvalidSessionIdException
22:34:40 INFO - STDOUT: =============================== warnings summary ===============================
22:34:40 INFO - STDOUT: <undetermined location>
22:34:40 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
22:34:40 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
22:34:40 INFO - STDOUT: =============== 16 passed, 1 warnings, 2 error in 34.58 seconds ================
22:34:40 INFO -
22:34:40 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/back/user_prompts.py | test_accept[capabilities0-alert] - setup error
22:34:40 INFO - capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - request = <SubRequest 'session' for <Function 'test_accept[capabilities0-alert]'>>
22:34:40 INFO -
22:34:40 INFO - @pytest.fixture(scope="function")
22:34:40 INFO - def session(capabilities, configuration, request):
22:34:40 INFO - """Create and start a session for a test that does not itself test session creation.
22:34:40 INFO -
22:34:40 INFO - By default the session will stay open after each test, but we always try to start a
22:34:40 INFO - new one and assume that if that fails there is already a valid session. This makes it
22:34:40 INFO - possible to recover from some errors that might leave the session in a bad state, but
22:34:40 INFO - does not demand that we start a new session per test."""
22:34:40 INFO - global _current_session
22:34:40 INFO -
22:34:40 INFO - # Update configuration capabilities with custom ones from the
22:34:40 INFO - # capabilities fixture, which can be set by tests
22:34:40 INFO - caps = copy.deepcopy(configuration["capabilities"])
22:34:40 INFO - caps.update(capabilities)
22:34:40 INFO - caps = {"alwaysMatch": caps}
22:34:40 INFO -
22:34:40 INFO - # If there is a session with different capabilities active, end it now
22:34:40 INFO - if _current_session is not None and (
22:34:40 INFO - caps != _current_session.requested_capabilities):
22:34:40 INFO - _current_session.end()
22:34:40 INFO - _current_session = None
22:34:40 INFO -
22:34:40 INFO - if _current_session is None:
22:34:40 INFO - _current_session = webdriver.Session(
22:34:40 INFO - configuration["host"],
22:34:40 INFO - configuration["port"],
22:34:40 INFO - capabilities=caps)
22:34:40 INFO - try:
22:34:40 INFO - _current_session.start()
22:34:40 INFO - except webdriver.error.SessionNotCreatedException:
22:34:40 INFO - if not _current_session.session_id:
22:34:40 INFO - raise
22:34:40 INFO -
22:34:40 INFO - # Enforce a fixed default window size
22:34:40 INFO - > _current_session.window.size = defaults.WINDOW_SIZE
22:34:40 INFO -
22:34:40 INFO - capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Night...platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept'}}
22:34:40 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - request = <SubRequest 'session' for <Function 'test_accept[capabilities0-alert]'>>
22:34:40 INFO -
22:34:40 INFO - tests/web-platform/tests/webdriver/tests/conftest.py:156:
22:34:40 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
22:34:40 INFO - return func(self, *args, **kwargs)
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:259: in size
22:34:40 INFO - self.session.send_session_command("POST", "window/rect", body)
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:508: in send_session_command
22:34:40 INFO - return self.send_command(method, url, body)
22:34:40 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO -
22:34:40 INFO - self = <Session 0fdff61d-7188-a846-9c1d-6ed06ef66868>, method = 'POST'
22:34:40 INFO - url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - body = {'height': 600, 'width': 800}
22:34:40 INFO -
22:34:40 INFO - def send_command(self, method, url, body=None):
22:34:40 INFO - """
22:34:40 INFO - Send a command to the remote end and validate its success.
22:34:40 INFO -
22:34:40 INFO - :param method: HTTP method to use in request.
22:34:40 INFO - :param uri: "Command part" of the HTTP request URL,
22:34:40 INFO - e.g. `window/rect`.
22:34:40 INFO - :param body: Optional body of the HTTP request.
22:34:40 INFO -
22:34:40 INFO - :return: `None` if the HTTP response body was empty, otherwise
22:34:40 INFO - the `value` field returned after parsing the response
22:34:40 INFO - body as JSON.
22:34:40 INFO -
22:34:40 INFO - :raises error.WebDriverException: If the remote end returns
22:34:40 INFO - an error.
22:34:40 INFO - :raises ValueError: If the response body does not contain a
22:34:40 INFO - `value` key.
22:34:40 INFO - """
22:34:40 INFO - response = self.transport.send(
22:34:40 INFO - method, url, body,
22:34:40 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder,
22:34:40 INFO - session=self)
22:34:40 INFO -
22:34:40 INFO - if response.status != 200:
22:34:40 INFO - err = error.from_response(response)
22:34:40 INFO -
22:34:40 INFO - if isinstance(err, error.InvalidSessionIdException):
22:34:40 INFO - # The driver could have already been deleted the session.
22:34:40 INFO - self.session_id = None
22:34:40 INFO -
22:34:40 INFO - > raise err
22:34:40 INFO - E UnknownErrorException: unknown error (500): Failed to decode response from marionette
22:34:40 INFO -
22:34:40 INFO - body = {'height': 600, 'width': 800}
22:34:40 INFO - err = <UnknownErrorException http_status=500>
22:34:40 INFO - method = 'POST'
22:34:40 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
22:34:40 INFO - self = <Session 0fdff61d-7188-a846-9c1d-6ed06ef66868>
22:34:40 INFO - url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO -
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:472: UnknownErrorException
22:34:40 INFO -
22:34:40 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/back/user_prompts.py | test_accept[capabilities0-confirm] - setup error
22:34:40 INFO - capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - request = <SubRequest 'session' for <Function 'test_accept[capabilities0-confirm]'>>
22:34:40 INFO -
22:34:40 INFO - @pytest.fixture(scope="function")
22:34:40 INFO - def session(capabilities, configuration, request):
22:34:40 INFO - """Create and start a session for a test that does not itself test session creation.
22:34:40 INFO -
22:34:40 INFO - By default the session will stay open after each test, but we always try to start a
22:34:40 INFO - new one and assume that if that fails there is already a valid session. This makes it
22:34:40 INFO - possible to recover from some errors that might leave the session in a bad state, but
22:34:40 INFO - does not demand that we start a new session per test."""
22:34:40 INFO - global _current_session
22:34:40 INFO -
22:34:40 INFO - # Update configuration capabilities with custom ones from the
22:34:40 INFO - # capabilities fixture, which can be set by tests
22:34:40 INFO - caps = copy.deepcopy(configuration["capabilities"])
22:34:40 INFO - caps.update(capabilities)
22:34:40 INFO - caps = {"alwaysMatch": caps}
22:34:40 INFO -
22:34:40 INFO - # If there is a session with different capabilities active, end it now
22:34:40 INFO - if _current_session is not None and (
22:34:40 INFO - caps != _current_session.requested_capabilities):
22:34:40 INFO - _current_session.end()
22:34:40 INFO - _current_session = None
22:34:40 INFO -
22:34:40 INFO - if _current_session is None:
22:34:40 INFO - _current_session = webdriver.Session(
22:34:40 INFO - configuration["host"],
22:34:40 INFO - configuration["port"],
22:34:40 INFO - capabilities=caps)
22:34:40 INFO - try:
22:34:40 INFO - _current_session.start()
22:34:40 INFO - except webdriver.error.SessionNotCreatedException:
22:34:40 INFO - if not _current_session.session_id:
22:34:40 INFO - raise
22:34:40 INFO -
22:34:40 INFO - # Enforce a fixed default window size
22:34:40 INFO - > _current_session.window.size = defaults.WINDOW_SIZE
22:34:40 INFO -
22:34:40 INFO - capabilities = {'unhandledPromptBehavior': 'accept'}
22:34:40 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Night...platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept'}}
22:34:40 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1539927046/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
22:34:40 INFO - request = <SubRequest 'session' for <Function 'test_accept[capabilities0-confirm]'>>
22:34:40 INFO -
22:34:40 INFO - tests/web-platform/tests/webdriver/tests/conftest.py:156:
22:34:40 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
22:34:40 INFO - return func(self, *args, **kwargs)
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:259: in size
22:34:40 INFO - self.session.send_session_command("POST", "window/rect", body)
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:508: in send_session_command
22:34:40 INFO - return self.send_command(method, url, body)
22:34:40 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22:34:40 INFO -
22:34:40 INFO - self = <Session (disconnected)>, method = 'POST'
22:34:40 INFO - url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO - body = {'height': 600, 'width': 800}
22:34:40 INFO -
22:34:40 INFO - def send_command(self, method, url, body=None):
22:34:40 INFO - """
22:34:40 INFO - Send a command to the remote end and validate its success.
22:34:40 INFO -
22:34:40 INFO - :param method: HTTP method to use in request.
22:34:40 INFO - :param uri: "Command part" of the HTTP request URL,
22:34:40 INFO - e.g. `window/rect`.
22:34:40 INFO - :param body: Optional body of the HTTP request.
22:34:40 INFO -
22:34:40 INFO - :return: `None` if the HTTP response body was empty, otherwise
22:34:40 INFO - the `value` field returned after parsing the response
22:34:40 INFO - body as JSON.
22:34:40 INFO -
22:34:40 INFO - :raises error.WebDriverException: If the remote end returns
22:34:40 INFO - an error.
22:34:40 INFO - :raises ValueError: If the response body does not contain a
22:34:40 INFO - `value` key.
22:34:40 INFO - """
22:34:40 INFO - response = self.transport.send(
22:34:40 INFO - method, url, body,
22:34:40 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder,
22:34:40 INFO - session=self)
22:34:40 INFO -
22:34:40 INFO - if response.status != 200:
22:34:40 INFO - err = error.from_response(response)
22:34:40 INFO -
22:34:40 INFO - if isinstance(err, error.InvalidSessionIdException):
22:34:40 INFO - # The driver could have already been deleted the session.
22:34:40 INFO - self.session_id = None
22:34:40 INFO -
22:34:40 INFO - > raise err
22:34:40 INFO - E InvalidSessionIdException: invalid session id (404): Tried to run command without establishing a connection
22:34:40 INFO -
22:34:40 INFO - body = {'height': 600, 'width': 800}
22:34:40 INFO - err = <InvalidSessionIdException http_status=404>
22:34:40 INFO - method = 'POST'
22:34:40 INFO - response = <Response status=404 error=<InvalidSessionIdException http_status=404>>
22:34:40 INFO - self = <Session (disconnected)>
22:34:40 INFO - url = 'session/0fdff61d-7188-a846-9c1d-6ed06ef66868/window/rect'
22:34:40 INFO -
22:34:40 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:472: InvalidSessionIdException
22:34:40 INFO - ................
22:34:40 INFO - TEST-OK | /webdriver/tests/back/user_prompts.py | took 34663ms
22:34:40 INFO - Closing logging queue
22:34:40 INFO - queue closed
22:34:40 INFO - Starting runner
22:34:40 INFO - PID 745 | 1539927280981 webdriver::httpapi DEBUG Creating routes
22:34:40 INFO - PID 745 | 1539927280987 geckodriver DEBUG Listening on 127.0.0.1:4444
22:34:41 INFO - WebDriver HTTP server listening at http://127.0.0.1:4444/
22:34:41 INFO - TEST-START | /webdriver/tests/delete_all_cookies/delete.py
22:34:41 INFO - STDOUT: ============================= test session starts ==============================
22:34:41 INFO - STDOUT: platform darwin -- Python 2.7.10, pytest-unknown, py-1.5.2, pluggy-0.5.3.dev -- /Users/cltbld/tasks/task_1539927046/build/venv/bin/python
22:34:41 INFO - STDOUT: rootdir: /Users/cltbld/tasks/task_1539927046/build, inifile:
22:34:41 INFO - STDOUT: collecting ...
22:34:41 INFO - STDOUT: collected 2 items
22:34:41 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/delete_all_cookies/delete.py::test_null_response_value
Comment 1•6 years ago
|
||
Firefox crashed. To get the crash information we need bug 1490906 fixed.
Depends on: 1490906
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 3•6 years ago
|
||
No, this is not a dupe, because it's a crash and not a startup hang. See the first failure message, and my last comment.
Status: RESOLVED → REOPENED
Flags: needinfo?(aryx.bugmail)
Resolution: DUPLICATE → ---
Updated•6 years ago
|
Flags: needinfo?(aryx.bugmail)
Comment hidden (Intermittent Failures Robot) |
Comment 5•6 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → INCOMPLETE
Comment 6•2 years ago
|
||
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.
Description
•