Closed Bug 1487283 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/actions/pointer_origin.py | test_element_larger_than_viewport - UnknownErrorException: unknown error (500): Failed to convert data to an object

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1482029

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=196552032&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/ecGuumAuSn6aXzDD2VZwnw/runs/0/artifacts/public/logs/live_backing.log [task 2018-08-30T01:12:23.395Z] 01:12:23 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/actions/pointer_origin.py | test_element_larger_than_viewport - UnknownErrorException: unknown error (500): Failed to convert data to an object [task 2018-08-30T01:12:23.395Z] 01:12:23 INFO - session = <Session 874f548e-6e58-48b8-8955-3b19bb47d423> [task 2018-08-30T01:12:23.395Z] 01:12:23 INFO - mouse_chain = <webdriver.client.ActionSequence object at 0x7fd98645f510> [task 2018-08-30T01:12:23.395Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.395Z] 01:12:23 INFO - def test_element_larger_than_viewport(session, mouse_chain): [task 2018-08-30T01:12:23.396Z] 01:12:23 INFO - session.url = origin_doc("width: 300vw; height: 300vh; background: green;") [task 2018-08-30T01:12:23.396Z] 01:12:23 INFO - > elem = session.find.css("#inner", all=False) [task 2018-08-30T01:12:23.396Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.397Z] 01:12:23 INFO - mouse_chain = <webdriver.client.ActionSequence object at 0x7fd98645f510> [task 2018-08-30T01:12:23.397Z] 01:12:23 INFO - session = <Session 874f548e-6e58-48b8-8955-3b19bb47d423> [task 2018-08-30T01:12:23.397Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.397Z] 01:12:23 INFO - tests/web-platform/tests/webdriver/tests/actions/pointer_origin.py:109: [task 2018-08-30T01:12:23.398Z] 01:12:23 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [task 2018-08-30T01:12:23.398Z] 01:12:23 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner [task 2018-08-30T01:12:23.398Z] 01:12:23 INFO - return func(self, *args, **kwargs) [task 2018-08-30T01:12:23.398Z] 01:12:23 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:312: in css [task 2018-08-30T01:12:23.399Z] 01:12:23 INFO - return self._find_element("css selector", selector, all) [task 2018-08-30T01:12:23.399Z] 01:12:23 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:318: in _find_element [task 2018-08-30T01:12:23.400Z] 01:12:23 INFO - return self.session.send_session_command("POST", route, body) [task 2018-08-30T01:12:23.400Z] 01:12:23 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:509: in send_session_command [task 2018-08-30T01:12:23.400Z] 01:12:23 INFO - return self.send_command(method, url, body) [task 2018-08-30T01:12:23.400Z] 01:12:23 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [task 2018-08-30T01:12:23.401Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.401Z] 01:12:23 INFO - self = <Session 874f548e-6e58-48b8-8955-3b19bb47d423>, method = 'POST' [task 2018-08-30T01:12:23.401Z] 01:12:23 INFO - url = 'session/874f548e-6e58-48b8-8955-3b19bb47d423/element' [task 2018-08-30T01:12:23.401Z] 01:12:23 INFO - body = {'using': 'css selector', 'value': '#inner'} [task 2018-08-30T01:12:23.402Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.402Z] 01:12:23 INFO - def send_command(self, method, url, body=None): [task 2018-08-30T01:12:23.402Z] 01:12:23 INFO - """ [task 2018-08-30T01:12:23.402Z] 01:12:23 INFO - Send a command to the remote end and validate its success. [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - :param method: HTTP method to use in request. [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - :param uri: "Command part" of the HTTP request URL, [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - e.g. `window/rect`. [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - :param body: Optional body of the HTTP request. [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - :return: `None` if the HTTP response body was empty, otherwise [task 2018-08-30T01:12:23.403Z] 01:12:23 INFO - the `value` field returned after parsing the response [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - body as JSON. [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - :raises error.WebDriverException: If the remote end returns [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - an error. [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - :raises ValueError: If the response body does not contain a [task 2018-08-30T01:12:23.404Z] 01:12:23 INFO - `value` key. [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - """ [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - response = self.transport.send( [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - method, url, body, [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder, [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - session=self) [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.405Z] 01:12:23 INFO - if response.status != 200: [task 2018-08-30T01:12:23.406Z] 01:12:23 INFO - err = error.from_response(response) [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - if isinstance(err, error.InvalidSessionIdException): [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - # The driver could have already been deleted the session. [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - self.session_id = None [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - > raise err [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - E UnknownErrorException: unknown error (500): Failed to convert data to an object [task 2018-08-30T01:12:23.407Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - body = {'using': 'css selector', 'value': '#inner'} [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - err = <UnknownErrorException http_status=500> [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - method = 'POST' [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>> [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - self = <Session 874f548e-6e58-48b8-8955-3b19bb47d423> [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - url = 'session/874f548e-6e58-48b8-8955-3b19bb47d423/element' [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - [task 2018-08-30T01:12:23.408Z] 01:12:23 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:473: UnknownErrorException
Component: Gecko Profiler → geckodriver
Product: Core → Testing
Content process crash most likely caused by bug 1482029.
Depends on: 1482029
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
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.