Closed Bug 1632006 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/get_element_tag_name/user_prompts.py | test_ignore[capabilities0-alert] - setup error [TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)]

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1630132

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: aiakab [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=298727507&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dk12X7C9QzWo6ZGYd2XN3g/runs/0/artifacts/public/logs/live_backing.log


[task 2020-04-22T00:08:48.105Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_accept[capabilities0-prompt-]
[task 2020-04-22T00:08:48.105Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_accept_and_notify[capabilities0-alert-None]
[task 2020-04-22T00:08:48.105Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_accept_and_notify[capabilities0-prompt-]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss[capabilities0-alert-None]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss[capabilities0-confirm-False]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss[capabilities0-prompt-None]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-PASS | /webdriver/tests/get_element_tag_name/user_prompts.py | test_dismiss_and_notify[capabilities0-prompt-None]
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_element_tag_name/user_prompts.py | test_ignore[capabilities0-alert] - setup error
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\task_1587512054\build\application\firefox\firefox.exe', 'prefs'...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 61313}
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - @pytest.fixture(scope="function")
[task 2020-04-22T00:08:48.106Z] 00:08:48 INFO - def session(capabilities, configuration, request):
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - By default the session will stay open after each test, but we always try to start a
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - does not demand that we start a new session per test."""
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - global _current_session
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - # Update configuration capabilities with custom ones from the
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - # capabilities fixture, which can be set by tests
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - caps.update(capabilities)
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - caps = {"alwaysMatch": caps}
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - # If there is a session with different capabilities active, end it now
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - if _current_session is not None and (
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - caps != _current_session.requested_capabilities):
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - _current_session.end()
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO - _current_session = None
[task 2020-04-22T00:08:48.107Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - if _current_session is None:
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - _current_session = webdriver.Session(
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - configuration["host"],
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - configuration["port"],
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - capabilities=caps)
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - try:
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - > _current_session.start()
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': 'Z:\task_1587512054\build\application\firefox\firefox.exe', 'prefs':...orm.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}, 'unhandledPromptBehavior': 'ignore'}}
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\task_1587512054\build\application\firefox\firefox.exe', 'prefs'...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 61313}
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO -
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - tests\web-platform\tests\webdriver\tests\support\fixtures.py:153:
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - tests\web-platform\tests\tools\webdriver\webdriver\client.py:426: in start
[task 2020-04-22T00:08:48.108Z] 00:08:48 INFO - value = self.send_command("POST", "session", body=body

Failed because of:

TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/get_element_tag_name/user_prompts.py | test_ignore[capabilities0-alert] - setup error → Intermittent /webdriver/tests/get_element_tag_name/user_prompts.py | test_ignore[capabilities0-alert] - setup error [TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)]
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.