Closed Bug 1482550 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[<random] - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com

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

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

[task 2018-08-10T18:00:03.317Z] 18:00:03     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[R_SHIFT-expected65] 
[task 2018-08-10T18:00:03.318Z] 18:00:03     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[SEPARATOR-expected66] 
[task 2018-08-10T18:00:03.318Z] 18:00:03     INFO - TEST-PASS | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[ALT-expected67] 
[task 2018-08-10T18:00:03.318Z] 18:00:03     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[R_ARROWDOWN-expected68] - setup error
[task 2018-08-10T18:00:03.319Z] 18:00:03     INFO - session = <Session 91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d>
[task 2018-08-10T18:00:03.320Z] 18:00:03     INFO - test_actions_page = None
[task 2018-08-10T18:00:03.320Z] 18:00:03     INFO - request = <SubRequest 'key_reporter' for <Function 'test_webdriver_special_key_sends_keydown[R_ARROWDOWN-expected68]'>>
[task 2018-08-10T18:00:03.320Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.320Z] 18:00:03     INFO -     @pytest.fixture
[task 2018-08-10T18:00:03.320Z] 18:00:03     INFO -     def key_reporter(session, test_actions_page, request):
[task 2018-08-10T18:00:03.321Z] 18:00:03     INFO -         """Represents focused input element from `test_keys_page` fixture."""
[task 2018-08-10T18:00:03.321Z] 18:00:03     INFO - >       input_el = session.find.css("#keys", all=False)
[task 2018-08-10T18:00:03.321Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - request    = <SubRequest 'key_reporter' for <Function 'test_webdriver_special_key_sends_keydown[R_ARROWDOWN-expected68]'>>
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - session    = <Session 91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d>
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - test_actions_page = None
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - tests/web-platform/tests/webdriver/tests/actions/conftest.py:27: 
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO -     return func(self, *args, **kwargs)
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:312: in css
[task 2018-08-10T18:00:03.322Z] 18:00:03     INFO -     return self._find_element("css selector", selector, all)
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:318: in _find_element
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO -     return self.session.send_session_command("POST", route, body)
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:507: in send_session_command
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO -     return self.send_command(method, url, body)
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - self = <Session 91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d>, method = 'POST'
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - url = 'session/91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d/element'
[task 2018-08-10T18:00:03.323Z] 18:00:03     INFO - body = {'using': 'css selector', 'value': '#keys'}
[task 2018-08-10T18:00:03.324Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.324Z] 18:00:03     INFO -     def send_command(self, method, url, body=None):
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -         """
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -             Send a command to the remote end and validate its success.
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -             :param method: HTTP method to use in request.
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -             :param uri: "Command part" of the HTTP request URL,
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -                 e.g. `window/rect`.
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -             :param body: Optional body of the HTTP request.
[task 2018-08-10T18:00:03.325Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.327Z] 18:00:03     INFO -             :return: `None` if the HTTP response body was empty, otherwise
[task 2018-08-10T18:00:03.327Z] 18:00:03     INFO -                 the `value` field returned after parsing the response
[task 2018-08-10T18:00:03.327Z] 18:00:03     INFO -                 body as JSON.
[task 2018-08-10T18:00:03.328Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.328Z] 18:00:03     INFO -             :raises ValueError: If the response body does not contain a
[task 2018-08-10T18:00:03.328Z] 18:00:03     INFO -                 `value` key.
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -             :raises error.WebDriverException: If the remote end returns
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -                 an error.
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -             """
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -         response = self.transport.send(
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -             method, url, body,
[task 2018-08-10T18:00:03.329Z] 18:00:03     INFO -             encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2018-08-10T18:00:03.330Z] 18:00:03     INFO -             session=self)
[task 2018-08-10T18:00:03.330Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.330Z] 18:00:03     INFO -         if response.status != 200:
[task 2018-08-10T18:00:03.330Z] 18:00:03     INFO -             err = error.from_response(response)
[task 2018-08-10T18:00:03.330Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.331Z] 18:00:03     INFO -             if isinstance(err, error.SessionNotCreatedException):
[task 2018-08-10T18:00:03.331Z] 18:00:03     INFO -                 # The driver could have already been deleted the session.
[task 2018-08-10T18:00:03.331Z] 18:00:03     INFO -                 self.session_id = None
[task 2018-08-10T18:00:03.331Z] 18:00:03     INFO -     
[task 2018-08-10T18:00:03.331Z] 18:00:03     INFO - >           raise err
[task 2018-08-10T18:00:03.332Z] 18:00:03     INFO - E           UnknownErrorException: unknown error (500): Failed to convert data to an object
[task 2018-08-10T18:00:03.332Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.332Z] 18:00:03     INFO - body       = {'using': 'css selector', 'value': '#keys'}
[task 2018-08-10T18:00:03.332Z] 18:00:03     INFO - err        = <UnknownErrorException http_status=500>
[task 2018-08-10T18:00:03.333Z] 18:00:03     INFO - method     = 'POST'
[task 2018-08-10T18:00:03.333Z] 18:00:03     INFO - response   = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2018-08-10T18:00:03.333Z] 18:00:03     INFO - self       = <Session 91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d>
[task 2018-08-10T18:00:03.333Z] 18:00:03     INFO - url        = 'session/91b7ac6e-3f08-4fa0-8e98-0ba4a0f1583d/element'
[task 2018-08-10T18:00:03.333Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.334Z] 18:00:03     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:466: UnknownErrorException
[task 2018-08-10T18:00:03.334Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.334Z] 18:00:03     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[R_ARROWDOWN-expected68] - teardown error
[task 2018-08-10T18:00:03.335Z] 18:00:03     INFO - self = <webdriver.client.Actions object at 0x7f5e9bde6310>, args = ()
[task 2018-08-10T18:00:03.336Z] 18:00:03     INFO - kwargs = {}, session = <Session b076ea11-39c4-4fbc-b458-0a95de062e6f>
[task 2018-08-10T18:00:03.336Z] 18:00:03     INFO - 
[task 2018-08-10T18:00:03.336Z] 18:00:03     INFO -     def inner(self, *args, **kwargs):
[task 2018-08-10T18:00:03.337Z] 18:00:03     INFO -         if hasattr(self, "session"):
[task 2018-08-10T18:00:03.337Z] 18:00:03     INFO -             session = self.session
[task 2018-08-10T18:00:03.337Z] 18:00:03     INFO -         else:
[task 2018-08-10T18:00:03.338Z] 18:00:03     INFO -             session = self
Problem here is:

> [task 2018-08-10T17:59:56.829Z] 17:59:56     INFO - PID 1132 | *** Compartment mismatch 0x7feafe8917c0 vs. 0x7feaf8f4a100
> [task 2018-08-10T17:59:56.910Z] 17:59:56     INFO - PID 1132 | [Parent 1144, Gecko_IOThread] WARNING: pipe error (114): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 356
> [task 2018-08-10T17:59:56.911Z] 17:59:56     INFO - PID 1132 | 
> [task 2018-08-10T17:59:56.913Z] 17:59:56     INFO - PID 1132 | ###!!! [Parent][MessageChannel] Error: (msgtype=0x17007C,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
> [task 2018-08-10T17:59:56.914Z] 17:59:56     INFO - PID 1132 | 
> [task 2018-08-10T17:59:56.915Z] 17:59:56     INFO - PID 1132 | 
> [task 2018-08-10T17:59:56.915Z] 17:59:56     INFO - PID 1132 | ###!!! [Parent][MessageChannel] Error: (msgtype=0x17007C,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
Summary: Intermittent /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[R_ARROWDOWN-expected68] - setup error → Intermittent /webdriver/tests/actions/special_keys.py | test_webdriver_special_key_sends_keydown[<random] - setup error
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
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.