Closed Bug 1520034 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_accept_and_notify[capabilities0-alert] - setup error followed by Connection reset by peer (os error 54)

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: shindli [at] mozilla.com

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

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

13:48:48 INFO - TEST-PASS | /webdriver/tests/get_window_handle/user_prompts.py | test_accept[capabilities0-alert]
13:48:48 INFO - TEST-PASS | /webdriver/tests/get_window_handle/user_prompts.py | test_accept[capabilities0-confirm]
13:48:48 INFO - TEST-PASS | /webdriver/tests/get_window_handle/user_prompts.py | test_accept[capabilities0-prompt]
13:48:48 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_window_handle/user_prompts.py | test_accept_and_notify[capabilities0-alert] - setup error
13:48:48 INFO - capabilities = {'unhandledPromptBehavior': 'accept and notify'}
13:48:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1547501851/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4445}
13:48:48 INFO - request = <SubRequest 'session' for <Function 'test_accept_and_notify[capabilities0-alert]'>>
13:48:48 INFO -
13:48:48 INFO - @pytest.fixture(scope="function")
13:48:48 INFO - def session(capabilities, configuration, request):
13:48:48 INFO - """Create and start a session for a test that does not itself test session creation.
13:48:48 INFO -
13:48:48 INFO - By default the session will stay open after each test, but we always try to start a
13:48:48 INFO - new one and assume that if that fails there is already a valid session. This makes it
13:48:48 INFO - possible to recover from some errors that might leave the session in a bad state, but
13:48:48 INFO - does not demand that we start a new session per test."""
13:48:48 INFO - global _current_session
13:48:48 INFO -
13:48:48 INFO - # Update configuration capabilities with custom ones from the
13:48:48 INFO - # capabilities fixture, which can be set by tests
13:48:48 INFO - caps = copy.deepcopy(configuration["capabilities"])
13:48:48 INFO - caps.update(capabilities)
13:48:48 INFO - caps = {"alwaysMatch": caps}
13:48:48 INFO -
13:48:48 INFO - # If there is a session with different capabilities active, end it now
13:48:48 INFO - if _current_session is not None and (
13:48:48 INFO - caps != _current_session.requested_capabilities):
13:48:48 INFO - _current_session.end()
13:48:48 INFO - _current_session = None
13:48:48 INFO -
13:48:48 INFO - if _current_session is None:
13:48:48 INFO - _current_session = webdriver.Session(
13:48:48 INFO - configuration["host"],
13:48:48 INFO - configuration["port"],
13:48:48 INFO - capabilities=caps)
13:48:48 INFO - try:
13:48:48 INFO - > _current_session.start()
13:48:48 INFO -
13:48:48 INFO - capabilities = {'unhandledPromptBehavior': 'accept and notify'}
13:48:48 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1547501851/build/application/Firefox Night...st,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept and notify'}}
13:48:48 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/Users/cltbld/tasks/task_1547501851/build/application/Firefox Nigh...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4445}
13:48:48 INFO - request = <SubRequest 'session' for <Function 'test_accept_and_notify[capabilities0-alert]'>>
13:48:48 INFO -
13:48:48 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
13:48:48 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Something caused a shutdown of Firefox during startup:

13:48:28 INFO - PID 2291 | JavaScript error: jar:file:///Users/cltbld/tasks/task_1547501851/build/application/Firefox%20Nightly.app/Contents/Resources/omni.ja!/components/nsUrlClassifierListManager.js, line 329: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIUrlClassifierDBService.getTables]
13:48:28 INFO - PID 2291 | JavaScript error: jar:file:///Users/cltbld/tasks/task_1547501851/build/application/Firefox%20Nightly.app/Contents/Resources/omni.ja!/components/nsUrlClassifierListManager.js, line 329: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIUrlClassifierDBService.getTables]
13:48:29 INFO - PID 2291 | 1547502509021 geckodriver::marionette DEBUG Connection established on 127.0.0.1:2828. Waiting for Marionette handshake
13:48:29 INFO - PID 2291 | 1547502509062 Marionette TRACE Received observer notification xpcom-will-shutdown
13:48:29 INFO - PID 2291 | 1547502509303 mozrunner::runner DEBUG Killing process 2300

As such this resulted in: Connection reset by peer (os error 54).

Summary: Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_accept_and_notify[capabilities0-alert] - setup error → Intermittent /webdriver/tests/get_window_handle/user_prompts.py | test_accept_and_notify[capabilities0-alert] - setup error followed by Connection reset by peer (os error 54)
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.