Closed Bug 1486345 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[RIGHT-expected23] - setup error

Categories

(Testing :: geckodriver, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1482550

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=196012964&repo=mozilla-central

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

[task 2018-08-26T22:42:23.115Z] 22:42:23     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[R_META-expected19] 
[task 2018-08-26T22:42:23.115Z] 22:42:23     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[SEMICOLON-expected20] 
[task 2018-08-26T22:42:23.116Z] 22:42:23     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[SPACE-expected21] 
[task 2018-08-26T22:42:23.116Z] 22:42:23     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[NUMPAD4-expected22] 
[task 2018-08-26T22:42:23.116Z] 22:42:23     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[RIGHT-expected23] - setup error
[task 2018-08-26T22:42:23.116Z] 22:42:23     INFO - session = <Session e852ecaf-92cb-4347-9ff2-bd4b80726809>
[task 2018-08-26T22:42:23.117Z] 22:42:23     INFO - test_actions_page = None
[task 2018-08-26T22:42:23.117Z] 22:42:23     INFO - request = <SubRequest 'key_reporter' for <Function 'test_webdriver_special_key_sends_keydown[RIGHT-expected23]'>>
[task 2018-08-26T22:42:23.117Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.118Z] 22:42:23     INFO -     @pytest.fixture
[task 2018-08-26T22:42:23.118Z] 22:42:23     INFO -     def key_reporter(session, test_actions_page, request):
[task 2018-08-26T22:42:23.118Z] 22:42:23     INFO -         """Represents focused input element from `test_keys_page` fixture."""
[task 2018-08-26T22:42:23.118Z] 22:42:23     INFO - >       input_el = session.find.css("#keys", all=False)
[task 2018-08-26T22:42:23.118Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.119Z] 22:42:23     INFO - request    = <SubRequest 'key_reporter' for <Function 'test_webdriver_special_key_sends_keydown[RIGHT-expected23]'>>
[task 2018-08-26T22:42:23.119Z] 22:42:23     INFO - session    = <Session e852ecaf-92cb-4347-9ff2-bd4b80726809>
[task 2018-08-26T22:42:23.119Z] 22:42:23     INFO - test_actions_page = None
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO - tests/web-platform/tests/webdriver/tests/actions/conftest.py:27: 
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO -     return func(self, *args, **kwargs)
[task 2018-08-26T22:42:23.120Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:312: in css
[task 2018-08-26T22:42:23.121Z] 22:42:23     INFO -     return self._find_element("css selector", selector, all)
[task 2018-08-26T22:42:23.121Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:318: in _find_element
[task 2018-08-26T22:42:23.121Z] 22:42:23     INFO -     return self.session.send_session_command("POST", route, body)
[task 2018-08-26T22:42:23.121Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:509: in send_session_command
[task 2018-08-26T22:42:23.122Z] 22:42:23     INFO -     return self.send_command(method, url, body)
[task 2018-08-26T22:42:23.122Z] 22:42:23     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-08-26T22:42:23.122Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.122Z] 22:42:23     INFO - self = <Session e852ecaf-92cb-4347-9ff2-bd4b80726809>, method = 'POST'
[task 2018-08-26T22:42:23.123Z] 22:42:23     INFO - url = 'session/e852ecaf-92cb-4347-9ff2-bd4b80726809/element'
[task 2018-08-26T22:42:23.123Z] 22:42:23     INFO - body = {'using': 'css selector', 'value': '#keys'}
[task 2018-08-26T22:42:23.123Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.123Z] 22:42:23     INFO -     def send_command(self, method, url, body=None):
[task 2018-08-26T22:42:23.124Z] 22:42:23     INFO -         """
[task 2018-08-26T22:42:23.124Z] 22:42:23     INFO -             Send a command to the remote end and validate its success.
[task 2018-08-26T22:42:23.125Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.125Z] 22:42:23     INFO -             :param method: HTTP method to use in request.
[task 2018-08-26T22:42:23.125Z] 22:42:23     INFO -             :param uri: "Command part" of the HTTP request URL,
[task 2018-08-26T22:42:23.125Z] 22:42:23     INFO -                 e.g. `window/rect`.
[task 2018-08-26T22:42:23.125Z] 22:42:23     INFO -             :param body: Optional body of the HTTP request.
[task 2018-08-26T22:42:23.126Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.126Z] 22:42:23     INFO -             :return: `None` if the HTTP response body was empty, otherwise
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -                 the `value` field returned after parsing the response
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -                 body as JSON.
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -             :raises error.WebDriverException: If the remote end returns
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -                 an error.
[task 2018-08-26T22:42:23.127Z] 22:42:23     INFO -             :raises ValueError: If the response body does not contain a
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -                 `value` key.
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -             """
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -         response = self.transport.send(
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -             method, url, body,
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -             encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -             session=self)
[task 2018-08-26T22:42:23.128Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.129Z] 22:42:23     INFO -         if response.status != 200:
[task 2018-08-26T22:42:23.129Z] 22:42:23     INFO -             err = error.from_response(response)
[task 2018-08-26T22:42:23.129Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.130Z] 22:42:23     INFO -             if isinstance(err, error.InvalidSessionIdException):
[task 2018-08-26T22:42:23.130Z] 22:42:23     INFO -                 # The driver could have already been deleted the session.
[task 2018-08-26T22:42:23.130Z] 22:42:23     INFO -                 self.session_id = None
[task 2018-08-26T22:42:23.130Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.130Z] 22:42:23     INFO - >           raise err
[task 2018-08-26T22:42:23.131Z] 22:42:23     INFO - E           UnknownErrorException: unknown error (500): Failed to convert data to an object
[task 2018-08-26T22:42:23.131Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.131Z] 22:42:23     INFO - body       = {'using': 'css selector', 'value': '#keys'}
[task 2018-08-26T22:42:23.131Z] 22:42:23     INFO - err        = <UnknownErrorException http_status=500>
[task 2018-08-26T22:42:23.131Z] 22:42:23     INFO - method     = 'POST'
[task 2018-08-26T22:42:23.132Z] 22:42:23     INFO - response   = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2018-08-26T22:42:23.132Z] 22:42:23     INFO - self       = <Session e852ecaf-92cb-4347-9ff2-bd4b80726809>
[task 2018-08-26T22:42:23.132Z] 22:42:23     INFO - url        = 'session/e852ecaf-92cb-4347-9ff2-bd4b80726809/element'
[task 2018-08-26T22:42:23.133Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.133Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:473: UnknownErrorException
[task 2018-08-26T22:42:23.133Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.134Z] 22:42:23     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[RIGHT-expected23] - teardown error
[task 2018-08-26T22:42:23.134Z] 22:42:23     INFO - self = <webdriver.client.Actions object at 0x7f94c0666ad0>, args = ()
[task 2018-08-26T22:42:23.134Z] 22:42:23     INFO - kwargs = {}, session = <Session 72100267-e86a-42d0-bab1-ab8b59a5fe8e>
[task 2018-08-26T22:42:23.134Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.135Z] 22:42:23     INFO -     def inner(self, *args, **kwargs):
[task 2018-08-26T22:42:23.135Z] 22:42:23     INFO -         if hasattr(self, "session"):
[task 2018-08-26T22:42:23.135Z] 22:42:23     INFO -             session = self.session
[task 2018-08-26T22:42:23.135Z] 22:42:23     INFO -         else:
[task 2018-08-26T22:42:23.136Z] 22:42:23     INFO -             session = self
[task 2018-08-26T22:42:23.136Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.136Z] 22:42:23     INFO -         if session.session_id is None:
[task 2018-08-26T22:42:23.137Z] 22:42:23     INFO -             session.start()
[task 2018-08-26T22:42:23.137Z] 22:42:23     INFO -     
[task 2018-08-26T22:42:23.137Z] 22:42:23     INFO - >       return func(self, *args, **kwargs)
[task 2018-08-26T22:42:23.137Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.138Z] 22:42:23     INFO - args       = ()
[task 2018-08-26T22:42:23.138Z] 22:42:23     INFO - func       = <function release at 0x7f94c14e98c0>
[task 2018-08-26T22:42:23.138Z] 22:42:23     INFO - kwargs     = {}
[task 2018-08-26T22:42:23.139Z] 22:42:23     INFO - self       = <webdriver.client.Actions object at 0x7f94c0666ad0>
[task 2018-08-26T22:42:23.139Z] 22:42:23     INFO - session    = <Session 72100267-e86a-42d0-bab1-ab8b59a5fe8e>
[task 2018-08-26T22:42:23.139Z] 22:42:23     INFO - 
[task 2018-08-26T22:42:23.139Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: 
[task 2018-08-26T22:42:23.139Z] 22:42:23     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-08-26T22:42:23.140Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:225: in release
[task 2018-08-26T22:42:23.140Z] 22:42:23     INFO -     return self.session.send_session_command("DELETE", "actions")
[task 2018-08-26T22:42:23.140Z] 22:42:23     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:509: in send_session_command
[task 2018-08-26T22:42:23.140Z] 22:42:23     INFO -     return self.send_command(method, url, body)
Content process crash most likely caused by bug 1482029.
Depends on: 1482029
1482550
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
Duplicate of bug: 1482550
You need to log in before you can comment on or make changes to this bug.