Intermittent /webdriver/tests/get_element_rect/user_prompts.py | test_ignore[capabilities0-alert] - setup error [TimeoutException: timeout (500): No connection could be made because the target machine actively refused it]
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ccoroiu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=301570665&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HjS09j5qTj6trkLt_K_WXw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - TEST-PASS | /webdriver/tests/get_element_rect/user_prompts.py | test_dismiss_and_notify[capabilities0-prompt-None]
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_element_rect/user_prompts.py | test_ignore[capabilities0-alert] - setup error
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\task_1589061601\build\application\firefox\firefox.exe', 'prefs'...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 60248}
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - @pytest.fixture(scope="function")
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - def session(capabilities, configuration, request):
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - By default the session will stay open after each test, but we always try to start a
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - does not demand that we start a new session per test."""
[task 2020-05-09T22:11:53.614Z] 22:11:53 INFO - global _current_session
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - # Update configuration capabilities with custom ones from the
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - # capabilities fixture, which can be set by tests
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - caps.update(capabilities)
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - caps = {"alwaysMatch": caps}
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - # If there is a session with different capabilities active, end it now
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - if _current_session is not None and (
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - caps != _current_session.requested_capabilities):
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - _current_session.end()
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - _current_session = None
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - if _current_session is None:
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - _current_session = webdriver.Session(
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - configuration["host"],
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - configuration["port"],
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - capabilities=caps)
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - try:
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - > _current_session.start()
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': 'Z:\task_1589061601\build\application\firefox\firefox.exe', 'prefs':...orm.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}, 'unhandledPromptBehavior': 'ignore'}}
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\task_1589061601\build\application\firefox\firefox.exe', 'prefs'...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 60248}
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - tests\web-platform\tests\webdriver\tests\support\fixtures.py:153:
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - tests\web-platform\tests\tools\webdriver\webdriver\client.py:426: in start
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - value = self.send_command("POST", "session", body=body)
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.615Z] 22:11:53 INFO - self = <Session (disconnected)>, method = 'POST', url = 'session'
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'binary': 'Z:\task_1589061601\build\application\firefox\firef...rm.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}, 'unhandledPromptBehavior': 'ignore'}}}
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - timeout = None
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - def send_command(self, method, url, body=None, timeout=None):
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - """
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - Send a command to the remote end and validate its success.
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - :param method: HTTP method to use in request.
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - :param uri: "Command part" of the HTTP request URL,
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - e.g. window/rect.
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - :param body: Optional body of the HTTP request.
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - :return: None if the HTTP response body was empty, otherwise
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - the value field returned after parsing the response
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO - body as JSON.
[task 2020-05-09T22:11:53.616Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - :raises error.WebDriverException: If the remote end returns
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - an error.
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - :raises ValueError: If the response body does not contain a
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - value key.
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - """
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - response = self.transport.send(
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - method, url, body,
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - session=self, timeout=timeout)
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - if response.status != 200:
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - err = error.from_response(response)
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - if isinstance(err, error.InvalidSessionIdException):
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - # The driver could have already been deleted the session.
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO - self.session_id = None
[task 2020-05-09T22:11:53.617Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - > raise err
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - E TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'binary': 'Z:\task_1589061601\build\application\firefox\firef...rm.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}, 'unhandledPromptBehavior': 'ignore'}}}
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - err = <TimeoutException http_status=500>
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - method = 'POST'
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - self = <Session (disconnected)>
[task 2020-05-09T22:11:53.618Z] 22:11:53 INFO - timeout = None
[task 2020-05-09T22:11:53.619Z] 22:11:53 INFO - url = 'session'
[task 2020-05-09T22:11:53.619Z] 22:11:53 INFO -
[task 2020-05-09T22:11:53.619Z] 22:11:53 INFO - tests\web-platform\tests\tools\webdriver\webdriver\client.py:477: TimeoutException
[task 2020-05-09T22:11:53.619Z] 22:11:53 INFO - .....
Updated•5 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 3•3 years ago
|
||
Description
•