Closed
Bug 1485844
Opened 6 years ago
Closed 6 years ago
Intermittent /webdriver/tests/find_elements_from_element/find.py | test_xhtml_namespace[css selector-#linkText] - NoSuchWindowException: no such window (404): Browsing context has been discarded
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, regression)
Filed by: csabou [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=195626368&repo=mozilla-central
https://queue.taskcluster.net/v1/task/ScmHNQJeQFytxOg2q90MQA/runs/0/artifacts/public/logs/live_backing.log
task 2018-08-23T22:32:25.610Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2018-08-23T22:32:25.610Z] 22:32:25 INFO - STDOUT: :20: in inner
[task 2018-08-23T22:32:25.611Z] 22:32:25 INFO - STDOUT: return func(self, *args, **kwargs)
[task 2018-08-23T22:32:25.611Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2018-08-23T22:32:25.612Z] 22:32:25 INFO - STDOUT: :632: in execute_script
[task 2018-08-23T22:32:25.612Z] 22:32:25 INFO - STDOUT: return self.send_session_command("POST", "execute/sync", body)
[task 2018-08-23T22:32:25.612Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2018-08-23T22:32:25.613Z] 22:32:25 INFO - STDOUT: :509: in send_session_command
[task 2018-08-23T22:32:25.613Z] 22:32:25 INFO - STDOUT: return self.send_command(method, url, body)
[task 2018-08-23T22:32:25.613Z] 22:32:25 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2018-08-23T22:32:25.614Z] 22:32:25 INFO - STDOUT: self = <Session c853931f-86a4-496d-b751-64cdab07bd32>, method = 'POST'
[task 2018-08-23T22:32:25.615Z] 22:32:25 INFO - STDOUT: url = 'session/c853931f-86a4-496d-b751-64cdab07bd32/execute/sync'
[task 2018-08-23T22:32:25.615Z] 22:32:25 INFO - STDOUT: body = {'args': [], 'script': 'return document.links[0]'}
[task 2018-08-23T22:32:25.615Z] 22:32:25 INFO - STDOUT: def send_command(self, method, url, body=None):
[task 2018-08-23T22:32:25.616Z] 22:32:25 INFO - STDOUT: """
[task 2018-08-23T22:32:25.616Z] 22:32:25 INFO - STDOUT: Send a command to the remote end and validate its success.
[task 2018-08-23T22:32:25.617Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.617Z] 22:32:25 INFO - STDOUT: :param method: HTTP method to use in request.
[task 2018-08-23T22:32:25.617Z] 22:32:25 INFO - STDOUT: :param uri: "Command part" of the HTTP request URL,
[task 2018-08-23T22:32:25.618Z] 22:32:25 INFO - STDOUT: e.g. `window/rect`.
[task 2018-08-23T22:32:25.618Z] 22:32:25 INFO - STDOUT: :param body: Optional body of the HTTP request.
[task 2018-08-23T22:32:25.622Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.622Z] 22:32:25 INFO - STDOUT: :return: `None` if the HTTP response body was empty, otherwise
[task 2018-08-23T22:32:25.629Z] 22:32:25 INFO - STDOUT: the `value` field returned after parsing the response
[task 2018-08-23T22:32:25.629Z] 22:32:25 INFO - STDOUT: body as JSON.
[task 2018-08-23T22:32:25.630Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: :raises error.WebDriverException: If the remote end returns
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: an error.
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: :raises ValueError: If the response body does not contain a
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: `value` key.
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: """
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: response = self.transport.send(
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: method, url, body,
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2018-08-23T22:32:25.631Z] 22:32:25 INFO - STDOUT: session=self)
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: if response.status != 200:
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: err = error.from_response(response)
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: if isinstance(err, error.InvalidSessionIdException):
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: # The driver could have already been deleted the session.
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: self.session_id = None
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: > raise err
[task 2018-08-23T22:32:25.632Z] 22:32:25 INFO - STDOUT: E NoSuchWindowException: no such window (404): Browsing context has been discarded
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E Remote-end stacktrace:
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E WebDriverError@chrome://marionette/content/error.js:178:5
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E NoSuchWindowError@chrome://marionette/content/error.js:410:5
[task 2018-08-23T22:32:25.633Z] 22:32:25 INFO - STDOUT: E assert.that/<@chrome://marionette/content/assert.js:401:13
[task 2018-08-23T22:32:25.634Z] 22:32:25 INFO - STDOUT: E assert.open@chrome://marionette/content/assert.js:157:10
[task 2018-08-23T22:32:25.634Z] 22:32:25 INFO - STDOUT: E GeckoDriver.prototype.execute_@chrome://marionette/content/driver.js:989:3
[task 2018-08-23T22:32:25.635Z] 22:32:25 INFO - STDOUT: E async*GeckoDriver.prototype.executeScript@chrome://marionette/content/driver.js:900:24
[task 2018-08-23T22:32:25.635Z] 22:32:25 INFO - STDOUT: E Async*despatch@chrome://marionette/content/server.js:298:20
[task 2018-08-23T22:32:25.635Z] 22:32:25 INFO - STDOUT: E async*execute@chrome://marionette/content/server.js:271:11
[task 2018-08-23T22:32:25.636Z] 22:32:25 INFO - STDOUT: E async*onPacket/<@chrome://marionette/content/server.js:246:15
[task 2018-08-23T22:32:25.637Z] 22:32:25 INFO - STDOUT: E async*onPacket@chrome://marionette/content/server.js:245:8
[task 2018-08-23T22:32:25.637Z] 22:32:25 INFO - STDOUT: E _onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9
[task 2018-08-23T22:32:25.638Z] 22:32:25 INFO - STDOUT: body = {'args': [], 'script': 'return document.links[0]'}
[task 2018-08-23T22:32:25.638Z] 22:32:25 INFO - STDOUT: err = <NoSuchWindowException http_status=404>
[task 2018-08-23T22:32:25.639Z] 22:32:25 INFO - STDOUT: method = 'POST'
[task 2018-08-23T22:32:25.639Z] 22:32:25 INFO - STDOUT: response = <Response status=404 error=<NoSuchWindowException http_status=404>>
[task 2018-08-23T22:32:25.640Z] 22:32:25 INFO - STDOUT: self = <Session c853931f-86a4-496d-b751-64cdab07bd32>
[task 2018-08-23T22:32:25.641Z] 22:32:25 INFO - STDOUT: url = 'session/c853931f-86a4-496d-b751-64cdab07bd32/execute/sync'
[task 2018-08-23T22:32:25.642Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2018-08-23T22:32:25.642Z] 22:32:25 INFO - STDOUT: :473: NoSuchWindowException
[task 2018-08-23T22:32:25.643Z] 22:32:25 INFO - STDOUT: _____________________ test_parent_of_document_node_errors ______________________
[task 2018-08-23T22:32:25.644Z] 22:32:25 INFO - STDOUT: session = <Session 7f83ae1e-790d-408f-9f98-1d9649eee04b>
[task 2018-08-23T22:32:25.645Z] 22:32:25 INFO - STDOUT: def test_parent_of_document_node_errors(session):
[task 2018-08-23T22:32:25.646Z] 22:32:25 INFO - STDOUT: session.url = inline("")
[task 2018-08-23T22:32:25.646Z] 22:32:25 INFO - STDOUT: from_element = session.execute_script("return document.documentElement")
[task 2018-08-23T22:32:25.647Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.648Z] 22:32:25 INFO - STDOUT: response = find_elements(session, from_element.id, "xpath", "..")
[task 2018-08-23T22:32:25.649Z] 22:32:25 INFO - STDOUT: > assert_error(response, "invalid selector")
[task 2018-08-23T22:32:25.650Z] 22:32:25 INFO - STDOUT: from_element = <Element b06643e7-bb59-4b0c-8912-3ce3a9f88280>
[task 2018-08-23T22:32:25.651Z] 22:32:25 INFO - STDOUT: response = <Responsetatus=200 body={"value": [{"element-6066-11e4-a52e-4f735466cecf": "0644a6d8-0258-481e-b72e-fadb5afc3566"}]}>
[task 2018-08-23T22:32:25.651Z] 22:32:25 INFO - STDOUT: session = <Session 7f83ae1e-790d-408f-9f98-1d9649eee04b>
[task 2018-08-23T22:32:25.652Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/find_elements_from_element/find.py
[task 2018-08-23T22:32:25.653Z] 22:32:25 INFO - STDOUT: :156:
[task 2018-08-23T22:32:25.655Z] 22:32:25 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2018-08-23T22:32:25.655Z] 22:32:25 INFO - STDOUT: response = <Responsetatus=200 body={"value": [{"element-6066-11e4-a52e-4f735466cecf": "0644a6d8-0258-481e-b72e-fadb5afc3566"}]}>
[task 2018-08-23T22:32:25.656Z] 22:32:25 INFO - STDOUT: error_code = 'invalid selector'
[task 2018-08-23T22:32:25.656Z] 22:32:25 INFO - STDOUT: def assert_error(response, error_code):
[task 2018-08-23T22:32:25.657Z] 22:32:25 INFO - STDOUT: """
[task 2018-08-23T22:32:25.657Z] 22:32:25 INFO - STDOUT: Verify that the provided webdriver.Response instance described
[task 2018-08-23T22:32:25.658Z] 22:32:25 INFO - STDOUT: a valid error response as defined by `dfn-send-an-error` and
[task 2018-08-23T22:32:25.658Z] 22:32:25 INFO - STDOUT: the provided error code.
[task 2018-08-23T22:32:25.659Z] 22:32:25 INFO - STDOUT:
[task 2018-08-23T22:32:25.659Z] 22:32:25 INFO - STDOUT: :param response: ``webdriver.Response`` instance.
[task 2018-08-23T22:32:25.661Z] 22:32:25 INFO - STDOUT: :param error_code: String value of the expected error code
[task 2018-08-23T22:32:25.661Z] 22:32:25 INFO - STDOUT: """
[task 2018-08-23T22:32:25.662Z] 22:32:25 INFO - STDOUT: > assert response.status == errors[error_code]
[task 2018-08-23T22:32:25.662Z] 22:32:25 INFO - STDOUT: E assert 200 == 400
[task 2018-08-23T22:32:25.662Z] 22:32:25 INFO - STDOUT: E + where 200 = <Responsetatus=200 body={"value": [{"element-6066-11e4-a52e-4f735466cecf": "0644a6d8-0258-481e-b72e-fadb5afc3566"}]}>.status
[task 2018-08-23T22:32:25.663Z] 22:32:25 INFO - STDOUT: error_code = 'invalid selector'
[task 2018-08-23T22:32:25.663Z] 22:32:25 INFO - STDOUT: response = <Responsetatus=200 body={"value": [{"element-6066-11e4-a52e-4f735466cecf": "0644a6d8-0258-481e-b72e-fadb5afc3566"}]}>
[task 2018-08-23T22:32:25.664Z] 22:32:25 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/asserts.py
[task 2018-08-23T22:32:25.664Z] 22:32:25 INFO - STDOUT: :46: AssertionError
[task 2018-08-23T22:32:25.666Z] 22:32:25 INFO - STDOUT: =============================== warnings summary ===============================
[task 2018-08-23T22:32:25.667Z] 22:32:25 INFO - STDOUT: <undetermined location>
[task 2018-08-23T22:32:25.667Z] 22:32:25 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
[task 2018-08-23T22:32:25.667Z] 22:32:25 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2018-08-23T22:32:25.668Z] 22:32:25 INFO - STDOUT: =============== 2 failed, 35 passed, 1 warnings in 12.43 seconds ===============
[task 2018-08-23T22:32:25.683Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.684Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT]
[task 2018-08-23T22:32:25.684Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_link_text[<a href=# style='text-transform: uppercase'>link text</a>-LINK TEXT]
[task 2018-08-23T22:32:25.684Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#>partial link text</a>-link]
[task 2018-08-23T22:32:25.685Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#> partial link text </a>-link]
[task 2018-08-23T22:32:25.685Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#>partial link text</a>-k t]
[task 2018-08-23T22:32:25.685Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#>partial link<br>text</a>-k
[task 2018-08-23T22:32:25.685Z] 22:32:25 INFO - t]
[task 2018-08-23T22:32:25.686Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#>partial link&text</a>-k&t]
[task 2018-08-23T22:32:25.686Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK]
[task 2018-08-23T22:32:25.686Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_find_elements_partial_link_text[<a href=# style='text-transform: uppercase'>partial link text</a>-LINK]
[task 2018-08-23T22:32:25.686Z] 22:32:25 INFO - TEST-PASS | /webdriver/tests/find_elements_from_element/find.py | test_no_element[css selector-#wontExist]
[task 2018-08-23T22:32:25.686Z] 22:32:25 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/find_elements_from_element/find.py | test_xhtml_namespace[css selector-#linkText] - NoSuchWindowException: no such window (404): Browsing context has been discarded
[task 2018-08-23T22:32:25.687Z] 22:32:25 INFO - session = <Session c853931f-86a4-496d-b751-64cdab07bd32>, using = 'css selector'
[task 2018-08-23T22:32:25.687Z] 22:32:25 INFO - value = '#linkText'
[task 2018-08-23T22:32:25.687Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.688Z] 22:32:25 INFO - @pytest.mark.parametrize("using,value",
[task 2018-08-23T22:32:25.688Z] 22:32:25 INFO - [("css selector", "#linkText"),
[task 2018-08-23T22:32:25.689Z] 22:32:25 INFO - ("link text", "full link text"),
[task 2018-08-23T22:32:25.689Z] 22:32:25 INFO - ("partial link text", "link text"),
[task 2018-08-23T22:32:25.689Z] 22:32:25 INFO - ("tag name", "a"),
[task 2018-08-23T22:32:25.690Z] 22:32:25 INFO - ("xpath", "//*[name()='a']")])
[task 2018-08-23T22:32:25.690Z] 22:32:25 INFO - def test_xhtml_namespace(session, using, value):
[task 2018-08-23T22:32:25.690Z] 22:32:25 INFO - session.url = inline("""<p><a href="#" id="linkText">full link text</a></p>""",
[task 2018-08-23T22:32:25.690Z] 22:32:25 INFO - doctype="xhtml")
[task 2018-08-23T22:32:25.690Z] 22:32:25 INFO - from_element = session.execute_script("""return document.querySelector("p")""")
[task 2018-08-23T22:32:25.691Z] 22:32:25 INFO - > expected = session.execute_script("return document.links[0]")
[task 2018-08-23T22:32:25.691Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.691Z] 22:32:25 INFO - from_element = None
[task 2018-08-23T22:32:25.691Z] 22:32:25 INFO - session = <Session c853931f-86a4-496d-b751-64cdab07bd32>
[task 2018-08-23T22:32:25.692Z] 22:32:25 INFO - using = 'css selector'
[task 2018-08-23T22:32:25.692Z] 22:32:25 INFO - value = '#linkText'
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - tests/web-platform/tests/webdriver/tests/find_elements_from_element/find.py:126:
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - return func(self, *args, **kwargs)
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:632: in execute_script
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - return self.send_session_command("POST", "execute/sync", body)
[task 2018-08-23T22:32:25.694Z] 22:32:25 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:509: in send_session_command
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO - return self.send_command(method, url, body)
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO - self = <Session c853931f-86a4-496d-b751-64cdab07bd32>, method = 'POST'
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO - url = 'session/c853931f-86a4-496d-b751-64cdab07bd32/execute/sync'
[task 2018-08-23T22:32:25.695Z] 22:32:25 INFO - body = {'args': [], 'script': 'return document.links[0]'}
[task 2018-08-23T22:32:25.696Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.696Z] 22:32:25 INFO - def send_command(self, method, url, body=None):
[task 2018-08-23T22:32:25.696Z] 22:32:25 INFO - """
[task 2018-08-23T22:32:25.696Z] 22:32:25 INFO - Send a command to the remote end and validate its success.
[task 2018-08-23T22:32:25.696Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.697Z] 22:32:25 INFO - :param method: HTTP method to use in request.
[task 2018-08-23T22:32:25.697Z] 22:32:25 INFO - :param uri: "Command part" of the HTTP request URL,
[task 2018-08-23T22:32:25.697Z] 22:32:25 INFO - e.g. `window/rect`.
[task 2018-08-23T22:32:25.697Z] 22:32:25 INFO - :param body: Optional body of the HTTP request.
[task 2018-08-23T22:32:25.698Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.698Z] 22:32:25 INFO - :return: `None` if the HTTP response body was empty, otherwise
[task 2018-08-23T22:32:25.698Z] 22:32:25 INFO - the `value` field returned after parsing the response
[task 2018-08-23T22:32:25.698Z] 22:32:25 INFO - body as JSON.
[task 2018-08-23T22:32:25.698Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.699Z] 22:32:25 INFO - :raises error.WebDriverException: If the remote end returns
[task 2018-08-23T22:32:25.699Z] 22:32:25 INFO - an error.
[task 2018-08-23T22:32:25.699Z] 22:32:25 INFO - :raises ValueError: If the response body does not contain a
[task 2018-08-23T22:32:25.699Z] 22:32:25 INFO - `value` key.
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - """
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - response = self.transport.send(
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - method, url, body,
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - session=self)
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - if response.status != 200:
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - err = error.from_response(response)
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.703Z] 22:32:25 INFO - if isinstance(err, error.InvalidSessionIdException):
[task 2018-08-23T22:32:25.704Z] 22:32:25 INFO - # The driver could have already been deleted the session.
[task 2018-08-23T22:32:25.704Z] 22:32:25 INFO - self.session_id = None
[task 2018-08-23T22:32:25.704Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.705Z] 22:32:25 INFO - > raise err
[task 2018-08-23T22:32:25.705Z] 22:32:25 INFO - E NoSuchWindowException: no such window (404): Browsing context has been discarded
[task 2018-08-23T22:32:25.705Z] 22:32:25 INFO - E
[task 2018-08-23T22:32:25.706Z] 22:32:25 INFO - E Remote-end stacktrace:
[task 2018-08-23T22:32:25.706Z] 22:32:25 INFO - E
[task 2018-08-23T22:32:25.706Z] 22:32:25 INFO - E WebDriverError@chrome://marionette/content/error.js:178:5
[task 2018-08-23T22:32:25.707Z] 22:32:25 INFO - E NoSuchWindowError@chrome://marionette/content/error.js:410:5
[task 2018-08-23T22:32:25.707Z] 22:32:25 INFO - E assert.that/<@chrome://marionette/content/assert.js:401:13
[task 2018-08-23T22:32:25.707Z] 22:32:25 INFO - E assert.open@chrome://marionette/content/assert.js:157:10
[task 2018-08-23T22:32:25.707Z] 22:32:25 INFO - E GeckoDriver.prototype.execute_@chrome://marionette/content/driver.js:989:3
[task 2018-08-23T22:32:25.708Z] 22:32:25 INFO - E async*GeckoDriver.prototype.executeScript@chrome://marionette/content/driver.js:900:24
[task 2018-08-23T22:32:25.708Z] 22:32:25 INFO - E Async*despatch@chrome://marionette/content/server.js:298:20
[task 2018-08-23T22:32:25.708Z] 22:32:25 INFO - E async*execute@chrome://marionette/content/server.js:271:11
[task 2018-08-23T22:32:25.709Z] 22:32:25 INFO - E async*onPacket/<@chrome://marionette/content/server.js:246:15
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - E async*onPacket@chrome://marionette/content/server.js:245:8
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - E _onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - body = {'args': [], 'script': 'return document.links[0]'}
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - err = <NoSuchWindowException http_status=404>
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - method = 'POST'
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - response = <Response status=404 error=<NoSuchWindowException http_status=404>>
[task 2018-08-23T22:32:25.710Z] 22:32:25 INFO - self = <Session c853931f-86a4-496d-b751-64cdab07bd32>
[task 2018-08-23T22:32:25.711Z] 22:32:25 INFO - url = 'session/c853931f-86a4-496d-b751-64cdab07bd32/execute/sync'
[task 2018-08-23T22:32:25.711Z] 22:32:25 INFO -
[task 2018-08-23T22:32:25.711Z] 22:32:25 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:473: NoSuchWindowException
Comment 1•6 years ago
|
||
There is a content crash:
[task 2018-08-23T22:32:18.376Z] 22:32:18 INFO - PID 9884 | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2018-08-23T22:32:18.477Z] 22:32:18 INFO - PID 9884 | 1535063538472 Marionette DEBUG Received DOM event unload for [object XULDocument]
[task 2018-08-23T22:32:18.494Z] 22:32:18 INFO - PID 9884 | 1535063538486 Marionette DEBUG Received observer notification message-manager-disconnect
It's most likely caused by bug 1482029.
Depends on: 1482029
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Keywords: regression
Comment 3•6 years ago
|
||
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Comment 4•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
•